Question
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\text{y}\tan\text{x}-2\sin\text{x}$

Answer

Here,$\frac{\text{dy}}{\text{dx}}=\text{y}\tan\text{x}-2\sin\text{x}$
It is a linear differential equation. Comparing the equation by,
$\text{P}=-\tan\text{x},\text{Q}=-\sin\text{x}$
I.F. $=\text{e}^{\int\text{Pdx}}$
$=\text{e}^{-\int\tan\text{xdx}}$
$=\text{e}^{-\log\sec\text{x}}$
$=\frac{1}{\sec\text{x}}$
Solution of the equation is given by,
$\text{y}\times(\text{I.F.})=\int\text{Q}\times(\text{I.F.})\text{dx + C}$
$\frac{\text{y}}{\sec\text{x}}=\int-\frac{2\sin\text{x}}{\sec\text{x}}\text{dx+ C}$
$\text{y}\cos\text{x}=-\int2\sin\text{x}\cos\text{xdx + C}$
$\text{y}\cos\text{x}=-\int\sin2\text{xdx + C}$
$\text{y}\cos\text{x}=\frac{\cos2\text{x}}{2}+\text{C}$
$\text{y}=\frac{\cos2\text{x}}{2\cos\text{x}}+\frac{\text{C}}{\cos\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

There are two types of fertilisers 'A' and 'B'. 'A' consists of 12% nitrogen and 5% phosphoric acid whereas 'B' consists of 4% nitrogen and 5% phosphoric acid. After testing the soil conditions, farmer finds that he needs at least 12kg of nitrogen and 12kg of phosphoric acid for his crops. If 'A' costs Rs. 10 per kg and 'B' cost Rs. 8 per kg, then graphically determine how much of each type of fertiliser should be used so that nutrient requiremnets are met at a minimum cost.
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{3}}_\frac{\pi}{6}\frac{1}{1+\cot^{\frac{3}{2}}\text{x}}\text{ dx}$
Let Z be the set of integers. Show that the relation R = {(a, b): a, b ∈ Z and a + b is even} is an equivalence relation on Z.
If $\text{x}=\cos\text{t}+\log\tan\frac{\text{t}}{2},\text{y}=\sin\text{t},$ Then find the value of $\frac{\text{d}^2\text{y}}{\text{dt}^2}\ \text{and}\ \frac{\text{d}^2\text{y}}{\text{dx}^2}\ \text{at}\ \text{t}=\frac{\pi}{4}.$
Evaluate the following:
$\begin{vmatrix}\text{x}&1&1\\1&\text{x}&1\\1&1&\text{x}\end{vmatrix}$
Form the differential equation of the family of circle in the secound qudrant and touching the coordinate axes.
Show that the function f : Q → Q, defined by f(x) = 3x + 5, is invertible. Also, find f-1.
If $\hat{\mathbf{i}}+\hat{\mathbf{j}}+\hat{\mathbf{k}}, 2 \hat{\mathbf{i}}+5 \hat{\mathbf{j}}, 3 \hat{\mathbf{i}}+2 \hat{\mathbf{j}}-3 \hat{\mathbf{k}}$ and $\hat{\mathrm{i}}-6 \hat{\mathrm{j}}-\hat{\mathrm{k}}$ are the position vectors of points A, B, C and D respectively, then find the angle between $\vec {AB}$ and $\vec {CD}$. Deduce that $\overrightarrow{A B}$ and $\overrightarrow{C D}$ are collinear.
A coin is tossed thrice and all the eight outcomes are assumed equally likely. In which of the following cases are the following events A and B are independent?
A = the first throw results in head,
B = the last throw results in tail.
Write the points where f(x) = |loge x| is not differentiable.