Derivatives of sin x, cos x, eˣ, and ln x
Sine and cosine
The derivative of comes from the definition and two limits from the squeeze theorem lesson, and . By the angle-addition formula,
As this approaches . The same steps with give for the derivative of . Both limits need radians, so the rules do too.
The natural exponential and logarithm
For , the difference quotient factors:
The second factor is the slope of a secant to from . One way to define is as the base for which . With that quotient is about for and for , and about for .
So the tangent to at has slope , and the derivative of is . At every point of the graph, the slope equals the height.
The same factoring works for any base : . Writing and (for ), the limit is . So .
The graph of is the reflection of across the line , because undoes . Reflecting a line across swaps its rise and run, so its slope becomes the reciprocal. The tangent to at has slope , so the tangent to at has slope .