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

Solve the following differential equation:
${(\text{x}^{2}-1)}\frac{\text{dy}}{\text{dx}}+\text{2xy}=\frac{1}{\text{x}^{2}-1};|\text{x}|\neq1$.
By using properties of determinants, show that:
$\begin{vmatrix}a^2+1&ab&ac\\ab&b^2+1&bc\\ca&cb&c^2+1\end{vmatrix}=1+a^2+b^2+c^2$
Find the area of the region in the first quadrant enclosed by the x-axis, the line $y = x$ and the circle $x^2+ y^2 = 32.$
Show that the surface area of a closed cuboid with square base and given volume is minimum, when it is a cube.
Find the shortest distance between the lines
$\frac{\text{x}+1}{7}=\frac{\text{y}+1}{-6}=\frac{\text{z}+1}{1}$ and $\frac{\text{x}-3}{1}=\frac{\text{y}-5}{-2}=\frac{\text{z}-7}{1}$
Solve the following differential equations:
$(\text{x}^2-\text{y}^2)\text{dx}-2\text{xy dy}=0$
Let n be a fixed positive integer. Define a relation R on Z as follows:
$(\text{a, b})\in\text{R}\Leftrightarrow\ \text{a}-\text{b}$ is divisible by n. Show that R is an equivalence relation on Z.
For the following differntial equations verify that the accompanying function is a solution:
Differential equation Function
$\text{y}=\Big(\frac{\text{dy}}{\text{dx}}\Big)^2$ $\text{y}=\frac{1}{4}(\text{x}\pm\text{a})^2$
Solve the following systems of homogeneous linear equations by matrix method:
$2x - y + 2z = 0$
$5x + 3y - z = 0$
$x + 5y - 5z = 0$
Show that height of the cylinder of greatest volume which can be inscribed in a right circular cone of height h and semi vertical angle α is one-third that of the cone and the greatest volume of cylinder is $\frac{4}{{27}}{\pi}h^3\tan^2 \alpha .$