Notation for Differentiation: Leibniz, Lagrange, Newton

#Calculus
TL;DR
One derivative, four ways to write it. This guide to notation for differentiation compares Leibniz, Lagrange, Newton and Euler notation, with higher orders, partials, conversions and worked examples.
BT
Bhanzu TeamLast updated on October 11, 202615 min read

What Is Notation For Differentiation?

Notation for differentiation is the set of written forms used to express a derivative, the rate at which one quantity changes with respect to another. Four systems are in common use: Leibniz's dydx\frac{dy}{dx}, Lagrange's f′(x)f'(x), Newton's y˙\dot{y} and Euler's DfDf. They all describe the same derivative and differ only in what they put on the page.

For y=f(x)=x3y = f(x) = x^3, the same result reads four ways:

dydx=f′(x)=Df(x)=3x2\frac{dy}{dx} = f'(x) = Df(x) = 3x^2

If the variable is time, x=t3x = t^3, Newton's form adds a fifth: x˙=3t2\dot{x} = 3t^2. A student on Math Doctors once asked for "a general overview of the meanings of the different derivative notations", and this table is that overview.

Notation

Named After

First Derivative

Second Derivative

nth Derivative

Read Aloud

Best For

Leibniz

Gottfried Leibniz

dydx\frac{dy}{dx}

d2ydx2\frac{d^2y}{dx^2}

dnydxn\frac{d^ny}{dx^n}

"d y by d x"

Chain rule, related rates, differential equations

Lagrange

Joseph-Louis Lagrange

f′(x)f'(x)

f′′(x)f''(x)

f(n)(x)f^{(n)}(x)

"f prime of x"

Short work with named functions

Newton

Isaac Newton

y˙\dot{y}

y¨\ddot{y}

(rarely past 2)

"y dot"

Derivatives with respect to time

Euler (D)

Louis Arbogast

DfDf or DxyD_x y

D2fD^2 f

DnfD^n f

"D f"

Operator methods for differential equations

A derivative only exists where its limit exists, whatever the notation. The full definition, and why the slope of a tangent is a limit, is in the guide to the derivative of a function.

How Does Leibniz Notation Work?

Leibniz notation writes the derivative of yy with respect to xx as dydx\frac{dy}{dx}, which reads "d y by d x". It always names both the quantity being differentiated (on top) and the variable it changes with (underneath).

What do the d's mean? The dd stands for "difference", an infinitely small change. Leibniz pictured dydy and dxdx as infinitesimal changes in yy and xx; modern calculus defines the whole symbol as one limit instead:

dydx=lim⁡Δx→0ΔyΔx\frac{dy}{dx} = \lim_{\Delta x \to 0} \frac{\Delta y}{\Delta x}

What Is The Difference Between dy/dxdy/dx And d/dxd/dx?

ddx\frac{d}{dx} is an operator: an instruction, "differentiate with respect to xx", waiting for something to act on. dydx\frac{dy}{dx} is that operator already applied to yy. So ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2 and, if y=x3y = x^3, dydx=3x2\frac{dy}{dx} = 3x^2 say the same thing in two layouts.

How Are Higher Derivatives Written?

The second derivative is the derivative of the derivative, and the notation records exactly that:

ddx(dydx)=d2ydx2\frac{d}{dx}\left(\frac{dy}{dx}\right) = \frac{d^2y}{dx^2}

The operator dd is applied twice, so the top gets d2d^2. The bottom dx2dx^2 means (dx)2(dx)^2, the variable used twice, not dd times x2x^2. That is the answer to the question readers keep sending in: "Why is the second derivative written as d2y/dx2d^2y/dx^2?"

How Do You Evaluate A Leibniz Derivative At A Point?

Use a vertical evaluation bar with the point underneath:

dydx∣x=1\left.\frac{dy}{dx}\right\rvert_{x=1}

Writing ddxf(1)\frac{d}{dx}f(1) means something else entirely: f(1)f(1) is a constant, so its derivative is 00.

Leibniz notation earns its keep in the chain rule. If yy depends on uu and uu depends on xx, then

dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

which looks like fractions cancelling. It is not literal cancellation, but the layout reminds you which factor is still missing. The same bookkeeping makes implicit differentiation readable, because dydx\frac{dy}{dx} keeps visible which variable depends on which.

How Does Lagrange Notation Work?

Lagrange notation marks a derivative with a prime: f′(x)f'(x) reads "f prime of x", and f′(a)f'(a) is the derivative at the point aa. It treats the derivative as a new function in its own right, built from ff.

Higher orders add primes, then switch to a bracketed number once primes get hard to count:

f′(x),f′′(x),f′′′(x),f(4)(x),f(n)(x)f'(x),\quad f''(x),\quad f'''(x),\quad f^{(4)}(x),\quad f^{(n)}(x)

Some older books write fiv(x)f^{\text{iv}}(x) in lower-case Roman numerals for the fourth derivative. The brackets matter: f(2)(x)f^{(2)}(x) is the second derivative, while f2(x)f^2(x) usually means (f(x))2\big(f(x)\big)^2.

Prime notation is the shortest to write, which is why it dominates rule summaries such as the power rule: (xn)′=nxn−1(x^n)' = nx^{n-1}. Its weak spot is that it never says which variable the derivative is taken with respect to.

Does f(x,y)=dydxf(x, y) = \frac{dy}{dx} or f′(x)f'(x)? A Physics Forums thread asks exactly this. When a function has two inputs, f′f' is ambiguous: a derivative with respect to xx or to yy? In a differential equation such as dydx=f(x,y)\frac{dy}{dx} = f(x, y), f(x,y)f(x, y) is the slope formula, not a derivative of ff. Use dydx\frac{dy}{dx} for the unknown's derivative and partial notation (below) for derivatives of ff itself.

How Does Newton's Dot Notation Work?

Newton's dot notation puts a dot over a quantity to mean its derivative with respect to time: x˙=dxdt\dot{x} = \frac{dx}{dt}, and two dots mean the second derivative, x¨=d2xdt2\ddot{x} = \frac{d^2x}{dt^2}. Newton called these rates fluxions, the speed at which a "flowing" quantity changes.

The dot is reserved for time. Writing y˙\dot{y} for dydx\frac{dy}{dx} when xx is not time breaks the convention and confuses any physics reader.

That restriction is also why physicists love it. Position x(t)x(t), velocity x˙\dot{x} and acceleration x¨\ddot{x} fit on one line, and Newton's second law becomes mx¨=Fm\ddot{x} = F, the same chain the guide to velocity and acceleration builds step by step. Dots also make curves given by parametric equations compact: the slope is dydx=y˙x˙\frac{dy}{dx} = \frac{\dot{y}}{\dot{x}} wherever x˙≠0\dot{x} \neq 0.

How Does Euler's D Notation Work?

D notation writes differentiation as an operator letter: DfDf is the derivative of ff, D2fD^2 f the second derivative, and DxD_x names the variable when that is unclear. It is usually called Euler notation, but it was introduced by Louis Arbogast, who did not invent derivatives; he invented the habit of treating "differentiate" as an object you can do algebra with.

Louis Arbogast (1759 to 1803, France) published "Calcul des derivations" in 1800. Its key move was to separate operator symbols from the functions they act on, so DD could be added, multiplied and factorised like a number.

That operator algebra is why D notation still runs linear differential equations. The equation y′′−3y′+2y=0y'' - 3y' + 2y = 0 becomes

(D2−3D+2),y=0(D^2 - 3D + 2),y = 0

(D−1)(D−2),y=0(D - 1)(D - 2),y = 0

and the factors point straight to the solutions exe^{x} and e2xe^{2x}, so y=C1ex+C2e2xy = C_1 e^{x} + C_2 e^{2x}. The inverse D−1D^{-1} stands for an antiderivative: D−1(6x2)=2x3+CD^{-1}(6x^2) = 2x^3 + C.

How Do You Write Partial Derivatives In Each Notation?

A partial derivative differentiates a function of several variables with respect to one of them while the others are held fixed. Each family has a partial version:

Idea

Leibniz Style

Subscript Style

D Style

First partial in xx

∂f∂x\frac{\partial f}{\partial x}

fxf_x

DxfD_x f or ∂xf\partial_x f

Second partial in xx

∂2f∂x2\frac{\partial^2 f}{\partial x^2}

fxxf_{xx}

Dx2fD_x^2 f

Mixed: first xx, then yy

∂2f∂y,∂x\frac{\partial^2 f}{\partial y,\partial x}

fxyf_{xy}

DyDxfD_y D_x f

The curly ∂\partial was first used by Adrien-Marie Legendre in 1786 and brought into wide use by Carl Jacobi in 1841, according to the MacTutor record of calculus symbols. Watch the order in the mixed row: the subscript form reads left to right (xx first), while the Leibniz form reads right to left. For the smooth functions met in school and first-year courses the two mixed partials agree, so the order rarely changes the answer, but it does change what you wrote.

How Do You Convert Between Derivative Notations?

Converting between notations means rewriting the same quantity, never recomputing it. Use this table as a dictionary:

Meaning

Leibniz

Lagrange

Newton (Time Only)

Euler (D)

First derivative

dydx\frac{dy}{dx}

y′y' or f′(x)f'(x)

y˙\dot{y}

DyDy

Second derivative

d2ydx2\frac{d^2y}{dx^2}

y′′y'' or f′′(x)f''(x)

y¨\ddot{y}

D2yD^2 y

Third derivative

d3ydx3\frac{d^3y}{dx^3}

f′′′(x)f'''(x)

\dddoty\dddot{y}

D3yD^3 y

nth derivative

dnydxn\frac{d^ny}{dx^n}

f(n)(x)f^{(n)}(x)

not used

DnyD^n y

Value at x=ax = a

dydx∣x=a\left.\frac{dy}{dx}\right\rvert_{x=a}

f′(a)f'(a)

y˙(a)\dot{y}(a)

(Df)(a)(Df)(a)

Operator alone

ddx\frac{d}{dx}

none

none

DD or DxD_x

Chain rule

dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du}\cdot\frac{du}{dx}

(f∘g)′=(f′∘g)⋅g′(f \circ g)' = (f' \circ g)\cdot g'

rarely written

D(f∘g)=(Df∘g)⋅DgD(f \circ g) = (Df \circ g)\cdot Dg

The chain-rule row is the strongest argument for knowing more than one system. In Leibniz form the rule nearly writes itself; in prime form you have to remember where each derivative is evaluated.

Which Notation For Differentiation Should You Use?

Use the notation your problem's variables already suggest, and switch when another one makes a step clearer. One Quora reader asks whether there is "a practical reason we still use Leibniz' confusing dy/dx notation", and the answer is yes: it is the only notation that shows both variables.

  • Leibniz when variables depend on each other: the chain rule, implicit differentiation, related rates, substitution in integrals and separating variables in differential equations.

  • Lagrange when you are working with named functions and the variable is obvious: rule summaries, curve sketching, Taylor polynomials.

  • Newton only for derivatives with respect to time: mechanics, circuits, orbital motion.

  • Euler (D) for operator methods: solving linear differential equations with constant coefficients.

A physics paper can use all four on one page. Reading each one fluently is the skill; picking a favourite is a matter of taste.

Examples Of Notation For Differentiation

Each example uses the notation the question gives, then converts or evaluates, moving from a one-line rewrite to a mixed partial.

Example 1

Write the derivative of y=5x4y = 5x^4 in Leibniz, Lagrange and D notation.

The power rule gives the same result in every system:

dydx=20x3\frac{dy}{dx} = 20x^3

y′=20x3y' = 20x^3

Dy=20x3Dy = 20x^3

Final answer: 20x320x^3 in every notation

Example 2

For y=(3x2+1)5y = (3x^2 + 1)^5, find y′y' and evaluate it at x=1x = 1.

In prime notation the tempting move is to apply the power rule to the outside and stop:

y′=5(3x2+1)4y' = 5(3x^2 + 1)^4

At x=1x = 1 this gives 5⋅44=12805 \cdot 4^4 = 1280. Check the slope a different way: 3x2+13x^2 + 1 is itself changing (at rate 6x6x), so the outer power is being pushed along by a moving inside. A slope that ignores the inside's rate cannot be right.

Rewrite in Leibniz notation with u=3x2+1u = 3x^2 + 1, so y=u5y = u^5:

dydu=5u4\frac{dy}{du} = 5u^4

dudx=6x\frac{du}{dx} = 6x

dydx=dydu⋅dudx=5u4⋅6x=30x(3x2+1)4\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = 5u^4 \cdot 6x = 30x(3x^2 + 1)^4

dydx∣x=1=30(1)(4)4=7680\left.\frac{dy}{dx}\right\rvert_{x=1} = 30(1)(4)^4 = 7680

The Leibniz layout exposed the missing factor dudx\frac{du}{dx}.

Final answer: y′=30x(3x2+1)4y' = 30x(3x^2 + 1)^4, and y′(1)=7680y'(1) = 7680

Example 3

For f(x)=x3−6x2f(x) = x^3 - 6x^2, find f′′(1)f''(1) and write it in Leibniz notation.

f′(x)=3x2−12xf'(x) = 3x^2 - 12x

f′′(x)=6x−12f''(x) = 6x - 12

f′′(1)=6−12=−6f''(1) = 6 - 12 = -6

In Leibniz notation with y=f(x)y = f(x) this is d2ydx2∣x=1=−6\left.\frac{d^2y}{dx^2}\right\rvert_{x=1} = -6. The negative value means the curve is concave down at x=1x = 1, the idea the second derivative is used for.

Final answer: f′′(1)=−6f''(1) = -6

Example 4

A particle's position is x(t)=t3−4tx(t) = t^3 - 4t metres after tt seconds. Find x˙\dot{x} and x¨\ddot{x} at t=2t = 2.

x˙=3t2−4\dot{x} = 3t^2 - 4

x˙(2)=12−4=8\dot{x}(2) = 12 - 4 = 8

x¨=6t\ddot{x} = 6t

x¨(2)=12\ddot{x}(2) = 12

The velocity is 88 metres per second and the acceleration 1212 metres per second squared. A common first instinct is to leave the dots off the final answer and write "x=8x = 8", which turns a velocity back into a position.

Final answer: x˙(2)=8\dot{x}(2) = 8, x¨(2)=12\ddot{x}(2) = 12

Example 5

A curve is given by x=t2x = t^2, y=t3y = t^3. Use dot notation to find dydx\frac{dy}{dx}, then evaluate it at t=2t = 2.

x˙=2t,y˙=3t2\dot{x} = 2t, \qquad \dot{y} = 3t^2

dydx=y˙x˙=3t22t=3t2(t≠0)\frac{dy}{dx} = \frac{\dot{y}}{\dot{x}} = \frac{3t^2}{2t} = \frac{3t}{2} \quad (t \neq 0)

dydx∣t=2=3\left.\frac{dy}{dx}\right\rvert_{t=2} = 3

Final answer: dydx=3t2\frac{dy}{dx} = \frac{3t}{2}, which is 33 at t=2t = 2

Example 6

For f(x,y)=x2y3f(x, y) = x^2 y^3, find fxf_x, fxyf_{xy} and ∂2f∂x,∂y\frac{\partial^2 f}{\partial x,\partial y}, and evaluate fxf_x at (1,1)(1, 1).

fx=∂f∂x=2xy3f_x = \frac{\partial f}{\partial x} = 2xy^3

fxy=∂∂y(2xy3)=6xy2f_{xy} = \frac{\partial}{\partial y}\left(2xy^3\right) = 6xy^2

∂2f∂x,∂y=∂∂x(3x2y2)=6xy2\frac{\partial^2 f}{\partial x,\partial y} = \frac{\partial}{\partial x}\left(3x^2y^2\right) = 6xy^2

fx(1,1)=2f_x(1, 1) = 2

The two mixed partials match, as they do for smooth functions, even though they were reached in opposite orders.

Final answer: fx=2xy3f_x = 2xy^3, fxy=∂2f∂x,∂y=6xy2f_{xy} = \frac{\partial^2 f}{\partial x,\partial y} = 6xy^2, fx(1,1)=2f_x(1, 1) = 2

Why Does Differentiation Have Several Notations?

"Each notation solved a different problem" is the short answer. The derivative was invented twice, by Newton and Leibniz, and later reworked by mathematicians who wanted it to do new jobs, so each system carries the problem its author cared about.

  • Leibniz wanted to track variables. His dydx\frac{dy}{dx} shows what changes with what, which made rules such as the chain rule feel natural and keeps it in general use today (the overview of notation for differentiation on Wikipedia traces all four systems).

  • Newton wanted to describe motion. Fluxions measured how fast a quantity "flows" in time, so a dot over the moving quantity was enough.

  • Lagrange wanted calculus without infinitesimals. In his 1797 "Theorie des fonctions analytiques" he aimed to found the subject "freed from all consideration of the infinitely small", treating f′f' as a function derived from ff by algebra.

  • Arbogast wanted to calculate with operators. Separating DD from the function let him factor and invert differentiation itself.

Knowing which problem each notation was built for tells you which one to reach for.

Where Is Each Notation Used In Real Life?

Every field that models change picks the notation that keeps its variables clear.

  • Mechanics and aerospace: equations of motion are written with dots, such as mx¨+kx=0m\ddot{x} + kx = 0 for a spring.

  • Electrical engineering: circuit equations like Ldidt+Ri=VL\frac{di}{dt} + Ri = V are solved with D-operator methods.

  • Economics: marginal cost is written dCdq\frac{dC}{dq} or C′(q)C'(q), the rate of change of cost per extra unit.

  • Machine learning: training uses partial derivatives ∂L∂w\frac{\partial L}{\partial w} of a loss LL with respect to each weight ww.

Common Errors When Working With Notation For Differentiation

Most notation errors are reading errors: the maths is right, but the symbol says something different from what you meant.

Mistake 1: Differentiating After Substituting

Where it slips in: Finding the slope at a point, such as the derivative of f(x)=x2f(x) = x^2 at x=3x = 3.

Don't do this: Write ddxf(3)=ddx(9)=0\frac{d}{dx}f(3) = \frac{d}{dx}(9) = 0. Substituting first turns the function into a constant, and a constant has derivative 00.

The correct way: Differentiate first, then substitute: f′(3)=6f'(3) = 6, or dydx∣x=3=6\left.\frac{dy}{dx}\right\rvert_{x=3} = 6. The memorizer who knows "plug in the number" but not when hits this on the first evaluation question.

Mistake 2: Reading The Second Derivative As A Square

Where it slips in: Second-derivative questions written in Leibniz notation.

Don't do this: Treat d2ydx2\frac{d^2y}{dx^2} as (dydx)2\left(\frac{dy}{dx}\right)^2. For y=x4y = x^4 that gives 16x616x^6.

The correct way: Differentiate twice: d2ydx2=12x2\frac{d^2y}{dx^2} = 12x^2. The superscripts count how many times you differentiate. The second-guesser who got 12x212x^2 often "fixes" it to 16x616x^6 after seeing the squares, so trust the operator reading.

Mistake 3: Using Dots Or Primes Where The Variable Is Unclear

Where it slips in: Problems with more than one variable, or with time and space together.

Don't do this: Write y˙\dot{y} for dydx\frac{dy}{dx}, or f′f' for a function of both xx and yy.

The correct way: Keep dots for time only and switch to dydx\frac{dy}{dx} or ∂f∂x\frac{\partial f}{\partial x} whenever the variable could be misread. Students meeting their first two-variable function usually keep writing primes out of habit, and the ambiguity only shows up when someone else reads the work.

Practice Problems On Notation For Differentiation

  1. Write the derivative of y=xy = \sqrt{x} in Leibniz and Lagrange notation, then find f′′(4)f''(4).

  2. Rewrite d2sdt2\frac{d^2s}{dt^2} in Newton's and Lagrange's notation.

  3. For x(t)=e−2tx(t) = e^{-2t}, find x¨\ddot{x}.

  4. For g(x,y)=x3y2+yg(x, y) = x^3 y^2 + y, find gyg_y and gyxg_{yx}.

  5. Use Leibniz notation and the chain rule to differentiate y=cos⁡(x2)y = \cos(x^2).

Answer to Question 1: dydx=f′(x)=12x\frac{dy}{dx} = f'(x) = \frac{1}{2\sqrt{x}}, and f′′(4)=−132f''(4) = -\frac{1}{32}.

Answer to Question 2: s¨\ddot{s} in Newton's notation and s′′(t)s''(t) in Lagrange's.

Answer to Question 3: x¨=4e−2t\ddot{x} = 4e^{-2t}.

Answer to Question 4: gy=2x3y+1g_y = 2x^3 y + 1 and gyx=6x2yg_{yx} = 6x^2 y.

Answer to Question 5: With u=x2u = x^2, dydx=−sin⁡u⋅2x=−2xsin⁡(x2)\frac{dy}{dx} = -\sin u \cdot 2x = -2x\sin(x^2).

Key Takeaways

  • Notation for differentiation has four main systems: Leibniz dydx\frac{dy}{dx}, Lagrange f′(x)f'(x), Newton y˙\dot{y} and Euler DfDf.

  • All four name the same derivative, so converting between them is rewriting, never recomputing.

  • Leibniz notation shows both variables, which is why it suits the chain rule and related rates.

  • Newton's dots mean derivatives with respect to time only.

  • Differentiate first and substitute second, and read d2ydx2\frac{d^2y}{dx^2} as differentiating twice, not squaring.

Your Next Move

Work through practice problems 1 to 5; if problem 5 loses its 2x2x factor, return to Example 2, and if problem 4 comes out in the wrong order, reread the section on partial derivatives.

Want a live Bhanzu trainer to walk you through switching notations? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

Why is dy/dx used in notation for differentiation?
Because it records both variables. dydx\frac{dy}{dx} says "the change in yy for a change in xx", which keeps the chain rule, substitution and related rates readable.
What is Leibniz's notation for differentiation?
It is the dydx\frac{dy}{dx} form, with d2ydx2\frac{d^2y}{dx^2} for the second derivative and a vertical bar for evaluating at a point. The section on how Leibniz notation works covers each piece.
Is it correct to think of dy/dx as a quotient of infinitesimals, as Leibniz did?
No, not in standard calculus. There, dydx\frac{dy}{dx} is defined as the limit of ΔyΔx\frac{\Delta y}{\Delta x}, and real numbers contain no infinitesimals to divide. In the 1960s Abraham Robinson's nonstandard analysis did give infinitesimals a rigorous footing, which is why Leibniz's picture still works as intuition.
What exactly is dx in dy/dx?
On its own, inside dydx\frac{dy}{dx}, it is not a number; it marks the variable you differentiate with respect to. Separately, calculus defines the differential dy=f′(x),dxdy = f'(x),dx, which gives dxdx and dydy their own meaning as linked small changes.
What does "with respect to" really mean?
It names the input variable that is changing. ddx(x2t)=2xt\frac{d}{dx}(x^2t) = 2xt treats tt as a constant, while ddt(x2t)=x2\frac{d}{dt}(x^2t) = x^2 treats xx as the constant, so the same expression has different derivatives depending on the variable named.
What's the difference between dy/dx and d/dx in calculus?
ddx\frac{d}{dx} is the instruction "differentiate with respect to xx"; dydx\frac{dy}{dx} is the result of carrying out that instruction on yy.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →