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

Using integration, find the area of the triangle ABC coordinatrs of whise vertices A(4, 1), B(6, 6) and C(8, 4).
Differentiate the following functions with respect to x:
$\text{x}^{\text{x}^2-3}+(\text{x}-3)^{\text{x}^2}$
Using differentials, find the approximate values of the following:
$\sqrt{25.02}$
Evaluate the following integrals:
$\int\limits^{2\pi}_0\frac{\text{e}^{\sin\text{x}}}{\text{e}^{\sin\text{x}}+\text{e}^{-\sin\text{x}}}\text{ dx}$
If $x=a(\cos t+t \sin t)$ and $y=a(\sin t-t \cos t)$, find $\left(\frac{d^2 y}{d x^2}\right)_{t=\frac{x}{4}}$.
If $\text{y}=\text{a}\{\text{x}+\sqrt{\text{x}^2+1}\}^\text{n}+\text{b}\{\text{x}-\sqrt{\text{x}^2+1}\}^{-\text{n},}$ prove that $(\text{x}^2-1)\frac{\text{d}^2\text{y}}{\text{dx}^2}+\text{x}\frac{\text{dy}}{\text{dx}}-\text{n}^2\text{y}=0.$
A firm has to transport at least 1200 packages daily using large vans which carry 200 packages each and small vans which can take 80 packages each. The cost of engaging each large van is Rs 400 and each small van is Rs 200. Not more than Rs 3000 is to be spent daily on the job and the number of large vans cannot exceed the number of small vans. Formulate this problem as a LPP given that the objective is to minimize cost.
Solve the following systems of linear equations by cramer's rule:
x + y = 5,
y + z = 3,
x + z = 4
For each of the differential equation in find the particular solution satisfying the given condition:.

$\frac{\text{dy}}{\text{dx}}-\frac{\text{y}}{\text{x}}+\text{cosec}\Big(\frac{\text{y}}{\text{x}}\Big)=0;\ \text{y}=0\ \text{when x}=1$

If $\text{y}=\text{x}\sin(\text{a}+\text{y}),$ prove that $\frac{\text{dx}}{\text{dx}}=\frac{\sin^2(\text{a}+\text{y})}{\sin(\text{a}+\text{y})-\text{y}\cos(\text{a}+\text{y})}$