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

Verify Rolle's theorem for the following function on the indicated intervals

f(x) = x(x - 1)2 on [0, 1]

Using integration find the area of the region bounded by the curves $\text{y} = \sqrt{4 - \text{x}^{2}}, \text{x}^{2} + \text{y}^{2} \text{4x} = 0$ and the x-axis.
In the following, find the value of the constant k so that the given function is continuous at the indicated point:
$\text{f(x)}=\begin{cases}\frac{\text{x}^2+\text{x}^2-16\text{x}+20}{(\text{x}-2)^2},&\text{ x}\neq2\\\text{k},&\text{x}=2\end{cases}$
Decompose the vector $6\hat{\text{i}}-3\hat{\text{j}}-6\hat{\text{k}}$ into vectors which are parallal and perpendicular to the vector $\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}.$
Let d1, d2, d3 be three mutually exclusive diseases. Let S be the set of observable symptoms of these diseases. A doctor has the following information from a random sample of 5000 patients: 1800 had disease d1, 2100 has disease d2, and others had disease d3. 1500 patients with disease d1, 1200 patients with disease d2, and 900 patients with disease d3 showed the symptom. Which of the diseases is the patient most likely to have?
Solve the following system of homogeneous linear equations:
x + y - 2z = 0,
2x + y - 3z = 0,
5x + 4y - 9z = 0
Find the intervals in which the following functions are increasing or decreasing.
$\text{f}(\text{x})=\frac{3}{10}\text{x}^4-\frac{4}{5}\text{x}^3-3\text{x}^2+\frac{36}{5}\text{x}+11$
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}\cos(\text{x}+\text{y})&-\sin(\text{x}+\text{y})&\cos2\text{y}\\\sin\text{x}&\cos\text{x}&\sin\text{y}\\-\cos\text{x}&\sin\text{x}&-\cos\text{y} \end{vmatrix}$
There are two types of fertilisers F1 and F2. F1 consists of 10% nitrogen and 6% phosphoric acid and F2 consists of 5% nitrogen and 10% phosphoric acid. After testing the soil conditions, a farmer finds that she needs atleast 14 kg of nitrogen and 14 kg of phosphoric acid for her crop. If F1 costs Rs 6/kg and F2 costs Rs 5/kg, determine how much of each type of fertiliser should be used so that nutrient requirements are met at a minimum cost. What is the minimum cost?
Examine the differentiability of f, where f is defined by:
$\text{f(x)}=\begin{cases}1+\text{x},&\text{if x}\leq2\\5-\text{x},&\text{if x}>2\end{cases}$
at x = 2.