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

Similar questions

Find one-parameter families of solution curves of the following differential equation: (or solve the following differential equation)

$\text{e}^{-\text{y}}\sec^2\text{y dy}=\text{dx}+\text{x dy}$

The equation of tangent at (2, 3) on the curve $y^{2} = \text{ax}^{3} + \text{b is y = 4x - 5}. $ Find the value of a and b.
Find the reflection of the point (1, 2, -1) in the plane 3x - 5y + 4z = 5.
If $\text{A} = \begin{bmatrix}3&-4\\1&-1\end{bmatrix},$then prove that $\text{A}'' = \begin{bmatrix}1 + 2n & -4n \\n & 1 - 2n \end{bmatrix}$ where n is any positive integer.
Show that the maximum volume of the cylinder which can be inscribed in a sphere of radius $5\sqrt{3}\text{cm}$ is $500\pi\text{cm}^{3}$ .
Solve the following differential equations:

$\text{y}(1+\text{e}^{\text{x}})\text{dy}=(\text{y}+1)\text{e}^{\text{x}}\text{ dx}$

In order to supplement daily diet, a person wishes to take X and Y tablets. The contents (in milligrams per tablet) of iron, calcium and vitamins in X and Y are given as below:
Tablets Iron Calcium Vitamin
X 6 3 2
Y 2 3 4
The person needs to supplement at least 18 milligrams of iron, 21 milligrams of calcium and 16 milligrams of vitamins. The price of each tablet of X and Y is ₹ 2 and ₹1 respectively. How many tablets of each type should the person take in order to satisfy the above requirement at the minimum cost? Make an LPP and solve graphically.
Solve the following differential equations:

$\tan\text{y}\frac{\text{dy}}{\text{dx}}=\sin(\text{x}+\text{y})+\sin(\text{x}-\text{y})$

Find the coordinates of the point where the line $\frac{\text{x}-2}{3}=\frac{\text{y}+1}{4}=\frac{\text{z}-2}{2}$ intersectscts the plane x - y + z - 5 = 0. Also, find the angle between the line and the plane.
Integrate the function $\frac{5 x+3}{\sqrt{x^{2}+4 x+10}}$