We have defined the derivative of \(y=f(x)\) as the limit of \(\dfrac{\Delta y}{\Delta x}\) and we have denoted the derivative by \(f'(x)\) or \(\dfrac{dy}{dx}\). The fractional form of \(dy/dx\) has been suggesting that it is the limit of a fraction. So far we have made no attempt to treat \(dy/dx\) as a fraction. In this section, we define \(dx\) and \(dy\) as separate quantities such that their ratio, when \(dx\neq0\), will be \(f'(x)\).
The differential of \(f\) is a function of two independent variables \(x\) and \(dx\) and its value is \(f'(x)dx\): \[df(x,dx)=f'(x)dx.\] It is customary to represent the value of the differential of \(f\) for assigned values of \(x\) and \(dx\) by \(dy\): \[dy=f'(x)dx.\tag{i}\] \(dy\) is called the differential of \(y\). We may also simply write \(df=f'(x)dx\).
- Similar to \(\Delta x\) and \(\Delta y\), \(dx\) and \(dy\) are single entities, not the product of \(d\) and \(x\) or \(d\) and \(y\).
- If \(dx=0\), then it follows from Formula (i) that \(dy=0\).
- If \(dx\neq0\), then we can divide (i) by \(dx\) and obtain \[\frac{dy}{dx}=\frac{\text{differential of }y\text{ in terms of }x\text{ and }dx}{\text{differential of }x}=\frac{f'(x)dx}{dx}=f'(x).\tag{ii}\] Therefore, following the present definition of the differentials \(dx\) and \(dy\), the derivative \(dy/dx=f'(x)\) can be regarded as the ordinary quotient of \(dy\) and \(dx\). This result is, however, not surprising, because we planned to define \(dy\) such that (ii) would be true.
- We should emphasize that \(dx\) and \(dy\) are NOT the limits of \(\Delta x\) and \(\Delta y\) as \(\Delta x\to0\), because the limits of \(\Delta x\) and \(\Delta y\) are both zero.
Geometric Interpretation and Linear Approximation
For a fixed value of \(x\), say \(x=x_{0}\), \(dy\) is a dependent variable whose value is proportional to the independent variable \(dx\). The proportionality coefficient is \(f'(x_{0})\). Let us introduce a new rectangular coordinate system whose axes are labeled \(dx\) and \(dy\). In this coordinate system, the graph of the linear function given by \(dy=f'(x_{0})dx\) is a straight line with slope \(f'(x_{0})\) that passes through the origin (Figure 1(a)). If we place the origin of the \(dx\)–\(dy\) coordinate system at \(\left(x_{0},f(x_{0})\right)\) (see Figure 1(b)), the graph of \(dy=f'(x_{0})dx\) will coincide with the tangent line to the curve \(y=f(x)\) at \(\left(x_{0},f(x_{0})\right)\). In other words, the graph of the linear approximation \(y=f(x_{0})+f'(x_{0})(x-x_{0})\) in the \(xy\)-plane becomes the graph of the linear function \(dy=f'(x_{0})dx\) in the \(dx\)–\(dy\) plane.
Figure 1. (a) The graph of the function \(dy=f'(x_{0})dx\) is a line with slope \(f'(x_{0})\) passing through the origin in the \(dx\)–\(dy\) coordinate system. (b) If the \(dx\)–\(dy\) origin coincides with the point \(\left(x_{0},f(x_{0})\right)\) and the \(dx\) and \(dy\) axes are parallel to the \(x\) and \(y\) axes, respectively, the graph of \(dy=f'(x_{0})dx\) in the \(dx\)–\(dy\) plane coincides with the tangent line to the curve \(y=f(x)\) at \(\left(x_{0},f(x_{0})\right)\).
- A difference between \(\Delta x\) and \(dx\) is worth mentioning. The change in \(x\) (or the increment of \(x\)), \(\Delta x\), has to be so small such that \(x_{0}+\Delta x\) will lie in the domain of \(f\); however, \(dx\) can be any real number, because the domain of the linear function \(dy=f'(x_{0})dx\) is the entire set of real numbers \(\mathbb{R}\).
Notice that \(dx\) and \(dy\) are not technically “infinitely small” quantities or “infinitesimals.” \(dx\) can be any number, and for a large value of \(dx\), \(dy\) can be numerically very large too. However, in many applications, it is often useful to think of differentials as very small quantities. There are several good reasons for this way of thinking of differentials. One such reason is related to linear approximation. If \(\Delta x\) is small and \(dx=\Delta x\), then \(dy\) is a good approximation for \(\Delta y\) (see Figure 2): \[\Delta y\approx dy\] or \[\underbrace{f(x_{0}+dx)-f(x_{0})}_{\Delta y}\approx\underbrace{f'(x_{0})dx.}_{dy}\] This is exactly the linear approximation of \(f\) (that we learned in the previous section) using the notation of differentials.
If the true value of a quantity is \(Q_{t}\) and the approximated value of the quantity (from a measurement or calculation) is \(Q_{a}\) then \[\text{true error}=\left|Q_{t}-Q_{a}\right|=\left|\Delta Q\right|\]
\[\text{relative error}=\frac{\text{true error}}{\text{true value}}=\left|\frac{\Delta Q}{Q_{t}}\right|\] \[\text{percentage relative error}=\left|\frac{\Delta Q}{Q_{t}}\right|\times100\] If \(\Delta Q\) is approximated by \(dQ\), then the relative error is approximated by \(|dQ/Q|\).
Properties of Differentials
Since the differential of a function is the derivative of the function multiplied by the differential of the independent variable, we may multiply both sides of the familiar formulas for finding derivatives by \(dx\) (or the differential of the independent variable) and obtain the corresponding formulas for finding differentials.
For example, if \(u=f(x)\) and \(v=g(x)\), the equivalent of the Sum Rule \[\frac{d}{dx}(u+v)=\frac{du}{dx}+\frac{dv}{dx},\] in the notation of differentials is \[d(u+v)=du+dv.\]
Derivative Formula | Differential Formula |
---|---|
\(\dfrac{d}{dx}c=0\quad\) (\(c\) is a constant) | \(dc=0\) |
\(\dfrac{d}{dx}(cu)=c\dfrac{du}{dx}\) | \(d(cu)=cdu\) |
\(\dfrac{d}{dx}(u+v)=\dfrac{du}{dx}+\dfrac{dv}{dx}\) | \(d(u+v)=du+dv\) |
\(\dfrac{d}{dx}(uv)=u\dfrac{dv}{dx}+v\dfrac{du}{dx}\) | \(d(uv)=udv+vdu\) |
\(\dfrac{d}{dx}\left(\dfrac{u}{v}\right)=\dfrac{v\dfrac{du}{dx}-u\dfrac{dv}{dx}}{v^{2}}\) | \(d\left(\dfrac{u}{v}\right)=\dfrac{vdu-udv}{v^{2}}\) |
\(\dfrac{d}{dx}(x^{r})=rx^{r-1}\quad(r\in\mathbb{R})\) | \(d(x^{r})=rx^{r-1}dx\) |
\(\dfrac{d}{dx}\sin u=\cos u\dfrac{du}{dx}\) | \(d(\sin u)=\cos u\ du\) |
\(\dfrac{d}{dx}\tan u=\sec^{2}u\dfrac{du}{dx}\) | \(d(\tan u)=\sec^{2}u\ du\) |
\(\dfrac{d}{du}\arcsin u=\dfrac{1}{\sqrt{1-u^{2}}}\) | \(d(\arcsin u)=\dfrac{du}{\sqrt{1-u^{2}}}\) |
The Invariance of the Form of the Differential
Let \(y=f(x)\). Assume that \(x\) is not an independent variable, but \(x\) itself is a function of \(t\). Let \(x=g(t)\). Then \[y=f(g(t))=h(t).\] If \(f,g,\) and \(h\) are differentiable functions, then \(dt\) is a new independent variable with the range \((-\infty<dt<+\infty)\), and \(dx\) and \(dy\) in terms of \(t\) and \(dt\) are \[\begin{aligned} x=g(t)\quad & \Rightarrow\quad dx=g'(t)dt\\ y=h(t)\quad & \Rightarrow\quad dy=h'(t)dt\end{aligned}\] It follows from the Chain Rule that \[\frac{dy}{dt}=h'(t)=f'(g(t))g'(t).\] Therefore, \[\begin{aligned} dy & =h'(t)dt\\ & =f'(\underbrace{g(t)}_{x})\underbrace{g'(t)dt}_{dx}\\ & =f'(x)dx.\end{aligned}\] This shows that if \(y=f(x)\), then \[dy=f'(x)dx,\] whether or not \(x\) is the independent variable. For example, if \(y=\sin\sqrt{x}\), there are two ways to find \(dy\). Read the explanation
Hide the explanation
Method 1: Suppose \(x\) is the independent variable. Then \[\begin{aligned} dy & =\left(\dfrac{d}{dx}\sin\sqrt{x}\right)dx\\ & \begin{equation*}=(\cos\sqrt{x})\dfrac{d\sqrt{x}}{dx}dx\tag{by Chain Rule}\end{equation*} \\ & =(\cos\sqrt{x})\frac{1}{2\sqrt{x}}dx.\end{aligned}\] Method 2: Suppose \(u\) is the independent variable where \(u=\sqrt{x}\). Then \[\begin{aligned} dy & =\cos u\ du\\ & =\cos\sqrt{x}\ d(\sqrt{x})\quad{u=\sqrt{x},}\end{aligned}\] but \[du=d(\sqrt{x})=\frac{1}{2\sqrt{x}}dx.\] Therefore, \[dy=\cos\sqrt{x}\underbrace{\left(\frac{1}{2\sqrt{x}}dx\right)}_{d(\sqrt{x})},\] and the results of both methods are the same.
The Chain Rule and The Derivative Rule for Inverses Are NOT Algebraic Identities
Read the explanation
Hide the explanation