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

Evaluate the following integrals:
$\int4\text{x}^3\sqrt{5-\text{x}^2}\text{ dx}$
Verify Rolle's theorem for the following function on the indicated intervals
f(x) = x2 -4x + 3 on [1, 3]
If $\text{y}=\text{e}^{\text{x}}\cos\text{x},$ Prvoe that $\frac{\text{dy}}{\text{dx}}=\sqrt{2}\text{e}^\text{x}.\cos\Big(\text{x}+\frac{\pi}{4}\Big)$
Show that the points whose position vectors are

$\vec{\text{a}}=4\hat{\text{i}}-3\hat{\text{j}}+\hat{\text{k}}, \vec{\text{b}}=2\hat{\text{i}}-4\hat{\text{j}}+5\hat{\text{k}},\vec{\text{c}}=\hat{\text{i}}-\hat{\text{j}}$ from a right triangle.

Prove that the volume of the largest cone that can be inscribed in a sphere of radius R is $\frac{8}{{27}}$ of the volume of the sphere.
Differentiate $\sin^{-1}\sqrt{1-\text{x}^2}$ with respect to $\cos^{-1}\text{x},$ if
$\text{x}\in(0, 1)$
Let $\text{A} = \Re\times\Re$ and$\ast$ be the binary operation on A defined by $\text(a, b) \ast \text{(c, d)} = \text{(a + c, b + d)}. $ Prove that $\ast$ is commutative and associative. Find the identity element for $\ast$ on A. Also write the inverse element of the element (3, – 5) in A.
Using properties of determinants, prove the following:
$\begin{vmatrix} \text{x}^2+1 & \text{ xy } & \text{xz} \\ \text{xy} & \text{y}^2+1 & \text{yz} \\ \text{xz} & \text{yz} & \text{z}^2+1 \end{vmatrix} = 1+\text{x}^2+\text{y}^2+\text{z}^2.$
If $\text{A}=\begin{bmatrix}\cos\alpha+\sin\alpha&\sqrt{2}\sin\alpha\\-\sqrt{2}\sin\alpha&\cos\alpha-\sin\alpha\end{bmatrix},$ prove that
$ \text{A}^2=\begin{bmatrix}\cos\text{n}\alpha+\sin\text{n}\alpha&\sqrt{2}\sin\text{n}\alpha\\-\sqrt{2}\sin\text{n}\alpha&\cos\text{n}\alpha-\sin\text{n}\alpha\end{bmatrix}$ for all $\text{n}\in\text{N}.$
Evaluate the following integrals:
$\int\tan\text{x}\sec^2\text{x}\sqrt{1-\tan^2\text{x}}\text{ dx}$