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

The direction ratios of the perpendicular from the origin to a plane are 12, -3, 4 and the length of the perpendicular is 5. Find the equation of the plane.
Determine the area under the curve $\text{y}=\sqrt{\text{a}^2-\text{x}^2}$ included between the lines x = 0 and x = a.
Evaluate the following integrals:$\int(\log\text{x})^2\cdot\text{x dx}$
In a simple circult of resistance R, self inductance L and voltage E, the current i at any times t is given by $\text{L}\frac{\text{di}}{\text{dt}}+\text{R}\text{i}=\text{E}.$ If E is constant and initially no current throught the circuit, prove that  $\text{i}=\frac{\text{E}}{\text{R}}\left\{1-\text{e}^-(\frac{\text{R}}{\text{L}})\text{t}\right\}.$ 
Differentiate the following functions with respect to x:
$\log_\text{x}3$
The cartesian equation of a line are $3x + 1 = 6y - 2 =1 - z.$ Find the fixed point through which it passes, its direction ratios and also its vector equation.
The scalar product of the vector $\hat i + \hat j + \hat k$ with a unit vector along the sum of vectors $2\hat i + 4\hat j - 5\hat k\;$ and $\lambda \hat i + 2\hat j + 3\hat k$ is equal to one. Find the value of$\;\lambda $.
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\frac{\sin\text{x}}{\text{e}^{\text{x}}}\text{ on }0\leq\text{x}\leq\pi$
Using vectors, find the area of triangle ABC, with vertices A (1, 2, 3), B (2, –1, 4) and C (4, 5, –1).
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{2}}_{-\frac{\pi}{2}}\sin^4\text{x dx}$