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

Show that the points $2\hat{\text{i}},-\hat{\text{i}}-4\hat{\text{j}}\text{ and }-\hat{\text{i}}+4\hat{\text{j}}$ form an isosceles triangle.
Show that the following curves intersect orthogonally at the indicated points:
$x^2 = 4y$ and $4y + x^2 = 8$ at $(2, 1)$
Solve the following differential equation:$4\frac{\text{dy}}{\text{dx}}+8\text{y}=5\text{e}^{-3\text{x}}$
Solve the following initial value problems $\tan\text{x}\Big(\frac{\text{dy}}{\text{dx}}\Big)=2\text{x}\tan\text{x}+\text{x}^2-\text{y},\tan\text{x}\neq0$ given that y = 0 when $\text{x}=\frac{\pi}{2}$
Evaluate the following definite integrals:
$\int\limits_{0}^{\infty}\frac{1}{\text{a}^2+\text{b}^2\text{x}^2} \text{ dx}$
If $\text{x}=\frac{1+\log\text{t}}{\text{t}^2},\text{y}=\frac{3+2\log\text{t}}{\text{t}},$ find $\frac{\text{dy}}{\text{dx}}$
Reduce the equation $\vec{\text{r}}\cdot(\hat{\text{i}}-2\hat{\text{j}}+2\hat{\text{k}})+6=0$ to the normal form and, hence, find the length of the perpendicular from the origin to the plane.
Two natural numbers r, s are drawn one at a time, without replacement from the set S = {1, 2, 3, ......., n}. Find $\text{P}\big[\text{r}\leq\text{p}|\text{s}\leq\text{p}\big],$ where $\text{p }\in\text{ S.}$
Show that the points A(1, -2, -8), B(5, 0, -2) and C(11, 3, 7) are collinear, and find the ratio in which B divides AC.
Show that the matrix, $A=\left[\begin{array}{ccc}1 & 0 & -2 \\ -2 & -1 & 2 \\ 3 & 4 & 1\end{array}\right]$ satisfies the equation,
$A ^3- A ^2-3 A- I _3= O$. Hence, find $A ^{-1}$