SOLVER7 Study. Nothing Else.
Exercise 9.5 Q12

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

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you are trying to untangle a knot, but pulling one end makes it worse. So you try the other end instead. This equation is like that knot — it looks confusing when we think of y depending on x. Swapping the roles, we treat x as the unknown and y as the controller. Suddenly the equation becomes much easier to handle. We then use a special multiplying trick to tidy everything up and find x neatly written in terms of y.

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

📖 General Solution of \((x+3y^2)\frac{dy}{dx}=y\)

Detailed Explanation

At first glance \((x+3y^2)\frac{dy}{dx}=y\) looks messy because it is not linear in \(y\). The trick is to treat \(x\) as the dependent variable and \(y\) as the independent variable. When we rewrite the equation in the form \(\frac{dx}{dy}+P(y)x=Q(y)\), it becomes a first-order linear differential equation in \(x\). We then use the integrating factor \(e^{\int P\,dy}\) to solve it. This is a standard CBSE technique: if an equation is not linear one way, flip the roles of the variables.

Formula Used

A linear equation \(\frac{dx}{dy}+P(y)\,x=Q(y)\) has integrating factor \(\text{I.F.}=e^{\int P\,dy}\), and its solution is \[x\cdot(\text{I.F.})=\int Q\cdot(\text{I.F.})\,dy+C.\]

Solution

  1. Step 1: Start with the given equation and take the reciprocal to express \(\frac{dx}{dy}\). We have \[(x+3y^2)\frac{dy}{dx}=y.\] Rearranging, \[\frac{dy}{dx}=\frac{y}{x+3y^2},\] so \[\frac{dx}{dy}=\frac{x+3y^2}{y}.\]
  2. Step 2: Split the right side and bring the \(x\)-term to the left to get linear form. \[\frac{dx}{dy}=\frac{x}{y}+3y.\] Therefore \[\frac{dx}{dy}-\frac{1}{y}x=3y.\] This is linear in \(x\) with \(P(y)=-\frac{1}{y}\) and \(Q(y)=3y\).
  3. Step 3: Find the integrating factor. \[\int P\,dy=\int-\frac{1}{y}\,dy=-\ln y=\ln\frac{1}{y}.\] Since \(y>0\), \[\text{I.F.}=e^{\ln(1/y)}=\frac{1}{y}.\]
  4. Step 4: Multiply through by the integrating factor and use the product rule idea. The solution formula gives \[x\cdot\frac{1}{y}=\int 3y\cdot\frac{1}{y}\,dy+C.\] Simplify the integrand: \[\frac{x}{y}=\int 3\,dy+C.\]
  5. Step 5: Integrate and solve for \(x\). \[\frac{x}{y}=3y+C.\] Multiplying both sides by \(y\), \[x=3y^2+Cy.\]

Final Answer

The general solution is \[x=3y^2+Cy,\] where \(C\) is an arbitrary constant.

Common Mistake

A common mistake is to try to force the equation into linear form in \(y\) (as \(\frac{dy}{dx}+Py=Q\)), which is impossible here because of the \(3y^2\) term. Always check: if it is not linear in \(y\), switch and treat \(x\) as the dependent variable and write \(\frac{dx}{dy}\).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite by taking the reciprocal of both sides: Starting from the given equation \[(x + 3y^2)\frac{dy}{dx} = y,\] divide both sides to isolate \(\frac{dy}{dx}\): \[\frac{dy}{dx} = \frac{y}{x + 3y^2}.\] Now take the reciprocal of both sides to express \(\frac{dx}{dy}\): \[\frac{dx}{dy} = \frac{x + 3y^2}{y}.\] Reason: The equation is not linear in y, but flipping the dependent and independent variables gives us an equation that can be made linear in x.
  2. Step 2: Rearrange into standard linear form: Expand the right-hand side by splitting the fraction: \[\frac{dx}{dy} = \frac{x}{y} + 3y.\] Move the x-term to the left side: \[\frac{dx}{dy} - \frac{1}{y}\,x = 3y.\] Here, \(P(y) = -\frac{1}{y}\) and \(Q(y) = 3y\). Reason: This matches the standard first-order linear form \(\frac{dx}{dy} + P(y)x = Q(y)\), which has a known solution method.
  3. Step 3: Compute the integrating factor: Calculate \(\int P(y)\,dy\): \[\int -\frac{1}{y}\,dy = -\ln y = \ln\frac{1}{y}.\] Therefore the integrating factor is \[\text{I.F.} = e^{\ln(1/y)} = \frac{1}{y}.\] Reason: Multiplying through by the integrating factor turns the left side into an exact derivative, making the equation directly integrable.
  4. Step 4: Multiply both sides by the integrating factor: Multiply every term in the equation \(\frac{dx}{dy} - \frac{1}{y}x = 3y\) by \(\frac{1}{y}\): \[\frac{1}{y}\frac{dx}{dy} - \frac{1}{y^2}x = 3.\] The left side is exactly the derivative of \(\frac{x}{y}\) with respect to y: \[\frac{d}{dy}\left(\frac{x}{y}\right) = 3.\] Reason: Recognising the left side as a single derivative allows us to integrate both sides directly.
  5. Step 5: Integrate both sides: Integrate both sides with respect to y: \[\int \frac{d}{dy}\left(\frac{x}{y}\right)\,dy = \int 3\,dy.\] This gives \[\frac{x}{y} = 3y + C,\] where C is an arbitrary constant. Reason: Integration undoes the derivative on the left, and the right side integrates to the simple expression \(3y + C\).
  6. Step 6: Solve for x to write the general solution: Multiply both sides by y: \[x = y(3y + C) = 3y^2 + Cy.\] Reason: Isolating x gives the explicit general solution in the required form.

Final Answer

The general solution is \[x=3y^2+Cy,\] where \(C\) is an arbitrary constant.

Common Mistake

One common mistake: Students attempt to solve the equation as a linear ODE in y (treating y as the dependent variable), which fails because the equation is not linear in y. Always check both orientations — if it is not linear in y, try rewriting it as a linear equation in x by expressing \(\frac{dx}{dy}\) instead of \(\frac{dy}{dx}\).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Take reciprocal: \[\frac{dx}{dy} = \frac{x+3y^2}{y} \implies \frac{dx}{dy} - \frac{1}{y}x = 3y\] Here \(P(y) = -\frac{1}{y}\), \(Q(y) = 3y\).
  2. Step 2: Integrating factor: \(\text{I.F.} = e^{\int -\frac{1}{y}\\,dy} = e^{-\ln y} = \frac{1}{y}\).
  3. Step 3: Multiply through by \(\frac{1}{y}\) and integrate: \(\frac{x}{y} = \int 3y \cdot \frac{1}{y}\\,dy + C = \int 3\\,dy + C = 3y + C\).
  4. Step 4: Multiply both sides by \(y\): \[x = 3y^2 + Cy\]

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

➕ More Examples

More Examples

Example 1

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

Solution: We rewrite the equation so that \(y\) is the independent variable and \(x\) is the dependent variable. Given: \((y + 2x^2)\dfrac{dy}{dx} = x\) Rewrite as \(\dfrac{dx}{dy}\): Taking the reciprocal of both sides (treating \(x\) as a function of \(y\)): \[\frac{dx}{dy} = \frac{y + 2x^2}{x}\] This is not immediately linear. Instead, rewrite the original as: \[(y + 2x^2)\frac{dy}{dx} = x \implies \frac{dy}{dx} = \frac{x}{y + 2x^2}\] Taking the reciprocal: \[\frac{dx}{dy} = \frac{y + 2x^2}{x}\] Multiply both sides by \(x\): \[x\frac{dx}{dy} = y + 2x^2\] Let \(v = x^2\), so \(\dfrac{dv}{dy} = 2x\dfrac{dx}{dy}\), which gives \(x\dfrac{dx}{dy} = \dfrac{1}{2}\dfrac{dv}{dy}\). Substituting: \[\frac{1}{2}\frac{dv}{dy} = y + 2v\] \[\frac{dv}{dy} = 2y + 4v\] \[\frac{dv}{dy} - 4v = 2y\] This is a first-order linear ODE in \(v(y)\). Here \(P(y) = -4\) and \(Q(y) = 2y\). Integrating factor: \[\mu = e^{\int -4\,dy} = e^{-4y}\] Multiply both sides by \(e^{-4y}\): \[\frac{d}{dy}\left(v\,e^{-4y}\right) = 2y\,e^{-4y}\] Integrate the right side using integration by parts. Let \(u_1 = 2y\), \(dv_1 = e^{-4y}\,dy\), so \(du_1 = 2\,dy\), \(v_1 = -\dfrac{1}{4}e^{-4y}\): \[\int 2y\,e^{-4y}\,dy = 2y\cdot\left(-\frac{1}{4}e^{-4y}\right) - \int 2\cdot\left(-\frac{1}{4}e^{-4y}\right)dy\] \[= -\frac{y}{2}e^{-4y} + \frac{1}{2}\int e^{-4y}\,dy\] \[= -\frac{y}{2}e^{-4y} + \frac{1}{2}\cdot\left(-\frac{1}{4}e^{-4y}\right) + C\] \[= -\frac{y}{2}e^{-4y} - \frac{1}{8}e^{-4y} + C\] So: \[v\,e^{-4y} = -\frac{y}{2}e^{-4y} - \frac{1}{8}e^{-4y} + C\] Divide through by \(e^{-4y}\): \[v = -\frac{y}{2} - \frac{1}{8} + C\,e^{4y}\] Since \(v = x^2\): \[x^2 = -\frac{y}{2} - \frac{1}{8} + C\,e^{4y}\]

Answer: \(x^2 = C\,e^{4y} - \dfrac{y}{2} - \dfrac{1}{8}\)

Example 2

Question: Find the general solution of the differential equation \((x + 4y^2)\dfrac{dy}{dx} = y\), where \(y > 0\).

Solution: Rewrite the equation treating \(x\) as a function of \(y\). Given: \((x + 4y^2)\dfrac{dy}{dx} = y\) Taking the reciprocal (i.e., expressing \(\dfrac{dx}{dy}\)): \[\frac{dx}{dy} = \frac{x + 4y^2}{y}\] Rearrange: \[\frac{dx}{dy} = \frac{x}{y} + 4y\] \[\frac{dx}{dy} - \frac{x}{y} = 4y\] This is a first-order linear ODE in \(x(y)\), with \(P(y) = -\dfrac{1}{y}\) and \(Q(y) = 4y\). Integrating factor: \[\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} = 4\] The left side is \(\dfrac{d}{dy}\!\left(\dfrac{x}{y}\right)\): \[\frac{d}{dy}\left(\frac{x}{y}\right) = 4\] Integrate both sides with respect to \(y\): \[\frac{x}{y} = \int 4\,dy = 4y + C\] Multiply both sides by \(y\): \[x = 4y^2 + Cy\]

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

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Rewrite the equation in standard linear form: The given equation is \((y + 2x^2)\dfrac{dx}{dy} = x\). Rewrite it as \(\dfrac{dx}{dy} = \dfrac{x}{y + 2x^2}\). Taking the reciprocal to treat x as the dependent variable and y as the independent variable, we get \(\dfrac{dy}{dx} = \dfrac{y + 2x^2}{x}\). However, it is more convenient to write the equation with y as the independent variable. Rewrite the original as: \(\dfrac{dx}{dy} = \dfrac{x}{y + 2x^2}\) is not linear in x, so instead divide both sides of \((y + 2x^2)\,dx = x\,dy\) by \(x\,dy\): \[\frac{y + 2x^2}{x} = \frac{dx}{dy}\cdot\frac{1}{\text{(not useful this way)}}.\] Let us go back to treating y as independent. Divide both sides of \((y + 2x^2)\dfrac{dx}{dy} = x\) by x (valid since \(x > 0\)): \[\frac{y + 2x^2}{x}\cdot\frac{dx}{dy} = 1.\] Instead, rewrite the original by inverting: \[\frac{dy}{dx}\cdot x = y + 2x^2 \implies \frac{dy}{dx} - \frac{y}{x} = 2x.\] This is a standard linear ODE in y as a function of x.
  2. Step 2: Identify P(x) and Q(x): The equation \(\dfrac{dy}{dx} - \dfrac{1}{x}\,y = 2x\) has the form \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\) with \(P(x) = -\dfrac{1}{x}\) and \(Q(x) = 2x\).
  3. Step 3: Compute the integrating factor: The integrating factor is \[\mu = e^{\int P(x)\,dx} = e^{\int -\frac{1}{x}\,dx} = e^{-\ln|x|} = e^{\ln(1/x)} = \frac{1}{x}.\]
  4. Step 4: Multiply through by the integrating factor: Multiply both sides of the ODE by \(\dfrac{1}{x}\): \[\frac{1}{x}\,\frac{dy}{dx} - \frac{y}{x^2} = 2.\] The left side is exactly \(\dfrac{d}{dx}\!\left(\dfrac{y}{x}\right)\), so we have \[\frac{d}{dx}\!\left(\frac{y}{x}\right) = 2.\]
  5. Step 5: Integrate both sides: Integrating both sides with respect to x: \[\int \frac{d}{dx}\!\left(\frac{y}{x}\right)dx = \int 2\,dx,\] which gives \[\frac{y}{x} = 2x + C,\] where C is an arbitrary constant.
  6. Step 6: Write the general solution: Multiplying both sides by x: \[y = 2x^2 + Cx,\] where C is an arbitrary constant. This is the general solution of the given differential equation.

Answer: The general solution is \[y = 2x^2 + Cx,\] 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