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

Evaluate the following integrals:
$\int\frac{\text{x}}{3\text{x}^4-18\text{x}^2+11}\text{dx}$
Differentiate the following functions with respect to x:
$\log\sqrt{\frac{1-\cos\text{x}}{1+\cos\text{x}}}$
If lines $\frac{x - 1}{2} = \frac{y + 1}{3} = \frac{z - 1}{4} \text{and} \frac{x - 3}{1} = \frac{y - k}{2} = \frac{z}{1}$ intersect, then find the value of k and hence find the equation of the plane containing these lines.
If $\text{A} = \begin{bmatrix} 1 & -1 & 0 \\ 2 & 3 & 4 \\ 0 & 1 & 2 \end{bmatrix} \text{and B = } \text{A} = \begin{bmatrix} 2 & 2 & -4 \\ -4 & 2 & -4 \\ 2 & -1 & 5 \end{bmatrix}$ are two square matrices, find AB and hence solve the system of linear
equations x – y = 3, 2x + 3y + 4z = 17 and y + 2z = 7.
Prove that $\begin{vmatrix}a^2&bc&ac+c^2\\a^2+ab&b^2&ac\\ab&b^2+bc&c^2\end{vmatrix}=4a^2b^2c^2$
Solve the following differential equation:
$\text{y dx}+\Big\{\text{x}\log\Big(\frac{\text{y}}{\text{x}}\Big)\Big\}\text{dy}-2\text{x dy}=0$
Three schools A, B and C organised a mela for collecting funds for helping the rehabilitation of flood victims. They sold hand made fans, mats and plates from recycled material at a cost of ₹ 25, ₹ 100 and ₹ 50 each. The number of articles sold are given below:
School A B C
Article
Hand - fans 40 25 35
Mats 50 40 50
Plates 20 30 40
Find the funds collected by each school separately by selling the above articles. Also find the total funds collected for the purpose.
Write one value generated by the above situation.
Find the area of the region bounded by the parabola $y^2 = 2px, x^2 = 2py.$
Evaluate the following:
$\int\frac{\text{x}^{\frac{1}{2}}}{1+\text{x}^{\frac{3}{4}}}\text{dx}$
Hint: Put $x = z^4$​​​​​​​
Differentiate the function $(\sin x)^{x} + \sin^{-1} \sqrt{x}$ with respect to x.