Question:

The solution of the differential equation \[ x\frac{dy}{dx}+y=0 \] passing through the point \((1,1)\) is \(y=\)

Show Hint

For equations like \(x\frac{dy}{dx}+y=0\), separate variables and use the given point to find the constant.
  • \(x^2\)
  • \(x^{-1}\)
  • \(x^{-2}\)
  • \(x\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Concept: A differential equation can be solved by separating variables if it can be written in the form: \[ \frac{dy}{y}=f(x)\,dx \]

Step 1:
Given equation: \[ x\frac{dy}{dx}+y=0 \]

Step 2:
Move \(y\) to the other side. \[ x\frac{dy}{dx}=-y \] \[ \frac{dy}{dx}=-\frac{y}{x} \]

Step 3:
Separate variables. \[ \frac{dy}{y}=-\frac{dx}{x} \]

Step 4:
Integrate both sides. \[ \int \frac{dy}{y}=-\int \frac{dx}{x} \] \[ \log y=-\log x+\log C \]

Step 5:
Simplify. \[ \log y+\log x=\log C \] \[ \log(xy)=\log C \] \[ xy=C \] \[ y=\frac{C}{x} \]

Step 6:
Use the point \((1,1)\). \[ 1=\frac{C}{1} \] \[ C=1 \] Thus: \[ y=\frac{1}{x}=x^{-1} \] Therefore, \[ \boxed{x^{-1}} \]
Was this answer helpful?
0
0