Derivative of
The derivative of is .
f(x) =
Type any function of x; the derivative is computed symbolically in your browser.
How to work it out
- 1
We differentiate with respect to x. The rule that applies is the quotient rule.
- 2
Quotient rule: . Let and .
- 3
Differentiate each piece:
- 4
Put them in the rule:
- 5
Simplify:
- 6
Differentiating once more gives the second derivative, which tells you about curvature:
LaTeX source of the formulas on this page
\[ \frac{d}{dx}\left[\frac{\sin\left(x\right)}{\cos\left(x\right)}\right] = \frac{\cos\left(x\right) \cos\left(x\right) - \sin\left(x\right) -\sin\left(x\right)}{\cos\left(x\right)^{2}} \]
\[ f(x) = \frac{\sin\left(x\right)}{\cos\left(x\right)} \]
\[ u = \sin\left(x\right),\quad v = \cos\left(x\right) \]
\[ u' = \cos\left(x\right),\quad v' = -\sin\left(x\right) \]
\[ f'(x) = \frac{\left(\cos\left(x\right)\right)\left(\cos\left(x\right)\right) - \left(\sin\left(x\right)\right)\left(-\sin\left(x\right)\right)}{\left(\cos\left(x\right)\right)^{2}} \]
\[ f'(x) = \frac{\cos\left(x\right) \cos\left(x\right) - \sin\left(x\right) -\sin\left(x\right)}{\cos\left(x\right)^{2}} \]
\[ f''(x) = \frac{\left(-\left(\sin\left(x\right) \cos\left(x\right)\right) + \cos\left(x\right) -\sin\left(x\right) - \left(\cos\left(x\right) -\sin\left(x\right) + \sin\left(x\right) -\cos\left(x\right)\right)\right) \cos\left(x\right)^{2} - \left(\cos\left(x\right) \cos\left(x\right) - \sin\left(x\right) -\sin\left(x\right)\right) 2 \cos\left(x\right) -\sin\left(x\right)}{\left(\cos\left(x\right)^{2}\right)^{2}} \]Values of f and f' for sin(x) / cos(x)
| x | f(x) | f'(x) |
|---|---|---|
| -2 | 2.1850399 | 5.7743992 |
| -1 | -1.5574077 | 3.4255188 |
| 0.5 | 0.54630249 | 1.2984464 |
| 1 | 1.5574077 | 3.4255188 |
| 2 | -2.1850399 | 5.7743992 |
| 3 | -0.14254654 | 1.0203195 |
Questions
What is the derivative of sin(x) / cos(x)?
The derivative of is .
What is the second derivative of sin(x) / cos(x)?
((-(sin(x) * cos(x)) + cos(x) * -sin(x) - (cos(x) * -sin(x) + sin(x) * -cos(x))) * cos(x)^2 - (cos(x) * cos(x) - sin(x) * -sin(x)) * 2cos(x) * -sin(x)) / (cos(x)^2)^2.
Which rule do you use for sin(x) / cos(x)?
The quotient rule.
What is the slope of sin(x) / cos(x) at x = 1?
3.4255188.