Question
Mathematics Question on Differential equations
Find a particular solution satisfying the given condition: dxdy+2y tan x=sin x; y=0 when x=3π
Answer
The given differential equation is dxdy+2y tan x = sin x.
This is a linear equation of the form:
dxdy+py = Q (where p=2 tan x and Q=sin x)
Now, I.F. = e∫pdx = e∫2tan xdx = e2log|secx| = elog(sec2x)= sec2x
The general solution of the given differential equation is given by the relation,
y(I.F.) = ∫(Q×I.F.)dx + C
⇒y (sec2x) = ∫(sin x . sec2x)dx + C
⇒ysec2x = ∫(sec x . tan x)dx + C
⇒y sec2x = sec x + C …….....(1)
Now, y=0 at x=3π
Therefore,
0×sec23π = sec3π+C
⇒0 = 2+C
⇒C = -2
Substituting C=-2 in equation(1), we get:
y sec2x = sec x - 2
⇒y = cos x - 2cos2x
Hence,the required solution of the given differential equation is y = cos x - 2cos2x