For each of the differential equations in Exercises 1 to 10, find the general solution: \(\dfrac{dy}{dx}+y=1(y\ne 1)\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine a bathtub filling with water, but water also drains out. The equation describes how the water level y changes over time x. When the level reaches 1, it stops changing — that is the resting point. Every starting amount of water follows its own path, but all paths lead toward that same resting level. The family of all such paths is captured by one formula with a constant C, which picks out each individual path.
Answer: \[ y = 1 + C e^{-x}, \] where \( C \) is an arbitrary constant.
The equation \( \dfrac{dy}{dx} + y = 1 \) is a first-order differential equation. Although it is linear, the simplest way to solve it here is by the variables separable method, because we can gather all terms containing \( y \) on one side and all terms containing \( x \) on the other. The condition \( y \ne 1 \) is given so that we never divide by zero when we rearrange. Once the variables are separated, we integrate both sides. Integration introduces one arbitrary constant, and this single constant is what makes the answer a general solution (the whole family of curves that satisfy the equation).
Variables separable form: \( \dfrac{dy}{g(y)} = h(x)\, dx \), then integrate both sides. Also \( \int \dfrac{dy}{1-y} = -\ln|1-y| + C \).
\[ y = 1 + C e^{-x}, \] where \( C \) is an arbitrary constant.
A common mistake is forgetting the negative sign while integrating \( \int \dfrac{dy}{1 - y} \); students often write \( \ln|1 - y| \) instead of \( -\ln|1 - y| \), which leads to the wrong sign in the exponent and an incorrect final solution.
\[ y = 1 + C e^{-x}, \] where \( C \) is an arbitrary constant.
One common mistake: forgetting to account for the negative sign when integrating \( \frac{1}{1-y} \) — students often write \( \ln|1 - y| \) instead of \( -\ln|1 - y| \), which leads to an incorrect sign in the exponent of the final answer.
Answer: \[ y = 1 + C e^{-x}, \] where \( C \) is an arbitrary constant.
Question: Find the general solution of the differential equation \(\frac{dy}{dx} + 2y = 6\), where \(y \ne 3\).
Solution: Step 1: Identify the form. The equation is \(\frac{dy}{dx} + 2y = 6\), which is a first-order linear ODE with \(P = 2\) and \(Q = 6\). Step 2: Find the integrating factor. The integrating factor is \(\mu = e^{\int 2 \, dx} = e^{2x}\). Step 3: Multiply both sides by \(e^{2x}\). \[e^{2x} \frac{dy}{dx} + 2e^{2x} y = 6e^{2x}\] The left side is the derivative of \(y \cdot e^{2x}\): \[\frac{d}{dx}\left(y e^{2x}\right) = 6e^{2x}\] Step 4: Integrate both sides with respect to \(x\). \[y e^{2x} = \int 6e^{2x} \, dx = \frac{6e^{2x}}{2} + C = 3e^{2x} + C\] Step 5: Divide through by \(e^{2x}\). \[y = 3 + Ce^{-2x}\] where \(C\) is an arbitrary constant. Verification: Substituting back, \(\frac{dy}{dx} = -2Ce^{-2x}\), so \(\frac{dy}{dx} + 2y = -2Ce^{-2x} + 6 + 2Ce^{-2x} = 6\). This confirms the solution.
Answer: \(y = 3 + Ce^{-2x}\)
Question: Find the general solution of the differential equation \(\frac{dy}{dx} - 3y = -9\), where \(y \ne 3\).
Solution: Step 1: Identify the form. The equation is \(\frac{dy}{dx} - 3y = -9\), a first-order linear ODE with \(P = -3\) and \(Q = -9\). Step 2: Find the integrating factor. \[\mu = e^{\int (-3) \, dx} = e^{-3x}\] Step 3: Multiply both sides by \(e^{-3x}\). \[e^{-3x} \frac{dy}{dx} - 3e^{-3x} y = -9e^{-3x}\] The left side becomes \(\frac{d}{dx}\left(y e^{-3x}\right)\): \[\frac{d}{dx}\left(y e^{-3x}\right) = -9e^{-3x}\] Step 4: Integrate both sides with respect to \(x\). \[y e^{-3x} = \int -9e^{-3x} \, dx = \frac{-9 e^{-3x}}{-3} + C = 3e^{-3x} + C\] Step 5: Divide through by \(e^{-3x}\). \[y = 3 + Ce^{3x}\] where \(C\) is an arbitrary constant. Verification: Substituting back, \(\frac{dy}{dx} = 3Ce^{3x}\), so \(\frac{dy}{dx} - 3y = 3Ce^{3x} - 9 - 3Ce^{3x} = -9\). This confirms the solution.
Answer: \(y = 3 + Ce^{3x}\)
Question: Find the general solution of the differential equation \(\frac{dy}{dx} + 2y = 6\), where \(y \ne 3\).
Answer: \[y = 3 + Ce^{-2x}\] where \(C\) is an arbitrary constant.