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

Let N denote the set of all natural numbers and R be the relation on$\text{N} \times \text{N}$defined by $\text{(a, b) R (c, d)}$ if ad$\text{(b + c) = bc(a + d)}$. Show that R is an equivalence relation.
Find the coordinates of the point where the line through the points A(3, 4, 1) and B(5, 1, 6) crosses the XZ plane. Also find the angle which this line makes with the XZ plane.
Solve the following differential equations:
$\text{x}\frac{\text{dy}}{\text{dx}}+\cot\text{y}=0,$ given that $\text{y}=\frac{\pi}{4},$ when $\text{x}=\sqrt{2}.$
If $y = (\tan^{–1}x)^2,$ show that $\text{(x}^{2}+\text{1})^{2}\frac{\text{d}^{2}\text{y}}{\text{dx}^{2}}+\text{2x}(\text{x}^{2}+{1)}\frac{\text{dy}}{\text{dx}}=2.$
$$Find the inverse of each of the matrix:
$\begin{bmatrix}1&0&0\\0&\cos\alpha&\sin\alpha\\0&\sin\alpha&-\cos\alpha\end{bmatrix}$
Differentiate the following functions with respect to x:
$\sin^{-1}\Big\{\sqrt{\frac{1-\text{x}}{2}}\Big\},0<\text{x}<1$
Find a point on the curve $y = x^3 - 3x$ where the tangent is parallel to the chord joining $(1, -2)$ and $(2, 2).$
Find which of the function:
$\text{f(x)}=\begin{cases}\frac{2\text{x}^2-3\text{x}-2}{\text{x}-2},&\text{if x}\neq2\\5,&\text{if x}=2\end{cases}$
at x = 2
Decompose the vector $6\hat{\text{i}}-3\hat{\text{j}}-6\hat{\text{k}}$ into vectors which are parallal and perpendicular to the vector $\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}}.$
Evaluate the following definite integrals:
$\int\limits_{0}^{\frac{\pi}{2}}\big(\text{a}^2\cos^2\text{x}+\text{b}^2\sin^2\text{x}\big)\text{dx}$