Question
Solve the following initial value problems:
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=\log\text{x},\text{ y}(1)=0$

Answer

We have,
$\text{x}\frac{\text{dy}}{\text{dx}}-\text{y}=\log\text{x}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}-\frac{\text{y}}{\text{x}}=\frac{\log\text{x}}{\text{x}}\ ...(\text{1})$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
Where $\text{P}=-\frac{1}{\text{x}}$ and $\text{Q}=\frac{\log\text{x}}{\text{x}}$
$\therefore\text{I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}{-\int\frac{1}{\text{x}}}\text{ dx}$
$=\text{e}^{-\log\text{x}}$
$=\frac{1}{\text{x}}$
Multiplying both sides of (1) by $\text{I.F.}=\frac{1}{\text{x}},$ we get
$\frac{1}{\text{x}}\Big(\frac{\text{dy}}{\text{dx}}-\frac{1}{\text{x}}\text{y}\Big)=\frac{1}{\text{x}}\times\frac{\log\text{x}}{\text{x}}$
$\Rightarrow\frac{1}{\text{x}}\frac{\text{dy}}{\text{dx}}-\frac{1}{\text{x}^2}\text{y}=\frac{\log\text{x}}{\text{x}^2}$
Integrsting both sides with respect to x, we get
$\text{y}\frac{1}{\text{x}}=\int\frac{1}{\text{x}^2}\times\log\text{x dx}+\text{C}$
$\Rightarrow\frac{\text{y}}{\text{x}}=\log\text{x}\int\frac{1}{\text{x}^2}\text{dx}-\int\Big[\frac{\text{d}}{\text{dx}}(\log\text{x})\int\frac{1}{\text{x}^2}\text{dx}\Big]\text{dx}+\text{C}$
$\Rightarrow\frac{\text{y}}{\text{x}}=-\frac{\log\text{x}}{\text{x}}+\int\frac{1}{\text{x}^2}\text{dx}+\text{C}$
$\Rightarrow\frac{\text{y}}{\text{x}}=-\frac{\log\text{x}}{\text{x}}-\frac{1}{\text{x}}+\text{C}$
$\Rightarrow\text{y}=-\log\text{x}-1+\text{Cx}\ ...(\text{ii})$
Now,
$\text{y}(1)=0$
$\therefore\ 0=-0-1+\text{C}(1)$
$\Rightarrow\text{C}=1$
Putting the value of C in (2) we get
$\text{y}=-\log\text{x}-1+\text{x}$
$\Rightarrow\text{y}=\text{x}-1-\log\text{x}$
Hence, $\text{y}=\text{x}-1-\log\text{x}$ is the required solution.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Find the shortest distance between the following pairs of lines whose cartesian equation are:
$\frac{\text{x}-1}{2}=\frac{\text{y}+1}{3}=\text{z}$ and $\frac{\text{x}+2}{3}=\frac{\text{y}-2}{1};\text{z}=2$
Differentiate $\sin^{-1}\Big(2\text{x}\sqrt{1-\text{x}^2}\Big)$ with respect to $\tan^{-1}\Big(\frac{\text{x}}{\sqrt{1-\text{x}^2}}\Big),$ if $-\frac{1}{\sqrt{2}}<\text{x}<\frac{1}{\sqrt{2}}$
Find the value of a and b so that the function f given by $\text{f(x)}=\begin{cases}1,&\text{if }\text{ x}\leq3\\\text{ax}+\text{b},&\text{if }3<\text{x}<5\\7,&\text{if }\text{ x}\geq5\end{cases}$ is continuous x = 3 and x = 5.
Differentiate the following functions with respect to x:
$(\tan\text{x})^\frac{1}{\text{x}}$
Evaluvate the following intregals:
$\int\frac{1}{\text{p}+\text{q}\tan\text{x}}\ \text{dx}$
Evaluate the following integrals:$\int_{0}^\limits{{\frac{\pi}{4}}}(\tan\text{x}+\cot\text{x})^{-2}\text{ dx}$
Find the image of the point with position vector $3\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}}$ in the plane $\vec{\text{r}}. (2\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}})=4.$ Also, find the position vectors of the foot of the prependicular and the equation of the perpendicular line through $3\hat{\text{i}}+\hat{\text{j}}+2\hat{\text{k}}.$
Evaluate :

$\int_0^1 \frac{\log x}{\sqrt{1-x^2}} \cdot d x$

Find the equation of the line passing through the points $(1, -1, 1)$ and perpendicular to the lines joining the points $(4, 3, 2), (1, -1, 0)$ and $(1, 2, -1) (2, 1, 1).$
If $\text{y}=(\cot^{-1}\text{x})^2$ prove that $\text{y}^2(\text{x}^2+1)^2+2\text{x}(\text{x}^2+1)\text{y}_1=2.$