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 curve for which the intercept cut-off by a tangent on x-axis is equal to four times the ordinate of the point of contact.
If $f(x) = x^2 - 2x$, find f(A), where $\text{A}=\begin{bmatrix}0&1&2\\4&5&0\\0&2&3\end{bmatrix}$
Two schools $P$ and $Q$ want to award their selected students on the values of Tolerance, Kindness, and Leadership. The school $P$ wants to award $Rs. x$ each, $Rs. y$ each and $Rs. z$ each for the three respective values to $3, 2$ and $1$ students respectively with total award money of $Rs. 2200$.
School $Q$ wants to spend $Rs. 3100$ to award its $4, 1$ and $3$ students on the respective values $($by giving the sameaward money to the three values as school $P)$. If the total amount of award for one prize on each value is $Rs.1200,$ using matrices, find the award money for each value
Prove that $\text{f}(\text{x})=\sin\text{x}+\sqrt{3}\cos\text{x}$ has maximum value at $\text{x}=\frac{\pi}{6}$.
Sketch the region bounded by the curves $\text{y =}\sqrt{5 - \text{x}^{2}} \text{and y = |x - 1| }$ and find its area using integration.
If $x = \tan \Bigg(\frac{1}{\text{a}}\log \text{y}\Bigg),$show that
$(1+\text{x}^{2})\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}+(\text{2x - a})\frac{\text{dy}}{\text{dx}}=0$.
Show that the points A, B, C with position vectors $2\hat{\text{i}} - \hat{\text{j}} + \hat{\text{k}}, \hat{\text{i}} - 3\hat{\text{j}} - 5\hat{\text{k}} \text{ and } 3\hat{\text{i}} - 4\hat{\text{j}} - 4\hat{\text{k}}$ respectively, are the vertices of a right-angled triangle. Hence find the area of the triangle.
Solve the following differential equation:$\frac{\text{dy}}{\text{dx}}+\frac{4\text{x}}{\text{x}^2+1}\text{y}+\frac{1}{(\text{x}^2+1)^2}=0$
If $|\vec{\text{a}}|=13,\big|\vec{\text{b}}\big|=5$ and $\vec{\text{a}}.\vec{\text{b}}=60,$ then find $\big|\vec{\text{a}}\times\vec{\text{b}}\big|.$
Show that $\text{y}=\text{ae}^{2\text{x}}+\text{be}^{-\text{x}}$ is a solution of the differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}-\frac{\text{dy}}{\text{dx}}-2\text{y}=0$