English

D Y D X + Y Tan X = Cos X

Advertisements
Advertisements

Question

\[\frac{dy}{dx}\] + y tan x = cos x

Sum
Advertisements

Solution

We have,
\[\frac{dy}{dx} + y \tan x = \cos x . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
where
\[P = \tan x\]
\[Q = \cos x \]
\[ \therefore \text{I.F.} = e^{\int P\ dx} \]
\[ = e^{\int\tan x dx} \]
\[ = e^{log\left| \sec x \right|} = \sec x\]
\[\text{Multiplying both sides of }\left( 1 \right)\text{ by }\sec x, \text{ we get }\]
\[\sec x\left( \frac{dy}{dx} + y \tan x \right) = \cos x \times \sec x\]
\[ \Rightarrow \sec x\frac{dy}{dx} + y \sec x \tan x = 1\]
Integrating both sides with respect to x, we get
\[y \sec x = \int dx + C\]
\[ \Rightarrow y \sec x = x + C\]
\[\text{ Hence, }y \sec x = x + C\text{ is the required solution .}\]

shaalaa.com
  Is there an error in this question or solution?
Chapter 21: Differential Equations - Exercise 22.10 [Page 106]

APPEARS IN

R.D. Sharma Mathematics Volume 1 and 2 [English] Class 12
Chapter 21 Differential Equations
Exercise 22.10 | Q 17 | Page 106
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×