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

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{\text{k}\cos\text{x}}{\pi-2\text{x}},&\text{x}<\frac{{\pi}}{2}\\3,&\text{x}=\frac{\pi}{2}\\\frac{3\tan\text{x}}{2\text{x}-\pi},&\text{x}>\frac{\pi}{2}\end{cases}$
For the matrix $\text{A}=\begin{bmatrix}1 & -1 & 1 \\2 & 3 & 0 \\ 18 & 2 & 10 \end{bmatrix},$ show that A (adjoint A) = 0.
Solve the following LPP graphically:
Manimize Z = 6x + 3y
Subject to the constraints:
$4\text{x}+\text{y}\geq80$
$\text{x}+5\text{y}\geq115$
$3\text{x}+2\text{y}\leq150$
$\text{x}\geq0,\text{y}\geq0$
Solve the following system of equations by matrix method:$x - y + z = 2$
$2x - y = 0$
$2y - z = 1$
Without expanding, show that the values of the following determinant are zero: $\begin{vmatrix}6&-3&2\\2&-1&2\\-10&5&2 \end{vmatrix}$
Using properties of determinants, prove the following: $ \begin{bmatrix} \text{ x}&\text{x + y }&\text{x} + 2\text{y}\\ \text{x} + 2\text{y} & \text{x}& \text{x + y }\\\text{x + y}&\text{x} + 2\text{y}& \text{x} \end{bmatrix} = 9\text{y}^{2}(\text{x} + \text{y}). $
Express the matrix $\text{A}=\begin{bmatrix}4&2&-1 \\3 & 5&7\\1&-2&1 \end{bmatrix}$ as the sum of a symmetric and a skew-symmetric matrix.
Differentiate the following functions with respect to x:
$(\sin\text{x})^{\cos\text{x}}$
Let $S$ be a relation on the set $R$ of all real numbers defined by $S = \{(a, b) \in R \times R: a^2 + b^2 = 1\}$ prove that $S$ is not an equivalence relation on $R$.
find the area of the region common to the circle $x^2 + y^2 = 16$ and the parabola $y^2 = 6x.$