Grigori S. answered 07/04/13
Certified Physics and Math Teacher G.S.
Use the rules of integration: integral of a sum of two functions equals the sum of their intehrals. Thus, you can write
I = ∫ e-t (1+3sin t) dt =I1 +3I2 = ∫ e-t dt + 3∫e-t sin t dt
I1 = - e-t + C1
For the second integral use integration in parts twice. It gives you
I2 = -e-t sin t + ∫e-t cos t dt + C2= -e-t (sin t + cos t) + ∫e-t sin t dt] + C2=
-e-t (sin t + cos t)] - I2 + C2
Solve for I2:
I2 = - (1/2) e-t (sin t + cos t) + C2/2
Thus, we have
I = - e-t[ 1 + (3/2)(sin t + cos t)] + C1 + C2/2
Now you can use the standard formula
sin t + cos t = √2 sin (t + (π/4))
and replace C1 + C2/2 by one constant, let say C (because they are arbitrary numbers), and rewrite your integral in the final form
I = - e-t [ 1 + (3/2) √2 sin (t + (π/4))] + C
which is equaivalent to the one already obtained by Robert.
You can use "integration in parts twice" technique to calculate the integral such as
∫e-t cos t dt
since the second derivatives of sin and cos functions are the same functions taken with positive (or negative) sign. This idea is very important in calculating more complex integrals such as those with infinite llimits of integration or dependneing on parameters, or calculating Laplace transforms and their applications to differential equations. You are coming up to these topics in your studies.