SOLVER7 Study. Nothing Else.
2026 Board Paper Q29(a)

Find the general solution of the differential equation
\(2x^2\dfrac{dy}{dx}=y^2+2xy.\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a machine that mixes two things together so you cannot pull them apart easily. This equation is like that — the x and y parts are all tangled up. A clever trick is to swap y with v times x, like renaming your tangled ingredient. Suddenly the mixture separates on its own! After solving the simpler problem, you just swap the name back. The answer shows how x and y are secretly related through a neat formula with a log.

Answer: The general solution is \[-\frac{2x}{y} = \log|x| + C,\] which can also be written as \[\log|x| + \frac{2x}{y} = C_1,\] where \(C_1\) is an arbitrary constant.

📖 General Solution of a Homogeneous Differential Equation

Detailed Explanation

A differential equation of the form \(\dfrac{dy}{dx} = F(x, y)\) is called homogeneous if \(F(x, y)\) can be written purely in terms of \(\dfrac{y}{x}\). Here, dividing throughout by \(2x^2\) gives a right-hand side that depends only on the ratio \(\dfrac{y}{x}\), so the equation is homogeneous. Such equations cannot be solved directly by separating variables. Instead, we use the substitution \(y = vx\), which converts the equation into a variables-separable form in \(v\) and \(x\). After separating and integrating, we replace \(v\) back with \(\dfrac{y}{x}\) to get the general solution.

Formula Used

For a homogeneous equation \(\dfrac{dy}{dx} = F\left(\dfrac{y}{x}\right)\), substitute \(y = vx\) so that \(\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}\).

Solution

  1. Step 1: Write the equation in the form \(\dfrac{dy}{dx} = F\left(\dfrac{y}{x}\right)\). Starting from \(2x^2\dfrac{dy}{dx} = y^2 + 2xy\), divide both sides by \(2x^2\): \[\frac{dy}{dx} = \frac{y^2 + 2xy}{2x^2} = \frac{1}{2}\left(\frac{y}{x}\right)^2 + \frac{y}{x}.\] Since the right side depends only on \(\dfrac{y}{x}\), the equation is homogeneous.
  2. Step 2: Use the substitution \(y = vx\). Then differentiating, \[\frac{dy}{dx} = v + x\frac{dv}{dx}.\] Substitute this into the equation from Step 1: \[v + x\frac{dv}{dx} = \frac{1}{2}v^2 + v.\]
  3. Step 3: Cancel \(v\) from both sides to simplify: \[x\frac{dv}{dx} = \frac{1}{2}v^2.\] Now the variables can be separated.
  4. Step 4: Separate the variables \(v\) and \(x\): \[\frac{2}{v^2}\, dv = \frac{1}{x}\, dx.\] All terms in \(v\) are on one side and all terms in \(x\) on the other.
  5. Step 5: Integrate both sides: \[\int 2v^{-2}\, dv = \int \frac{1}{x}\, dx.\] This gives \[-\frac{2}{v} = \log|x| + C,\] where \(C\) is the constant of integration.
  6. Step 6: Replace \(v\) by \(\dfrac{y}{x}\) to return to the original variables. Since \(\dfrac{2}{v} = \dfrac{2x}{y}\), we get \[-\frac{2x}{y} = \log|x| + C.\]

Final Answer

The general solution is \[-\frac{2x}{y} = \log|x| + C,\] which can also be written as \[\log|x| + \frac{2x}{y} = C_1,\] where \(C_1\) is an arbitrary constant.

Common Mistake

A common mistake is to forget to replace \(\dfrac{dy}{dx}\) with \(v + x\dfrac{dv}{dx}\) after substituting \(y = vx\); students often just write \(\dfrac{dy}{dx} = v\), which is wrong and leads to an incorrect solution.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite the equation in homogeneous form: Starting with \( 2x^2 \frac{dy}{dx} = y^2 + 2xy \), divide both sides by \( 2x^2 \): \[ \frac{dy}{dx} = \frac{y^2 + 2xy}{2x^2}. \] Splitting the right side: \[ \frac{dy}{dx} = \frac{1}{2}\left(\frac{y}{x}\right)^2 + \frac{y}{x}. \] Reason: Expressing the right side purely in terms of \( \frac{y}{x} \) confirms the equation is homogeneous and tells us which substitution to use.
  2. Step 2: Apply the substitution \( y = vx \): Let \( y = vx \), where \( v \) is a function of \( x \). Differentiating with respect to \( x \): \[ \frac{dy}{dx} = v + x\frac{dv}{dx}. \] Substituting into the equation from Step 1: \[ v + x\frac{dv}{dx} = \frac{1}{2}v^2 + v. \] Reason: The substitution \( y = vx \) replaces the two-variable equation with one involving only \( v \) and \( x \), which can then be separated.
  3. Step 3: Simplify by cancelling common terms: Subtract \( v \) from both sides of \( v + x\frac{dv}{dx} = \frac{1}{2}v^2 + v \): \[ x\frac{dv}{dx} = \frac{1}{2}v^2. \] Reason: The \( v \) terms on both sides cancel, leaving a much simpler equation that is ready for variable separation.
  4. Step 4: Separate the variables: Rearrange \( x\frac{dv}{dx} = \frac{1}{2}v^2 \) to group \( v \)-terms on one side and \( x \)-terms on the other: \[ \frac{2}{v^2} \, dv = \frac{dx}{x}. \] This can also be written as \( 2v^{-2} \, dv = \frac{dx}{x} \). Reason: Separating variables allows each side to be integrated independently.
  5. Step 5: Integrate both sides: Integrate the left side and the right side: \[ \int 2v^{-2} \, dv = \int \frac{1}{x} \, dx. \] Left side: \[ \int 2v^{-2} \, dv = 2 \cdot \frac{v^{-1}}{-1} = -\frac{2}{v}. \] Right side: \[ \int \frac{1}{x} \, dx = \log|x|. \] Combining with an arbitrary constant \( C \): \[ -\frac{2}{v} = \log|x| + C. \] Reason: Integrating both sides converts the differential equation into an algebraic relation between \( v \) and \( x \).
  6. Step 6: Back-substitute \( v = \frac{y}{x} \): Replace \( v \) with \( \frac{y}{x} \) in \( -\frac{2}{v} = \log|x| + C \): \[ -\frac{2}{\dfrac{y}{x}} = \log|x| + C, \] which simplifies to \[ -\frac{2x}{y} = \log|x| + C. \] Reason: Reversing the substitution expresses the answer in the original variables \( x \) and \( y \).

Final Answer

The general solution is \[-\frac{2x}{y} = \log|x| + C,\] which can also be written as \[\log|x| + \frac{2x}{y} = C_1,\] where \(C_1\) is an arbitrary constant.

Common Mistake

One common mistake: forgetting to differentiate \( y = vx \) using the product rule, writing \( \frac{dy}{dx} = x\frac{dv}{dx} \) instead of the correct \( \frac{dy}{dx} = v + x\frac{dv}{dx} \), which leads to a wrong equation after substitution.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite and substitute: Divide \( 2x^2\frac{dy}{dx} = y^2 + 2xy \) by \( 2x^2 \): \[ \frac{dy}{dx} = \frac{1}{2}v^2 + v \] where \( v = \frac{y}{x} \). Substituting \( y = vx \) gives \[ v + x\frac{dv}{dx} = \frac{1}{2}v^2 + v. \]
  2. Step 2: Separate variables: Cancel \( v \): \[ x\frac{dv}{dx} = \frac{1}{2}v^2. \] Separate: \[ \frac{2}{v^2}\,dv = \frac{dx}{x}. \]
  3. Step 3: Integrate: \[ \int 2v^{-2}\,dv = \int \frac{1}{x}\,dx \] gives \[ -\frac{2}{v} = \log|x| + C. \]
  4. Step 4: Back-substitute \( v = \frac{y}{x} \): Replace \( v = \frac{y}{x} \): \[ -\frac{2x}{y} = \log|x| + C. \]

Answer: The general solution is \[-\frac{2x}{y} = \log|x| + C,\] which can also be written as \[\log|x| + \frac{2x}{y} = C_1,\] where \(C_1\) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

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

Solution: Step 1: Rewrite the equation. Dividing both sides by \( 3x^2 \): \[ \frac{dy}{dx} = \frac{y^2 + 3xy}{3x^2} \] This can be written as \[ \frac{dy}{dx} = \frac{1}{3}\left(\frac{y}{x}\right)^2 + \frac{y}{x} \] which is a homogeneous equation of degree 0. Step 2: Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). The equation becomes: \[ v + x\frac{dv}{dx} = \frac{v^2 x^2 + 3x \cdot vx}{3x^2} = \frac{v^2 + 3v}{3} \] Step 3: Rearrange to separate variables: \[ x\frac{dv}{dx} = \frac{v^2 + 3v}{3} - v = \frac{v^2 + 3v - 3v}{3} = \frac{v^2}{3} \] Step 4: Separate variables: \[ \frac{3}{v^2}\,dv = \frac{dx}{x} \] Step 5: Integrate both sides: \[ \int 3v^{-2}\,dv = \int \frac{dx}{x} \] \[ -\frac{3}{v} = \ln|x| + C_1 \] Step 6: Back-substitute \( v = \frac{y}{x} \): \[ -\frac{3x}{y} = \ln|x| + C_1 \] Writing \( C = -C_1 \), the general solution is: \[ \frac{3x}{y} + \ln|x| = C \]

Answer: \( \dfrac{3x}{y} + \ln|x| = C \)

Example 2

Question: Find the general solution of the differential equation \( x^2 \frac{dy}{dx} = y^2 + 4xy \).

Solution: Step 1: Rewrite the equation. Dividing both sides by \( x^2 \): \[ \frac{dy}{dx} = \frac{y^2 + 4xy}{x^2} = \left(\frac{y}{x}\right)^2 + 4\cdot\frac{y}{x} \] This is a homogeneous equation. Step 2: Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). The equation becomes: \[ v + x\frac{dv}{dx} = v^2 + 4v \] Step 3: Rearrange: \[ x\frac{dv}{dx} = v^2 + 4v - v = v^2 + 3v = v(v + 3) \] Step 4: Separate variables (assuming \( v \ne 0 \) and \( v \ne -3 \)): \[ \frac{dv}{v(v+3)} = \frac{dx}{x} \] Step 5: Use partial fractions on the left side. Write: \[ \frac{1}{v(v+3)} = \frac{A}{v} + \frac{B}{v+3} \] Solving: \( 1 = A(v+3) + Bv \). Setting \( v = 0 \): \( A = \frac{1}{3} \). Setting \( v = -3 \): \( B = -\frac{1}{3} \). So: \[ \frac{1}{v(v+3)} = \frac{1}{3}\cdot\frac{1}{v} - \frac{1}{3}\cdot\frac{1}{v+3} \] Step 6: Integrate both sides: \[ \int \left(\frac{1}{3v} - \frac{1}{3(v+3)}\right)dv = \int \frac{dx}{x} \] \[ \frac{1}{3}\ln|v| - \frac{1}{3}\ln|v+3| = \ln|x| + C_1 \] \[ \frac{1}{3}\ln\left|\frac{v}{v+3}\right| = \ln|x| + C_1 \] Step 7: Multiply through by 3: \[ \ln\left|\frac{v}{v+3}\right| = 3\ln|x| + 3C_1 \] \[ \frac{v}{v+3} = Ax^3 \quad \text{where } A = e^{3C_1} \text{ is an arbitrary constant} \] Step 8: Back-substitute \( v = \frac{y}{x} \): \[ \frac{\dfrac{y}{x}}{\dfrac{y}{x}+3} = Ax^3 \] Simplify the left side: \[ \frac{y}{y + 3x} = Ax^3 \] The general solution is: \[ \frac{y}{y + 3x} = Ax^3 \] or equivalently \[ y = Ax^3(y + 3x) \]

Answer: \( \dfrac{y}{y + 3x} = Ax^3 \), where \( A \) is an arbitrary constant.

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation \[ 3x^2 \frac{dy}{dx} = y^2 + 3xy. \]

Solution

  1. Step 1 — Rewrite in standard form: Divide both sides by \( 3x^2 \) to get \[ \frac{dy}{dx} = \frac{y^2 + 3xy}{3x^2} = \frac{y^2}{3x^2} + \frac{y}{x}. \] Since the right-hand side depends only on \( \frac{y}{x} \), the equation is homogeneous.
  2. Step 2 — Substitute \( y = vx \): Let \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = \frac{v^2 x^2}{3x^2} + v = \frac{v^2}{3} + v. \]
  3. Step 3 — Simplify: Subtract \( v \) from both sides: \[ x\frac{dv}{dx} = \frac{v^2}{3}. \]
  4. Step 4 — Separate variables: Rearrange to separate \( v \) and \( x \): \[ \frac{3}{v^2} \, dv = \frac{dx}{x}. \] (assuming \( v \ne 0 \), i.e., \( y \ne 0 \)).
  5. Step 5 — Integrate both sides: Integrate the left side: \[ \int \frac{3}{v^2} \, dv = 3 \int v^{-2} \, dv = -\frac{3}{v} + C_1. \] Integrate the right side: \[ \int \frac{dx}{x} = \log|x| + C_2. \] Combining constants, we write: \[ -\frac{3}{v} = \log|x| + C, \] where \( C \) is an arbitrary constant.
  6. Step 6 — Back-substitute \( v = \frac{y}{x} \): Replace \( v \) with \( \frac{y}{x} \): \[ -\frac{3}{\dfrac{y}{x}} = \log|x| + C, \] which gives \[ -\frac{3x}{y} = \log|x| + C. \]
  7. Step 7 — Write the general solution: The general solution is \[ -\frac{3x}{y} = \log|x| + C, \] or equivalently \[ \log|x| + \frac{3x}{y} = C_1, \] where \( C_1 = -C \) is an arbitrary constant.

Answer: The general solution is \[ -\frac{3x}{y} = \log|x| + C, \] which can also be written as \[ \log|x| + \frac{3x}{y} = C_1, \] where \( C_1 \) 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