When integrating eax multiplied with a combination of sinx and cosx, the result typically has the form eax times another trigonometric combination.
For this integral, consider the function 21e2xsinx.
To check if this is correct, differentiate 21e2xsinx using the product rule:
dxd[21e2xsinx]
=21[(e2x)′⋅sinx+e2x⋅(sinx)′]
=21[2e2x⋅sinx+e2x⋅cosx]
=e2xsinx+21e2xcosx
=e2x(sinx+21cosx)
This matches the integrand exactly.
Therefore:
∫e2x(sinx+21cosx)dx=21e2xsinx+C