ExamBro
ExamBro
MHT CET · Maths · Differential Equations

The differential equation \(\cos (x+y) \mathrm{d} y=\mathrm{d} x\) has the general solution given by

  1. A \(y=\sin (x+y)+\mathrm{c}\), where \(\mathrm{c}\) is a constant.
  2. B \(y=\tan (x+y)+\mathrm{c}\), where c is a constant
  3. C \(y=\tan \left(\frac{x+y}{2}\right)+\mathrm{c}\), where \(\mathrm{c}\) is a constant
  4. D \(y=\frac{1}{2} \tan (x+y)+\mathrm{c}\), where \(\mathrm{c}\) is a constant
Verified Solution

Answer & Solution

Correct Answer

(C) \(y=\tan \left(\frac{x+y}{2}\right)+\mathrm{c}\), where \(\mathrm{c}\) is a constant

Step-by-step Solution

Detailed explanation

\(\cos (x+y) \mathrm{d} y=\mathrm{d} x \)
\( \therefore \frac{\mathrm{d} x}{\mathrm{~d} y}=\cos (x+y)\)
Put \(x+y=\mathrm{u}\) Differentiating w.r.t. \(y\), we get \(\frac{\mathrm{d} x}{\mathrm{~d} y}+1=\frac{\mathrm{du}}{\mathrm{d} y}\)
\(
\therefore \frac{\mathrm{d} x}{\mathrm{~d} y}=\frac{\mathrm{du}}{\mathrm{d} y}-1
\)
Substituting (ii) and (iii) in (i), we get
\( \frac{\mathrm{du}}{\mathrm{d} y}-1=\cos \mathrm{u} \)
\( \therefore \frac{\mathrm{du}}{1+\operatorname{cosu}}=\mathrm{d} y \)
\( \therefore \frac{\mathrm{du}}{2 \cos ^2\left(\frac{\mathrm{u}}{2}\right)}=\mathrm{d} y\)
Integrating on both sides, we get
\(\frac{1}{2} \int \sec ^2\left(\frac{\mathrm{u}}{2}\right) \mathrm{du}=\int \mathrm{d} y \)
\(\therefore y=\tan \left(\frac{x+y}{2}\right)+\mathrm{c}\)