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

In each of the form a differential equation representing the given family of curves by eliminating arbitrary constants $a$ and $b.$
$y = ae^{3x} + be^{–2x}$
Find a unit vector perpendicular to the plane A B C, where the coordinates of A, B and C are A (3, -1, 2), B (1, -1, -3) and C (4, -3, 1).
Prove that the curves $xy = 4$ and $x^2 + y^2 = 8$ touch each other.
$\text{Find}:\int\frac{(3\sin x-2)\cos x}{13\ -\ \cos^2x \ - \ 7\sin x}\text{d}x$
Differentiate the following functions with respect to x:
$\log\sqrt{\frac{\text{x}-1}{\text{x}+1}}$
Prove that:
$\begin{vmatrix}(\text{b}+\text{c})^2&\text{a}^2&\text{bc}\\\text{c}+\text{a})^2&\text{b}^2&\text{ca} \\\text{a}+\text{b})^2&\text{c}^2&\text{ab}\end{vmatrix}$ $=(\text{a}-\text{b})(\text{b}-\text{c})(\text{c}-\text{b})(\text{a}+\text{b}+\text{c})(\text{a}^2+\text{b}^2+\text{c}^2)$
show that the differential equation of which $\text{y}=2(\text{x}^2-1)+\text{ce}^{-\text{x}^2}$ is a solution of the differential equation $\frac{\text{dy}}{\text{dx}}+2\text{xy}=4\text{x}^3$
Solve the following linear programming problem by graphical method.Under the constraints, maximise $Z=60 x+40 y$.
$
\begin{aligned}
x+2 y & \leq 12 \\
2 x+y & \leq 12 \\
x+\frac{5}{4} y & \geq 5 ; x \geq 0, y \geq 0
\end{aligned}
$
Let, X denote the number of colleges where you will apply after your results and P (X = x) denotes your probability of getting admission in x number of colleges. It is given that
$ \text{P(x = }x) = \begin{cases} \text{K}x\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }, & \text{if } x = 0 \text{ or 1}\\ 2\text{k}x\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }, & \text{if } x = 2\\ \text{k} (5 - x)\text{ }\text{ }\text{ }\text{ }, &\text{if } x = 3 \text{ or 4'}\\ 0\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }\text{ }, & \text{if } x > 4 \end{cases}$
where k is a positive constant. Find the value of k. Also find the probability that you will get admission in (i) exactly one college (ii) at most 2 colleges (iii) at least 2 colleges.
Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=\big(3\hat{\text{i}}+5\hat{\text{j}}+7\hat{\text{k}}\big)+\lambda\big(\hat{\text{i}}-2\hat{\text{j}}+7\hat{\text{k}}\big)$ and $\vec{\text{r}}=-\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}+\mu\big(7\hat{\text{i}}-6\hat{\text{j}}+\hat{\text{k}}\big)$