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

Find the area of the region between the parabola x = 4y - y2 and the line x = 2y - 3
Find the equation of the plane passing through the intersection of the planes 2x + 3y - z + 1 = 0 and x + y - 2z + 3 = 0 and perpendicular to the plane 3x - y - 2z - 4 = 0.
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}\frac{1}{\text{a}}&\text{a}^2&\text{bc}\\\frac{1}{\text{b}}&\text{b}^2&\text{ac}\\\frac{1}{\text{c}}&\text{c}^2&\text{ab} \end{vmatrix}$
Solve the following system of equations by matrix method:
6x - 12y + 25z = 4
4x + 15y - 20z = 3
2x + 18y + 15z = 10
If x16y9 = (x + y)17, prove that $\text{x}\frac{\text{dy}}{\text{dx}}=2\text{y}$
Verify mean value theorem for the function:
$\text{f(x)}=\sqrt{25-\text{x}^2}\text{ in }[1,5].$
Find the position vector of the food of perpendicular and the perpendicular distance from the point P with position vector $2\hat{\text{i}}+3\hat{\text{j}}+4\hat{\text{k}}$ to the plane $\vec{\text{r}}.(2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}})-26=0.$ Also find image or P in the plane.
If ${\left( {x - a} \right)^2} + {\left( {y - b} \right)^2} = {c^2}$ for some c > 0 prove that $\frac{{{{\left[ {1 + {{\left( {\frac{{dy}}{{dx}}} \right)}^2}} \right]}^{\frac{3}{2}}}}}{{\frac{{{d^2}y}}{{d{x^2}}}}}$ is a constant independent of a and b.
Show that the points A, B, C with position vectors $2\hat{\text{i}} - \hat{\text{j}} + \hat{\text{k}}, \hat{\text{i}} - 3\hat{\text{j}} - 5\hat{\text{k}} \text{ and } 3\hat{\text{i}} - 4\hat{\text{j}} - 4\hat{\text{k}}$ respectively, are the vertices of a right-angled triangle. Hence find the area of the triangle.
Write the minimum value of $\text{f}(\text{x})=\text{x}^\frac{1}{\text{x}}.$