Skip to content
Skip to main content

About this free course

Share this free course

Introduction to differentiation
Introduction to differentiation

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

1.4.2 Leibniz notation

The notation that we’ve been using so far, in which the derivative of a function f is denoted by f super prime , is called Lagrange notation or prime notation. (‘Lagrange’ is pronounced as a French word: ‘La-grawnge’.) It was invented by Joseph-Louis Lagrange, about a century after calculus was discovered. The term ‘prime notation’ arises from the fact that the symbol  super prime in the notation f super prime is often called ‘prime’.

However, there’s another notation, called Leibniz notation, invented by Gottfried Wilhelm Leibniz. (Remember that ‘Leibniz’ is pronounced as a German word: ‘Libe-nits’.) You’ll need to become familiar with both notations, as they’re both used throughout this material, and throughout mathematics generally.

Each type of notation has different advantages in different situations. Generally, Lagrange notation is used when you’re thinking in terms of a variable, and a function of this variable. On the other hand, Leibniz notation is often used when you’re thinking more of the relationship between two variables. The distinction will become clearer as you become used to working with the two notations.

Joseph-Louis Lagrange

Joseph-Louis Lagrange was an Italian-French mathematician who made important contributions in many areas, including calculus, mechanics, astronomy, probability and number theory. He was appointed as a professor of mathematics at the Royal Artillery School in Turin at the age of only 19, and was a dedicated and prolific mathematician for the rest of his life, working mainly in Turin and Berlin.

Described image
Joseph-Louis Lagrange (1736–1813)

To see how derivatives are written in Leibniz notation, consider the equation y equals x squared , which expresses a relationship between the variables x and y . You’ve seen that the formula for the gradient of the graph of the equation y equals x squared is

gradient equals two times x full stop

In Leibniz notation this equation is written as

d y divided by d x equals two times x full stop

So the notation d y divided by d x means the same as f super prime of x , where y equals f of x . It’s read as ‘d y by d x’. When Leibniz notation is being used, d y divided by d x is often referred to as the derivative of y with respect to x .

If you want to write the notation d y divided by d x in a line of text, then you can write it as d y postfix solidus d x , just as you would do for a fraction. However, although the notation looks like a fraction, it’s important to remember that it isn’t a fraction!

Also, you should be aware that the ‘d’ that’s part of Leibniz notation has no meaning outside of it. In particular, although d y and d x look like d prefix multiplication of y and d prefix multiplication of x , respectively, the ‘d’ is certainly not a factor and must not be cancelled! In many mathematical texts, including this one, the ‘d’ in Leibniz notation appears in upright type, rather than the italic type used for variables, to emphasise this fact. (You don’t need to do anything special when you handwrite Leibniz notation – you should just write the ‘d’ in the normal way.)

To understand the thinking behind Leibniz notation, consider Figure 19. It’s exactly the same as Figure 17, which illustrates differentiation from first principles, except that some things are labelled differently. For example, the point at which we want to find the gradient is labelled open x comma y close instead of left parenthesis x comma f of x right parenthesis . This is because the emphasis here is on the relationship between the variables x and y , rather than on the idea of f as a function of x . Another difference is that the change in the x -coordinate from the point at which we want to find the gradient to the second point is denoted by delta times x instead of h , so the x -coordinate of the second point is written as x plus delta times x instead of x plus h .

The symbol delta is the lower-case Greek letter delta, and is read as ‘delta’. By convention, when the symbol delta is used as a prefix it indicates ‘a small change in’, so delta times x denotes a small change in x . The change in the y -coordinate from the point at which we want to find the gradient to the second point is denoted in a similar way, as delta times y , which means that the y -coordinate of the second point is y plus delta times y .

Described image
Figure 19 The points open x comma y close and left parenthesis x plus delta times x comma y plus delta times y right parenthesis on the graph of y equals f of x , and the line through them

The gradient of the line that passes through the two points is then

rise divided by run equals delta times y divided by delta times x full stop

As the second point gets closer and closer to the first point, the value of delta times y solidus delta times x gets closer and closer to the gradient of the curve at the point open x comma y close . In other words, the gradient is the limit of delta times y solidus delta times x as the second point gets closer and closer to the first point (and so as delta times x and delta times y get smaller and smaller). This is why the notation d y postfix solidus d x , which looks similar to delta times y solidus delta times x , was chosen to represent the gradient.

The expression delta times y solidus delta times x can be used instead of expression (2) to carry out differentiation from first principles, and you might see this done in some other texts on calculus. The process is exactly the same, just with h replaced by delta times x , but it can look a bit more complicated at first sight.

Leibniz notation can be used in a variety of ways. For example, the symbol

d divided by d x

means ‘the derivative with respect to x of’. So, for example, a concise way to express the fact that the gradient of the graph of the equation y equals x squared is given by the formula two times x is to write

d divided by d x times left parenthesis x squared right parenthesis equals two times x full stop

As with Lagrange notation, Leibniz notation can be used with variable names other than the standard ones, x and y . For example,

if s equals t squared comma then d s divided by d t equals two times t comma

and

if p equals q cubed comma then left parenthesis by Example one right parenthesis d p divided by d q equals three times q squared full stop

Similarly (by Activity 5),

d divided by d w times left parenthesis w super four right parenthesis equals four times w cubed full stop

Sometimes, particularly on a computer algebra system, you might see d y postfix solidus d x written as

d divided by d x times y full stop

Usually, if a function is specified using function notation, then you use Lagrange notation for its derivative, whereas if it’s specified using an equation that expresses one variable in terms of another, then you use Leibniz notation. For example, if you know that f of x equals x squared , then you write f super prime of x equals two times x , whereas if you know that y equals x squared , then you write d y solidus d x equals two times x . However, there are no absolute rules about this, and in fact it’s often helpful to mix the two notations. In particular, it’s often convenient to use the symbol d solidus d x , even when you’re mostly using Lagrange notation, as you’ll see. Lagrange notation and Leibniz notation are the two most common notations for derivatives, but there are other useful notations, including one invented by Isaac Newton. You’ll meet some of these notations if you go on to study calculus beyond this course, particularly in the area of applied mathematics.