Find the derivative of the function: $\frac{\sin x+\cos x}{\sin x-\cos x}$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
Let $f(x) = \frac{\sin x+\cos x}{\sin x-\cos x}$.
Using the quotient rule $\left( \frac{u}{v} \right)' = \frac{u'v - uv'}{v^2}$:
$f'(x) = \frac{(\sin x - \cos x) \frac{d}{dx}(\sin x + \cos x) - (\sin x + \cos x) \frac{d}{dx}(\sin x - \cos x)}{(\sin x - \cos x)^2}$
$f'(x) = \frac{(\sin x - \cos x)(\cos x - \sin x) - (\sin x + \cos x)(\cos x + \sin x)}{(\sin x - \cos x)^2}$
$f'(x) = \frac{-(\sin x - \cos x)^2 - (\sin x + \cos x)^2}{(\sin x - \cos x)^2}$
$f'(x) = \frac{-(\sin^2 x + \cos^2 x - 2\sin x \cos x) - (\sin^2 x + \cos^2 x + 2\sin x \cos x)}{(\sin x - \cos x)^2}$
Since $\sin^2 x + \cos^2 x = 1$:
$f'(x) = \frac{-(1 - 2\sin x \cos x) - (1 + 2\sin x \cos x)}{(\sin x - \cos x)^2}$
$f'(x) = \frac{-1 + 2\sin x \cos x - 1 - 2\sin x \cos x}{(\sin x - \cos x)^2}$
$f'(x) = \frac{-2}{(\sin x - \cos x)^2}$

Explore More

Similar Questions

$\frac{d}{d x}\left(\sqrt{\frac{1-\tan x}{1+\tan x}}\right) = $

Suppose a differentiable function $f(x)$ satisfies the identity $f(x+y) = f(x) + f(y) + xy^2 + x^2y$ for all real $x$ and $y$. If $\lim_{x \rightarrow 0} \frac{f(x)}{x} = 1$,then $f'(3)$ is equal to:

Let $f(x)$ be a differentiable function for all $x \in R$ and $f(x+y)=f(x)+f(y)-3xy$. If $\lim _{h \rightarrow 0} \frac{f(h)}{h}=7$,then $f^{\prime}(x)=$

Find the derivative: $\frac{d}{dx} \sqrt{x \sin x}$

The graph of function $f$ contains the points $P(1, 2)$ and $Q(s, r)$. The equation of the secant line through $P$ and $Q$ is $y = \left( \frac{s^2 + 2s - 3}{s - 1} \right) x - 1 - s$. The value of $f'(1)$ is:

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo