Question
Solve the following initial value problems $\tan\text{x}\Big(\frac{\text{dy}}{\text{dx}}\Big)=2\text{x}\tan\text{x}+\text{x}^2-\text{y},\tan\text{x}\neq0$ given that y = 0 when $\text{x}=\frac{\pi}{2}$

Answer

We have,
$\tan\text{x}\Big(\frac{\text{dy}}{\text{dx}}\Big)=2\text{x}\tan\text{x}+\text{x}^2-\text{y}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+\frac{1}{\tan\text{x}}\text{y}=\frac{2\text{x}\tan\text{x}+\text{x}^2}{\tan\text{x}}$
$\Rightarrow\frac{\text{dy}}{\text{dx}}+(\cot\text{x})\text{y}=2\text{x}+\text{x}^2\cot\text{x}$
This is a linear differential equation of the form $\frac{\text{dy}}{\text{dx}}+\text{Py}=\text{Q}$
Integrating factor,
$\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\cot\text{x dx}}$
$=\text{e}^{\log\sin\text{x}}$
$=\sin\text{x}$
The solution of the given differential equation is given by
$\text{y}\times(\text{I.F.})=\int\text{Q}\times(\text{I.F.})\text{ dx}+\text{C}$
$\Rightarrow\text{y}\times\sin\text{x}=\int(2\text{x}+\text{x}^2\cot\text{x})\sin\text{x dx}+\text{C}$
$\Rightarrow\text{y}\sin\text{x}=\int2\text{x}\sin\text{x dx}+\int\text{x}^2\cos\text{x dx}+\text{C}$
$\Rightarrow\text{y}\sin\text{x}=\int2\text{x}\sin\text{x dx}+\Big[\text{x}^2\int\cos\text{x dx}-\int\Big(\frac{\text{d}}{\text{dx}}\text{x}^2\times\int\cos\text{x dx} \Big)\text{dx}\Big]$
$\Rightarrow\text{y}\sin\text{x}=\int2\text{x}\sin\text{x dx} +\text{x}^2\sin\text{x}-\int2\text{x}\sin\text{x dx}+\text{C}$
$\Rightarrow\text{y}\sin\text{x}=\text{x}^2\sin\text{x}+\text{C}$
$\Rightarrow\text{y}=\text{x}^2+\text{coses x}\times\text{C}\ ....(1)$
It is given that y = 0 when $\text{x}=\frac{\pi}{2}$
$\therefore\ 0=\big(\frac{\pi}{2}\Big)^2+\text{coses}\frac{\pi}{2}\times\text{C}$
$\Rightarrow\text{C}=-\frac{\pi^2}{4}$
Puttuing $\text{C}=-\frac{\pi^2}{4}$ in (1) we get
$\text{y}=\text{x}^2-\frac{\pi^2}{4}\text{coses x}$
Hence, $\text{y}=\text{x}^2-\frac{\pi^2}{4}\text{coses 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 equations of the two lines through the origin which intersect the line $\frac{\text{x}-3}{2}-\frac{\text{y}-3}{1}=\frac{\text{z}}{1}$ at angles of $\frac{\pi}{3}$ each.
Find the points on the curve $2a^2y = x^3 - 3ax^2$^ where the tangent is parallel to x-axis.
$\int\sin\text{x}\sqrt{1-\cos2\text{x}}\text{ dx}$
If $\vec{\text{a}},\vec{\text{ b}}$ and $\vec{\text{c}}$ determine the vertices of a triangle, show that $\frac{1}{2}[\vec{\text{b}}\times\vec{\text{c}}+\vec{\text{c}}\times\vec{\text{a}}+\vec{\text{a}}\times\vec{\text{b}}]$ gives the vector area of the triangle. Hence, deduce the condition that the three points $\vec{\text{a}},\vec{\text{ b}}$ and $\vec{\text{c}}$ are collinear. Also, find the unit vector normal to the plane of the triangle.
Find the intercepts made on the coordinate axes by the plane 2x + y - 2z = 3 and also find the direction cosines of the normal to the plane.
If $\text{A}=\begin{bmatrix}2&3\\1&2\end{bmatrix}$ and $\text{I}=\begin{bmatrix}1&0\\0&1\end{bmatrix},$ then find $\lambda,\mu$ so that $\text{A}^2=\lambda\text{A}+\mu\text{I}$
Show that $\triangle\text{ABC}$ is an isosceles triangle, if the determinant $\triangle=\begin{vmatrix}1&1&1\\1+\cos\text{A}&1+\cos\text{B}&1+\cos\text{C}\\\cos^2\text{A}+\cos\text{A}&\cos^2\text{B}+\cos\text{B}&\cos^2\text{C}+\cos\text{C}\end{vmatrix}=0.$
Find the area of the region enclosed by the parabola $x^2 = y$ and the line $y = x + 2.$
A small manufacturing firm produces two types of gadgets A and B, which are first processed in the foundry, then sent to the machine shop for finishing. The number of man-hours of labour required in each shop for the production of each unit of A and B, and the number of man-hours the firm has available per week are as follows:
Gadget
Fondry
Machine-shop
A
B
10
6
5
4
Firm's capacity per week
1000
600
The profit on the sale of A is Rs. 30 per unit as compared with Rs. 20 per unit of B. The problem is to determine the weekly production of gadgets A and B, so that the total profit is maximized. Formulate this problem as a LPP.
In each of the show that the given differential equation is homogeneous and solve each of them. $\text{x}^2\ \frac{\text{dy}}{\text{dx}}=\text{x}^2-2\text{y}^2+\text{xy}$