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

Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\frac{\text{y}}{\text{x}}+\sin\Big(\frac{\text{y}}{\text{x}}\Big)$
Find the equation of the plane through the points (2, 1, -1) and (-1, 3, 4), and perpendicular to the plane x – 2y + 4z = 10.
Find whether the function is differentiable at x = 1 and x = 2
$\text{f(x)}=\begin{cases}\text{x} & \text{x}\leq1\\2-\text{x} & 1\leq\text{x}\leq2\\-2+3\text{x}&\text{x}>2\end{cases}$
Solve the following differential equation:

$(\text{x}^{2} - 1 ) \frac{\text{dy}}{\text{dx}} + 2 \text{xy} = \frac{2}{\text{x}^{2} - 1 }.$

Solve $2(\text{y}+3)-\text{xy}\frac{\text{dy}}{\text{dx}}=0,$ given that y(1) = -2.
Let d1, d2, d3 be three mutually exclusive diseases. Let S be the set of observable symptoms of these diseases. A doctor has the following information from a random sample of 5000 patients: 1800 had disease d1, 2100 has disease d2, and others had disease d3. 1500 patients with disease d1, 1200 patients with disease d2, and 900 patients with disease d3 showed the symptom. Which of the diseases is the patient most likely to have?
Evaluate the following intregals:
$\int\frac{1}{\text{x}[6(\log\text{x})^2+7\log\text{x}+2]}\ \text{dx}$
Maximum Z = 30x + 20y

Subject to

$\text{x}+\text{y}\leq8$

$\text{x}+4\text{y}\geq12$

$5\text{x}+8\text{y}=20$

$\text{x},\text{y}\geq0$

Evaluate the following integrals:
$\int\limits^{\frac{\pi}{3}}_{\frac{\pi}{6}}\frac{\sqrt{\tan\text{x}}}{\sqrt{\tan\text{x}}+\sqrt{\cot\text{x}}}\text{ dx}$
Find the vector and Cartesian equations of the line through the point (5, 2, -4) and which is parallel to the vector $3\hat i + 2\hat j - 8\hat k$.