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

Evaluate: $\int\limits_0^{\pi/2} 2 \sin x \cos x \tan^{-1 }(\sin x) dx.$
Solve the following systems of homogeneous linear equations by matrix method:
$2x - y + 2z = 0$
$5x + 3y - z = 0$
$x + 5y - 5z = 0$
Differentiate the following functions with respect to x:
$\sqrt{\frac{1-\text{x}^2}{1+\text{x}^2}}$
Determine whether the following pair of lines intersect or not:
$\frac{\text{x}-1}{3}=\frac{\text{y}-1}{-1}=\frac{\text{z}+1}{0}$ and $\frac{\text{x}-4}{2}=\frac{\text{y}-0}{0}=\frac{\text{z}+1}{3}$
Without using the concept of inverse of a matrix, find the matrix $\begin{bmatrix}\text{x}&\text{y}\\\text{z}&\text{u}\end{bmatrix}$ such that $\begin{bmatrix}5&-7\\-2&3\end{bmatrix}\begin{bmatrix}\text{x}&\text{y}\\\text{z}&\text{u}\end{bmatrix}=\begin{bmatrix}-16&-6\\7&2\end{bmatrix}$
Evaluate the following intregals:
$\int\frac{2\text{x}+1}{(\text{x}-2)(\text{x}-3)}\ \text{dx}$
$A$ discrete random variable $X$ has the probability distribution given as below:
$X$ $0.5$ $1$ $1.5$ $2$
$P(X)$ $k$ $k^2$ $2k^2$ $k$
  1. Find the value of $k$.
  2. Determine the mean of the distribution.
Solve the following linear programming problem graphically.Minimise $\text{z = 3x + 5y}$
subject to the constraints
$\text{x + 2y}\geq 10$
$\text{x + y}\geq 6$
$\text{3x + y}\geq 8$
$\text{x, y}\geq 0.$
Evaluate: $\int\limits^\pi_0\frac{x\tan x}{\text{sec }x.\text{ cosec }x}\text{ d}x.$
Find the area of the region bounded by the ellipse $\frac{\text{x}^2}{4}+\frac{\text{y}^2}{9}=1.$