SOLVER7 Study. Nothing Else.
2026 Board Paper Q28

Solve the differential equation \((x+2y^3)dy=y\ dx.\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have two friends, x and y, and you want to find out how x depends on y instead of the usual way around. Sometimes an equation is easier to solve if you flip who is in charge. Here, we let y be the boss and x be the follower. A special multiplying trick called an integrating factor helps untangle the equation neatly. After that, a simple integration gives us the answer: \( x = y^3 + Cy \), where \( C \) is any constant we choose.

Answer: \( x = y^3 + Cy \), where \( C \) is an arbitrary constant.

📖 Solving (x + 2y^3) dy = y dx as a Linear Equation in x

Detailed Explanation

At first glance this equation looks messy because \( x \) and \( y \) are mixed together. If we try to write it as \( \frac{dy}{dx} \), the equation is NOT linear in \( y \). The trick is to treat \( x \) as the dependent variable and \( y \) as the independent variable, i.e. work with \( \frac{dx}{dy} \). Doing this converts the equation into the standard linear form \( \frac{dx}{dy} + P(y)\,x = Q(y) \). A first-order linear equation is solved using an integrating factor (I.F.), which turns the left-hand side into the derivative of a product so we can integrate directly.

Formula Used

Standard linear form: \( \frac{dx}{dy} + P(y)\,x = Q(y) \). Integrating factor: \( \text{I.F.} = e^{\int P(y)\, dy} \). Solution: \( x \cdot (\text{I.F.}) = \int Q(y)\cdot(\text{I.F.})\, dy + C \).

Solution

  1. Step 1: Rewrite the equation by dividing throughout by \( dy \). From \( (x + 2y^3)\, dy = y\, dx \) we get \[ y \frac{dx}{dy} = x + 2y^3. \] We choose \( \frac{dx}{dy} \) because the equation is linear in \( x \), not in \( y \).
  2. Step 2: Divide both sides by \( y \) to isolate \( \frac{dx}{dy} \): \[ \frac{dx}{dy} = \frac{x}{y} + 2y^2. \] Bring the \( x \)-term to the left to match the standard linear form: \[ \frac{dx}{dy} - \frac{1}{y}\, x = 2y^2. \]
  3. Step 3: Compare with \( \frac{dx}{dy} + P(y)\, x = Q(y) \). Here \[ P(y) = -\frac{1}{y}, \qquad Q(y) = 2y^2. \]
  4. Step 4: Find the integrating factor. \[ \int P(y)\, dy = \int -\frac{1}{y}\, dy = -\ln|y|. \] Therefore \[ \text{I.F.} = e^{-\ln|y|} = \frac{1}{y}. \] The I.F. is chosen so that multiplying makes the left side a perfect derivative.
  5. Step 5: Multiply the whole equation by \( \frac{1}{y} \): \[ \frac{1}{y}\frac{dx}{dy} - \frac{1}{y^2}\, x = 2y. \] The left side is exactly \( \frac{d}{dy}\left( \frac{x}{y} \right) \), so \[ \frac{d}{dy}\left( \frac{x}{y} \right) = 2y. \]
  6. Step 6: Integrate both sides with respect to \( y \): \[ \frac{x}{y} = \int 2y\, dy = y^2 + C. \] Multiply through by \( y \) to solve for \( x \): \[ x = y^3 + Cy. \]

Final Answer

\( x = y^3 + Cy \), where \( C \) is an arbitrary constant.

Common Mistake

A very common error is trying to force the equation into linear form in \( y \) using \( \frac{dy}{dx} \). Because of the \( 2y^3 \) term, that gives a non-linear equation that cannot be solved by an integrating factor. Always check whether treating \( x \) as the dependent variable (\( \frac{dx}{dy} \)) makes it linear instead.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rearrange and choose the right perspective: Starting from \( (x + 2y^3)\, dy = y\, dx \), divide both sides by \( dy \) to get \[ y\,\frac{dx}{dy} = x + 2y^3. \] Reason: The equation is linear in \( x \) but not in \( y \), so it is easier to treat \( x \) as the dependent variable and \( y \) as the independent variable by working with \( \frac{dx}{dy} \).
  2. Step 2: Divide by y to isolate the derivative: Divide every term by \( y \) (assuming \( y \ne 0 \)): \[ \frac{dx}{dy} = \frac{x}{y} + 2y^2. \] Bring the \( x \)-term to the left side: \[ \frac{dx}{dy} - \frac{1}{y}\,x = 2y^2. \] Reason: This matches the standard linear form \( \frac{dx}{dy} + P(y)\,x = Q(y) \), making it straightforward to identify \( P(y) \) and \( Q(y) \).
  3. Step 3: Identify P(y) and Q(y): Comparing with the standard form, we read off \( P(y) = -\frac{1}{y} \) and \( Q(y) = 2y^2 \). Reason: Correctly identifying these functions is essential before computing the integrating factor.
  4. Step 4: Compute the integrating factor: Calculate \( \int P(y)\, dy = \int -\frac{1}{y}\, dy = -\ln|y| = \ln\left|\frac{1}{y}\right| \). Therefore, the integrating factor is \[ \text{I.F.} = e^{-\ln|y|} = \frac{1}{y}. \] Reason: Multiplying both sides by the integrating factor converts the left-hand side into an exact derivative, enabling direct integration.
  5. Step 5: Multiply through by the integrating factor: Multiply the entire equation \( \frac{dx}{dy} - \frac{x}{y} = 2y^2 \) by \( \frac{1}{y} \): \[ \frac{1}{y}\,\frac{dx}{dy} - \frac{x}{y^2} = 2y. \] The left-hand side is now the exact derivative \[ \frac{d}{dy}\left(\frac{x}{y}\right) = 2y. \] Reason: Recognising the left side as a single derivative allows us to integrate both sides directly.
  6. Step 6: Integrate both sides: Integrate both sides with respect to \( y \): \[ \int \frac{d}{dy}\left(\frac{x}{y}\right)\, dy = \int 2y\, dy. \] This gives \[ \frac{x}{y} = y^2 + C. \] Reason: Integration is the final operation needed to obtain the general solution; the constant of integration \( C \) accounts for all possible solutions.
  7. Step 7: Solve for x: Multiply both sides by \( y \): \[ x = y^3 + Cy. \] Reason: Isolating \( x \) gives the explicit general solution in the most standard form.

Final Answer

\( x = y^3 + Cy \), where \( C \) is an arbitrary constant.

Common Mistake

One common mistake: Students attempt to write the equation as \( \frac{dy}{dx} \) and try to solve it as linear in \( y \). This does not produce a linear equation and leads to unnecessary complications. Always check whether the equation is linear in \( x \) instead, and if so, switch to \( \frac{dx}{dy} \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Divide \( (x + 2y^3)\,dy = y\,dx \) by \( y\,dy \) to get standard form: \[\frac{dx}{dy} - \frac{1}{y}\,x = 2y^2\]
  2. Step 2: Here \( P(y) = -\dfrac{1}{y} \), so \(\displaystyle\int P(y)\,dy = -\ln|y|\), giving I.F. \( = e^{-\ln|y|} = \dfrac{1}{y} \).
  3. Step 3: Multiply through by I.F. and integrate: \[\frac{x}{y} = \int 2y^2 \cdot \frac{1}{y}\,dy = \int 2y\,dy = y^2 + C\]
  4. Step 4: Multiply both sides by \( y \): \[x = y^3 + Cy\]

Answer: \( x = y^3 + Cy \), where \( C \) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

Question: Solve the differential equation \((y + 2x^3)\,dx = x\,dy\).

Solution: Rewrite the equation by dividing both sides by \(x\,dx\): \[y + 2x^3 = x\,\frac{dy}{dx}\] Rearranging: \[\frac{dy}{dx} - \frac{y}{x} = 2x^2\] This is a linear ODE in \(y\) with \(P(x) = -\dfrac{1}{x}\) and \(Q(x) = 2x^2\). The integrating factor is: \[\mu = e^{\int -\frac{1}{x}\,dx} = e^{-\ln|x|} = \frac{1}{x}\] Multiply both sides by \(\dfrac{1}{x}\): \[\frac{1}{x}\frac{dy}{dx} - \frac{y}{x^2} = 2x\] The left side is the derivative of \(\dfrac{y}{x}\): \[\frac{d}{dx}\left(\frac{y}{x}\right) = 2x\] Integrating both sides with respect to \(x\): \[\frac{y}{x} = \int 2x\,dx = x^2 + C\] Therefore: \[y = x^3 + Cx\]

Answer: \(y = x^3 + Cx\)

Example 2

Question: Solve the differential equation \((x + 3y^2)\,dy = y\,dx\).

Solution: Divide both sides by \(y\,dy\) to write the equation in terms of \(\dfrac{dx}{dy}\): \[\frac{x + 3y^2}{y} = \frac{dx}{dy}\] Rearranging: \[\frac{dx}{dy} - \frac{x}{y} = 3y\] This is a linear ODE in \(x\) as a function of \(y\), with \(P(y) = -\dfrac{1}{y}\) and \(Q(y) = 3y\). The integrating factor is: \[\mu = e^{\int -\frac{1}{y}\,dy} = e^{-\ln|y|} = \frac{1}{y}\] Multiply both sides by \(\dfrac{1}{y}\): \[\frac{1}{y}\frac{dx}{dy} - \frac{x}{y^2} = 3\] The left side equals \(\dfrac{d}{dy}\left(\dfrac{x}{y}\right)\): \[\frac{d}{dy}\left(\frac{x}{y}\right) = 3\] Integrating both sides with respect to \(y\): \[\frac{x}{y} = \int 3\,dy = 3y + C\] Therefore: \[x = 3y^2 + Cy\]

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

🎯 Try a Similar Question

Try a Similar Question

Question: Solve the differential equation \( (x + 3y^4)\,dy = y\,dx \).

Solution

  1. Step 1: Rewrite the equation: Starting from \( (x + 3y^4)\,dy = y\,dx \), divide both sides by \( y\,dy \) (assuming \( y \ne 0 \)) to express \( x \) as a function of \( y \). Rearranging gives \[ \frac{dx}{dy} = \frac{x + 3y^4}{y} \] which can be rewritten as \[ \frac{dx}{dy} - \frac{x}{y} = 3y^3. \]
  2. Step 2: Identify P(y) and Q(y): Comparing with the standard form \( \frac{dx}{dy} + P(y)\,x = Q(y) \), we identify \[ P(y) = -\frac{1}{y}, \quad Q(y) = 3y^3. \]
  3. Step 3: Find the Integrating Factor: The integrating factor is \[ \mu = e^{\int P(y)\,dy} = e^{\int -\frac{1}{y}\,dy} = e^{-\ln|y|} = \frac{1}{y}. \]
  4. Step 4: Multiply through by the Integrating Factor: Multiplying both sides of \( \frac{dx}{dy} - \frac{x}{y} = 3y^3 \) by \( \frac{1}{y} \) gives \[ \frac{1}{y}\frac{dx}{dy} - \frac{x}{y^2} = 3y^2. \] The left side is exactly the derivative of \( \frac{x}{y} \) with respect to \( y \), so \[ \frac{d}{dy}\left(\frac{x}{y}\right) = 3y^2. \]
  5. Step 5: Integrate Both Sides: Integrating both sides with respect to \( y \): \[ \int \frac{d}{dy}\left(\frac{x}{y}\right)\,dy = \int 3y^2\,dy \] which gives \[ \frac{x}{y} = y^3 + C \] where \( C \) is an arbitrary constant.
  6. Step 6: Write the General Solution: Multiplying both sides by \( y \): \[ x = y^4 + Cy. \]

Answer: \( x = y^4 + Cy \), 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