Identify P(t) and Q(t)
P(t)=3,Q(t)=6cos(t) P is the coefficient of I once the equation is in standard form.
Integrate P(t)
∫3dt=3t No constant of integration is needed at this stage.
Form the integrating factor
μ=e∫3dt=e3t This is the multiplier that makes the left-hand side exact.
Multiply the equation through by the integrating factor
e3tdtdI+3e3tI=6e3tcos(t) Every term of the equation is multiplied, so the equation is unchanged.
Recognise the left-hand side as an exact derivative
dtd(e3tI)=6e3tcos(t) By the product rule the left-hand side is exactly the derivative of e3tI, which is the whole point of the integrating factor.
Integrate both sides with respect to t
e3tI=∫6e3tcos(t)dt Integrating an exact derivative simply undoes it.
Integrate by parts twice
J=∫6e3tcos(t)dt⇒J=53(sin(t)+3cos(t))e3t Applying parts twice reproduces J on the right-hand side, and the resulting equation is then solved for J.
Carry out the integration
e3tI=∫6e3tcos(t)dt=53(sin(t)+3cos(t))e3t+C The constant of integration is introduced here, and here only.
Check the integration by differentiating
dtd(53(sin(t)+3cos(t))e3t)=6e3tcos(t) Differentiating the answer returns the integrand, so the integration is correct.
Divide through by the integrating factor
I=e3t53(sin(t)+3cos(t))e3t+C This makes I the subject and gives the general solution.
Apply the boundary condition
I=0 when t=0 ⇒ 0=C+59 Substituting the given values turns the general solution into an equation for C.
Solve for the arbitrary constant
C=−59 This single value of C selects the one curve through the given point.
Reject option B
dtd(52sin(t)+56cos(t)−56e−3t) gives a residual of −2cos(t)=0 Substituting this option into the differential equation leaves a non-zero residual, so it is not a solution.
Reject option C
dtd(59sin(t)+53cos(t)−53e−3t) gives a residual of 524sin(t)−512cos(t)=0 Substituting this option into the differential equation leaves a non-zero residual, so it is not a solution.
Reject option D
dtd(2sin(t)−2e−3t) gives a residual of 6sin(t)−4cos(t)=0 Substituting this option into the differential equation leaves a non-zero residual, so it is not a solution.
Select the correct solution
I=53sin(t)+59cos(t)−59e−3t This is the only option with a zero residual in the differential equation.