Question
Solve the following differential equation: $\cos^{2} x \frac{dy}{dx} + y = \tan x$

Answer

The given differential equation can be written as$\frac{\text{dy}}{\text{dx}} + \sec^{2} \text{x y} = \tan \text{x}.\sec^{2}\text{x}$
$\text{I.F} = \text{e}^{\int\text{pdx}}=\text{e}^{\int\sec^2\text{x dx}}=e^{\tan\text{x}}$
$\therefore$ The solution is
$\text{y} .e^{\tan{\text{x}}} = \int e^{\tan\text{x}} . \tan\text{x}.\sec^{2}\text{x dx + c}$
$\text{Let} \tan{\text{x}} = \text{z} \Rightarrow \sec^{2}\text{x dx = dz}$
$\therefore \int e^{\tan \text{x}} \tan \text{x} \sec^{2}\text{x dx} = \int {\text{z e}^{\text{z}} } \text{dz + c} $
$= \text{z}.e^{\text{z}} - e^{\text{z}} + \text{c} = e^{\text{z}} (\text(z - 1) + \text{c}$
$\text{y e}^{\tan\text{x}} = e^{\tan\text{x}} ( \tan{\text{x}} - 1) + \text{c}e^{-\tan\text{x}} $

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