Derivatives of sin and cos
Sine differentiates to cosine and cosine to minus sine, with x in radians.
Calculator
The live calculator needs JavaScript. The worked example below shows the same steps it would.
See it move
- At x = 1: f(x) = 0.28224, slope f′(x) = −5.94 (coral tangent). Dashed: the derivative f′.
What the symbols mean
- the value of at the chosen x
- the coefficient of
- the coefficient of
- the number multiplying x inside (angular frequency)
- the point, in radians
When to use it
Use it for anything that oscillates (springs, waves, alternating current, tides) and for finding the maxima and minima of trig expressions. The calculator differentiates . Always work in radians: in degrees every derivative picks up an extra factor .
Worked example
Find the derivative of f(x) = 2 sin(3x) at x = 1 radian (A = 2, B = 0, k = 3).
For , differentiate each part: sin(kx) becomes k cos(kx) and cos(kx) becomes −k sin(kx) (chain rule).
Substitute and work it out (x in radians):
Angles are in radians: the rule d/dx sin x = cos x is only true in radians (in degrees an extra factor π/180 appears).
Answer f′(1) ≈ −5.940 (that is 2 × 3 × cos 3)
Why it works
The slope of the sine curve is largest at 0, zero at the peaks and negative on the way down: exactly the pattern of cosine. Formally it follows from , which is only true when h is measured in radians.
Common mistakes
- Using degrees: is not . Calculus with trig needs radian mode.
- Losing the minus sign: the derivative of cos is .
- Forgetting the chain-rule factor k: .