Solution:
Let
2x=t
Then
dx=2dt
New limits: when x=1, t=2; when x=2, t=4.
Also x1=t2 and 2x21=t22. Therefore,
∫12(x1−2x21)e2xdx=∫24(t2−t22)et2dt=∫24et(t1−t21)dt
This is of the form ∫et[f(t)+f′(t)]dt=etf(t) with f(t)=t1, f′(t)=−t21. So
=[tet]24=4e4−2e2
Therefore,
∫12(x1−2x21)e2xdx=4e2(e2−2)
Hence, the value of the integral is 4e2(e2−2).