SOLVER7 Study. Nothing Else.
Exercise 9.4 Q6

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

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine a recipe where doubling every ingredient still gives the same taste. This equation works the same way — if you scale both x and y together, nothing changes. That special property lets us use a clever swap: replace y with a simpler piece times x. Suddenly the messy equation becomes one we can untangle easily. After solving and swapping back, we find the curve that satisfies the original equation.

Answer: The equation is homogeneous, and its general solution is \[ y + \sqrt{x^2 + y^2} = Cx^2, \] where \( C \) is an arbitrary constant.

📖 Solving a Homogeneous Differential Equation

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} \) alone, that is \( F(x, y) = g\left(\frac{y}{x}\right) \). Equivalently, if replacing \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \) leaves \( F \) unchanged, the equation is homogeneous. Such equations are solved using the substitution \( y = vx \), which converts them into a variables-separable equation in \( v \) and \( x \).

Formula Used

Substitution: \( y = vx \) so that \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Useful integral: \( \int \frac{dv}{\sqrt{1+v^2}} = \log\left|v + \sqrt{1+v^2}\right| + C \).

Solution

  1. Step 1: Rewrite the equation in the form \( \frac{dy}{dx} = F(x, y) \). Given \( x\,dy - y\,dx = \sqrt{x^2 + y^2}\,dx \), collect the \( dx \) terms to get \( x\,dy = \left(y + \sqrt{x^2 + y^2}\right) dx \). Hence \[ \frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x}. \]
  2. Step 2: Check homogeneity. Replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \): \[ F(\lambda x, \lambda y) = \frac{\lambda y + \sqrt{\lambda^2 x^2 + \lambda^2 y^2}}{\lambda x} = \frac{\lambda\left(y + \sqrt{x^2 + y^2}\right)}{\lambda x} = F(x, y). \] Since \( F \) is unchanged, the equation is homogeneous.
  3. Step 3: Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). The right side becomes \[ \frac{vx + \sqrt{x^2 + v^2 x^2}}{x} = \frac{vx + x\sqrt{1 + v^2}}{x} = v + \sqrt{1 + v^2}. \] (Here we take \( x > 0 \) so that \( \sqrt{x^2} = x \).)
  4. Step 4: Equate and simplify. We get \[ v + x\frac{dv}{dx} = v + \sqrt{1 + v^2}. \] Cancelling \( v \) from both sides gives \[ x\frac{dv}{dx} = \sqrt{1 + v^2}. \]
  5. Step 5: Separate the variables so that all \( v \) terms are on one side and all \( x \) terms on the other: \[ \frac{dv}{\sqrt{1 + v^2}} = \frac{dx}{x}. \]
  6. Step 6: Integrate both sides. Using the standard result for the left integral, \[ \int \frac{dv}{\sqrt{1 + v^2}} = \int \frac{dx}{x}, \] which gives \[ \log\left|v + \sqrt{1 + v^2}\right| = \log|x| + \log C. \]
  7. Step 7: Remove the logarithms by exponentiating: \[ v + \sqrt{1 + v^2} = Cx. \] Now substitute back \( v = \frac{y}{x} \): \[ \frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} = Cx. \]
  8. Step 8: Simplify the square root. Since \( \sqrt{1 + \frac{y^2}{x^2}} = \frac{\sqrt{x^2 + y^2}}{x} \), we get \[ \frac{y}{x} + \frac{\sqrt{x^2 + y^2}}{x} = Cx. \] Multiplying throughout by \( x \), \[ y + \sqrt{x^2 + y^2} = Cx^2. \]

Final Answer

The equation is homogeneous, and its general solution is \[ y + \sqrt{x^2 + y^2} = Cx^2, \] where \( C \) is an arbitrary constant.

Common Mistake

A common mistake is writing \( \log|x| + C \) instead of \( \log|x| + \log C \) on the right side. Keeping the constant as \( \log C \) lets you combine the logarithms cleanly and correctly exponentiate to get \( v + \sqrt{1+v^2} = Cx \); otherwise the final form of the answer becomes messy or incorrect.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rearrange the given equation \( x\,dy - y\,dx = \sqrt{x^2 + y^2}\,dx \) by moving all \( dx \) terms to one side: \[ x\,dy = \left(y + \sqrt{x^2 + y^2}\right)dx. \] Dividing both sides by \( x \) gives the standard form \[ \frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x}. \] — Reason: Writing the equation as \( \frac{dy}{dx} = F(x, y) \) lets us inspect the structure of \( F \) to test for homogeneity.
  2. Step 2: Test for homogeneity by replacing \( x \) with \( \lambda x \) and \( y \) with \( \lambda y \) in \( F(x,y) \): \[ F(\lambda x, \lambda y) = \frac{\lambda y + \sqrt{(\lambda x)^2 + (\lambda y)^2}}{\lambda x} = \frac{\lambda y + \lambda\sqrt{x^2 + y^2}}{\lambda x} = \frac{y + \sqrt{x^2 + y^2}}{x} = F(x, y). \] Since \( F \) is unchanged, the equation is homogeneous of degree zero. — Reason: Confirming homogeneity tells us the substitution \( y = vx \) will work to separate variables.
  3. Step 3: Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). The right-hand side becomes \[ \frac{vx + \sqrt{x^2 + v^2x^2}}{x} = \frac{vx + x\sqrt{1 + v^2}}{x} = v + \sqrt{1 + v^2}. \] The equation is now \[ v + x\frac{dv}{dx} = v + \sqrt{1 + v^2}. \] — Reason: Substituting \( y = vx \) reduces the homogeneous equation to one involving only \( v \) and \( x \).
  4. Step 4: Subtract \( v \) from both sides to get \[ x\frac{dv}{dx} = \sqrt{1 + v^2}. \] Separate variables by dividing both sides by \( \sqrt{1+v^2} \) and multiplying by \( \frac{dx}{x} \): \[ \frac{dv}{\sqrt{1 + v^2}} = \frac{dx}{x}. \] — Reason: Isolating \( v \)-terms on one side and \( x \)-terms on the other makes direct integration possible.
  5. Step 5: Integrate both sides: \[ \int \frac{dv}{\sqrt{1 + v^2}} = \int \frac{dx}{x}. \] Using the standard result, the left side gives \( \log\left|v + \sqrt{1 + v^2}\right| \) and the right side gives \( \log|x| + \log|C_1| \), so \[ \log\left|v + \sqrt{1 + v^2}\right| = \log|C_1 x|. \] — Reason: Integration converts the separated equation into an algebraic relationship between \( v \) and \( x \).
  6. Step 6: Exponentiate both sides to remove the logarithm: \[ v + \sqrt{1 + v^2} = C_1 x, \] where \( C_1 \) is an arbitrary positive constant (we absorb the absolute value into the constant). — Reason: Removing the log gives a cleaner algebraic equation before back-substituting for \( y \).
  7. Step 7: Replace \( v \) with \( \frac{y}{x} \) (since \( y = vx \Rightarrow v = \frac{y}{x} \)): \[ \frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} = C_1 x. \] Multiply every term by \( x \): \[ y + \sqrt{x^2 + y^2} = C_1 x^2. \] Renaming \( C_1 \) as \( C \) gives the general solution. — Reason: Back-substituting the original variable \( y \) expresses the solution in terms of \( x \) and \( y \), completing the problem.

Final Answer

The equation is homogeneous, and its general solution is \[ y + \sqrt{x^2 + y^2} = Cx^2, \] where \( C \) is an arbitrary constant.

Common Mistake

One common mistake: forgetting to multiply every term by \( x \) when converting \( \frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} = C_1 x \) back to \( y \) and \( x \), which leads to an incorrect form of the general solution such as \( y + \sqrt{x^2 + y^2} = Cx \) instead of \( Cx^2 \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite as dy/dx: From \( x\,dy - y\,dx = \sqrt{x^2+y^2}\,dx \): \[ \frac{dy}{dx} = \frac{y + \sqrt{x^2+y^2}}{x} \] This is homogeneous (degree 0 in \( x, y \)).
  2. Step 2: Substitute y = vx: With \( y = vx \), the equation becomes \( v + x\frac{dv}{dx} = v + \sqrt{1+v^2} \), giving \[ \frac{dv}{\sqrt{1+v^2}} = \frac{dx}{x} \]
  3. Step 3: Integrate both sides: \[ \log\left|v + \sqrt{1+v^2}\right| = \log|x| + \log|C_1| \] so \( v + \sqrt{1+v^2} = C_1 x \). Substituting back \( v = \frac{y}{x} \): \[ \frac{y}{x} + \sqrt{\frac{x^2+y^2}{x^2}} = C_1 x \] Multiplying by \( x \): \[ y + \sqrt{x^2+y^2} = Cx^2 \]

Answer: The equation is homogeneous, and its general solution is \[ y + \sqrt{x^2 + y^2} = Cx^2, \] where \( C \) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

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

Solution: Step 1: Rewrite in the form dy/dx. Rearranging the equation \( x \, dy - y \, dx = \sqrt{x^2 - y^2} \, dx \): \[ x \, dy = \left( y + \sqrt{x^2 - y^2} \right) dx \] So \[ \frac{dy}{dx} = \frac{y + \sqrt{x^2 - y^2}}{x} \] Step 2: Check homogeneity. Let \( F(x, y) = \frac{y + \sqrt{x^2 - y^2}}{x} \). Replace \( x \to \lambda x \) and \( y \to \lambda y \): \[ F(\lambda x, \lambda y) = \frac{\lambda y + \sqrt{\lambda^2 x^2 - \lambda^2 y^2}}{\lambda x} = \frac{\lambda y + \lambda\sqrt{x^2 - y^2}}{\lambda x} = \frac{y + \sqrt{x^2 - y^2}}{x} = F(x, y) \] Since \( F(\lambda x, \lambda y) = \lambda^0 F(x, y) \), the equation is homogeneous of degree 0. Step 3: Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). The equation becomes: \[ v + x\frac{dv}{dx} = \frac{vx + \sqrt{x^2 - v^2 x^2}}{x} = v + \sqrt{1 - v^2} \] Thus \[ x\frac{dv}{dx} = \sqrt{1 - v^2} \] Step 4: Separate variables. \[ \frac{dv}{\sqrt{1 - v^2}} = \frac{dx}{x} \] Step 5: Integrate both sides. \[ \int \frac{dv}{\sqrt{1 - v^2}} = \int \frac{dx}{x} \] \[ \sin^{-1}(v) = \ln|x| + C \] Step 6: Back-substitute \( v = \frac{y}{x} \). \[ \sin^{-1}\left(\frac{y}{x}\right) = \ln|x| + C \]

Answer: \( \sin^{-1}\!\left(\dfrac{y}{x}\right) = \ln|x| + C \)

Example 2

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

Solution: Step 1: Rewrite in the form dy/dx. From \( \left(x + \sqrt{x^2 + y^2}\right) dy = y \, dx \): \[ \frac{dy}{dx} = \frac{y}{x + \sqrt{x^2 + y^2}} \] Step 2: Check homogeneity. Replace \( x \to \lambda x \) and \( y \to \lambda y \): \[ F(\lambda x, \lambda y) = \frac{\lambda y}{\lambda x + \sqrt{\lambda^2 x^2 + \lambda^2 y^2}} = \frac{\lambda y}{\lambda\left(x + \sqrt{x^2 + y^2}\right)} = \frac{y}{x + \sqrt{x^2 + y^2}} = F(x, y) \] The equation is homogeneous of degree 0. Step 3: Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). The right-hand side becomes: \[ \frac{vx}{x + \sqrt{x^2 + v^2 x^2}} = \frac{vx}{x\left(1 + \sqrt{1 + v^2}\right)} = \frac{v}{1 + \sqrt{1 + v^2}} \] So \[ v + x\frac{dv}{dx} = \frac{v}{1 + \sqrt{1 + v^2}} \] Step 4: Simplify the left side. \[ x\frac{dv}{dx} = \frac{v}{1 + \sqrt{1 + v^2}} - v = v\left(\frac{1}{1 + \sqrt{1+v^2}} - 1\right) = v \cdot \frac{1 - 1 - \sqrt{1+v^2}}{1 + \sqrt{1+v^2}} \] \[ x\frac{dv}{dx} = \frac{-v\sqrt{1+v^2}}{1 + \sqrt{1+v^2}} \] Step 5: Separate variables. \[ \frac{1 + \sqrt{1+v^2}}{v\sqrt{1+v^2}} \, dv = -\frac{dx}{x} \] Split the left side: \[ \left(\frac{1}{v\sqrt{1+v^2}} + \frac{1}{v}\right) dv = -\frac{dx}{x} \] Step 6: Integrate both sides. For \( \int \frac{dv}{v} = \ln|v| \) and for \( \int \frac{dv}{v\sqrt{1+v^2}} \), use the standard result \( \int \frac{dv}{v\sqrt{1+v^2}} = -\ln\left|\frac{1 + \sqrt{1+v^2}}{v}\right| + K \) (obtained via the substitution \( v = \tan\theta \) or \( 1+v^2 = t^2 \)): \[ -\ln\left|\frac{1 + \sqrt{1+v^2}}{v}\right| + \ln|v| = -\ln|x| + C_1 \] Combining \( \ln|v| \) terms: \[ -\ln\left(1 + \sqrt{1+v^2}\right) + \ln|v| + \ln|v| = -\ln|x| + C_1 \] Re-examine: \( \ln|v| - \ln\left(1 + \sqrt{1+v^2}\right) + \ln|v| = -\ln|x| + C_1 \) simplifies to: \[ 2\ln|v| - \ln\left(1 + \sqrt{1+v^2}\right) = -\ln|x| + C_1 \] Step 7: Back-substitute \( v = \frac{y}{x} \). Since \( \ln|v| = \ln|y| - \ln|x| \): \[ 2(\ln|y| - \ln|x|) - \ln\left(1 + \sqrt{1 + \frac{y^2}{x^2}}\right) = -\ln|x| + C_1 \] \[ 2\ln|y| - 2\ln|x| - \ln\left(\frac{x + \sqrt{x^2+y^2}}{x}\right) = -\ln|x| + C_1 \] \[ 2\ln|y| - 2\ln|x| - \ln\left(x + \sqrt{x^2+y^2}\right) + \ln|x| = -\ln|x| + C_1 \] \[ 2\ln|y| - \ln|x| - \ln\left(x + \sqrt{x^2+y^2}\right) + \ln|x| = C_1 \] \[ 2\ln|y| - \ln\left(x + \sqrt{x^2+y^2}\right) = C_1 \] Writing \( C_1 = \ln|C| \) (absorbing the constant): \[ \ln y^2 - \ln\left(x + \sqrt{x^2+y^2}\right) = \ln|C| \] \[ \ln\frac{y^2}{x + \sqrt{x^2+y^2}} = \ln|C| \] Therefore the general solution is: \[ y^2 = C\left(x + \sqrt{x^2 + y^2}\right) \]

Answer: \( y^2 = C\!\left(x + \sqrt{x^2 + y^2}\right) \)

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Rewrite in Standard Form: Rearrange the given equation. Starting from \( y \, dx - x \, dy + \sqrt{x^2 + y^2} \, dy = 0 \), collect the \( dy \) terms: \[ y \, dx = x \, dy - \sqrt{x^2 + y^2} \, dy \] Dividing both sides by \( dx \): \[ y = \left( x - \sqrt{x^2 + y^2} \right) \frac{dy}{dx} \] Equivalently, dividing the original equation by \( dy \) gives \( \frac{dx}{dy} \) form. Rewrite as: \[ \frac{dx}{dy} = \frac{x - \sqrt{x^2 + y^2}}{y} \]
  2. Step 2: Verify Homogeneity: Let \( F(x, y) = \frac{x - \sqrt{x^2 + y^2}}{y} \). Replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \): \[ F(\lambda x, \lambda y) = \frac{\lambda x - \sqrt{\lambda^2 x^2 + \lambda^2 y^2}}{ \lambda y} = \frac{\lambda \left( x - \sqrt{x^2 + y^2} \right)}{ \lambda y} = F(x, y) \] Since \( F(\lambda x, \lambda y) = \lambda^0 F(x, y) \), the equation is homogeneous of degree 0.
  3. Step 3: Apply the Substitution: Because the equation is expressed more naturally with \( x \) as a function of \( y \), use the substitution \( x = vy \), so \( \frac{dx}{dy} = v + y \frac{dv}{dy} \). Substituting into \[ \frac{dx}{dy} = \frac{x - \sqrt{x^2 + y^2}}{y} \] gives: \[ v + y \frac{dv}{dy} = \frac{vy - \sqrt{v^2 y^2 + y^2}}{y} = v - \sqrt{v^2 + 1} \]
  4. Step 4: Separate Variables: Simplify: \[ v + y \frac{dv}{dy} = v - \sqrt{v^2 + 1} \] \[ y \frac{dv}{dy} = -\sqrt{v^2 + 1} \] Separating variables: \[ \frac{dv}{\sqrt{v^2 + 1}} = -\frac{dy}{y} \]
  5. Step 5: Integrate Both Sides: Integrate the left side using the standard result \( \int \frac{dv}{\sqrt{v^2+1}} = \ln\left|v + \sqrt{v^2+1}\right| + C_1 \) and the right side: \[ \int \frac{dv}{\sqrt{v^2 + 1}} = -\int \frac{dy}{y} \] \[ \ln\left| v + \sqrt{v^2 + 1} \right| = -\ln|y| + \ln|C| \] where \( C \) is an arbitrary positive constant. This simplifies to: \[ \ln\left| v + \sqrt{v^2 + 1} \right| + \ln|y| = \ln|C| \] \[ \ln\left| y\left( v + \sqrt{v^2 + 1} \right) \right| = \ln|C| \]
  6. Step 6: Back-Substitute and Write the General Solution: Exponentiate both sides: \[ y\left( v + \sqrt{v^2 + 1} \right) = C \] Now substitute back \( v = \frac{x}{y} \): \[ y\left( \frac{x}{y} + \sqrt{\frac{x^2}{y^2} + 1} \right) = C \] \[ x + \sqrt{x^2 + y^2} \cdot \frac{y}{y} \ \cdot \frac{y}{1} \] Re-expanding carefully: \[ y \cdot \frac{x}{y} + y \cdot \frac{\sqrt{x^2 + y^2}}{y} = C \] \[ x + \sqrt{x^2 + y^2} = C \] Thus the general solution is: \[ x + \sqrt{x^2 + y^2} = C \] where \( C \) is an arbitrary constant.

Answer: The equation is homogeneous, and its general solution is \[ x + \sqrt{x^2 + y^2} = 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