Question
Solve the following differential equation
$\cos\text{x }\frac{\text{dy}}{\text{dx}}-\cos2\text{x}=\cos3\text{x}$

Answer

We have,
$\cos\text{x }\frac{\text{dy}}{\text{dx}}-\cos2\text{x}=\cos3\text{x}$
$\Rightarrow\text{dy}=\frac{\cos3\text{x}+\cos2\text{x}}{\cos\text{x}}\ \text{dx}$
$\Rightarrow\text{dy}=\frac{4\cos^2\text{x}-3\cos\text{x}+2\cos^2\text{x}-1}{\cos\text{x}}\ \text{dx}$
$\Rightarrow\text{dy}=(4\cos^2\text{x}-3+2\cos\text{x}-\sec\text{x})\text{dx}$
$\Rightarrow\text{dy}[2(2\cos^2\text{x}-1)-1+2\cos\text{x}-\sec\text{x}]\text{dx}$
$\Rightarrow\text{dy}(2\cos2\text{x}-1+2\cos\text{x}-\sec\text{x})\text{ dx}$
Integrating both sides, we get
$\int\text{dy}=\int(2\cos2\text{x}-1+2\cos\text{x}-\sec\text{x})\text{dx}$
$\Rightarrow\text{y}=\sin2\text{x}-\text{x}+2\sin\text{x}-\log|\sec\text{x}+\tan\text{x}|+\text{C}$
hence, $\text{y}=\sin2\text{x}-\text{x}+2\sin\text{x}-\log|\sec\text{x}+\tan\text{x}|+\text{C}$ is the solution to the given differential equation.

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 relationship between 'a' and 'b' so that the function 'f' defind by $\text{f(x)}=\begin{cases}\text{ax}+1,&\text{if }\text{ x}\leq3\\\text{bx}+3,&\text{if }\text{ x}>3\end{cases}$ is continuous at x = 3.
Solve the differential equation: $(\text{x}+1)\frac{\text{dy}}{\text{dx}}=2\text{e}^{-\text{y}}-1;\ \text{y(0)}=0.$
Find the maximum slope of the curve $y = −x^3+ 3x^2+ 2x − 27$.
Let C be the set of all complex numbers and $C_0$ be the set of all no-zero complex numbers. Let a relation R on $C_0$ be defined as $\text{z}_1\text{R z}_2\Leftrightarrow\frac{\text{z}_1-\text{z}_2}{\text{z}_1+\text{z}_2}$ is real for all $\text{z}_1,\ \text{z}_2\in\text{C}_0.$ Show that R is an equivalence relation.
Find the shortest distance between the following pairs of lines whose cartesian equation are:
$\frac{\text{x}-1}{-1}=\frac{\text{y}+2}{1}=\frac{\text{z}-3}{-2}$ and $\frac{\text{x}-1}{1}=\frac{\text{y}+1}{2}=\frac{\text{z}+1}{-2}$
There are 2 families A and B. There are 4 men, 6 women and 2 children in family A, and 2 men, 2 women and 4 children in family B. The recommended daily amount of calories is 2400 for men, 1900 for women, 1800 for children and 45 grams of proteins for men, 55 grams for women and 33 grams for children. Represent the above information using matrices. Using matrix multiplication, calculate the total requirement of calories and proteins for each of the 2 families. What awareness can you create among people about the balanced diet from this question?
Find the intervals in which the following functions are increasing or decreasing.$f(x) = x^4- 4x$
Find the acute angle between the lines whose direction ratios are proportional to 2 : 3 : 6 and 1 : 2 : 2.
find the area of the circle $x^2 + y^2 = 16$ which is exterior to the parabola $y^2 = 6x$.
Examine the differentiability of f, where f is defined by:
$\text{f(x)}=\begin{cases}\text{x}^2\sin\frac{1}{\text{x}},&\text{if x}\neq0\\0,&\text{if x}=0\end{cases}$
at x = 0.