Question
Mathematics Question on Differential equations
Find a particular solution of the differential equation dxdy+ycotx=4xcosecx(x=0), given that y=0 when x=2π
Answer
The correct answer is: ysinx=2x2−2π2
The given differential equation is:
dxdy+ycotx=4xcosecx
This equation is a linear differential equation of the form
dxdy+py=Q,where p=cotx and Q=4xcosecx.
Now,I.F.=e∫pdx=e∫cotxdx=elog∣sinx∣=sinx
The given solution of the given differential equation is given by,
y(I.F.)=∫(Q×I.F.)dx+C
⇒ysinx=∫(4xcosecx.sinx)dx+C
⇒ysinx=4∫xdx+C
⇒ysinx=4.2x2+C
⇒ysinx=2x2+C...(1)
Now,y=0 at x=2π
Therefore,equation(1)becomes:
0=2×4π2+C
⇒C=2−π2
Substituting C=2−π2 in equation(1),we get:
ysinx=2x2−2π2
This is the required particular solution of the given differential equation.