Solution:
Key idea: We take the constant 2 outside and integrate by parts, ∫uvdx=u∫vdx−∫(dxdu∫vdx)dx, with u=x and v=e5x, since ∫e5xdx=5e5x.
Step 1 — Take out the constant.
A constant factor can be moved outside the integral.
I=2∫xe5xdx
Step 2 — Apply the parts formula.
We have dxdu=1 and ∫e5xdx=5e5x.
∫xe5xdx=x⋅5e5x−∫1⋅5e5xdx
∫xe5xdx=5xe5x−25e5x
Step 3 — Multiply by 2 and tidy.
We multiply by 2, take out the common factor 25e5x and add the constant.
I=52xe5x−252e5x+C
I=252e5x(5x−1)+C
Therefore, ∫2xe5xdx=252e5x(5x−1)+C.