Question
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=2\text{x}+\text{x}^2\tan\text{x},\text{ y}(0)=1$

Answer

We have,
$\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}=2\text{x}+\text{x}^2\tan\text{x}\ ...(1)$
Clearly, it is a linear differential equation of the form
$\frac{\text{dy}}{\text{dx}}+\text{Px}=\text{Q}$
Where $\text{P}=\tan\text{x}$ and $\text{Q}=\text{x}^2\cot\text{x}+2\text{x}$
$\therefore\text{ I.F.}=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{\int\tan\text{x dx}}$
$=\text{e}^{\log|\sec\text{x}|}$
$=\sec\text{x}$
Multiplying both sides of (1) by $\text{I.F.}=\sec\text{x},$ we get
$\sec\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}\Big)=\sec\text{x}(\text{x}^2\tan\text{x}+2\text{x})$
$\Rightarrow\sec\text{x}\Big(\frac{\text{dy}}{\text{dx}}+\text{y}\tan\text{x}\Big)=\text{x}^2\tan\text{x }\sec\text{x}+2\text{x}\sec\text{x}$
Integrating both sides with respect to x, we get
$\text{y}\sec\text{x}=\int\text{x}^2\tan\text{x }\sec\text{x dx}+2\int\text{x}\sec\text{x dx}\\+2\int\text{x}\sec\text{x dx} +\text{C}$
$\Rightarrow\text{y}\sec\text{x}=\int\text{x}^2\tan\text{x }\sec\text{x dx}+2\sec\text{x}\int\text{x dx}\\-2\int\Big[\frac{\text{d}}{\text{dx}}(\sec\text{x})\int\text{x dx}\Big]\text{dx}+\text{C}$
$\Rightarrow\text{y}\sec\text{x}=\int\text{x}^2\tan\text{x }\sec\text{x dx}+\text{x}^2\sec\text{x}\\-\int\text{x}^2\tan\text{x }\sec\text{x dx} +\text{C}$
$\Rightarrow\text{y}\sec\text{x}=\text{x}^2\sec\text{x}+\text{C}$
$\Rightarrow\text{y}=\text{x}^2+\text{C}\cos\text{x}\ ...(2)$
Now,
$\text{y}(0)=1$
$\therefore\ 1=0+\text{C}\cos0$
$\Rightarrow\text{C}=1$
Putting the value of C in (2), we get
$\text{y}=\text{x}^2+\cos\text{x}$
Hence, $\text{y}=\text{x}^2+\cos\text{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

Maximise and Minimise Z = 3x – 4y subject to:
$\text{x}-2\text{y}\leq0$
$-3\text{x}+\text{y}\leq4$
$\text{x}-\text{y}\leq6$
$\text{x},\text{y}\geq0$
If $(\cos\text{x})^{\text{y}}=(\tan\text{y})^{\text{x}},$ Prove that $\frac{\text{dy}}{\text{dx}}=\frac{\log\tan\text{y}-\text{y}\tan\text{x}}{\log\cos\text{x}-\text{x}\sec\text{y cosec y}}$
If $\overrightarrow{a},\overrightarrow{b},\overrightarrow{c},$ are three vectors such that $|\overrightarrow{a}|=5,|\overrightarrow{b}|=12\text{ and }|\overrightarrow{c}|=13,$ and $\overrightarrow{a}+\overrightarrow{b}+\overrightarrow{c}=\overrightarrow{o},$ find the value of $\overrightarrow{a}.\overrightarrow{b}+\overrightarrow{b}.\overrightarrow{c}+\overrightarrow{c}.\overrightarrow{a}.$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\sin^4\text{x}+\cos^4\text{x}\text{ on }\Big[0,\frac{\pi}{2}\Big]$
Using differentials, find the approximate values of the following:
$\log_\text{e}4.04,$ it being given that $\log_{{10}^{4}}=0.6021$ and $\log_{10}\text{e}=0.4343$
If $\big|\vec{\text{a}}+\vec{\text{b}}\big|=60,\big|\vec{\text{a}}-\vec{\text{b}}\big|=40$ and $\big|\vec{\text{b}}\big|=46,$ find $|\vec{\text{a}}|$
Solve the following differential equation:
$\text{y e}^{\frac{\text{x}}{\text{y}}}\text{dx}=\big(\text{xe}^{\frac{\text{x}}{\text{y}}}+\text{y}\big)\text{dy}$
If the line drawn from (4, -1, 2) meets a plane at right at the point (-10, 5, 4) find the equation of the plane.
Find the differential equation of all the parabolas with latus rectum '4a' and whose axes are parallel to x-axis.
Consider $\text{f}:\text{R}_+\rightarrow[-5,\infty)$ given by $f(x) = 9x^2 + 6x - 5.$ Show that $f$ is invertible with $\text{f}^{-1}(\text{x})=\frac{\sqrt{\text{x}+6}-1}{3}.$