Solve the differential equation given by
\(x\ dy- y\ dx -\sqrt{x^2+y^2}\ dx=0.\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
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.
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.
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 \).
\[y + \sqrt{x^2 + y^2} = Cx^2,\] where \(C\) is an arbitrary constant.
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.
\[y + \sqrt{x^2 + y^2} = Cx^2,\] where \(C\) is an arbitrary constant.
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 \).
Answer: \[y + \sqrt{x^2 + y^2} = Cx^2,\] where \(C\) is an arbitrary constant.
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 \)
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 \)
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.
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. \]