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

A class has 15 students whose ages are 14, 17, 15, 14, 21, 17, 19, 20, 16, 18, 20, 17, 16, 19 and 20 years. One student is selected in such a manner that each has the same chance of being chosen and the age X of the student is recorded. What is the probability distribution of the random variable X? Find mean, variance, and standard deviation of X.
Find the area enclosed by the parabola $y = 5x^2$ and $y = 2x^2 + 9.$
Using integration, find the area of the triangle $ABC$ coordinatrs of whise vertices $A(4, 1), B(6, 6)$ and $C(8, 4)$.
Given $\text{A}=\begin{bmatrix}2&2&-4\\-4&2&-4\\2&-1&5\end{bmatrix},\text{B}=\begin{bmatrix}1&-1&0\\2&3&4\\0&1&2\end{bmatrix}$ , find BA and use this to solve the system of equations $y + 2z = 7, x - y = 3, 2x + 3y + 4z = 17$
Show that $\frac{9 \pi}{8}-\frac{9}{4} \sin ^{-1} \frac{1}{3}=\frac{9}{4} \sin ^{-1} \frac{2 \sqrt{2}}{3}$.

Question is modified

Show that $\frac{9 \pi}{8}-\frac{9}{4} \sin ^{-1}\left(\frac{1}{3}\right)=\frac{9}{4} \sin ^{-1}\left(\frac{2 \sqrt{2}}{3}\right)$.

If $\text{y}=\log\frac{\text{x}^2+\text{x}+1}{\text{x}^2-\text{x}+1}+\frac{2}{\sqrt{3}}\tan^{-1}\Big(\frac{\sqrt{3}\text{x}}{1-\text{x}^2}\Big),$ find $\frac{\text{dy}}{\text{dx}}$
Show that aii curve for which the slope at any point (x, y) on its is $\frac{\text{x}^{2}+\text{y}^{2}}{\text{2xy}}$ are rectangular hyperbola.
Evaluate the following intregals:
$\int\frac{\text{x}^3}{(\text{x}-1)(\text{x}-2)(\text{x}-3)}\ \text{dx}$
show that the differential equation of which $\text{y}=2(\text{x}^2-1)+\text{ce}^{-\text{x}^2}$ is a solution of the differential equation $\frac{\text{dy}}{\text{dx}}+2\text{xy}=4\text{x}^3$
Find the points of local maxima or local minima and corresponding local maximum and local minimum values of the following functions. Also, find the points of inflection,
$f(x) = x^3 - 2ax^3 + a^2x$