English

For the Following Differential Equation, Find the General Solution:- D Y D X + Y = 1

Advertisements
Advertisements

Question

For the following differential equation, find the general solution:- \[\frac{dy}{dx} + y = 1\]

Sum
Advertisements

Solution

We have,

\[\frac{dy}{dx} + y = 1\]

\[ \Rightarrow \frac{dy}{dx} = 1 - y\]

\[ \Rightarrow \frac{1}{\left( 1 - y \right)}dy = dx\]

Integrating both sides, we get

\[ - \int\frac{1}{\left( y - 1 \right)}dy = \int dx\]

\[ \Rightarrow \int\frac{1}{\left( y - 1 \right)}dy = - \int dx\]

\[ \Rightarrow \log \left| y - 1 \right| = - x + \log C\]

\[ \Rightarrow \log \left| y - 1 \right| - \log C = - x\]

\[ \Rightarrow \log \left| \frac{y - 1}{C} \right| = - x\]

\[ \Rightarrow \frac{y - 1}{C} = e^{- x} \]

\[ \Rightarrow y = 1 + C e^{- x}\]

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×