Question
Question: Solve the differential equation \(\dfrac{{dy}}{{dx}} + y\tan x = {\cos ^3}x\)...
Solve the differential equation dxdy+ytanx=cos3x
Solution
Hint:-Use the integrating factor method to get the solution for the above problem .
Given differential equation is dxdy+ytanx=cos3x
Let tanx=p,cos3x=q
Let the integrating factor (I.F) = e∫pdx
We know that
p=tanx
Substitute the p value in I.F
⇒e∫tanxdx
⇒eln(secx) [∵∫tanxdx=ln(secx)]
⇒secx [∵ e is the inverse function of ln where it gets cancel]
Here the solution of equation is of the form:
y(I.F)=∫q×I.Fdx
Now let us simplify the equation by substituting the values
⇒y.secx=∫cos3xsecxdx ⇒y.secx=∫cos3x(cosx1)dx
⇒y.secx=∫cos2xdx
⇒y.secx=∫21+cos2xdx [∵cos2x=2cos2x−1]
⇒y=2x.cosx+41sin2x.cosx+cosx+C
NOTE: In this kind of problems everyone solves the problems without using the integrating factor method (I.F) which is very important to use.