Derivatives of Sine, Cosine, eˣ, and ln x
The power rule handles powers of , but calculus also needs trig, exponential, and logarithmic functions. Their derivatives turn out to be surprisingly neat: the slope of is , the slope of is itself, and the slope of is . All trig in calculus is in radians.
Key ideas
Section titled “Key ideas”Radians, not degrees
Section titled “Radians, not degrees”In Grade 11 you probably measured angles in degrees. Calculus uses radians, where radians , so , , and . The derivative rules below are only true in radians. If you use a calculator on the AP exam, make sure it is in radian mode.
The four new derivatives
Section titled “The four new derivatives”| Function | Derivative |
|---|---|
| (for ) |
They work with the constant multiple, sum, and difference rules from the power rule page, so, for example, .
Why the slope of sin x is cos x
Section titled “Why the slope of sin x is cos x”Look at the slopes of . At the graph climbs with slope ; at it’s flat (slope ); at it falls with slope . Plot those slopes and you get the graph of .
The algebra behind this uses the limit , which is only true when is in radians. That’s why radians matter.
The derivative of works the same way. Its graph falls just after , which is why its derivative, , has a minus sign.
Why e is special
Section titled “Why e is special”Every exponential graph has a slope at . The number is the base where that slope is exactly . With that choice, the slope of at every point equals its height, so .
The natural logarithm is the inverse of . Its slope is : steep near and flattening out as grows.
Coming soon: tan x and friends
Section titled “Coming soon: tan x and friends”The derivatives of , , , and come from writing them as quotients of sine and cosine. See the quotient rule. Functions like or need the chain rule, in the next unit.
Worked examples
Section titled “Worked examples”Example 1: Sine and cosine
Section titled “Example 1: Sine and cosine”Differentiate .
Solution. Use the constant multiple rule on each term. Careful with the sign on the cosine term:
Example 2: Exponentials and logs
Section titled “Example 2: Exponentials and logs”Find for .
Solution.
Example 3: A tangent line with trig
Section titled “Example 3: A tangent line with trig”Find the equation of the tangent line to at .
Solution. Point: . Slope: , and .
Point-slope form is the cleanest way to leave this answer.
Example 4: Horizontal tangents on an interval
Section titled “Example 4: Horizontal tangents on an interval”Find the -values in where has a horizontal tangent.
Solution. . Set it equal to :
In , at and (the special angles and , in radians).
Common mistakes
Section titled “Common mistakes”Getting the sign of the cosine derivative wrong. , but . A quick check: is decreasing just after , so its derivative must be negative there.
Working in degrees. is only true in radians. Answers like instead of lose marks, and a calculator in degree mode gives wrong slopes.
Using the power rule on . is , not . The power rule only applies when the exponent is a constant.
Treating constants like functions. , , and are numbers, so their derivatives are . Only expressions containing change.
Thinking . When the inside is more than just , you need the chain rule (next unit). For now, stick to , , , and exactly.
Practice
Section titled “Practice”1. (Warm-up) Differentiate each.
- (a)
- (b)
- (c)
Solution
(a)
(b)
(c)
2. (Warm-up) Let . Find .
Solution
, so
The graph has a horizontal tangent at .
3. (Warm-up) Find the slope of at .
Solution
, so the slope at is .
4. (Core) Find for , for . (Hint: use a log law first.)
Solution
By the power law of logarithms, . Also .
5. (Core) Find the tangent line to at , and the tangent line to at .
Solution
For : the point is and the slope is , so .
For : the point is and the slope is , so .
(The two graphs are reflections of each other in , and so are these two tangent lines.)
6. (Core) Find all in where has a horizontal tangent.
Solution
, so .
In : or .
7. (Core) (Calculator allowed.) Let . Find , correct to three decimal places.
Solution
. In radian mode:
8. (Challenge) Find the tangent line to that passes through the origin.
Solution
The tangent line at goes through with slope :
For it to pass through :
The tangent line is , which simplifies to .
9. (Challenge) Find all in where the tangent lines to and are parallel.
Solution
Parallel means equal slopes:
(If then , so the equation can’t hold. Dividing by is safe.)
In : or .