Find the general solution for $\frac{\text{dy}}{\text{dx}}\text{=}\frac{\text{1- cos x}}{\text{1+ cos x}}$ .
Show solutionHide solution
Ans: The given differential equation is $\frac{\text{dy}}{\text{dx}}\text{=}\frac{\text{1- cos x}}{\text{1+ cos x}}$.
Use trigonometric half –angle identities to simplify:
$\frac{dy}{dx}=\frac{1-\cos x}{1+\cos x}$
$\Rightarrow \frac{dy}{dx}=\frac{2{{\sin }^{2}}\frac{x}{2}}{2{{\cos }^{2}}\frac{x}{2}}$
$\Rightarrow \frac{dy}{dx}={{\tan }^{2}}\frac{x}{2}$
$\Rightarrow \frac{dy}{dx}={{\sec }^{2}}\frac{x}{2}-1$
Separate the differentials and integrate:
$\int dy=\int \left( {{\sec }^{2}}\frac{x}{2}-1 \right)dx$
$\Rightarrow y=\int {{\sec }^{2}}\frac{x}{2}dx-\int dx$
$\Rightarrow y=2\tan \frac{x}{2}-x+C$
Thus the general solution of given differential equation is $\text{y = 2tan}\frac{\text{x}}{\text{2}}\text{ - x + C}$.