SOLVER7 Study. Nothing Else.
Exercise 9.4 Q5

In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them. \(x^2\dfrac{dy}{dx}=x^2-2y^2+xy\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine a recipe that only cares about the ratio of ingredients, not the actual amounts. This differential equation is like that recipe — it only depends on the ratio of y to x. When something works like that, we call it homogeneous. A clever trick helps us solve it: replace y with a new ingredient called v times x. The messy equation then becomes much simpler to handle, and after solving and substituting back, we get the final answer.

Answer: The equation is homogeneous, and its general solution is \[\frac{1}{2\sqrt{2}}\ln\left|\frac{x + \sqrt{2}\,y}{x - \sqrt{2}\,y}\right| = \ln|x| + C,\] where \(C\) is an arbitrary constant.

📖 Homogeneous Differential Equation: x²dy/dx = x² - 2y² + xy

Detailed Explanation

A first-order differential equation \(\frac{dy}{dx} = F(x, y)\) is called homogeneous if \(F(x, y)\) can be written as a function of \(\frac{y}{x}\) only. Equivalently, if we replace \(x\) by \(\lambda x\) and \(y\) by \(\lambda y\), the function stays unchanged (it is homogeneous of degree 0). To solve such equations we substitute \(y = vx\), where \(v\) is a function of \(x\). This converts the equation into a variables-separable form, which we can integrate. Here, dividing the right side by \(x^2\) shows the equation depends only on \(\frac{y}{x}\), so it is homogeneous.

Formula Used

Substitution for homogeneous equations: \(y = vx\) so that \(\frac{dy}{dx} = v + x\frac{dv}{dx}\). Also used: \(\int \frac{dv}{1 - 2v^2} = \frac{1}{2\sqrt{2}} \ln\left|\frac{1 + \sqrt{2}\,v}{1 - \sqrt{2}\,v}\right| + C\).

Solution

  1. Step 1: Write the equation in the form \(\frac{dy}{dx} = F(x,y)\). Dividing throughout by \(x^2\): \[\frac{dy}{dx} = \frac{x^2 - 2y^2 + xy}{x^2} = 1 - 2\left(\frac{y}{x}\right)^2 + \frac{y}{x}.\]
  2. Step 2: Check homogeneity. The right-hand side is expressed entirely in terms of \(\frac{y}{x}\), so \(F(x, y)\) is a function of \(\frac{y}{x}\) alone. Hence the differential equation is homogeneous.
  3. Step 3: Substitute \(y = vx\), which gives \(\frac{dy}{dx} = v + x\frac{dv}{dx}\). Then the equation becomes \[v + x\frac{dv}{dx} = 1 - 2v^2 + v.\]
  4. Step 4: Cancel \(v\) from both sides: \[x\frac{dv}{dx} = 1 - 2v^2.\] Now separate the variables: \[\frac{dv}{1 - 2v^2} = \frac{dx}{x}.\]
  5. Step 5: Integrate both sides. For the left side, write \(1 - 2v^2 = 1 - (\sqrt{2}\,v)^2\), which is of the form \(a^2 - u^2\) with \(a = 1\) and \(u = \sqrt{2}\,v\). Using \(\int \frac{du}{a^2 - u^2} = \frac{1}{2a}\ln\left|\frac{a+u}{a-u}\right|\): \[\int \frac{dv}{1 - 2v^2} = \frac{1}{2\sqrt{2}}\ln\left|\frac{1 + \sqrt{2}\,v}{1 - \sqrt{2}\,v}\right|.\]
  6. Step 6: So we get \[\frac{1}{2\sqrt{2}}\ln\left|\frac{1 + \sqrt{2}\,v}{1 - \sqrt{2}\,v}\right| = \ln|x| + C.\]
  7. Step 7: Substitute back \(v = \frac{y}{x}\). Then \(\sqrt{2}\,v = \frac{\sqrt{2}\,y}{x}\), so the solution becomes \[\frac{1}{2\sqrt{2}}\ln\left|\frac{x + \sqrt{2}\,y}{x - \sqrt{2}\,y}\right| = \ln|x| + C,\] since \(\frac{1 + \frac{\sqrt{2}y}{x}}{1 - \frac{\sqrt{2}y}{x}} = \frac{x + \sqrt{2}y}{x - \sqrt{2}y}\).

Final Answer

The equation is homogeneous, and its general solution is \[\frac{1}{2\sqrt{2}}\ln\left|\frac{x + \sqrt{2}\,y}{x - \sqrt{2}\,y}\right| = \ln|x| + C,\] where \(C\) is an arbitrary constant.

Common Mistake

A frequent error is forgetting that \(\frac{dy}{dx} = v + x\frac{dv}{dx}\) after substituting \(y = vx\); students often write only \(\frac{dy}{dx} = v\), dropping the \(x\frac{dv}{dx}\) term. Another common slip is mishandling the integral \(\int \frac{dv}{1 - 2v^2}\) by not factoring out the coefficient of \(v^2\) correctly, leading to a missing \(\frac{1}{2\sqrt{2}}\) factor.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite the equation in the form \( \frac{dy}{dx} = F(x,y) \) by dividing the right-hand side by \( x^2 \): \[ \frac{dy}{dx} = \frac{x^2 - 2y^2 + xy}{x^2} = 1 - 2\left(\frac{y}{x}\right)^2 + \frac{y}{x} \] — Reason: Expressing everything in terms of \( \frac{y}{x} \) is the standard first move to check whether the equation is homogeneous.
  2. Step 2: Observe that the right-hand side depends only on \( \frac{y}{x} \) and not on \( x \) or \( y \) independently, so the equation is homogeneous of degree 0. — Reason: This confirms we can apply the substitution \( y = vx \) to reduce the equation to one that is separable in \( v \) and \( x \).
  3. Step 3: Let \( y = vx \), where \( v \) is a function of \( x \). Differentiating gives \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting into the equation: \[ v + x\frac{dv}{dx} = 1 - 2v^2 + v \] — Reason: The substitution \( y = vx \) converts a homogeneous equation into a separable one by introducing the new unknown \( v = \frac{y}{x} \).
  4. Step 4: Cancel \( v \) from both sides to obtain: \[ x\frac{dv}{dx} = 1 - 2v^2 \] — Reason: Simplifying before separating variables makes the subsequent integration cleaner.
  5. Step 5: Separate variables by bringing all \( v \)-terms to the left and all \( x \)-terms to the right: \[ \frac{dv}{1 - 2v^2} = \frac{dx}{x} \] — Reason: Variables-separable form allows each side to be integrated independently.
  6. Step 6: Integrate both sides. For the left side, use the standard result \( \int \frac{dv}{1 - 2v^2} = \frac{1}{2\sqrt{2}} \ln\left|\frac{1 + \sqrt{2}\\,v}{1 - \sqrt{2}\\,v}\right| \). For the right side, \( \int \frac{dx}{x} = \ln|x| \). This gives: \[ \frac{1}{2\sqrt{2}} \ln\left|\frac{1 + \sqrt{2}\\,v}{1 - \sqrt{2}\\,v}\right| = \ln|x| + C \] — Reason: Integration of both sides introduces the arbitrary constant \( C \), completing the general solution in terms of \( v \) and \( x \).
  7. Step 7: Replace \( v \) with \( \frac{y}{x} \) to return to the original variables: \[ \frac{1 + \sqrt{2}\\,v}{1 - \sqrt{2}\\,v} = \frac{1 + \sqrt{2}\cdot\frac{y}{x}}{1 - \sqrt{2}\cdot\frac{y}{x}} = \frac{x + \sqrt{2}\\,y}{x - \sqrt{2}\\,y} \] So the general solution becomes: \[ \frac{1}{2\sqrt{2}}\ln\left|\frac{x + \sqrt{2}\\,y}{x - \sqrt{2}\\,y}\right| = \ln|x| + C \] — Reason: Back-substitution restores the answer in terms of the original variables \( x \) and \( y \), as required.

Final Answer

The equation is homogeneous, and its general solution is \[\frac{1}{2\sqrt{2}}\ln\left|\frac{x + \sqrt{2}\,y}{x - \sqrt{2}\,y}\right| = \ln|x| + C,\] where \(C\) is an arbitrary constant.

Common Mistake

One common mistake: forgetting to back-substitute \( v = \frac{y}{x} \) at the end, leaving the answer in terms of \( v \) instead of expressing it in the original variables \( x \) and \( y \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite: \[ \frac{dy}{dx} = \frac{x^2 - 2y^2 + xy}{x^2} = 1 - 2\left(\frac{y}{x}\right)^2 + \frac{y}{x} \] RHS depends only on \( \frac{y}{x} \), so the equation is homogeneous.
  2. Step 2: Put \( y = vx \): \( v + x\frac{dv}{dx} = 1 - 2v^2 + v \), giving \[ x\frac{dv}{dx} = 1 - 2v^2 \]
  3. Step 3: Separate and integrate: \[ \int \frac{dv}{1 - 2v^2} = \int \frac{dx}{x} \] Using the standard form: \[ \frac{1}{2\sqrt{2}}\ln\left|\frac{1 + \sqrt{2}\,v}{1 - \sqrt{2}\,v}\right| = \ln|x| + C \]
  4. Step 4: Back-substitute \( v = \frac{y}{x} \): \[ \frac{1}{2\sqrt{2}}\ln\left|\frac{x + \sqrt{2}\,y}{x - \sqrt{2}\,y}\right| = \ln|x| + C \]

Answer: The equation is homogeneous, and its general solution is \[\frac{1}{2\sqrt{2}}\ln\left|\frac{x + \sqrt{2}\,y}{x - \sqrt{2}\,y}\right| = \ln|x| + C,\] where \(C\) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

Question: Show that the differential equation \( x^2 \frac{dy}{dx} = y^2 + 2xy \) is homogeneous and solve it.

Solution: Step 1: Write the equation in the form \( \frac{dy}{dx} = F(x,y) \). Dividing both sides by \( x^2 \): \[ \frac{dy}{dx} = \frac{y^2 + 2xy}{x^2} \] Step 2: Check homogeneity. Replace \( x \) by \( tx \) and \( y \) by \( ty \): \[ F(tx, ty) = \frac{(ty)^2 + 2(tx)(ty)}{(tx)^2} = \frac{t^2 y^2 + 2t^2 xy}{t^2 x^2} = \frac{y^2 + 2xy}{x^2} = F(x, y) \] Since \( F(tx, ty) = F(x, y) \), the equation is homogeneous of degree 0. Step 3: Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). \[ v + x\frac{dv}{dx} = \frac{v^2 x^2 + 2x(vx)}{x^2} = v^2 + 2v \] Step 4: Simplify. \[ x\frac{dv}{dx} = v^2 + 2v - v = v^2 + v \] Step 5: Separate variables. \[ \frac{dv}{v^2 + v} = \frac{dx}{x} \] Factor the denominator: \( v^2 + v = v(v+1) \). Use partial fractions: \[ \frac{1}{v(v+1)} = \frac{1}{v} - \frac{1}{v+1} \] Step 6: Integrate both sides. \[ \int \left(\frac{1}{v} - \frac{1}{v+1}\right) dv = \int \frac{dx}{x} \] \[ \ln|v| - \ln|v+1| = \ln|x| + C_1 \] \[ \ln\left|\frac{v}{v+1}\right| = \ln|x| + \ln|c| \] \[ \frac{v}{v+1} = cx \] Step 7: Substitute back \( v = \frac{y}{x} \). \[ \frac{\dfrac{y}{x}}{\dfrac{y}{x}+1} = cx \] \[ \frac{y}{y + x} = cx \] Therefore the general solution is: \[ y = cx(x + y) \]

Answer: \( y = cx(x + y) \), where \( c \) is an arbitrary constant.

Example 2

Question: Show that the differential equation \( (x^2 + y^2)\frac{dy}{dx} = xy \) is homogeneous and solve it.

Solution: Step 1: Write in the form \( \frac{dy}{dx} = F(x, y) \). \[ \frac{dy}{dx} = \frac{xy}{x^2 + y^2} \] Step 2: Check homogeneity. Replace \( x \to tx \), \( y \to ty \): \[ F(tx, ty) = \frac{(tx)(ty)}{(tx)^2 + (ty)^2} = \frac{t^2 xy}{t^2(x^2 + y^2)} = \frac{xy}{x^2 + y^2} = F(x, y) \] The equation is homogeneous of degree 0. Step 3: Substitute \( y = vx \), \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). \[ v + x\frac{dv}{dx} = \frac{x(vx)}{x^2 + v^2 x^2} = \frac{vx^2}{x^2(1 + v^2)} = \frac{v}{1 + v^2} \] Step 4: Simplify. \[ x\frac{dv}{dx} = \frac{v}{1+v^2} - v = \frac{v - v(1+v^2)}{1+v^2} = \frac{v - v - v^3}{1+v^2} = \frac{-v^3}{1+v^2} \] Step 5: Separate variables (assuming \( v \ne 0 \)). \[ \frac{1+v^2}{v^3}\,dv = -\frac{dx}{x} \] Rewrite the left side: \[ \left(\frac{1}{v^3} + \frac{1}{v}\right)dv = -\frac{dx}{x} \] Step 6: Integrate both sides. \[ \int \left(v^{-3} + v^{-1}\right)dv = -\int \frac{dx}{x} \] \[ \frac{v^{-2}}{-2} + \ln|v| = -\ln|x| + C \] \[ -\frac{1}{2v^2} + \ln|v| = -\ln|x| + C \] Step 7: Substitute back \( v = \frac{y}{x} \). \[ -\frac{1}{2\left(\dfrac{y}{x}\right)^2} + \ln\left|\frac{y}{x}\right| = -\ln|x| + C \] \[ -\frac{x^2}{2y^2} + \ln|y| - \ln|x| = -\ln|x| + C \] The \( -\ln|x| \) terms cancel: \[ -\frac{x^2}{2y^2} + \ln|y| = C \] Therefore the general solution is: \[ \ln|y| - \frac{x^2}{2y^2} = C \]

Answer: \( \ln|y| - \dfrac{x^2}{2y^2} = C \), where \( C \) is an arbitrary constant.

🎯 Try a Similar Question

Try a Similar Question

Question: Show that the differential equation \( x^2 \frac{dy}{dx} = x^2 + 3y^2 - 2xy \) is homogeneous and find its general solution.

Solution

  1. Step 1: Rewrite and check homogeneity: Rewrite the equation as \( \frac{dy}{dx} = \frac{x^2 + 3y^2 - 2xy}{x^2} \). Let \( F(x,y) = \frac{x^2 + 3y^2 - 2xy}{x^2} \). Replace \( x \) with \( \lambda x \) and \( y \) with \( \lambda y \): \[ F(\lambda x, \lambda y) = \frac{(\lambda x)^2 + 3(\lambda y)^2 - 2(\lambda x)(\lambda y)}{(\lambda x)^2} = \frac{\lambda^2(x^2 + 3y^2 - 2xy)}{\lambda^2 x^2} = F(x,y). \] Since \( F(\lambda x, \lambda y) = \lambda^0 F(x,y) \), the equation is homogeneous of degree 0.
  2. Step 2: Substitute y = vx: Let \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting into the equation: \[ v + x\frac{dv}{dx} = \frac{x^2 + 3v^2x^2 - 2x(vx)}{x^2} = 1 + 3v^2 - 2v. \]
  3. Step 3: Simplify into a separable form: Rearrange: \[ x\frac{dv}{dx} = 1 + 3v^2 - 2v - v = 1 - 3v + 3v^2. \] So the equation becomes: \[ x\frac{dv}{dx} = 3v^2 - 3v + 1. \]
  4. Step 4: Separate variables: Separate variables: \[ \frac{dv}{3v^2 - 3v + 1} = \frac{dx}{x}. \]
  5. Step 5: Complete the square in the denominator: Complete the square for \( 3v^2 - 3v + 1 \): \[ 3v^2 - 3v + 1 = 3\left(v^2 - v\right) + 1 = 3\left(v - \frac{1}{2}\right)^2 - \frac{3}{4} + 1 = 3\left(v - \frac{1}{2}\right)^2 + \frac{1}{4}. \] So the left side becomes: \[ \frac{dv}{3\left(v - \frac{1}{2}\right)^2 + \frac{1}{4}}. \]
  6. Step 6: Integrate the left side: Factor out \( \frac{1}{4} \) from the denominator: \[ \frac{dv}{\frac{1}{4}\left[12\left(v - \frac{1}{2}\right)^2 + 1\right]} = 4\frac{dv}{12\left(v - \frac{1}{2}\right)^2 + 1}. \] Let \( u = v - \frac{1}{2} \), so \( du = dv \). The integral on the left side is: \[ \int \frac{dv}{3\left(v-\frac{1}{2}\right)^2 + \frac{1}{4}} = \int \frac{du}{3u^2 + \frac{1}{4}}. \] Factor \( 3 \) from the denominator: \[ = \frac{1}{3}\int \frac{du}{u^2 + \frac{1}{12}}. \] Using the standard formula \( \int \frac{du}{u^2 + a^2} = \frac{1}{a}\tan^{-1}\frac{u}{a} + C \) with \( a^2 = \frac{1}{12} \), so \( a = \frac{1}{2\sqrt{3}} \): \[ \frac{1}{3} \cdot 2\sqrt{3}\, \tan^{-1}\!\left(2\sqrt{3}\, u\right) + C_1 = \frac{2\sqrt{3}}{3}\tan^{-1}\!\left(2\sqrt{3}\left(v - \frac{1}{2}\right)\right) + C_1. \]
  7. Step 7: Integrate the right side: The right side integrates as: \[ \int \frac{dx}{x} = \ln|x| + C_2. \]
  8. Step 8: Combine and substitute back: Combining both sides (absorbing constants into one arbitrary constant \( C \)): \[ \frac{2\sqrt{3}}{3}\tan^{-1}\!\left(2\sqrt{3}\left(v - \frac{1}{2}\right)\right) = \ln|x| + C. \] Substitute back \( v = \frac{y}{x} \): \[ \frac{2\sqrt{3}}{3}\tan^{-1}\!\left(2\sqrt{3}\left(\frac{y}{x} - \frac{1}{2}\right)\right) = \ln|x| + C. \] Simplify the argument: \[ \frac{2\sqrt{3}}{3}\tan^{-1}\!\left(\frac{2\sqrt{3}(2y - x)}{2x}\right) = \ln|x| + C. \] This can be written as: \[ \frac{2}{ \sqrt{3} }\tan^{-1}\!\left(\frac{\sqrt{3}(2y - x)}{2x}\right) = \ln|x| + C, \] where \( C \) is an arbitrary constant.

Answer: The equation is homogeneous. Its general solution is \[ \frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{\sqrt{3}(2y - x)}{2x}\right) = \ln|x| + C, \] 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