SOLVER7 Study. Nothing Else.
Chapter 9 Examples Q4

Find the general solution of the differential equation \(\dfrac{dy}{dx}=\dfrac{x+1}{2-y},(y\ne 2)\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a balance scale and you want to sort weights by colour on each side. This equation is like that: we gently push all the y-pieces to one side and all the x-pieces to the other. Once each side has only its own pieces, we can add them up using a simple summing trick called integration. A mystery number called C is added at the end because there are many possible balanced arrangements. The final answer tells us every curve that satisfies the original relationship.

Answer: The general solution is \[ 2y - \frac{y^2}{2} = \frac{x^2}{2} + x + C \] or equivalently \[ x^2 + 2x + y^2 - 4y = C_1 \] where \( C \) and \( C_1 \) are arbitrary constants.

📖 General Solution by Variable Separable Method

Detailed Explanation

A differential equation of the form \( \dfrac{dy}{dx} = f(x)g(y) \) is called a variable separable equation because all terms involving \( y \) can be moved to one side and all terms involving \( x \) to the other side. Once the variables are separated, we integrate both sides independently. The given equation \( \dfrac{dy}{dx} = \dfrac{x+1}{2-y} \) has the right side as a product of a function of \( x \) and a function of \( y \), so it is separable. After integration we add a single arbitrary constant, and the result is called the general solution.

Formula Used

If \( \dfrac{dy}{dx} = \dfrac{f(x)}{g(y)} \), then \( \int g(y)\,dy = \int f(x)\,dx + C \). Basic integrals used: \( \int y\,dy = \dfrac{y^2}{2} \) and \( \int x\,dx = \dfrac{x^2}{2} \).

Solution

  1. Step 1: Write the given differential equation. \[ \frac{dy}{dx} = \frac{x+1}{2-y}, \quad y \ne 2 \]
  2. Step 2: Separate the variables by cross-multiplying so that all \( y \) terms are on the left and all \( x \) terms are on the right. \[ (2-y)\,dy = (x+1)\,dx \]
  3. Step 3: Integrate both sides. \[ \int (2-y)\,dy = \int (x+1)\,dx \]
  4. Step 4: Perform the integration on each side using standard formulas. \[ 2y - \frac{y^2}{2} = \frac{x^2}{2} + x + C \] Here \( C \) is a single arbitrary constant that combines the constants from both integrals.
  5. Step 5: Multiply throughout by 2 to remove fractions and get a neater form. \[ 4y - y^2 = x^2 + 2x + C_1 \] where \( C_1 = 2C \) is again an arbitrary constant. Rearranging gives the relation between \( x \) and \( y \).

Final Answer

The general solution is \[ 2y - \frac{y^2}{2} = \frac{x^2}{2} + x + C \] or equivalently \[ x^2 + 2x + y^2 - 4y = C_1 \] where \( C \) and \( C_1 \) are arbitrary constants.

Common Mistake

A common mistake is adding a separate constant after integrating each side (like writing \( C_1 \) on the left and \( C_2 \) on the right). You should add only ONE arbitrary constant \( C \) after integrating, since the two constants simply merge into one.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write the given differential equation clearly: \[ \frac{dy}{dx} = \frac{x+1}{2-y}, \quad y \ne 2 \] — Reason: Stating the equation and noting \( y \ne 2 \) avoids division by zero in the next step.
  2. Step 2: Cross-multiply to collect all \( y \)-terms on the left and all \( x \)-terms on the right: \[ (2 - y) \, dy = (x + 1) \, dx \] — Reason: This is the separation of variables step; it puts each variable on its own side so we can integrate independently.
  3. Step 3: Place an integral sign on both sides: \[ \int (2 - y) \, dy = \int (x + 1) \, dx \] — Reason: Integration is the inverse operation of differentiation; applying it to both sides will recover the relationship between \( x \) and \( y \) without the derivative.
  4. Step 4: Carry out the integration on the left side term by term: \[ \int (2 - y) \, dy = 2y - \frac{y^2}{2} \] — Reason: We use the standard rules \( \int a \, dy = ay \) and \( \int y \, dy = \frac{y^2}{2} \).
  5. Step 5: Carry out the integration on the right side term by term: \[ \int (x + 1) \, dx = \frac{x^2}{2} + x \] — Reason: We use the rules \( \int x \, dx = \frac{x^2}{2} \) and \( \int 1 \, dx = x \).
  6. Step 6: Combine the results of Steps 4 and 5, adding a single arbitrary constant \( C \) on the right: \[ 2y - \frac{y^2}{2} = \frac{x^2}{2} + x + C \] — Reason: Constants from both integrals merge into one constant \( C \); this is the general solution in its primary form.
  7. Step 7: Multiply every term throughout by \( 2 \) to clear the fractions: \[ 4y - y^2 = x^2 + 2x + C_1 \] where \( C_1 = 2C \) is still an arbitrary constant. Rearranging all terms to one side gives \[ x^2 + 2x + y^2 - 4y = -C_1 \] and since \( -C_1 \) is itself an arbitrary constant we may rename it \( C_1 \), yielding \[ x^2 + 2x + y^2 - 4y = C_1 \] — Reason: This neater, fraction-free form is often preferred and highlights the structure of the solution more clearly.

Final Answer

The general solution is \[ 2y - \frac{y^2}{2} = \frac{x^2}{2} + x + C \] or equivalently \[ x^2 + 2x + y^2 - 4y = C_1 \] where \( C \) and \( C_1 \) are arbitrary constants.

Common Mistake

One common mistake: forgetting to keep \( y \ne 2 \) as a restriction — dividing both sides by \( (2 - y) \) is only valid when \( 2 - y \ne 0 \), so \( y = 2 \) must be excluded from the solution domain.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \[ \frac{dy}{dx} = \frac{x+1}{2-y}, \quad y \ne 2 \]
  2. Step 2: Separate variables: \[ (2-y)\,dy = (x+1)\,dx \]
  3. Step 3: Integrate both sides: \[ \int (2-y)\,dy = \int (x+1)\,dx \]
  4. Step 4: \[ 2y - \frac{y^2}{2} = \frac{x^2}{2} + x + C \] Multiply by 2 and rearrange: \[ x^2 + 2x + y^2 - 4y = C_1 \]

Answer: The general solution is \[ 2y - \frac{y^2}{2} = \frac{x^2}{2} + x + C \] or equivalently \[ x^2 + 2x + y^2 - 4y = C_1 \] where \( C \) and \( C_1 \) are arbitrary constants.

➕ More Examples

More Examples

Example 1

Question: Find the general solution of the differential equation \( \dfrac{dy}{dx} = \dfrac{x^2 + 3}{5 - y} \), where \( y \ne 5 \).

Solution: We begin by separating the variables. Cross-multiplying gives: \[ (5 - y) \, dy = (x^2 + 3) \, dx \] Now integrate both sides: \[ \int (5 - y) \, dy = \int (x^2 + 3) \, dx \] Evaluating the left side: \[ 5y - \frac{y^2}{2} \] Evaluating the right side: \[ \frac{x^3}{3} + 3x \] Combining and introducing the constant of integration \( C \): \[ 5y - \frac{y^2}{2} = \frac{x^3}{3} + 3x + C \] This is the general solution.

Answer: \( 5y - \dfrac{y^2}{2} = \dfrac{x^3}{3} + 3x + C \)

Example 2

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

Solution: We separate the variables by cross-multiplying: \[ (y + 3) \, dy = (2x - 1) \, dx \] Now integrate both sides: \[ \int (y + 3) \, dy = \int (2x - 1) \, dx \] Evaluating the left side: \[ \frac{y^2}{2} + 3y \] Evaluating the right side: \[ x^2 - x \] Combining and introducing the constant of integration \( C \): \[ \frac{y^2}{2} + 3y = x^2 - x + C \] Multiplying through by 2 to simplify (absorbing the factor into C): \[ y^2 + 6y = 2x^2 - 2x + C \] where \( C \) is an arbitrary constant. This is the general solution.

Answer: \( y^2 + 6y = 2x^2 - 2x + C \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation \[ \frac{dy}{dx} = \frac{x - 2}{3 - y}, \quad (y \ne 3) \]

Solution

  1. Step 1: Separate the Variables: We are given \[ \frac{dy}{dx} = \frac{x - 2}{3 - y} \] Cross-multiplying to separate variables, we get \[ (3 - y)\,dy = (x - 2)\,dx \]
  2. Step 2: Integrate Both Sides: Integrate the left side with respect to \( y \) and the right side with respect to \( x \): \[ \int (3 - y)\,dy = \int (x - 2)\,dx \]
  3. Step 3: Evaluate the Integrals: Left side: \[ \int (3 - y)\,dy = 3y - \frac{y^2}{2} \] Right side: \[ \int (x - 2)\,dx = \frac{x^2}{2} - 2x \] So the equation becomes \[ 3y - \frac{y^2}{2} = \frac{x^2}{2} - 2x + C \] where \( C \) is an arbitrary constant.
  4. Step 4: Simplify (Optional Rearrangement): Multiply the entire equation by 2 to clear fractions: \[ 6y - y^2 = x^2 - 4x + C_1 \] where \( C_1 = 2C \) is still an arbitrary constant. Rearranging: \[ x^2 - 4x - 6y + y^2 = -C_1 \] Since \( -C_1 \) is also an arbitrary constant, we can write the general solution as \[ x^2 - 4x + y^2 - 6y = C_2 \] where \( C_2 \) is an arbitrary constant.

Answer: The general solution is \[ 3y - \frac{y^2}{2} = \frac{x^2}{2} - 2x + C \] or equivalently \[ x^2 - 4x + y^2 - 6y = C_1 \] where \( C \) and \( C_1 \) are arbitrary constants.

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 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 65/3/1 2023 / Section C Q26(a)