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

Evaluate the following intregals:
$\int\frac{1}{13+3\cos\text{x}+4\sin\text{x}}\ \text{dx}$
Find the angle of intersecting of the following curves:
$\text{y}^2=\text{x}\text{ and }\text{x}^2=\text{y}$
A beam is supported at the two ends and is uniformly loaded. The bending moment M at a distance x from one end is given by
$\text{M}=\frac{\text{WL}}{2}\text{x}-\frac{\text{W}}{3}\frac{\text{x}^{3}}{\text{L}^{2}}$
Find the point at which M is maximum in each case.
Find the area of the region enclosed between the two curve $x^2 + y^2 = 9$ and $(x - 3)^2 + y^2 = 9.$
Evaluate the follwing intregals:
$\int\frac{1}{\text{x}(\text{x}^4-1)}\ \text{dx}$
Find the nth derivative of the following:
sin(ax + b)
The probability of a bulb produced by a factory will fuse after 150 days of use is 0.05. Find the probability that out of 5 such bulbs
(i) none
(ii) not more than one
(iii) more than one
(iv) at least one, will fuse after 150 days of use.
Evaluate the following integrals as limit of sum:$\int\limits^2_{0}\big(\text{x}^2+4\big)\text{dx}$
Evaluate:
$\begin{vmatrix}\text{x}+\lambda&\text{x}&\text{x}\\\text{x}&\text{x}+\lambda&\text{x}\\\text{x}&\text{x}&\text{x}+\lambda\end{vmatrix}$
A furniture dealer deals in tables and chairs. He has Rs.1,50,000 to invest and a space to store at most 60 pieces. A table costs him Rs.1500 and a chair Rs.750. Construct the inequations and find the feasible solution.Question is modified A furniture dealer deals in tables and chairs. He has ₹ 15,000 to invest and a space to store at most 60 pieces. A table costs him ₹ 150 and a chair ₹ 750. Construct the inequations and find the feasible solution.