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

Two schools A and B want to award their selected students on the values of sincerity, truthfulness and helpfulness. The school A wants to award ₹ x each, ₹ y each and ₹ z each for the three respective values to 3, 2 and 1 students respectively with a total award money of ₹ 1,600. School B wants to spend ₹ 2,300 to award its 4, 1 and 3 students on the respective values (by giving the same award money to the three values as before). If the total amount of award for one prize on each value is ₹ 900, using matrices, find the award money for each value. Apart from these three values, suggest one more value which should be considered for award.
Find the equations of the tangent and the normal to the following curves at the indicated points.
$\frac{\text{x}^2}{\text{a}^2}-\frac{\text{y}^2}{\text{b}^2}=1\text{ at }(\text{x}_1,\text{y}_1)$
At what points on the curve $x^2 + y^2 - 2x - 4y + 1 = 0,$ the tangents are parallel to the $y-$axis?
Solve the following differential equations:$\text{cosec x}\log\text{y}\frac{\text{dy}}{\text{dx}}+\text{x}^2\text{y}^2=0$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=4^{\sin\text{x}}\text{ on }[0,\pi]$
Sketch the graph y = |x + 3|. Evaluate $\int\limits_{-6}^{0}|\text{x}-3|\text{dx} $ . What does this value of the integral represent on the graph.
A company manufactures two types of novelty Souvenirs made of plywood. Souvenirs of type A require 5 minutes each for cutting and 10 minutes each for assembling. Souvenirs of type B require 8 minutes each for cutting and 8 minutes each for assembling. There are 3 hours 20 minutes available for cutting and 4 hours available for assembling. The profit is 50 paise each for type A and 60 paise each for type B souvenirs. How many souvenirs of each type should the company manufacture in order to maximize the profit?
Show that the differential equation $2ye^{x/y} dx + (y - 2xe^{x/y} ) dy = 0$ is homogeneous. Find the particular solution of this differential equation, given that $x = 0$ when $y = 1.$
Show that the points A, B, C with position vectors $\vec{\text{a}}-2\vec{\text{b}}+3\vec{\text{c}},\ 2\vec{\text{a}}+3\vec{\text{b}}-4\vec{\text{c}}$ and $-7\vec{\text{b}}+10\vec{\text{c}}$ are collinear.
The rate of increase of bacteria in a culture is proportional to the number of bacteria present and it is found that the number doubles in 6 hours. Prove that the bacteria becomes 8 times at the end of 18 hours.