SOLVER7 Study. Nothing Else.
Exercise 9.5 Q11

For each of the differential equations given in Exercises 1 to 12, find the general solution: \(y dx\ + (x – y^2)\ dy = 0\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a puzzle where finding the value of x is easy, but finding y is very hard. Sometimes, swapping who is the 'main character' makes everything simpler. Here, instead of thinking of x as depending on y, we flip it around and let y be in charge. Once we do that, the equation becomes friendly and straightforward to solve. It is like rearranging seats in a classroom so everyone can see the board clearly. The final answer tells us exactly how x and y are connected.

Answer: The general solution is \[ xy = \frac{y^3}{3} + C, \] equivalently \( x = \frac{y^2}{3} + \frac{C}{y} \), where \( C \) is an arbitrary constant.

📖 General Solution of y dx + (x - y^2) dy = 0

Detailed Explanation

At first glance this equation does not look separable or homogeneous. The trick is to notice that it is not linear in \( y \), but it IS linear when we treat \( x \) as the dependent variable and \( y \) as the independent variable. A linear differential equation of the form \( \frac{dx}{dy} + Px = Q \), where \( P \) and \( Q \) are functions of \( y \), is solved using an integrating factor \( e^{\int P \, dy} \). So whenever the equation is messy in \( y \) but clean in \( x \), we switch roles.

Formula Used

For \( \frac{dx}{dy} + Px = Q \), the integrating factor is \( \text{IF} = e^{\int P \, dy} \), and the solution is \[ x \cdot \text{IF} = \int Q \cdot \text{IF} \, dy + C. \]

Solution

  1. Step 1: Start with the given equation \( y \, dx + (x - y^2) \, dy = 0 \). Rearrange it to isolate the differentials so we can form a derivative. Move the second term across: \[ y \, dx = -(x - y^2) \, dy. \] Divide both sides by \( y \, dy \): \[ \frac{dx}{dy} = \frac{-(x - y^2)}{y}. \]
  2. Step 2: Simplify the right side and bring the \( x \) term to the left to match the linear form. \[ \frac{dx}{dy} = -\frac{x}{y} + y. \] This gives \[ \frac{dx}{dy} + \frac{1}{y}\, x = y. \] This is now linear in \( x \), with \( P = \frac{1}{y} \) and \( Q = y \).
  3. Step 3: Compute the integrating factor. \[ \text{IF} = e^{\int P \, dy} = e^{\int \frac{1}{y} \, dy} = e^{\ln y} = y. \] We use the integrating factor because multiplying the whole equation by it turns the left side into the derivative of a single product.
  4. Step 4: Apply the solution formula \( x \cdot \text{IF} = \int Q \cdot \text{IF} \, dy + C \). Here \( Q \cdot \text{IF} = y \cdot y = y^2 \), so \[ x \cdot y = \int y^2 \, dy + C. \] Integrate the right side: \[ \int y^2 \, dy = \frac{y^3}{3}. \]
  5. Step 5: Write the full relation. \[ xy = \frac{y^3}{3} + C. \] You may leave the answer here or, dividing by \( y \), write it as \[ x = \frac{y^2}{3} + \frac{C}{y}. \]

Final Answer

The general solution is \[ xy = \frac{y^3}{3} + C, \] equivalently \( x = \frac{y^2}{3} + \frac{C}{y} \), where \( C \) is an arbitrary constant.

Common Mistake

A common mistake is trying to treat the equation as linear in \( y \) (writing \( \frac{dy}{dx} + Py = Q \)), which leads to an unsolvable mess. Since the equation is linear in \( x \), you must switch and use \( \frac{dx}{dy} \) with \( P \) and \( Q \) as functions of \( y \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Begin with the given equation \( y\,dx + (x - y^2)\,dy = 0 \) and rearrange by moving the second group to the right side: \[ y\,dx = -(x - y^2)\,dy. \] Divide every term by \( y\,dy \) (assuming \( y \ne 0 \)) to isolate \( \frac{dx}{dy} \): \[ \frac{dx}{dy} = \frac{-(x - y^2)}{y}. \] — Reason: Dividing by \( y\,dy \) lets us express the equation as a derivative of x with respect to y, which is the first step toward recognising a linear structure.
  2. Step 2: Expand and rearrange the right-hand side: \[ \frac{dx}{dy} = -\frac{x}{y} + y. \] Bring the x-term to the left to match the standard linear form: \[ \frac{dx}{dy} + \frac{1}{y}\,x = y. \] Here \( P(y) = \frac{1}{y} \) and \( Q(y) = y \). — Reason: The standard form \( \frac{dx}{dy} + Px = Q \) immediately tells us what P and Q are so we can compute the integrating factor.
  3. Step 3: Compute the integrating factor: \[ \text{IF} = e^{\int P\,dy} = e^{\int \frac{1}{y}\,dy} = e^{\ln y} = y. \] — Reason: Multiplying the equation by this factor converts the left side into a single exact derivative, making the equation directly integrable.
  4. Step 4: Multiply every term of the linear ODE by the integrating factor \( y \): \[ y\,\frac{dx}{dy} + \frac{y}{y}\,x = y \cdot y, \] which simplifies to \[ y\,\frac{dx}{dy} + x = y^2. \] The left side is now the derivative of the product \( xy \) with respect to y, so we write: \[ \frac{d}{dy}(xy) = y^2. \] — Reason: Recognising the left side as a single derivative \( \frac{d}{dy}(xy) \) is the payoff of the integrating-factor method; it collapses two terms into one.
  5. Step 5: Integrate both sides with respect to y: \[ \int \frac{d}{dy}(xy)\,dy = \int y^2\,dy. \] The left side integrates directly to \( xy \), and the right side gives \( \frac{y^3}{3} \): \[ xy = \frac{y^3}{3} + C. \] — Reason: Direct integration is possible because the left side is already a perfect derivative, so no further technique is needed.
  6. Step 6: Optionally, divide both sides by y to express x explicitly: \[ x = \frac{y^2}{3} + \frac{C}{y}. \] — Reason: Writing x as a function of y makes the solution easier to interpret and matches the explicit form expected in many textbook answers.

Final Answer

The general solution is \[ xy = \frac{y^3}{3} + C, \] equivalently \( x = \frac{y^2}{3} + \frac{C}{y} \), where \( C \) is an arbitrary constant.

Common Mistake

One common mistake: students try to separate variables or treat y as the dependent variable from the start, leading to a messy non-linear equation; always check whether swapping the roles of x and y (writing dx/dy instead of dy/dx) produces a simpler linear form before attempting other methods.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite as linear ODE in \( x \): divide \( y\,dx + (x - y^2)\,dy = 0 \) by \( y\,dy \) to get \[\frac{dx}{dy} + \frac{1}{y}\,x = y\] with \( P = \frac{1}{y} \), \( Q = y \).
  2. Step 2: Integrating factor: \( \text{IF} = e^{\int \frac{1}{y}\,dy} = e^{\ln y} = y \). Multiply through: \[\frac{d}{dy}(xy) = y^2\]
  3. Step 3: Integrate both sides: \[xy = \int y^2\,dy = \frac{y^3}{3} + C\]

Answer: The general solution is \[ xy = \frac{y^3}{3} + C, \] equivalently \( x = \frac{y^2}{3} + \frac{C}{y} \), where \( C \) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

Question: Find the general solution of the differential equation \( y\,dx + (x - 2y^3)\,dy = 0 \).

Solution: Rewrite the equation by dividing through by \( y\,dy \) (assuming \( y \ne 0 \)): Divide both sides by \( y\,dy \): \[ \frac{dx}{dy} + \frac{x}{y} = 2y^2 \] This is a linear ODE in \( x \) as a function of \( y \), with \( P(y) = \frac{1}{y} \) and \( Q(y) = 2y^2 \). Compute the integrating factor: \[ \mu = e^{\int \frac{1}{y}\,dy} = e^{\ln|y|} = y \] Multiply both sides by \( \mu = y \): \[ \frac{d}{dy}(x \cdot y) = 2y^3 \] Integrate both sides with respect to \( y \): \[ x \cdot y = \int 2y^3 \, dy \] \[ x \cdot y = \frac{2y^4}{4} + C \] \[ x \cdot y = \frac{y^4}{2} + C \] Divide through by \( y \): \[ x = \frac{y^3}{2} + \frac{C}{y} \] Hence the general solution is \( xy = \frac{y^4}{2} + C \), or equivalently \( x = \frac{y^3}{2} + \frac{C}{y} \).

Answer: \( xy = \dfrac{y^4}{2} + C \)

Example 2

Question: Find the general solution of the differential equation \( (x + 3y^2)\,dy = y\,dx \).

Solution: Rewrite by rearranging terms. Move \( y\,dx \) to the left side: \[ y\,dx - (x + 3y^2)\,dy = 0 \] Divide through by \( y\,dy \) (assuming \( y \ne 0 \)): \[ \frac{dx}{dy} - \frac{x}{y} = 3y \] This is a linear ODE in \( x \) as a function of \( y \), with \( P(y) = -\frac{1}{y} \) and \( Q(y) = 3y \). Compute the integrating factor: \[ \mu = e^{\int -\frac{1}{y}\,dy} = e^{-\ln|y|} = \frac{1}{y} \] Multiply both sides by \( \mu = \frac{1}{y} \): \[ \frac{1}{y}\frac{dx}{dy} - \frac{x}{y^2} = 3 \] The left side is the derivative of \( \frac{x}{y} \): \[ \frac{d}{dy}\left(\frac{x}{y}\right) = 3 \] Integrate both sides with respect to \( y \): \[ \frac{x}{y} = \int 3 \, dy \] \[ \frac{x}{y} = 3y + C \] Multiply both sides by \( y \): \[ x = 3y^2 + Cy \] Hence the general solution is \( x = 3y^2 + Cy \).

Answer: \( x = 3y^2 + Cy \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation \( 2y\,dx + (x - 2y^3)\,dy = 0 \).

Solution

  1. Step 1: Rewrite as a Linear ODE in x: Divide the entire equation by \( 2y \, dy \) to express it in the form \( \frac{dx}{dy} + P(y)\,x = Q(y) \). Starting from \( 2y\,dx + (x - 2y^3)\,dy = 0 \), divide through by \( 2y\,dy \): \[ \frac{dx}{dy} + \frac{x}{2y} = \frac{2y^3}{2y} \] which simplifies to \[ \frac{dx}{dy} + \frac{1}{2y}\,x = y^2. \] Here \( P(y) = \frac{1}{2y} \) and \( Q(y) = y^2 \).
  2. Step 2: Find the Integrating Factor: The integrating factor is \[ \mu = e^{\int P(y)\,dy} = e^{\int \frac{1}{2y}\,dy} = e^{\frac{1}{2}\ln|y|} = e^{\ln|y|^{1/2}} = \sqrt{y}. \] So the integrating factor is \( \mu = y^{1/2} \).
  3. Step 3: Multiply Both Sides by the Integrating Factor: Multiply the entire ODE by \( y^{1/2} \): \[ y^{1/2}\frac{dx}{dy} + \frac{y^{1/2}}{2y}\,x = y^2 \cdot y^{1/2}. \] This simplifies to \[ y^{1/2}\frac{dx}{dy} + \frac{1}{2}y^{-1/2}\,x = y^{5/2}. \] The left-hand side is exactly the derivative of \( x\,y^{1/2} \) with respect to \( y \): \[ \frac{d}{dy}\left(x\,y^{1/2}\right) = y^{5/2}. \]
  4. Step 4: Integrate Both Sides: Integrate both sides with respect to \( y \): \[ \int \frac{d}{dy}\left(x\,y^{1/2}\right)\,dy = \int y^{5/2}\,dy. \] The left side gives \( x\,y^{1/2} \). For the right side: \[ \int y^{5/2}\,dy = \frac{y^{7/2}}{\tfrac{7}{2}} + C = \frac{2}{7}y^{7/2} + C. \] Therefore: \[ x\,y^{1/2} = \frac{2}{7}y^{7/2} + C. \]
  5. Step 5: Write the General Solution: Divide both sides by \( y^{1/2} \) (assuming \( y \ne 0 \)): \[ x = \frac{2}{7}y^{3} + C\,y^{-1/2}. \] Equivalently, the general solution may be written as \[ x\sqrt{y} = \frac{2}{7}y^{7/2} + C, \] where \( C \) is an arbitrary constant.

Answer: The general solution is \[ x\sqrt{y} = \frac{2}{7}y^{7/2} + C, \] equivalently \( x = \frac{2}{7}y^{3} + C\,y^{-1/2} \), 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