Chat with tutor

Ask Questions, Get Answers

Questions  >>  CBSE XII  >>  Math  >>  Differential Equations

Solve the differential equation $dy=\cos x(2-y\; cosec x)dx$ given that $y=2$ when $x=\Large\frac{\pi}{2}$.

1 Answer

  • A linear differential equation of the form $ \large\frac{dy}{dx}$$+Py=Q,$ has the general solution as $ye^{\int pdx}=\int Q. e ^{\int pdx}.dx+c$
  • $\int \cot x dx=\log |\sin x|+c$
Step 1:
Given $dy=\cos x(2-y \;cosec x)dx$
This can be written as
$\large\frac{dy}{dx}$$=2\cos x-y \cos x. cosec x$
$=2 \cos x -y . \large\frac{\cos x}{\sin x}$
$=2 \cos x- y \cot x$
Therefore $\large\frac{dy}{dx}$$+y \cot x= 2\cos x$
Clearly this is a linear differential equation of the form
Where $P=\cot x$ and $Q=2 \cos x$
Let us find the integral factor I.F which is
$e^{\large\int pdx}=e^{\large\int \cot xdx}$
But $\int \cot x dx=\log |\sin x|$
Therefore $ I.F=e^{\large\log |\sin x|}$
But $e^{\large\log x}=x$
$e^{\large\log(\sin x)}=\sin x$
Hence the required solution is
$y \times I.F=\int Q \times I.F dx+c$
$y \sin x=\int 2 \cos x.\sin x dx+c$
But $2 sin x\cos x=\sin 2x$
Therefore $ y \sin x =\int \sin 2x+c$
$ \int \sin 2x=\large\frac{-1}{2}$$\cos 2x$
Hence $ y \sin x=\large\frac{-1}{2}$$\cos 2x+c$
$2y\sin x+\cos 2x=c$
Step 2:
Given $y=2$ when $x=\pi/2$
Substituting this to find the value of c
$2(2)\sin \pi/2+\cos 2.\pi/2=c$
But $\sin \pi/2=1$ and $\cos \pi=-1$
=>$4 \times 1+(-1)=c$
=>$4 -1=c=>c=3$
Hence the required solution is
$2y \sin x+\cos 2x=3$
or $2y \sin x+\cos 2x-3=0$
Help Clay6 to be free
Clay6 needs your help to survive. We have roughly 7 lakh students visiting us monthly. We want to keep our services free and improve with prompt help and advanced solutions by adding more teachers and infrastructure.

A small donation from you will help us reach that goal faster. Talk to your parents, teachers and school and spread the word about clay6. You can pay online or send a cheque.

Thanks for your support.
Please choose your payment mode to continue
Home Ask Homework Questions
Your payment for is successful.
Clay6 tutors use Telegram* chat app to help students with their questions and doubts.
Do you have the Telegram chat app installed?
Already installed Install now
*Telegram is a chat app like WhatsApp / Facebook Messenger / Skype.