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

Find the absolute maximum and minimum values of the function f given by $f(x) = \cos^2 x + \sin x, x \in [0, \pi]$
If $\text{f}(\text{a}+\text{b}-\text{x})=\text{f(x)},$ then prove that, $\int\limits^{\text{b}}_{\text{a}}\text{xf}(\text{x})\text{dx}=\Big(\frac{\text{a}+\text{b}}{2}\Big)\int\limits^{\text{b}}_{\text{a}}\text{f}(\text{x})\text{dx}$
Let $\text{A} = \Re\times\Re$ and$\ast$ be the binary operation on A defined by $\text(a, b) \ast \text{(c, d)} = \text{(a + c, b + d)}. $ Prove that $\ast$ is commutative and associative. Find the identity element for $\ast$ on A. Also write the inverse element of the element (3, – 5) in A.
Evaluate the following integrals:
$\int\limits_{0}^{{\frac{\pi}{4}}}(\tan\text{x}+\cot\text{x})^{-2}\text{ dx}$
Two cards are selected at random from a box which contains five cards numbered 1, 1, 2, 2, and 3. Let X denote the sum and Y the maximum of the two numbers drawn. Find the probability distribution, mean and variance of X and Y.
An aeroplane can carry a maximum of 200 passengers. A profit of Rs. 400 is made on each first class ticket and a profit of Rs. 600 is made on each economy class ticket. The airline reserves at least 20 seats of first class. However, at least 4 times as many passengers prefer to travel by economy class to the first class. Determine how many each type of tickets must be sold in order to maximize the profit for the airline. What is the maximum profit.
Solve the following equation for x:
$\tan^{-1}\Big(\frac{\text{x}-2}{\text{x}-1}\Big)+\tan^{-1}\Big(\frac{\text{x}+2}{\text{x}+1}\Big)=\frac{\pi}{4}$
Find the vector equation of the line passing through the point (1, -1, 2) and perpendicular to the plane 2x - y + 3z - 5 = 0.
In the following, find the value of the constant k so that the given function is continuous at the indicated point:
$\text{f(x)}=\begin{cases}(\text{x}-1)\tan\frac{\pi\text{x}}{2},&\text{if}\text{ x}\neq1\\\text{k},&\text{if}\text{ x}=1\end{cases}\text{at x} = 1$
Evaluate the following determinant:
$\begin{vmatrix}1&3&9&27\\3&9&27&1\\9&27&1&3\\27&1&3&9 \end{vmatrix}$