1.3 The Derivative: Infinitesimal Approach

Traditionally a function \(f\) of a variable \(x\) is written as \(y=f(x)\). The dependent variable \(y\) is considered a function of the independent variable \(x\). This allows taking the derivative of \(y\) with respect to \(x\), i.e. the derivative of \(y\) as a function of \(x\), denoted by \(\dydx\). This is simply a different way of writing \(f'(x)\), and is just one of many ways of denoting the derivative:

Notation for the derivative of \(\bm{y = f(x)}\): The following are all equivalent:

\[\dydx ~~,~~~ f'(x) ~~,~~~ \ddx\;(f(x)) ~~,~~~ y' ~~,~~~ \dot{y} ~~,~~~ \dot{f}(x) ~~,~~~ \dfdx ~~,~~~ D f(x)\]

The notation \(\dydx\) appears to denote a fraction: a quantity \(\dy\) divided by a quantity \(\dx\). It turns out that the derivative really can be thought of in that way, as a ratio of infinitesimals. In fact, this was the way in which derivatives were used by the founders of calculus—Newton and, in particular, Leibniz.[1] Even today, this is often the way in which derivatives are thought of and used in fields outside of mathematics, such as physics, engineering, and chemistry, perhaps due to its more intuitive nature.

The concept of infinitesimals used here is based on the nilsquare infinitesimal approach developed by J.L. Bell[2], namely:

Definition 1.2

A number \(\delta\) is an infinitesimal if the conditions (a)-(d) hold:

  1. \(\delta \ne 0\)

  2. if \(\delta > 0\) then \(\delta\) is smaller than any positive real number

  3. if \(\delta < 0\) then \(\delta\) is larger than any negative real number

  4. \(\delta^2 = 0\) (and hence all higher powers of \(\delta\), such as \(\delta^3\) and \(\delta^4\), are also 0)

Note: Any infinitesimal multiplied by a nonzero real number is also an infinitesimal, while 0 times an infinitesimal is 0.

The above definition says that infinitesimals are numbers which are closer to 0 than any positive or negative number without being zero themselves, and raising them to powers greater than or equal to 2 makes them 0. So infinitesimals are not real numbers.[3] This is not a problem, since calculus deals with other numbers, such as infinity, which are not real. An infinitesimal can be thought of as an infinitely small number arbitrarily close to 0 but not 0. This might seem like a strange notion, but it really is not all that different from the limit notion where, say, you let \(\Delta x\) approach 0 but not necessarily let it equal 0.[4]

As for the square of a nonzero infinitesimal being 0, think of how a calculator handles the squares of small numbers. For example, most calculators can display \(10^{-8}\) as 0.00000001, and will even let you add 1 to that to get 1.00000001. But when you square \(10^{-8}\) and add 1 to it, most calculators will display the sum as simply 1. The calculator treats the square of \(10^{-8}\), namely \(10^{-16}\), as a number so small compared to 1 that it is effectively zero.[5]

Notice a major difference between 0 and an infinitesimal \(\delta\): \(2 \cdot 0\) and \(0\) are the same, but \(2\,\delta\) and \(\delta\) are distinct. This holds for any nonzero constant multiple, not just the number 2.

The derivative \(\dydx\) of a function \(y=f(x)\) can now be defined in terms of infinitesimals:

Definition 1.3

Let \(\dx\) be an infinitesimal such that \(f(x+\dx)\) is defined. Then \(\dy = f(x+\dx) - f(x)\) is also an infinitesimal, and the derivative of \(y=f(x)\) at \(x\) is the ratio of \(\dy\) to \(\dx\):

\begin{equation} \dydx ~=~ \frac{f(x+\dx) ~-~ f(x)}{\dx} \tag{1.8}\end{equation}

The basic idea is that \(\dx\) is an infinitesimally small change in the variable \(x\), producing an infinitesimally small change \(\dy\) in the value of \(y=f(x)\).

Example 1.4

Show that the derivative of \(y=f(x)=x^2\) is \(\dydx = 2x\).

Solution: For any real number \(x\),

\begin{align*} \dydx ~&=~ \frac{f(x+\dx) ~-~ f(x)}{\dx}\\[6pt] &=~ \frac{(x+\dx)^2 ~-~ x^2}{\dx}\\[6pt] &=~ \frac{\cancel{x^2} ~+~ 2x\,\dx ~+~ (\dx)^2 ~-~ \cancel{x^2}}{\dx}\\[6pt] &=~ \frac{2x\,\dx ~+~ 0}{\dx}\qquad\text{since $\dx$ is an infinitesimal $\Rightarrow ~(\dx)^2 = 0$}\\[6pt] &=~ \frac{2x\,\cancel{\dx}}{\cancel{\dx}}\\[4pt] &=~ 2x \end{align*}

You might have noticed that the above example did not involve limits, and that the derivative \(2x\) represents a real number (i.e. no infinitesimals appear in the final answer); this will always be the case. Infinitesimals possess another useful property:

Microstraightness Property: For the graph of a differentiable function, any part of the curve with infinitesimal length is a straight line segment.

In other words, at the infinitesimal level differentiable curves are straight. The idea behind this is simple. At various points on a nonstraight differentiable curve \(y=f(x)\) the distances along the curve between the points are not quite the same as the lengths of the line segments joining the points. For example, in Figure 1.3.1 the distance \(s\) measured along the curve from the point \(A\) to the point \(B\) is not the same as the length of the line segment \(\overline{AB}\) joining \(A\) to \(B\).

tikzpicture[>=latex,every node/.style=font=] [<->,black!60,line width=1pt] (-0.5,2.3) node[above] y |- (4.5,-0.5) node[right] x; [linecolor,line width=1.5pt] (0,0) .. controls (1,2) and (3.5,-2) .. (4,2) node[inner sep=0pt,outer sep=0pt,shape=coordinate,pos=0.05](A) node[inner sep=0pt,outer sep=0pt,shape=coordinate,pos=0.35](B) node[inner sep=0pt,outer sep=0pt,shape=coordinate,pos=0.70](C) node[inner sep=0pt,outer sep=0pt,shape=coordinate,pos=0.80](s) node[inner sep=0pt,outer sep=0pt,shape=coordinate,pos=0.92](D) ; [red] (A) -- (B) -- (C) -- (D) node[black,pos=0.6,left] AB; [below] at (C) A; [right] at (D) B; [left] at (4,2) y=f(x); [right] at (s) s; [->,line width=1pt] (5.2,0.6) -- (7,0.6) node[above,midway] magnify; [linecolor,line width=1.5pt] (8,0) parabola (9.5,2); [below right] at (9,1) s; [red] (8,0) -- (9.5,2) node[black,midway,left] AB; [below] at (8,0) A; [right] at (9.5,2) B; tikzpicture

Figure 1.3.1Curved real-valued distance \(s \ne\) length of \(\overline{AB}\), but infinitesimal \(s =\) length of \(\overline{AB}\)

However, as the points \(A\) and \(B\) get closer to each other, the difference between that part of the curve joining \(A\) to \(B\) and the line segment \(\overline{AB}\) becomes less noticeable. That is, the curve is almost linear when \(A\) and \(B\) are close. The Microstraightness Property simply goes one step further and says that the curve actually is linear when the distance \(s\) between the points is infinitesimal (so that \(s\) equals the length of \(\overline{AB}\) at the infinitesimal level).

At first this might seem nonsensical. After all, how could any nonstraight part of a curve be straight? You have to remember that an infinitesimal is an abstraction—it does not exist physically. A curve \(y=f(x)\) is also an abstraction, which exists in a purely mathematical sense, so its geometric properties at the “normal” scale do not have to match those at the infinitesimal scale (which can be defined in any way, provided the properties at that scale are consistent).

[r]tikzpicture[>=latex,every node/.style=font=] [<->,black!60,line width=1pt,anchor=base] (0,1.5) node[above] y |- (3,0) node[right] x node[black,shift=(0,-0.4)] at (1.2,0) x node[black,shift=(0,-0.4)] at (2.3,0) x+ ; [dashed] (1.2,0.5) -- (2.2,0.5) -- (2.2,1.2); [linecolor,line width=1.5pt] (1.2,0.5) -- (2.2,1.2) node[black,midway,above left] y=f(x); [below] at (1.7,0.5) ; [right] at (2.2,0.85) ; [black!60] (1.2,-0.1) -- (1.2,0.1); [black!60] (2.2,-0.1) -- (2.2,0.1); tikzpicture This abstraction finally reveals what an instantaneous rate of change is: the average rate of change over an infinitesimal interval. Moving an infinitesimal amount \(\dx\) away from a value \(x\) produces an infinitesimal change \(\dy\) in a differentiable function \(y=f(x)\). The average rate of change of \(y=f(x)\) over the infinitesimal interval \(\ival{x}{x+\dx}\) is thus \(\dydx\), i.e. the slope—rise over run—of the straight line segment represented by the curve \(y=f(x)\) over that interval, as in the figure on the right.[6] The Microstraightness Property can be extended to smooth curves—that is, curves without sharp edges or cusps. For example, circles and ellipses are smooth, but polygons are not.

The properties of infinitesimals can be applied to determine the derivatives of the sine and cosine functions. Consider a circle of radius 1 with center \(O\) and points \(A\) and \(B\) on the circle such that the line segment \(\overline{AB}\) is a diameter. Let \(C\) be a point on the circle such that the angle \(\angle\,BAC\) has an infinitesimal measure \(\dx\) (in radians) as in Figure 1.3.2(a).

tikzpicture[scale=0.85,every node/.style=font=] [fill=fillcolor] (-2,0) -- (2,0) -- (70:2) -- (-2,0); [shift=(70:2)] (215:0.25) -- ++(305:0.25) -- ++(35:0.25); [linecolor,line width=1.5pt] (-2,0) -- (2,0) -- (70:2) -- (-2,0); [line width=1pt] (0,0) circle (2); [left] at (-2,0) A; [right] at (2,0) B; [above] at (70:2) C; [below] at (0,0) O; at (-1.26,0.24) ; [below] at (1,0) 1; [below] at (-1,0) 1; (-2,0) circle (2.5pt); (2,0) circle (2.5pt); (70:2) circle (2.5pt); (0,0) circle (2.5pt); tikzpicture

tikzpicture[scale=0.85,every node/.style=font=] [linecolor,fill=fillcolor,line width=1.5pt] (-2,0) -- (2,0) -- (70:2) -- (-2,0); [line width=1pt] (0,0) circle (2); [line width=1pt] (0,0) -- (70:2); [left] at (-2,0) A; [right] at (2,0) B; [above] at (70:2) C; [below] at (0,0) O; at (-1.26,0.24) ; at (0.55,0.24) 2 ; [below] at (1,0) 1; [below] at (-1,0) 1; [right] at (35:2.2) s = BC = 2 ; [white,left] at (145:2.2) s = BC = 2 ; (-2,0) circle (2.5pt); (2,0) circle (2.5pt); (70:2) circle (2.5pt); (0,0) circle (2.5pt); tikzpicture

Figure 1.3.2Circle \(O\): \(BC=2\sin\,\dx\), \(\angle\,BOC = 2\,\angle\,BAC\)

By Thales’ Theorem from elementary geometry, the angle \(\angle\,ACB\) is a right angle. Thus:

\[\sin\,\dx ~=~ \frac{BC}{AB} ~=~ \frac{BC}{2} \quad\Rightarrow\quad BC ~=~ 2\sin\,\dx\]

Figure 1.3.2(b) shows that \(\angle\,OAC + \angle\,OCA + \angle\,AOC = \pi\). Thus, \(1=OC=OA \Rightarrow \angle\,OCA = \angle\,OAC = \dx \Rightarrow \angle\,AOC = \pi-\dx-\dx = \pi-2\dx \Rightarrow \angle\,BOC = 2\dx\). By the arc length formula from trigonometry, the length \(s\) of the arc \(\wideparen{BC}\) along the circle from \(B\) to \(C\) is the radius times the central angle \(\angle\,BOC\): \(s = \wideparen{BC} = 1 \cdot 2\dx = 2\dx\). But by Microstraightness, \(\wideparen{BC} = BC\), and thus:

\[2\sin\,\dx ~=~ BC ~=~ \wideparen{BC} ~=~ 2\dx \quad\Rightarrow\quad \boxed{\sin\,\dx ~=~ \dx}\]

Since \(\dx\) is an infinitesimal, \(( \dx )^2 = 0\). So since \(\sin^2 \,\dx + \cos^2 \,\dx = 1\), then:

\[\cos^2 \,\dx ~=~ 1 ~-~ \sin^2 \,\dx ~=~ 1 ~-~ ( \dx )^2 ~=~ 1 ~-~ 0 ~=~ 1 \quad\Rightarrow\quad \boxed{\cos\,\dx ~=~ 1}\]

The derivative of \(y=\sin\,x\) is then:

\begin{align*} \ddx \,(\sin\,x) ~&=~ \dydx ~=~ \frac{\sin\,(x+\dx) ~-~ \sin\,x}{\dx}\\[4pt] &=~ \frac{(\sin\,x\;\cos\,\dx ~+~ \sin\,\dx\;\cos\,x) ~-~ \sin\,x}{\dx} \quad \text{by the sine addition formula}\\[4pt] &=~ \frac{\cancel{(\sin\,x)\;(1)} ~+~ \dx\;\cos\,x ~-~ \cancel{\sin\,x}}{\dx} ~=~ \frac{\cancel{\dx}\;\cos\,x}{\cancel{\dx}} \quad\text{, and thus:} \end{align*}
\[\boxed{\ddx \,(\sin\,x) ~=~ \cos\,x}\]

A similar argument (left as an exercise) using the cosine addition formula shows:

\[\boxed{\ddx \,(\cos\,x) ~=~ -\sin\,x}\]

One of the intermediate results proved here bears closer examination. Namely, \(\sin\,\dx = \dx\) for an infinitesimal angle \(\dx\) measured in radians. At first, it might seem that this cannot be true. After all, an infinitesimal \(\dx\) is thought of as being infinitely close to 0, and \(\sin\,0 = 0\), so you might expect that \(\sin\,\dx = 0\). But this is not the case. The formula \(\sin\,\dx = \dx\) says that in an infinitesimal interval around 0, the function \(y=\sin\,x\) is identical to the line \(y=x\) (not the line \(y=0\)). This, in turn, suggests that for real-valued \(x\) close to \(0\), \(\sin\,x \approx x\).

This indeed turns out to be the case. The free graphing software Gnuplot[7] can display the graphs of \(y=\sin\,x\) and \(y=x\). Figure 1.3.3(a) below shows how those graphs compare over the interval \(\ival{-\pi}{\pi}\). Outside the interval \(\ival{-1}{1}\) there is a noticeable difference.

sindxglobal

sindxlocal

Figure 1.3.3\(\sin\,\dx = \dx\): Comparing \(y=\sin\,x\) and \(y=x\) near \(x=0\)

Figure 1.3.3(b) shows that there is virtually no difference in the graphs even over the non-infinitesimal interval \(\ival{-0.3}{0.3}\). So \(\sin\,x \approx x\) is a good approximation when \(x\) is close to 0, that is, when \(\abs{x} \ll 1\) (the symbol \(\ll\) means “much less than”). This approximation is used in many applications in engineering and physics when the angle \(x\) is assumed to be small.

Notice something else suggested by the relation \(\sin\,\dx = \dx\): there is a fundamental difference at the infinitesimal level between a line of slope 1 (\(y=x\)) and a line of slope 0 (\(y=0\)). In a real interval \((-a,a)\) around \(x=0\) the difference between the two lines can be made as small as desired by choosing \(a>0\) small enough. But in an infinitesimal interval \((-\delta,\delta)\) around \(x=0\) there is unbridgeable gulf between the two lines. This is the crucial difference in \(\sin\,\dx\) being equal to \(\dx\) rather than 0.

Notice also that the value of a function at an infinitesimal may itself be an infinitesimal (e.g. \(\sin\,\dx = \dx\)) or a real number (e.g. \(\cos\,\dx = 1\)).

For a differentiable function \(f(x)\), \(\dfdx = f'(x)\) and so multiplying both sides by \(\dx\) yields the important relation:

Theorem 1.3

\begin{equation} \df ~=~ f'(x)\;\dx \tag{1.9}\end{equation}

Note that both sides of the above equation are infinitesimals for each value of \(x\) in the domain of \(f'\), since \(f'(x)\) would then be a real number.

The notion of an infinitesimal was fairly radical at the time (and still is). Some mathematicians embraced it, e.g. the outstanding Swiss mathematician Leonhard Euler (1707-1783), who produced a large amount of work using infinitesimals. But it was too radical for many mathematicians (and philosophers[8]), enough so that by the 19th century some mathematicians (notably Augustin Cauchy and Karl Weierstrass) felt the need to put calculus on what they considered a more “rigorous” footing, based on limits.[9] Yet it was precisely the notion of an infinitesimal which lent calculus its modern character, by showing the power and usefulness of such an abstraction (especially one that did not obey the rules of classical mathematics).


Exercises

A

For Exercises 1-9, let \(\dx\) be an infinitesimal and prove the given formula.

3

  1. \((\dx \;+\; 1)^2 ~=~ 2\dx \;+\; 1\)

  2. \((\dx \;+\; 1)^3 ~=~ 3\dx \;+\; 1\)

  3. \((\dx \;+\; 1)^{-1} ~=~ 1 \;-\; \dx\)

    3

  4. \(\tan\,\dx ~=~ \dx\)

  5. \(\sin\,2\dx ~=~ 2\dx\)

  6. \(\cos\,2\dx ~=~ 1\)

    3

  7. \(\sin\,3\dx ~=~ 3\dx\)

  8. \(\cos\,3\dx ~=~ 1\)

  9. \(\sin\,4\dx ~=~ 4\dx\)

  10. Is \(\cot\,\dx\) defined for an infinitesimal \(\dx\)? If so, then find its value. If not, then explain why.

  11. In the proof of the derivative formulas for \(\sin\, x\) and \(\cos\, x\), the equation \(\cos^2\,\dx = 1\) was solved to give \(\cos\,\dx\ = 1\). Why was the other possible solution \(\cos\,\dx\ = -1\) ignored?

B

  1. Show that \(\ddx \,(\cos\,x) ~=~ -\sin\,x\).

  2. Show that \(\ddx \,(\cos\,2x) ~=~ -2\,\sin\,2x\). (Hint: Use Exercises 5 and 6.)

C

  1. Show that \(\ddx \,(\tan\,x) ~=~ \sec^2 \,x\). (Hint: Use Exercise 4.)


  1. It was Leibniz who created the notation \(\dydx\). For this reason \(\dydx\) is called the Leibniz notation for the derivative. Newton used the dot notation \(\dot{y}\), which has fallen out of favor with mathematicians but is still used by many physicists, especially when the independent variable represents time. Newton called derivatives fluxions. The prime notation \(f'\) is due to the French mathematician and physicist Joseph Louis Lagrange (1736-1813).
  2. Bell, J.L., A Primer of Infinitesimal Analysis, Cambridge, U.K.: Cambridge University Press, 1998.
  3. In an equivalent treatment, infinitesimals are part of the hyperreal number system. See Keisler, H.J., Elementary Calculus: An Infinitesimal Approach, Boston: Prindle, Weber & Schmidt, 1976.
  4. The infinitesimal approach was first developed in an axiomatic manner in the landmark book Robinson, A., Non-Standard Analysis, Amsterdam: North-Holland, 1966. Robinson showed that for all practical purposes calculus can be developed without resorting to limits, with equivalent results.
  5. Calculators do this for display reasons—most can show only 10-12 digits. Try this experiment on your calculator: Add \(10^{30}\), \(-\left(10^{30}\right)\), and 1 in two different ways: \(\left(10^{30} + -\left(10^{30}\right)\right) + 1\), and \(10^{30} + \left(-\left(10^{30}\right) + 1\right)\). The first way will give you the correct answer 1, but the second way yields 0. So addition is not always associative on calculators!
  6. Notice that the figure implies that the Pythagorean Theorem does not apply to infinitesimal triangles. This will be discussed in Chapter 8.
  7. Available at http://www.gnuplot.info.
  8. The English philosopher George Berkeley (1685-1753) famously derided infinitesimals as “the ghosts of departed quantities” in his book The Analyst (1734), which had the disquieting subtitle “A Discourse Addressed to an Infidel Mathematician” (directed at Newton).
  9. However, the limit approach turns out, ultimately, to be equivalent to the infinitesimal approach. In essence, only the terminology is different.