Skip to content

Derivatives of cos x, sin x, ex and ln x

Differentiate combinations of these functions and use derivatives to find slopes and tangent lines.

It opens on

Which familiar curve traces sine’s tangent slopes at 0, π/2, π, 3π/2 and 2π?

Why it matters

These derivatives turn changing positions and other quantities into instantaneous rates.

Good to know first

  • The power rule and the constant, sum, difference and constant multiple rules: (xⁿ)′=nxⁿ⁻¹ and (cf+g)′=cf′+g′
  • the squeeze theorem: a function trapped between two with the same limit has that limit
  • sine and cosine function graphs: waves between −1 and 1 with sin 0=0, cos 0=1
  • logarithmic functions as inverses of exponential functions: logb x=y means bʸ=x. Labelled circle values and tangent-line form are supplied here

Step by step

  1. Sine and cosine slopes

    Differentiate sine and cosine in radians and find horizontal tangents.

    Start the thread with f₁(x)=3sin x; the constant-multiple rule scales the slope points: f₁′(x)=3cos x.

    A common mix-up

    (cos x)′=sin x.

    In fact: Cosine falls at π/2, so its slope is −1, not 1.

  2. The exponential slope

    Differentiate eˣ and combine its derivative with sine’s.

    Extend the thread to f₂(x)=3sin x−2eˣ; then f₂′(x)=3cos x−2eˣ.

    A common mix-up

    Apply the power rule to eˣ.

    In fact: The exponent varies; eˣ has slope 1, not 0, at zero.

  3. Logarithm and tangents

    Differentiate ln x for x>0 and write a tangent line.

    Complete the thread f(x)=3sin x−2eˣ+4ln x; write f′(x)=3cos x−2eˣ+4/x.

    A common mix-up

    (ln x)′=1 everywhere.

    In fact: Reversing exponential slopes gives 1/x; at e the slope is 1/e.

Try it

Where does y=x+2sin x have horizontal tangents on [0,2π]?Answer

x=2π/3, 4π/3 (hint: set 1+2cos x=0).

For p(x)=3sin x−eˣ, find p′(1).Answer

3cos 1−e≈−1.097 (hint: differentiate each term first).

Find the tangent to y=ln x at x=e².Answer

y−2=(x−e²)/e² (hint: the slope there is 1/e²).

On the sine graph, what is the slope at π?Answer

−1; the five slope points trace cosine, answering the hook.

What in-between slope at zero defines a useful base?Answer

1; its base is e≈2.718, and eˣ is called the natural exponential.

Derivatives of cos x, sin x, eˣ and ln x

30 minutes every month. No card.