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

Evaluate the following integrals: $\int\frac{1}{\text{x}^4+\text{x}^2+1}\ \text{dx}$
Using method of integration find the area of the triangle $\text{ABC}$, co$-$ordinates of whose vertices are $\text{A (2, 0), B (4, 5)}$ and $\text{C(6,3)}$
If $\text{A} = \begin{pmatrix} 2 & -3 & 5 \\ 3 & 2 & -4 \\ 1 &1 & -2 \end{pmatrix}$ find $A^{–1}.$
Hence using $A^{–1}$ solve the system of equations $2x – 3y + 5z = 11, 3x + 2y – 4z = – 5, x + y – 2z = – 3.$
Compare the area under the curve $\text{y}=\cos^2\text{x}$ and $\text{y}=\sin^2\text{x}$ between $x = 0$ and $\text{x}=\pi.$
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{2}}_0\big(2\log\cos\text{x}-\log\sin2\text{x}\big)\text{dx}$
Find the distance of the point (-1, -5, -10) from the point of intersection of the line $\vec{\text{r}}=2\hat{\text{i}}-\hat{\text{j}}+2\hat{\text{k}}+\lambda\Big(3\hat{\text{i}}+4\hat{\text{j}}+2\hat{\text{k}}\Big)$ and the plane $\vec{\text{r}}.\Big(\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\Big)=5.$
Solve: $\cos\Big\{2\sin^{-1}\{-\text{x}\}\Big\}=0$
If $\text{x}=2\cos\theta-\cot2\theta$ and $\text{y}=2\sin\theta-\sin2\theta,$ prove that $\frac{\text{dy}}{\text{dx}}=\tan\big(\frac{3\theta}{2}\big)$
Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.
$\text{f}(\text{x})=\text{x}+\frac{1}{\text{x}}\text{ on }[1,3]$
Show that if a matrix A is invertible, then A is non-singular.