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

Evalute the following integrals:
$\int\frac{\sec\text{x}}{\log(\sec\text{x}+\tan\text{x})}\text{dx}$
Differentiate the following functions from first principles:
$\text{e}^{\cos\text{x}}$
A fruit grower can use two types of fertilizer in his garden, brand P and Q. The amounts (in kg) of nitrogen, phosphoric acid, potash, and chlorine in a bag of each brand are given in the table. Tests indicate that the garden needs at least 240kg of phosphoric acid, at least 270kg of potash and at most 310kg of chlorine.
Kg per bag
 
Brand P
Brand P
Nitrogen
32
3.5
Phosphoric
1
2
Potash
3
1.5
Chlorine
1.5
2
If the grower wants to minimize the amount of nitrogen added to the garden, how many bags of each brand should be used? What is the minimum amount of nitrogen added in the garden?
Evaluate: $\int\limits^\pi_0\frac{x\tan x}{\text{sec }x.\text{ cosec }x}\text{ d}x.$
Show that the points A, B, C with position vectors $2\hat{\text{i}} - \hat{\text{j}} + \hat{\text{k}}, \hat{\text{i}} - 3\hat{\text{j}} - 5\hat{\text{k}} \text{ and } 3\hat{\text{i}} - 4\hat{\text{j}} - 4\hat{\text{k}}$ respectively, are the vertices of a right-angled triangle. Hence find the area of the triangle.
Using properties of determinants, prove that
$\begin{vmatrix} \text{a}^2+2\text{a}& 2\text{a}+1 & 1\\[0.3em] 2\text{a}+1 & \text{a}+2 & 1 \\[0.3em] 3 & 3 & 1 \end{vmatrix}=(\text{a}-1)^3$
Show that among all positive number x and y with x2 + y2 = r2, the sum x + y is largest when x = y =$\sqrt{2}.$
Find the area of the region bounded by the curve y2 = 4x and the line x = 3.
Find the vector equation of the following planes in non-parametric form.
$\vec{\text{r}}=(\lambda-2\mu)\hat{\text{i}}+(3-\mu)\hat{\text{j}}+(2\lambda+\mu)\hat{\text{k}}$
Find which of the function:
$\text{f(x)}=\begin{cases}|\text{x}-\text{a}|\sin\frac{1}{\text{x}},&\text{if x}\neq0\\0,&\text{if x }=\text{a}\end{cases}$
at x = a