Question:

The general solution of the differential equation: $$ x \, dy - y \, dx = \sqrt{x^2 + y^2} \, dx. $$ 

Show Hint

For solving first-order differential equations, look for separable forms or use appropriate substitutions like \( v = \frac{y}{x} \) to simplify the equation before integrating.
Updated On: May 21, 2025
  • \( y + \sqrt{x^2 + y^2} = c x^2 \)
  • \( y + \sqrt{x^2 + y^2} = cx \)
  • \( x + \sqrt{x^2 + y^2} = cy \)
  • \( x - \sqrt{x^2 + y^2} = c y^2 \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Approach Solution - 1

The given differential equation is: \(x \, dy - y \, dx = \sqrt{x^2 + y^2} \, dx.\)
We can rearrange this equation as:
\(x \, dy = y \, dx + \sqrt{x^2 + y^2} \, dx.\)
Dividing the entire equation by \(dx\), we obtain:
\(x \frac{dy}{dx} = y + \sqrt{x^2 + y^2}.\)
This is a first-order linear differential equation. To isolate variables, consider:
\(x \frac{dy}{dx} = y + \sqrt{x^2 + y^2}\)
\(\frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x}\)
Rearrange to integrate both sides:
\(\int dy = \int \frac{y + \sqrt{x^2 + y^2}}{x} \, dx\)
Integrating the right-hand side by separation, we have:
\(\int \frac{dy}{dx} \, dx = \int \left(\frac{y}{x} + \frac{\sqrt{x^2 + y^2}}{x}\right) dx\)
From the integration of each component, we can determine:
\(\int \frac{dy}{dx} \, dx = y\) and \(\int \frac{y}{x} \, dx = y \ln |x|\)
Substituting back and solving, this simplifies to:
\(y + \sqrt{x^2 + y^2} = cx^2\)
This matches the given option \( y + \sqrt{x^2 + y^2} = cx^2\), demonstrating it is the correct general solution by integration.
Was this answer helpful?
0
1
Hide Solution
collegedunia
Verified By Collegedunia

Approach Solution -2

Step 1: Expressing the equation in standard form The given differential equation is: \[ x \, dy - y \, dx = \sqrt{x^2 + y^2} \, dx. \] Rearrange terms to obtain: \[ x \, dy = y \, dx + \sqrt{x^2 + y^2} \, dx. \] \[ x \, dy = (y + \sqrt{x^2 + y^2}) \, dx. \] Rewriting in separable form: \[ \frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x}. \]
Step 2: Using substitution to simplify the equation Define a substitution: \[ v = \frac{y}{x} \Rightarrow y = vx, \quad \frac{dy}{dx} = v + x \frac{dv}{dx}. \] Substituting into the equation: \[ v + x \frac{dv}{dx} = \frac{vx + \sqrt{x^2 + v^2x^2}}{x}. \] \[ v + x \frac{dv}{dx} = v + \frac{\sqrt{x^2(1+v^2)}}{x}. \] Simplifying: \[ v + x \frac{dv}{dx} = v + \sqrt{1+v^2}. \] \[ x \frac{dv}{dx} = \sqrt{1+v^2}. \]
Step 3: Solving the integral Rearranging: \[ \frac{dv}{\sqrt{1+v^2}} = \frac{dx}{x}. \] Integrating both sides: \[ \log |v + \sqrt{1+v^2}| = \log |x| + C. \] Substituting back \( v = \frac{y}{x} \): \[ \log \left| \frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} \right| = \log |x| + C. \] \[ \frac{y}{x} + \sqrt{1 + \frac{y^2}{x^2}} = Cx. \] Multiplying both sides by \( x \): \[ y + \sqrt{x^2 + y^2} = Cx^2. \] % Final Answer Thus, the correct answer is option (1): \( y + \sqrt{x^2 + y^2} = c x^2 \).
Was this answer helpful?
0
0