Question
Solve the following initial value problems:
$\frac{\text{dy}}{\text{dx}}+2\text{y}\tan\text{x}=\sin\text{x},\text{ y}=0,\text{ when x}=\frac{\pi}{3}$

Answer

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

$\int\frac{3\text{x}+5}{\sqrt{7\text{x}+9}}\text{dx}$
Prove that: $\begin{vmatrix}(\text{a}+1)(\text{a}+2)&\text{a}+2&1\\(\text{a}+2)(\text{a}+3)&\text{a}+3&1\\(\text{a}+3)(\text{a}+4)&\text{a}+4 &1\end{vmatrix}=-2$
Assume that each born child is equally likely to be a boy or a girl. If a family has two children, then what is the constitutional probability that both are girls? Given that.
  1. The youngest is a girl,
  2. At least one is a girl.
Find the inverse of the following matrices:$\begin{bmatrix}0 & 1 & -1 \\ 4 & -3 & 4 \\ 3 & -3 & 4 \end{bmatrix}$
Differentiate the following functions with respect to x:
$\tan^{-1}\Big(\frac{2^{\text{x}+1}}{1-4^{\text{x}}}\Big),-\infty<\text{x}<0$
For the following matrices verify the associativity of multiplication i.e., (AB) C = A(BC):
$\text{A}=\begin{bmatrix}4&2&3\\1&1&2\\3&0&1\end{bmatrix},\text{B}=\begin{bmatrix}1&-1&1\\0&1&2\\2&-1&1\end{bmatrix}$ and $\text{C}=\begin{bmatrix}1&2&-1\\3&0&1\\0&0&1\end{bmatrix}$
A rectangle is inscribed in a semi-circle of radius r with one of its sides on diameter of semi-circle. Find the dimension of the rectangle so that its area is maximum. Find also the area.
Find values of k, if area of triangle is 4 square units whose vertices are:
(-2, 0), (0, 4), (0, k)
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{3}}_\frac{\pi}{6}\frac{1}{1+\cot^{\frac{3}{2}}\text{x}}\text{ dx}$
Solve the following LPP graphically:
Maximize Z = 20x + 10y
Subject to the following constraints
$\text{x}+2\text{y}\leq28$
$3\text{x}+\text{y}\leq24$
$\text{x}\geq2$
$\text{x},\text{y}\geq0$