Question
Solve the following differential equation
$(\sin\text{x}+\cos\text{x})\text{dy}+(\cos\text{x}+\sin\text{x})\text{dx}=0$

Answer

 We have,

$(\sin\text{x}+\cos\text{x})\text{dy}+(\cos\text{x}+\sin\text{x})\text{dx}=0$

$\Rightarrow{\text{dy}}=-\Big(\frac{\cos\text{x}-\sin\text{x}}{\sin\text{x}-\cos\text{x}}\Big)\text{dx}$

Integrating both sides, we get

$\int{\text{dy}}=-\int\Big(\frac{\cos\text{x}-\sin\text{x}}{\sin\text{x}-\cos\text{x}}\Big)\text{dx}$

$\Rightarrow\text{y}=-\int\Big(\frac{\cos\text{x}-\sin\text{x}}{\sin\text{x}-\cos\text{x}}\Big)\text{dx}$

Putting $\sin\text{x}+\cos\text{x}=\text{t}$

$\Rightarrow(\cos\text{x}-\sin\text{x})\text{dx}=\text{dt}$

$\therefore\text{y}=-\int\frac{\text{dt}}{\text{t}}$

$\Rightarrow\text{y}=-\log|\text{t}|+\text{C}$

$\Rightarrow\text{y}=-\log|\sin\text{x}+\cos\text{x}|+\text{C}$

$\Rightarrow\text{y}=+\log|\sin\text{x}+\cos\text{x}|=\text{C}$

Hence, $\text{y}=+\log|\sin\text{x}+\cos\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

$\int\limits^{\frac{\pi}{2}}_0\frac{\text{dx}}{(\text{a}^2\cos^2\text{x}+\text{b}^2\sin^2\text{x})^2}$
Hint: Divide Numerator and Denominator by cos4x
Differentiate the following functions with respect to x:
$\frac{2^\text{x}\cos\text{x}}{(\text{x}^2+3)^2}$
In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}\frac{\sqrt{1+\text{px}}\sqrt{1-\text{px}}}{\text{x}},&\text{if }-1\leq\text{ x}\leq-0\\\frac{2\text{x}+1}{\text{x}-2},&\text{if }0\leq\text{ x}\leq1\end{cases}$
Solve the following systems of linear equations by cramer's rule:
2x - 3y - 4z = 29,
-2x + 5y - z = -15,
3x - y + 5z = -11
Solve the following differential equation:
$(1+\text{y}^2)+(\text{x}-\text{e}^{\tan^{-1}\text{y}})\frac{\text{dy}}{\text{dx}}=0$
$\text{If}\ \ \vec{a},\ \vec{b},\vec{c}$ are unit vectors such that $\vec{a}+\vec{b}+\vec{c}=\vec{0},$ find the value of $\vec{a}\cdot\vec{b}+\vec{b}\cdot\vec{c}+\vec{c}\cdot\vec {a}.$
Find the mean variance and standard deviation of the following probability distribution
xi a b
pi p q
Where p + q = 1
If $\vec{\text{a}}$ and $\vec{\text{b}}$ are two non-collinear unit vectors such that $\big|\vec{\text{a}}+\vec{\text{b}}\big|=\sqrt{3},$ find $\big(2\vec{\text{a}}-5\vec{\text{b}}\big).\big(3\vec{\text{a}}+\vec{\text{b}}\big).$
Prove that:
$\begin{vmatrix}\text{x}+4&\text{x}&\text{x}\\\text{x}&\text{x}+4&\text{x}\\\text{x}&\text{x}&\text{x}+4\end{vmatrix}=16(3\text{x}+4)$
Show that the matrix $\text{A}=\begin{bmatrix} 1 & 0 & -2 \\ -2 & -1 & 2 \\ 3 & 4 & 1 \end{bmatrix}$ satisfies the equation, A3 - A2 - 3A - I3 = 0. Hence, find A-1.