SOLVER7 Study. Nothing Else.
2023 Board Paper Q28(b)

Solve the differential equation given by
\(x\ dy- y\ dx -\sqrt{x^2+y^2}\ dx=0.\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine a machine that mixes two ingredients, x and y, in a balanced way. When the mix looks the same no matter how you scale it up or down, we call it homogeneous. We swap y with a simpler helper variable to untangle the recipe. Once untangled, we separate and collect the ingredients on different sides. After careful measuring and combining, the final blended result tells us exactly how x and y are related.

Answer: \[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 of the form \(\frac{dy}{dx} = F(x, y)\) is called homogeneous if \(F(x, y)\) can be written purely as a function of the ratio \(\frac{y}{x}\). Such equations are solved by substituting \(y = vx\), where \(v\) is a new function of \(x\). This substitution converts the equation into one whose variables (\(v\) and \(x\)) can be separated and integrated. Here the given equation \(x\,dy - y\,dx - \sqrt{x^2 + y^2}\,dx = 0\) contains only terms of the same total degree, so it is homogeneous.

Formula Used

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

Solution

  1. Step 1: Rearrange the equation into \(\frac{dy}{dx}\) form. Starting from \(x\,dy - y\,dx - \sqrt{x^2 + y^2}\,dx = 0\), collect the \(dx\) terms and divide by \(x\,dx\): \[\frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x}.\]
  2. Step 2: Check that it is homogeneous. Dividing numerator and denominator by \(x\) (take \(x > 0\)) gives \[\frac{dy}{dx} = \frac{y}{x} + \sqrt{1 + \left(\frac{y}{x}\right)^2}.\] Since the right side depends only on \(\frac{y}{x}\), the equation is homogeneous.
  3. Step 3: Apply the substitution \(y = vx\). Then \[\frac{dy}{dx} = v + x\frac{dv}{dx}.\] Replacing \(\frac{y}{x}\) by \(v\), the equation becomes \[v + x\frac{dv}{dx} = v + \sqrt{1 + v^2}.\]
  4. Step 4: Cancel \(v\) from both sides to simplify: \[x\frac{dv}{dx} = \sqrt{1 + v^2}.\] This is now a variables-separable equation.
  5. Step 5: Separate the variables \(v\) and \(x\): \[\frac{dv}{\sqrt{1 + v^2}} = \frac{dx}{x}.\]
  6. Step 6: Integrate both sides. Using the standard result on the left: \[\int \frac{dv}{\sqrt{1 + v^2}} = \int \frac{dx}{x}\] gives \[\ln\left| v + \sqrt{1 + v^2} \right| = \ln|x| + \ln C,\] where \(\ln C\) is the constant of integration.
  7. Step 7: Remove the logarithms by exponentiating: \[v + \sqrt{1 + v^2} = Cx.\]
  8. Step 8: Substitute back \(v = \frac{y}{x}\): \[\frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} = Cx.\] Simplify the square root as \(\sqrt{1 + \frac{y^2}{x^2}} = \frac{\sqrt{x^2 + y^2}}{x}\) (with \(x > 0\)), so \[\frac{y}{x} + \frac{\sqrt{x^2 + y^2}}{x} = Cx.\]
  9. Step 9: Multiply throughout by \(x\) to get the neat general solution: \[y + \sqrt{x^2 + y^2} = Cx^2.\]

Final Answer

\[y + \sqrt{x^2 + y^2} = Cx^2,\] where \(C\) is an arbitrary constant.

Common Mistake

A frequent error is writing the integral of \(\frac{1}{\sqrt{1+v^2}}\) incorrectly, or forgetting to convert back from \(v\) to \(\frac{y}{x}\) at the end. Also, students often add the constant as \(+C\) instead of \(+\ln C\); using \(\ln C\) makes the logarithms combine cleanly and gives a simpler final form.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite the equation in the form \( \frac{dy}{dx} = \ldots \). Starting from \( x\,dy - y\,dx - \sqrt{x^2+y^2}\,dx = 0 \), move the \( dx \) terms to the right and divide through by \( x \): \[ \frac{dy}{dx} = \frac{y + \sqrt{x^2+y^2}}{x} \] — Reason: We need the equation in explicit derivative form before checking for homogeneity.
  2. Step 2: Confirm the equation is homogeneous. Divide every term in the numerator by \( x \) (assuming \( x > 0 \)): \[ \frac{dy}{dx} = \frac{y}{x} + \sqrt{1 + \left(\frac{y}{x}\right)^2} \] The right-hand side depends only on the ratio \( \frac{y}{x} \), so the equation is indeed homogeneous — Reason: Identifying homogeneity tells us the substitution \( y = vx \) will work.
  3. Step 3: Apply the substitution \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Replace \( \frac{y}{x} \) with \( v \) throughout: \[ v + x\frac{dv}{dx} = v + \sqrt{1+v^2} \] — Reason: This converts the equation into one involving only \( v \) and \( x \), removing \( y \) entirely.
  4. Step 4: Cancel \( v \) from both sides: \[ x\frac{dv}{dx} = \sqrt{1+v^2} \] Then separate variables by dividing both sides appropriately: \[ \frac{dv}{\sqrt{1+v^2}} = \frac{dx}{x} \] — Reason: Separating variables places all \( v \)-terms on one side and all \( x \)-terms on the other, making integration straightforward.
  5. Step 5: Integrate both sides: \[ \int \frac{dv}{\sqrt{1+v^2}} = \int \frac{dx}{x} \] Using the standard result \( \int \frac{dv}{\sqrt{1+v^2}} = \ln\left|v + \sqrt{1+v^2}\right| + C \), we get: \[ \ln\left|v + \sqrt{1+v^2}\right| = \ln|x| + \ln|C_1| \] which simplifies to \[ \ln\left|v + \sqrt{1+v^2}\right| = \ln|C_1 x| \] — Reason: We write the constant of integration as \( \ln|C_1| \) to make the logarithms easy to combine.
  6. Step 6: Remove the logarithms by exponentiating both sides: \[ v + \sqrt{1+v^2} = C_1 x \] Now substitute back \( v = \frac{y}{x} \): \[ \frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} = C_1 x \] — Reason: Replacing \( v \) with \( \frac{y}{x} \) returns the solution to the original variables \( x \) and \( y \).
  7. Step 7: Multiply every term by \( x \) (with \( x > 0 \)): \[ y + \sqrt{x^2 + y^2} = C_1 x^2 \] Rename \( C_1 \) as \( C \) (an arbitrary constant) to obtain the final general solution — Reason: Multiplying by \( x \) clears the denominator inside the square root and puts the answer in its cleanest form.

Final Answer

\[y + \sqrt{x^2 + y^2} = Cx^2,\] where \(C\) is an arbitrary constant.

Common Mistake

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

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rearrange and substitute \( y = vx \), \( \frac{dy}{dx} = v + x\frac{dv}{dx} \): \[\frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x} = \frac{y}{x} + \sqrt{1 + \left(\frac{y}{x}\right)^2}\] giving \[v + x\frac{dv}{dx} = v + \sqrt{1 + v^2}\]
  2. Step 2: Separate variables and integrate: \[\int \frac{dv}{\sqrt{1 + v^2}} = \int \frac{dx}{x}\] yielding \[\ln\left| v + \sqrt{1 + v^2} \right| = \ln|x| + \ln|C_1|\]
  3. Step 3: Back-substitute \( v = \frac{y}{x} \): \[\frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} = C_1 x\] Multiply both sides by \( x \): \[y + \sqrt{x^2 + y^2} = Cx^2\]

Answer: \[y + \sqrt{x^2 + y^2} = Cx^2,\] where \(C\) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

Question: Solve the differential equation \[ x\,dy - y\,dx = \sqrt{x^2 - y^2}\,dx, \quad x > 0,\; |y| < x. \]

Solution: Rearrange the equation. We have \[ x\,dy = \left(y + \sqrt{x^2 - y^2}\right)dx. \] Dividing both sides by \( x\,dx \): \[ \frac{dy}{dx} = \frac{y}{x} + \sqrt{1 - \frac{y^2}{x^2}}. \] This is a homogeneous equation. Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = v + \sqrt{1 - v^2}. \] Simplifying: \[ x\frac{dv}{dx} = \sqrt{1 - v^2}. \] Separating variables: \[ \frac{dv}{\sqrt{1 - v^2}} = \frac{dx}{x}. \] Integrating both sides: \[ \int \frac{dv}{\sqrt{1 - v^2}} = \int \frac{dx}{x}. \] The left side gives \( \sin^{-1}(v) \) and the right side gives \( \ln|x| \). Therefore: \[ \sin^{-1}(v) = \ln|x| + C. \] Replacing \( 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: Solve the differential equation \[ \left(x + \sqrt{x^2 + y^2}\right)dy = y\,dx. \]

Solution: Rewrite the equation: \[ \left(x + \sqrt{x^2 + y^2}\right)dy = y\,dx. \] Dividing both sides by \( y\,dy \) (assuming \( y \ne 0 \)): \[ \frac{dx}{dy} = \frac{x + \sqrt{x^2 + y^2}}{y}. \] Dividing numerator and denominator by \( y \): \[ \frac{dx}{dy} = \frac{x}{y} + \sqrt{\frac{x^2}{y^2} + 1}. \] This is homogeneous in \( x \) and \( y \) (treating \( x \) as a function of \( y \)). Substitute \( x = uy \), so \( \frac{dx}{dy} = u + y\frac{du}{dy} \). Substituting: \[ u + y\frac{du}{dy} = u + \sqrt{u^2 + 1}. \] Simplifying: \[ y\frac{du}{dy} = \sqrt{u^2 + 1}. \] Separating variables: \[ \frac{du}{\sqrt{u^2 + 1}} = \frac{dy}{y}. \] Integrating both sides: \[ \int \frac{du}{\sqrt{u^2 + 1}} = \int \frac{dy}{y}. \] Using the standard result \( \int \frac{du}{\sqrt{u^2+1}} = \ln\left|u + \sqrt{u^2+1}\right| + C \): \[ \ln\left|u + \sqrt{u^2 + 1}\right| = \ln|y| + \ln|C_1|. \] This gives: \[ u + \sqrt{u^2 + 1} = C_1 y. \] Replacing \( u = \frac{x}{y} \): \[ \frac{x}{y} + \sqrt{\frac{x^2}{y^2} + 1} = C_1 y. \] Multiplying through by \( y \): \[ x + \sqrt{x^2 + y^2} = C_1 y^2. \] Writing \( C_1 = C \) (an arbitrary constant): \[ x + \sqrt{x^2 + y^2} = C y^2. \]

Answer: \( x + \sqrt{x^2 + y^2} = Cy^2 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Solve the differential equation \( x \, dy - y \, dx = \sqrt{x^2 + y^2} \, dx \), given that \( y = 0 \) when \( x = 1 \). Also write the general solution before applying the initial condition.

Solution

  1. Step 1: Rewrite the equation: The given equation is \( x \, dy - y \, dx = \sqrt{x^2 + y^2} \, dx \). Rearranging: \( x \, dy = \left( y + \sqrt{x^2 + y^2} \right) dx \). Dividing both sides by \( x \, dx \): \[ \frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x}. \]
  2. Step 2: Check for homogeneity and substitute: The right-hand side can be written as \( \frac{y}{x} + \sqrt{1 + \left(\frac{y}{x}\right)^2} \), which is a function of \( \frac{y}{x} \) alone, confirming it is a homogeneous equation. Put \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = v + \sqrt{1 + v^2}. \]
  3. Step 3: Simplify and separate variables: Cancel \( v \) from both sides: \[ x\frac{dv}{dx} = \sqrt{1 + v^2}. \] Separating variables: \[ \frac{dv}{\sqrt{1 + v^2}} = \frac{dx}{x}. \]
  4. Step 4: Integrate both sides: Integrating the left side uses the standard result \( \int \frac{dv}{\sqrt{1+v^2}} = \ln\left|v + \sqrt{1+v^2}\right| + C \). So: \[ \int \frac{dv}{\sqrt{1 + v^2}} = \int \frac{dx}{x}. \] This gives \[ \ln\left| v + \sqrt{1 + v^2} \right| = \ln|x| + \ln|C_1|, \] where \( C_1 \) is an arbitrary positive constant.
  5. Step 5: Write the general solution: Exponentiating both sides: \[ v + \sqrt{1 + v^2} = C_1 x. \] Substituting back \( v = \frac{y}{x} \): \[ \frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} = C_1 x. \] Multiplying throughout by \( x \) (taking \( x > 0 \)): \[ y + \sqrt{x^2 + y^2} = C_1 x^2. \] Replacing \( C_1 \) by \( C \), the general solution is \[ y + \sqrt{x^2 + y^2} = C x^2. \]
  6. Step 6: Apply the initial condition \( y = 0 \) when \( x = 1 \): Substituting \( x = 1 \) and \( y = 0 \) into the general solution: \[ 0 + \sqrt{1 + 0} = C \cdot 1^2 \] which gives \( C = 1 \). Therefore the particular solution is \[ y + \sqrt{x^2 + y^2} = x^2. \]

Answer: General solution: \[ y + \sqrt{x^2 + y^2} = C x^2, \] where \( C \) is an arbitrary constant. Particular solution (using \( y = 0 \) when \( x = 1 \)): \[ y + \sqrt{x^2 + y^2} = x^2. \]

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