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

If $\text{A} = \begin{bmatrix} 1 & -2 & 0 \\ 2 & 1 & 3 \\ 0 & -2 & 1 \end{bmatrix} $ If A =, find A–1 and hence solve the system of equations x – 2y = 10, 2x + y + 3z = 8 and – 2y + z = 7.
In a class, 5% of the boys and 10% of the girls have an IQ of more than 150. In this class, 60% of the students are boys. If a student is selected at random and found to have an IQ of more than 150, find the probability that the student is a boy.
The probability that a certain person will buy a shirt is 0.2, the probability that he will buy a trouser is 0.3, and the probability that he will buy a shirt given that he buys a trouser is 0.4. Find the probability that he will buy both a shirt and a trouser. Find also the probability that he will buy a trouser given that he buys a shirt.
If f(x) = x2 - 2x, find f(A), where $\text{A}=\begin{bmatrix}0&1&2\\4&5&0\\0&2&3\end{bmatrix}$
Find the area of the region bounded by $\text{y}=\sqrt{\text{x}}$ and y = x.
Find a unit vector perpendicular to the plane A B C, where the coordinates of A, B and C are A (3, -1, 2), B (1, -1, -3) and C (4, -3, 1).
By computing the shortest distance determine whether the following pairs of lines intersect or not:
$\vec{\text{r}}=\big(\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}\big)+\lambda\big(3\hat{\text{i}}-\hat{\text{j}}\big)$ and $\vec{\text{r}}=\big(4\hat{\text{i}}-\hat{\text{k}}\big)+\mu\big(2\hat{\text{i}}+3\hat{\text{k}}\big)$
If $\text{y}=\log\sqrt{\text{x}+1}+\sqrt{\text{x}-1},$ show that $\sqrt{\text{x}^2-1}\frac{\text{dy}}{\text{dx}}=\frac{1}{2}\text{y}.$
Find $\frac{\text{dy}}{\text{dx}},$ if $\text{y}=\text{x}^{\tan\text{x}}+\sqrt{\frac{\text{x}^2+1}{2}}.$
Differentiate the following functions with respect to x:
$\log(3\text{x}+2)-\text{x}^2\log(2\text{x}-1)$