SOLVER7 Study. Nothing Else.
Exercise 9.3 Q3

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

Solution

👶 Simple Explanation

Simple Explanation

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.

📖 General Solution of dy/dx + y = 1

Detailed Explanation

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).

Formula Used

Variables separable form: \( \dfrac{dy}{g(y)} = h(x)\, dx \), then integrate both sides. Also \( \int \dfrac{dy}{1-y} = -\ln|1-y| + C \).

Solution

  1. Step 1: Rewrite the equation so that \( \dfrac{dy}{dx} \) is isolated. Starting from \( \dfrac{dy}{dx} + y = 1 \), we get \[ \frac{dy}{dx} = 1 - y. \] This makes it clear how to separate the variables.
  2. Step 2: Separate the variables by moving all \( y \)-terms to the left and \( dx \) to the right. Since \( y \ne 1 \), dividing by \( 1 - y \) is allowed: \[ \frac{dy}{1 - y} = dx. \]
  3. Step 3: Integrate both sides. \[ \int \frac{dy}{1 - y} = \int dx. \] For the left side, note that the derivative of \( 1 - y \) is \( -1 \), so \[ \int \frac{dy}{1 - y} = -\ln|1 - y|. \] The right side gives \( x \). Thus \[ -\ln|1 - y| = x + C_1, \] where \( C_1 \) is the constant of integration.
  4. Step 4: Solve for \( y \). Multiply by \( -1 \): \[ \ln|1 - y| = -x - C_1. \] Exponentiate both sides: \[ |1 - y| = e^{-x - C_1} = e^{-C_1} e^{-x}. \] Replacing \( \pm e^{-C_1} \) by a single arbitrary constant \( A \), we can write \[ 1 - y = A e^{-x}. \]
  5. Step 5: Rearrange to express \( y \) explicitly. From \( 1 - y = A e^{-x} \) we get \[ y = 1 - A e^{-x}. \] Writing the arbitrary constant simply as \( C \), the general solution is \[ y = 1 + C e^{-x}. \]

Final Answer

\[ y = 1 + C e^{-x}, \] where \( C \) is an arbitrary constant.

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Isolate the derivative: Starting from \( \frac{dy}{dx} + y = 1 \), subtract \( y \) from both sides to get \[ \frac{dy}{dx} = 1 - y. \] Reason: Isolating \( \frac{dy}{dx} \) makes the structure of the equation clear and prepares it for variable separation.
  2. Step 2: Separate the variables: Since \( y \ne 1 \), divide both sides by \( (1 - y) \) and multiply both sides by \( dx \) to obtain \[ \frac{dy}{1 - y} = dx. \] Reason: Dividing by \( (1 - y) \) is valid because \( y \ne 1 \) ensures we never divide by zero. This step places all \( y \)-terms on the left and all \( x \)-terms on the right.
  3. Step 3: Integrate both sides: Integrate the left side with respect to \( y \) and the right side with respect to \( x \): \[ \int \frac{dy}{1 - y} = \int dx. \] For the left side, since the derivative of \( (1 - y) \) is \( -1 \), we write \[ \int \frac{dy}{1 - y} = -\ln|1 - y|. \] The right side gives \( x \). Combining with a single constant of integration \( C_1 \): \[ -\ln|1 - y| = x + C_1. \] Reason: Integration is the standard technique after separating variables; it reverses the differentiation and brings in one arbitrary constant representing the general solution.
  4. Step 4: Remove the logarithm: Multiply throughout by \( -1 \): \[ \ln|1 - y| = -x - C_1. \] Then exponentiate both sides: \[ |1 - y| = e^{-x - C_1} = e^{-C_1} \cdot e^{-x}. \] Reason: Exponentiating removes the natural logarithm and makes it easier to solve explicitly for \( y \).
  5. Step 5: Absorb the constant and solve for y: Let \( C = -e^{-C_1} \) (absorbing the sign and the constant into a single arbitrary constant \( C \)). Then \[ 1 - y = C e^{-x}, \] which gives \[ y = 1 - C e^{-x}. \] Since \( C \) is an arbitrary constant, replacing \( -C \) by \( C \) (still arbitrary) yields the general solution \[ y = 1 + C e^{-x}. \] Reason: Replacing the combination of constants with a single letter \( C \) simplifies the final expression while still representing the entire family of solution curves.

Final Answer

\[ y = 1 + C e^{-x}, \] where \( C \) is an arbitrary constant.

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Separate variables (given \ y \ne 1 ): \ \[ \frac{dy}{1 - y} = dx \]
  2. Step 2: Integrate both sides: \ \[ -\ln|1 - y| = x + C_1 \]
  3. Step 3: Exponentiate: \ \[ |1 - y| = e^{-x - C_1} \] so \( 1 - y = A e^{-x} \) where \( A \) is an arbitrary constant, giving \[ y = 1 - A e^{-x} \] Write \( C = -A \) to obtain the general solution.

Answer: \[ y = 1 + C e^{-x}, \] where \( C \) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

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}\)

Example 2

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}\)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation \(\frac{dy}{dx} + 2y = 6\), where \(y \ne 3\).

Solution

  1. Step 1: Identify the type and standard form: The given equation is \(\frac{dy}{dx} + 2y = 6\). This is a first-order linear differential equation of the form \(\frac{dy}{dx} + Py = Q\), where \(P = 2\) and \(Q = 6\).
  2. Step 2: Find the Integrating Factor (IF): The integrating factor is \(\mu = e^{\int P\,dx} = e^{\int 2\,dx} = e^{2x}\).
  3. Step 3: Multiply both sides by the Integrating Factor: Multiplying both sides of the equation by \(e^{2x}\): \[e^{2x}\frac{dy}{dx} + 2e^{2x}y = 6e^{2x}\] The left-hand side is the derivative of \(y \cdot e^{2x}\) with respect to \(x\), so: \[\frac{d}{dx}\left(y \cdot e^{2x}\right) = 6e^{2x}\]
  4. Step 4: Integrate both sides: Integrating both sides with respect to \(x\): \[\int \frac{d}{dx}\left(y \cdot e^{2x}\right)\,dx = \int 6e^{2x}\,dx\] This gives: \[y \cdot e^{2x} = 6 \cdot \frac{e^{2x}}{2} + C\] Simplifying the right-hand side: \[y \cdot e^{2x} = 3e^{2x} + C\]
  5. Step 5: Solve for y: Dividing both sides by \(e^{2x}\): \[y = 3 + Ce^{-2x}\] where \(C\) is an arbitrary constant.
  6. Step 6: Verify the solution: Differentiating \(y = 3 + Ce^{-2x}\) gives \(\frac{dy}{dx} = -2Ce^{-2x}\). Substituting back: \[-2Ce^{-2x} + 2(3 + Ce^{-2x}) = -2Ce^{-2x} + 6 + 2Ce^{-2x} = 6\] which satisfies the original equation. Hence the solution is verified.

Answer: \[y = 3 + Ce^{-2x}\] where \(C\) is an arbitrary constant.

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 Chapter 9 Examples Q12 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4