Skip to content
Tutorials Center
My learning

Topics

Lesson 14 of 39 · Derivatives

Derivative Notation and Higher Derivatives

Learn Lagrange, Leibniz and Newton notation, the meaning of the second derivative as acceleration, and compute higher derivatives with SymPy.

Derivatives have several notations, each useful in its own setting. You will see all of them in textbooks, so learn to read them fluently.

Common notations

For y = f(x):

Notation Name Reads as
f'(x) Lagrange "f prime of x"
dy/dx Leibniz "dy by dx"
d/dx [f(x)] operator form "derivative with respect to x of f"
ẏ Newton "y dot" (usually for time)

Leibniz notation dy/dx looks like a fraction. It is not literally one at this stage, but it reminds you that the derivative is a ratio of tiny changes: Δy/Δx as Δx → 0. It also shows the variable: dp/dt is the rate of change of p with respect to t, in units of p per unit t.

To evaluate at a point, write f'(3) or dy/dx evaluated at x = 3.

Higher derivatives

Differentiating f' gives the second derivative f''(x), or d²y/dx². Differentiating again gives f'''(x), and so on.

For f(x) = x⁴:

  • f'(x) = 4x³
  • f''(x) = 12x²
  • f'''(x) = 24x
  • f⁗(x) = 24

Meaning in motion

If s(t) is position, then:

  • s'(t) is velocity
  • s''(t) is acceleration

A ball thrown upward has s(t) = 20t - 4.9t² meters (SI units). Velocity is s'(t) = 20 - 9.8t m/s, and acceleration is s''(t) = -9.8 m/s²: the pull of gravity, constant and downward.

Python Velocity and acceleration of a thrown ball

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The ball peaks where the velocity is zero, at about 2.04 s, at a height of about 20.4 m.

Repeated differentiation of familiar functions

Python A family of derivatives

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Notice that sin x cycles through cos x, -sin x, -cos x and back, while eˣ never changes.

In everyday use the second derivative measures how fast the slope itself is changing. For a graph, it tells you whether the curve bends upward or downward. Chapter 5 builds on that.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. In Leibniz notation, the derivative of y with respect to x is written

    dy/dx reads 'dy by dx'.
  2. 2. If s(t) is position, s''(t) is

    The second derivative of position is acceleration.
  3. 3. For f(x) = x⁴, f''(x) equals

    f' = 4x³, then f'' = 12x².
  4. 4. The units of dp/dt, if p is in meters and t in seconds, are

    Output units per input unit.

Summary

  • Notations: f'(x), dy/dx, d/dx, and ẏ for time derivatives.
  • f'' is the derivative of f'; for motion it is acceleration.
  • SymPy's diff(f, x, n) gives the n-th derivative.

Next: The Power Rule and Constants