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

A manufacturer makes two products $A$ and $B.$ Product $A$ sells at $Rs. 200$ each and takes $\frac{1}{2}$ hour to make. Product $B$ sells at $Rs. 300$ each and takes $1$ hour to make. There is a permanent order for $14$ of product $A$ and $16$ of product $B.$ A working week consists of $40$ hours of production and weekly turnover must not be less than $Rs. 10000$. If the profit on each of product $A$ is $Rs. 20$ and on product $B$ is $Rs. 30,$ then how many of each should be produced so that the profit is maximum. Also, find the maximum profit.
Find the equation of the tangents to the curve $3x^2 - y^2 = 8,$ which passes through the point $\big(\frac{4}{3},0\big)$
One kind of cake requires 200g of flour and 25g of fat, and another kind of cake requires 100g of flour and 50g of fat. Find the maximum number of cakes which can be made from 5kg of flour and 1kg of fat assuming that there is no shortage of the other ingredients used in making the cakes.
Evaluate the following integrals:
$\int\frac{\tan\text{x}}{\sqrt{\cos\text{x}}}\text{dx}$
Find a point on the curve $y = x^2 + x,$ where the tangent is parallel to the chord joining $(0, 0)$ and $(1, 2).$
Integrate the function in Exercise:
$\text{x}\ \cos^{-1}\text{x}$
Find the points of local maxima, local minima and the points of inflection of the function $f(x) = x^5 - 5x^4 + 5x^3 - 1.$ Also find the corresponding local maximum and local minimum values.
Evaluate the following intregals:
$\int\frac{1}{2+\sin\text{x}+\cos\text{x}}\text{dx}$
Solve the following differential equation :
$
\left(x^3+x^2+x+1\right) \frac{d y}{d x}=2 x^2+x
$
Find the vector and the cartesian equations of the lines that passes through the origin and $(5, -2, 3).$