Question
Solve the following initial value problems:
$\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{x}\cos\text{x}+\sin\text{x},\text{ y}\Big(\frac{\pi}{2}\Big)=1$

Answer

We have,
$\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{x}\cos\text{x}+\sin\text{x}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+\frac{1}{\text{x}}\text{y}=\cos\text{x}+\frac{\sin\text{x}}{\text{x}}\ ...(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Px}=\text{Q}$
Where $\text{P}=\tan\text{x}$ and $\text{Q}=\text{x}^2\cot\text{x}+2\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}}$
$=\text{x}$
Multiplying both sides of (1) by $\text{I.F.}=\text{x},$ we get
$\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\frac{1}{\text{x}}\text{y}\Big)=\text{x}\Big(\cos\text{x}+\frac{\sin\text{x}}{\text{x}}\Big)$
$\Rightarrow\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\frac{1}{\text{x}}\text{y}\Big)=\text{x}\cos\text{x}+\sin\text{x}$
Integrating both sides with respect to x, we get
$\text{xy}=\int\text{x}\cos\text{x dx}+\int\sin\text{x dx}+\text{C}$
$\Rightarrow\text{xy}=\Big[\text{x}\sin\text{x}-\int1(\sin\text{x})\text{dx}\Big]-\cos\text{x}+\text{C}$
$\Rightarrow\text{xy}=\text{x}\sin\text{x}+\cos\text{x}-\cos\text{x}+\text{C}$
$\Rightarrow\text{xy}=\text{x}\sin\text{x}+\text{C}\ ...(2)$
Now,
$\text{y}\Big(\frac{\pi}{2}\Big)=1$
$\therefore\ 1\times\frac{\pi}{2}=\frac{\pi}{2}\sin\frac{\pi}{2}+\text{C}$
$\Rightarrow\text{C}=0$
Putting the value of C in (2), we get
$\text{xy}=\text{x}\sin\text{x}$
$\Rightarrow\text{y}=\sin\text{x}$
Hence, $\text{y}=\sin\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 value of x such that the points A (3, 2, 1), B (4, x, 5), C (4, 2, – 2) and D (6, 5, – 1) are coplanar.
Find the equation of the plane determined by the points A (3, –1, 2), B (5, 2, 4) and C (–1, –1, 6). Also find the distance of the point P (6, 5, 9) from the plane.
Evaluate the following definite integrals:
$\int\limits_{0}^{\pi}\text{e}^{2\text{x}}\sin\Big(\frac{\pi}{4}+{\text{x}}\Big)\text{dx}$
A farmer has a 100 acre farm. He can sell the tomatoes, lettuce, or radishes he can raise. The price he can obtain is Rs 1 per kilogram for tomatoes, Rs 0.75 a head for lettuce and Rs 2 per kilogram for radishes. The average yield per acre is 2000 kgs for radishes, 3000 heads of lettuce and 1000 kilograms of radishes. Fertilizer is available at Rs 0.50 per kg and the amount required per acre is 100 kgs each for tomatoes and lettuce and 50 kilograms for radishes. Labour required for sowing, cultivating and harvesting per acre is 5 man-days for tomatoes and radishes and 6 man-days for lettuce. A total of 400 man-days of labour are available at Rs 20 per man-day. Formulate this problem as a LPP to maximize the farmer's total profit.
Evaluate the following definite integral as limit of sum:
$\int\limits^{\text{b}}_{\text{a}}\text{x dx}$
$\text{If y}=\cos^{-1}\bigg(\frac{3\text{x}+4\sqrt{1-\text{x}^2}}{5}\bigg),\ \text{find}\ \frac{\text{dy}}{\text{dx}}\dot{}$
ABCD is aparallelogram. the position vectora of the points A, B and C are respectively, $4\hat{\text{i}}+5\hat{\text{j}}-10\hat{\text{k}},2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ and $-\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}.$ Find the vector equation of the line BD. Also, reduce it to cartesian form.
Differentiate the following functions with respect to x:
$\text{e}^{3\text{x}}\cos2\text{x}$
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}(\text{x}-1)\tan\frac{\pi\text{x}}{2},&\text{if}\text{ x}\neq1\\\text{k},&\text{if}\text{ x}=1\end{cases}\text{at x} = 1$
Evaluate the following integrals:
$\int4\text{x}^3\sqrt{5-\text{x}^2}\text{ dx}$