5m left·0%
Reading Time: 5 min
Last Updated: February 25, 2026
Main Ideas: 4
Reading Time: 5 min
Last Updated: February 25, 2026
Main Ideas: 4

Topic 2.7 Notes – Derivatives of cos x, sin x, e^x, and ln x

Verified for 2027 AP® Calculus BC Exam
Read aloud
Four derivative formulas appear so often on the AP exam that you need to recall them instantly: sine, cosine, natural exponential, and natural logarithm. Knowing these cold lets you move quickly through both multiple choice and free response.

The Four Core Derivatives You Must Know Cold

Here they are. No re-deriving. Just know them.

ddx(sin⁡x)=cos⁡x \frac{d}{dx}(\sin x) = \cos x

ddx(cos⁡x)=−sin⁡x \frac{d}{dx}(\cos x) = -\sin x

ddx(ex)=ex \frac{d}{dx}(e^x) = e^x

ddx(ln⁡x)=1x \frac{d}{dx}(\ln x) = \frac{1}{x}

Two quick reminders:

  • All trig derivatives assume radians.
  • These apply directly unless something is nested inside (then you use chain rule).

A simple way to keep them straight:

  • Sine turns into cosine.
  • Cosine turns into negative sine.
  • exe^x stays the same.
  • ln⁡x\ln x becomes 1/x1/x.

Only cosine creates a negative. That’s where most sign mistakes happen.

Using Them Inside Larger Expressions

You almost never see these alone. They’re buried inside sums, products, or compositions.

Linear combinations

If
f(x)=3sin⁡x−4ex+7ln⁡x+2f(x) = 3\sin x - 4e^x + 7\ln x + 2

Differentiate term by term:

  • 3sin⁡x→3cos⁡x3\sin x \rightarrow 3\cos x
  • −4ex→−4ex-4e^x \rightarrow -4e^x
  • 7ln⁡x→7x7\ln x \rightarrow \frac{7}{x}
  • Constant 2→02 \rightarrow 0

So
f′(x)=3cos⁡x−4ex+7xf'(x) = 3\cos x - 4e^x + \frac{7}{x}

Nothing fancy here. Just don’t drop constants or signs.

Chain rule versions (very common)

When there’s something inside, multiply by the derivative of the inside.

General patterns:

  • ddx[sin⁡(g(x))]=cos⁡(g(x))⋅g′(x)\frac{d}{dx}[\sin(g(x))] = \cos(g(x)) \cdot g'(x)
  • ddx[cos⁡(g(x))]=−sin⁡(g(x))⋅g′(x)\frac{d}{dx}[\cos(g(x))] = -\sin(g(x)) \cdot g'(x)
  • ddx[eg(x)]=eg(x)⋅g′(x)\frac{d}{dx}[e^{g(x)}] = e^{g(x)} \cdot g'(x)
  • ddx[ln⁡(g(x))]=1g(x)⋅g′(x)\frac{d}{dx}[\ln(g(x))] = \frac{1}{g(x)} \cdot g'(x)

Example:

h(x)=e2x3h(x) = e^{2x^3}

  • Outside derivative gives e2x3e^{2x^3}
  • Inside derivative of 2x32x^3 is 6x26x^2

So
h′(x)=6x2e2x3h'(x) = 6x^2 e^{2x^3}

Students often:

  • Forget the inner derivative
  • Write 1/x1/x instead of 1/g(x)1/g(x) for logs
  • Miss the negative on cosine

Those are easy points to lose on a no-calculator section.

Seeing the Derivative Inside a Limit

This connects to the definition:

f′(a)=lim⁡h→0f(a+h)−f(a)h f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}

AP loves disguising derivatives as limits.

If you see something like:

lim⁡h→0sin⁡(5+h)−sin⁡5h \lim_{h \to 0} \frac{\sin(5 + h) - \sin 5}{h}

That matches the definition with f(x)=sin⁡xf(x) = \sin x and a=5a = 5.

So the answer is
f′(5)=cos⁡5f'(5) = \cos 5

You are not expected to use trig identities to prove this. Just recognize the structure.

Geometrically, this limit is the slope of the tangent line at x=ax = a. The diagram below shows secant lines approaching the tangent line as the second point moves toward aa.

Study guide illustration

Secant lines approaching the tangent line at x=ax=a

In the middle panel, focus on the expression f(a+h)−f(a)h\frac{f(a+h)-f(a)}{h}. As hh goes to 0, that secant slope becomes the tangent slope, which is f′(a)f'(a).

Once you recognize the “f(a+h)−f(a)f(a+h) - f(a) over hh” pattern, replace the entire limit with the known derivative evaluated at that number.

This shows up often as a multiple choice question where the fastest students just spot the pattern instantly.

Domain and Behavior Details

A couple things that matter more than students expect:

  • ln⁡x\ln x is only defined for x>0x > 0.
    So 1x\frac{1}{x} here also assumes x>0x > 0.
  • 1x\frac{1}{x} is undefined at x=0x = 0.
  • exe^x is always positive, and so is its derivative.
  • Sine and cosine derivatives cycle forever.

That cycling is easier to see if you think about sine and cosine on the unit circle.

Study guide illustration

Unit circle with common angles in degrees and radians

As the angle increases around the circle, the y-coordinate (sine) and x-coordinate (cosine) repeat in a predictable pattern. That is why ddx(sin⁡x)=cos⁡x\frac{d}{dx}(\sin x) = \cos x, ddx(cos⁡x)=−sin⁡x\frac{d}{dx}(\cos x) = -\sin x, and the pattern keeps cycling.

Key Takeaways

Only cos⁡x\cos x produces a negative when differentiated.
ddx[ln⁡(g(x))]=g′(x)g(x)\frac{d}{dx}[\ln(g(x))] = \frac{g'(x)}{g(x)}, not 1x\frac{1}{x}.
Recognize lim⁡h→0f(a+h)−f(a)h\lim_{h\to0} \frac{f(a+h)-f(a)}{h} instantly as f′(a)f'(a).
All trig derivatives require radians, not degrees.
exe^x is the only function here whose derivative is exactly itself.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining