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

To raise money for an orphanage, students of three schools A, B and C organised an exhibition in their locality, where they sold paper bags, scrap-books and pastel sheets made by them using recycled paper, at the rate of 20, 15 and 5 per unit respectively. School A sold 25 paper bags, 12 scrap-books and 34 pastel sheets. School B sold 22 paper bags, 15 scrap-books and 28 pastel sheets while School C sold 26 paper bags, 18 scrap-books and 36 pastel sheets. Using matrices, find the total amount raised by each school.
By such exhibition, which values are generated in the students?
Write the minors and cofactors of element of the first column of the following matrices and hence evaluate the determinant in case:
$\text{A}=\begin{vmatrix}\text{a}&\text{h}&\text{g}\\\text{h}&\text{b}&\text{f}\\\text{g}&\text{f}&\text{c} \end{vmatrix}$
Find the area of the region in the first quadrant enclosed by the x-axis, the line $y = x$ and the circle $x^2+ y^2 = 32.$
Evaluate the following integrals:
$\int^\limits1_0\frac{1-\text{x}^2}{\text{x}^4+\text{x}^2+1}\text{ dx}$
Find the vector equation of the plane which is at a distance of $\frac{6}{\sqrt{29}}$ from the origin and its normal vector from the origin is $2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ Also, find its cartesian form.
A factory makes tennis rackets and cricket bats. A tennis racket takes 1.5 hours of machine time and 3 hours of craftman's time in its making while a cricket bat takes 3 hours of machine time and 1 hour of craftman's time. In a day, the factory has the availability of not more than 42 hours of machine time and 24 hours of craftman's time. If the profit on a racket and on a bat is Rs. 20 and Rs. 10 respectively, find the number of tennis rackets and cricket bats that the factory must manufacture to earn the maximum profit. Make it as an LPP and solve it graphically.
Find the general solution of the differential equation $\frac{\text{dy}}{\text{dx}}-{\text{y}}=\cos\text{x}$
Find the angle of intersecting of the following curves:
$\frac{\text{x}^2}{\text{a}^2}+\frac{\text{y}^2}{\text{b}^2}=1\text{ and }\text{x}^2+\text{y}^2=\text{ab}$
Solve the following differential equation
$\sqrt{1-\text{x}^4}\text{dy}=\text{x dx}$
Solve the following determinant equations:
$\begin{vmatrix}\text{x}+\text{a}&\text{x}&\text{x}\\\text{x}&\text{x}+\text{a}&\text{x}\\\text{x}&\text{x}&\text{x}+\text{a}\end{vmatrix}=0,\text{a}\neq0$