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

If $A=\left[\begin{array}{lll}1 & 0 & 2 \\ 0 & 2 & 1 \\ 2 & 0 & 3\end{array}\right]$, prove that $\mathrm{A}^3-6 \mathrm{~A}^2+7 \mathrm{~A}+2 \mathrm{I}=0$.
Solve the following equation for x:
$\tan^{-1}2\text{x}+\tan^{-1}3\text{x}=\text{n}\pi+\frac{3\pi}{4}$
If $\text{A}=\begin{bmatrix}3&2&0\\1&4&0\\0&0&5\end{bmatrix},$ show that $A^2 - 7A + 10I_3 = 0.$
Find the equation of the plane passing through the intersection of the planes x - 2y + z = 1 and 2x + y + z= 8 and parallel to the line with direction ratios proportional to 1, 2, 1. Also, find the perpendicular distance of (1, 1, 1) from this plane.
If the median to the base of a triangle is perpendicular to the base, then triangle is isosceles.
Evaluate:$\int\frac{\text{x + 2}}{\text{2x}^{2}+\text{6x + 5}}\text{dx}$.
Show that the differential equation of $x^{2} \frac{d y}{d x}=x^{2}-2 y^{2}+x y$ is homogeneous and solve it.
For the following matrices verify the associativity of multiplication i.e., (AB) C = A(BC):
$\text{A}=\begin{bmatrix}4&2&3\\1&1&2\\3&0&1\end{bmatrix},\text{B}=\begin{bmatrix}1&-1&1\\0&1&2\\2&-1&1\end{bmatrix}$ and $\text{C}=\begin{bmatrix}1&2&-1\\3&0&1\\0&0&1\end{bmatrix}$
Vitamins $A$ and $B$ are found in two different foods $F_1$ and $F_2.$ One unit of food $F_1$ contains $2$ units of vitamin $A$ and $3$ units of vitamin $B.$ One unit of food $F_2$ contains $4$ units of vitamin $A$ and $2$ units of vitamin $B.$ One unit of food $F_1$ and $F_2$ cost $Rs.50$ and $25$ respectively. The minimum daily requirements for a person of vitamin $A$ and $B$ is $40$ and $50$ units respectively. Assuming that anything in excess of daily minimum requirement of vitamin $A$ and $B$ is not harmful, find out the optimum mixture of food $F_1$ and $F_2$ at the minimum cost which meets the daily minimum requirement of vitamin $A$ and $B.$ Formulate this as a $LPP$.
A company has two plants to manufacture bicycles. The first plant manufactures $60\%$ of the bicycles and the second plant $40\%$. Out of the $80\%$ of the bicycles are rated of standard quality at the first plant and $90\%$ of standard quality at the second plant. A bicycle is picked up at random and found to be standard quality. Find the probability that it comes from the second plant.