If a curve passes through $(1,2)$ and has the slope of its tangent $1-\frac{1}{x^2}$ at a point $(x, y)$,…

If a curve passes through $(1,2)$ and has the slope of its tangent $1-\frac{1}{x^2}$ at a point $(x, y)$, then the equation of that curve is
  1. $y=3 x-\frac{1}{x}$
  2. $y=x+\frac{1}{x}$
  3. $y=2 x+\frac{1}{x}-1$
  4. $y=x+\frac{2}{x}-1$

Solution

Given $\frac{\mathrm{dy}}{\mathrm{dx}}=-\frac{1}{}$ $\begin{aligned} & \Rightarrow \int \mathrm{dy}=\int\left(1-\frac{1}{\mathrm{x}^2}\right) \mathrm{dx} \\ & \Rightarrow \mathrm{y}=\mathrm{x}+\frac{1}{\mathrm{x}}+\mathrm{C} \end{aligned}$ Since y $(1)=2 \Rightarrow C=0$ $y(x)=x+\frac{1}{x}$

Asked in: AP EAMCET 2023 (16 May Shift 2)

Practice more Differential Equations questions on Aicharya