Part of a series of articles about |
Calculus |
---|
The derivative is a fundamental tool of calculus that quantifies the sensitivity of change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is the slope of the tangent line to the graph of the function at that point. The tangent line is the best linear approximation of the function near that input value. For this reason, the derivative is often described as the instantaneous rate of change, the ratio of the instantaneous change in the dependent variable to that of the independent variable.[1] The process of finding a derivative is called differentiation.
There are multiple different notations for differentiation, two of the most commonly used being Leibniz notation and prime notation. Leibniz notation, named after Gottfried Wilhelm Leibniz, is represented as the ratio of two differentials, whereas prime notation is written by adding a prime mark. Higher order notations represent repeated differentiation, and they are usually denoted in Leibniz notation by adding superscripts to the differentials, and in prime notation by adding additional prime marks. The higher order derivatives can be applied in physics; for example, while the first derivative of the position of a moving object with respect to time is the object's velocity, how the position changes as time advances, the second derivative is the object's acceleration, how the velocity changes as time advances.
Derivatives can be generalized to functions of several real variables. In this generalization, the derivative is reinterpreted as a linear transformation whose graph is (after an appropriate translation) the best linear approximation to the graph of the original function. The Jacobian matrix is the matrix that represents this linear transformation with respect to the basis given by the choice of independent and dependent variables. It can be calculated in terms of the partial derivatives with respect to the independent variables. For a real-valued function of several variables, the Jacobian matrix reduces to the gradient vector.
A function of a real variable [math]\displaystyle{ f(x) }[/math] is differentiable at a point [math]\displaystyle{ a }[/math] of its domain, if its domain contains an open interval containing [math]\displaystyle{ a }[/math], and the limit [math]\displaystyle{ L=\lim_{h \to 0}\frac{f(a+h)-f(a)}h }[/math] exists.({{{1}}}, {{{2}}}) This means that, for every positive real number [math]\displaystyle{ \varepsilon }[/math] (even very small), there exists a positive real number [math]\displaystyle{ \delta }[/math] such that, for every [math]\displaystyle{ h }[/math] such that [math]\displaystyle{ |h| \lt \delta }[/math] and [math]\displaystyle{ h\ne 0 }[/math] then [math]\displaystyle{ f(a+h) }[/math] is defined, and [math]\displaystyle{ \left|L-\frac{f(a+h)-f(a)}h\right|\lt \varepsilon, }[/math] where the vertical bars denote the absolute value. This is an example of the (ε, δ)-definition of limit.[2]
If the function [math]\displaystyle{ f }[/math] is differentiable at [math]\displaystyle{ a }[/math], that is if the limit [math]\displaystyle{ L }[/math] exists, then this limit is called the derivative of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ a }[/math]. Multiple notations for the derivative exist.({{{1}}}, {{{2}}}) The derivative of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ a }[/math] can be denoted [math]\displaystyle{ f'(a) }[/math], read as "[math]\displaystyle{ f }[/math] prime of [math]\displaystyle{ a }[/math]"; or it can be denoted [math]\displaystyle{ \frac{df}{dx}(a) }[/math], read as "the derivative of [math]\displaystyle{ f }[/math] with respect to [math]\displaystyle{ x }[/math] at [math]\displaystyle{ a }[/math]" or "[math]\displaystyle{ df }[/math] by (or over) [math]\displaystyle{ dx }[/math] at [math]\displaystyle{ a }[/math]". See § Notation below. If [math]\displaystyle{ f }[/math] is a function that has a derivative at every point in its domain, then a function can be defined by mapping every point [math]\displaystyle{ x }[/math] to the value of the derivative of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ x }[/math]. This function is written [math]\displaystyle{ f' }[/math] and is called the derivative function or the derivative of [math]\displaystyle{ f }[/math]. The function [math]\displaystyle{ f }[/math] sometimes has a derivative at most, but not all, points of its domain. The function whose value at [math]\displaystyle{ a }[/math] equals [math]\displaystyle{ f'(a) }[/math] whenever [math]\displaystyle{ f'(a) }[/math] is defined and elsewhere is undefined is also called the derivative of [math]\displaystyle{ f }[/math]. It is still a function, but its domain may be smaller than the domain of [math]\displaystyle{ f }[/math].({{{1}}}, {{{2}}})
For example, let [math]\displaystyle{ f }[/math] be the squaring function: [math]\displaystyle{ f(x) = x^2 }[/math]. Then the quotient in the definition of the derivative is[3] [math]\displaystyle{ \frac{f(a+h) - f(a)}{h} = \frac{(a+h)^2 - a^2}{h} = \frac{a^2 + 2ah + h^2 - a^2}{h} = 2a + h. }[/math] The division in the last step is valid as long as [math]\displaystyle{ h \neq 0 }[/math]. The closer [math]\displaystyle{ h }[/math] is to [math]\displaystyle{ 0 }[/math], the closer this expression becomes to the value [math]\displaystyle{ 2a }[/math]. The limit exists, and for every input [math]\displaystyle{ a }[/math] the limit is [math]\displaystyle{ 2a }[/math]. So, the derivative of the squaring function is the doubling function: [math]\displaystyle{ f'(x) = 2x }[/math].
The ratio in the definition of the derivative is the slope of the line through two points on the graph of the function [math]\displaystyle{ f }[/math], specifically the points [math]\displaystyle{ (a,f(a)) }[/math] and [math]\displaystyle{ (a+h, f(a+h)) }[/math]. As [math]\displaystyle{ h }[/math] is made smaller, these points grow closer together, and the slope of this line approaches the limiting value, the slope of the tangent to the graph of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ a }[/math]. In other words, the derivative is the slope of the tangent.({{{1}}}, {{{2}}})
One way to think of the derivative [math]\displaystyle{ \frac{df}{dx}(a) }[/math] is as the ratio of an infinitesimal change in the output of the function [math]\displaystyle{ f }[/math] to an infinitesimal change in its input.[4] In order to make this intuition rigorous, a system of rules for manipulating infinitesimal quantities is required.[5] The system of hyperreal numbers is a way of treating infinite and infinitesimal quantities. The hyperreals are an extension of the real numbers that contain numbers greater than anything of the form [math]\displaystyle{ 1 + 1 + \cdots + 1 }[/math] for any finite number of terms. Such numbers are infinite, and their reciprocals are infinitesimals. The application of hyperreal numbers to the foundations of calculus is called nonstandard analysis. This provides a way to define the basic concepts of calculus such as the derivative and integral in terms of infinitesimals, thereby giving a precise meaning to the [math]\displaystyle{ d }[/math] in the Leibniz notation. Thus, the derivative of [math]\displaystyle{ f(x) }[/math] becomes [math]\displaystyle{ f'(x) = \operatorname{st}\left( \frac{f(x + dx) - f(x)}{dx} \right) }[/math] for an arbitrary infinitesimal [math]\displaystyle{ dx }[/math], where [math]\displaystyle{ \operatorname{st} }[/math] denotes the standard part function, which "rounds off" each finite hyperreal to the nearest real.({{{1}}}, {{{2}}}) Taking the squaring function [math]\displaystyle{ f(x) = x^2 }[/math] as an example again, [math]\displaystyle{ \begin{align} f'(x) &= \operatorname{st}\left(\frac{x^2 + 2x \cdot dx + (dx)^2 -x^2}{dx}\right) \\ &= \operatorname{st}\left(\frac{2x \cdot dx + (dx)^2}{dx}\right) \\ &= \operatorname{st}\left(\frac{2x \cdot dx}{dx} + \frac{(dx)^2}{dx}\right) \\ &= \operatorname{st}\left(2x + dx\right) \\ &= 2x. \end{align} }[/math]
If [math]\displaystyle{ f }[/math] is differentiable at [math]\displaystyle{ a }[/math], then [math]\displaystyle{ f }[/math] must also be continuous at [math]\displaystyle{ a }[/math].[6] As an example, choose a point [math]\displaystyle{ a }[/math] and let [math]\displaystyle{ f }[/math] be the step function that returns the value 1 for all [math]\displaystyle{ x }[/math] less than [math]\displaystyle{ a }[/math], and returns a different value 10 for all [math]\displaystyle{ x }[/math] greater than or equal to [math]\displaystyle{ a }[/math]. The function [math]\displaystyle{ f }[/math] cannot have a derivative at [math]\displaystyle{ a }[/math]. If [math]\displaystyle{ h }[/math] is negative, then [math]\displaystyle{ a + h }[/math] is on the low part of the step, so the secant line from [math]\displaystyle{ a }[/math] to [math]\displaystyle{ a + h }[/math] is very steep; as [math]\displaystyle{ h }[/math] tends to zero, the slope tends to infinity. If [math]\displaystyle{ h }[/math] is positive, then [math]\displaystyle{ a + h }[/math] is on the high part of the step, so the secant line from [math]\displaystyle{ a }[/math] to [math]\displaystyle{ a + h }[/math] has slope zero. Consequently, the secant lines do not approach any single slope, so the limit of the difference quotient does not exist. However, even if a function is continuous at a point, it may not be differentiable there. For example, the absolute value function given by [math]\displaystyle{ f(x) = |x| }[/math] is continuous at [math]\displaystyle{ x = 0 }[/math], but it is not differentiable there. If [math]\displaystyle{ h }[/math] is positive, then the slope of the secant line from 0 to [math]\displaystyle{ h }[/math] is one; if [math]\displaystyle{ h }[/math] is negative, then the slope of the secant line from [math]\displaystyle{ 0 }[/math] to [math]\displaystyle{ h }[/math] is [math]\displaystyle{ -1 }[/math].[7] This can be seen graphically as a "kink" or a "cusp" in the graph at [math]\displaystyle{ x=0 }[/math]. Even a function with a smooth graph is not differentiable at a point where its tangent is vertical: For instance, the function given by [math]\displaystyle{ f(x) = x^{1/3} }[/math] is not differentiable at [math]\displaystyle{ x = 0 }[/math]. In summary, a function that has a derivative is continuous, but there are continuous functions that do not have a derivative.[6]
Most functions that occur in practice have derivatives at all points or almost every point. Early in the history of calculus, many mathematicians assumed that a continuous function was differentiable at most points.({{{1}}}, {{{2}}}) Under mild conditions (for example, if the function is a monotone or a Lipschitz function), this is true. However, in 1872, Weierstrass found the first example of a function that is continuous everywhere but differentiable nowhere. This example is now known as the Weierstrass function.[8] In 1931, Stefan Banach proved that the set of functions that have a derivative at some point is a meager set in the space of all continuous functions. Informally, this means that hardly any random continuous functions have a derivative at even one point.[9]
One common symbol for the derivative of a function is Leibniz notation. They are written as the quotient of two differentials [math]\displaystyle{ dy }[/math] and [math]\displaystyle{ dx }[/math],[10] which were introduced by Gottfried Wilhelm Leibniz in 1675.[11] It is still commonly used when the equation [math]\displaystyle{ y=f(x) }[/math] is viewed as a functional relationship between dependent and independent variables. The first derivative is denoted by [math]\displaystyle{ \frac{dy}{dx} }[/math], read as "the derivative of [math]\displaystyle{ y }[/math] with respect to [math]\displaystyle{ x }[/math]".[12] This derivative can alternately be treated as the application of a differential operator to a function, [math]\displaystyle{ \frac{dy}{dx} = \frac{d}{dx} f(x). }[/math] Higher derivatives are expressed using the notation [math]\displaystyle{ \frac{d^n y}{dx^n} }[/math] for the [math]\displaystyle{ n }[/math]-th derivative of [math]\displaystyle{ y = f(x) }[/math]. These are abbreviations for multiple applications of the derivative operator; for example, [math]\displaystyle{ \frac{d^2y}{dx^2} = \frac{d}{dx}\Bigl(\frac{d}{dx} f(x)\Bigr). }[/math][13] Unlike some alternatives, Leibniz notation involves explicit specification of the variable for differentiation, in the denominator, which removes ambiguity when working with multiple interrelated quantities. The derivative of a composed function can be expressed using the chain rule: if [math]\displaystyle{ u = g(x) }[/math] and [math]\displaystyle{ y = f(g(x)) }[/math] then [math]\displaystyle{ \frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}. }[/math][14]
Another common notation for differentiation is by using the prime mark in the symbol of a function [math]\displaystyle{ f(x) }[/math]. This is known as prime notation, due to the Joseph-Louis Lagrange.[15] The first derivative is written as [math]\displaystyle{ f'(x) }[/math], read as "[math]\displaystyle{ f }[/math] prime of [math]\displaystyle{ x }[/math]", or [math]\displaystyle{ y' }[/math], read as "[math]\displaystyle{ y }[/math] prime".({{{1}}}, {{{2}}}) Similarly, the second and the third derivatives can be written as [math]\displaystyle{ f'' }[/math] and [math]\displaystyle{ f''' }[/math], respectively.({{{1}}}, {{{2}}}) For denoting the number of higher derivatives beyond this point, some authors use Roman numerals in superscript, whereas others place the number in parentheses, such as [math]\displaystyle{ f^{\mathrm{iv}} }[/math] or [math]\displaystyle{ f^{(4)}. }[/math]({{{1}}}, {{{2}}}) The latter notation generalizes to yield the notation [math]\displaystyle{ f^{(n)} }[/math] for the [math]\displaystyle{ n }[/math]-th derivative of [math]\displaystyle{ f }[/math].[13]
In Newton's notation or the dot notation, a dot is placed over a symbol to represent a time derivative. If [math]\displaystyle{ y }[/math] is a function of [math]\displaystyle{ t }[/math], then the first and second derivatives can be written as [math]\displaystyle{ \dot{y} }[/math] and [math]\displaystyle{ \ddot{y} }[/math], respectively. This notation is used exclusively for derivatives with respect to time or arc length. It is typically used in differential equations in physics and differential geometry.({{{1}}}, {{{2}}}) However, the dot notation becomes unmanageable for high-order derivatives (of order 4 or more) and cannot deal with multiple independent variables.
Another notation is D-notation, which represents the differential operator by the symbol [math]\displaystyle{ D. }[/math][13] The first derivative is written [math]\displaystyle{ D f(x) }[/math] and higher derivatives are written with a superscript, so the [math]\displaystyle{ n }[/math]-th derivative is [math]\displaystyle{ D^nf(x). }[/math] This notation is sometimes called Euler notation, although it seems that Leonhard Euler did not use it, and the notation was introduced by Louis François Antoine Arbogast.[16] To indicate a partial derivative, the variable differentiated by is indicated with a subscript, for example given the function [math]\displaystyle{ u = f(x, y), }[/math] its partial derivative with respect to [math]\displaystyle{ x }[/math] can be written [math]\displaystyle{ D_x u }[/math] or [math]\displaystyle{ D_x f(x,y). }[/math] Higher partial derivatives can be indicated by superscripts or multiple subscripts, e.g. [math]\displaystyle{ D_{xy} f(x,y) = \frac{\partial}{\partial y} \Bigl(\frac{\partial}{\partial x} f(x,y) \Bigr) }[/math] and [math]\displaystyle{ D_{x}^2 f(x,y) = \frac{\partial}{\partial x} \Bigl(\frac{\partial}{\partial x} f(x,y) \Bigr) }[/math].({{{1}}}, {{{2}}})
In principle, the derivative of a function can be computed from the definition by considering the difference quotient and computing its limit. Once the derivatives of a few simple functions are known, the derivatives of other functions are more easily computed using rules for obtaining derivatives of more complicated functions from simpler ones. This process of finding a derivative is known as differentiation.[17]
The following are the rules for the derivatives of the most common basic functions. Here, [math]\displaystyle{ a }[/math] is a real number, and [math]\displaystyle{ e }[/math] is the mathematical constant approximately 2.71828.[18]
Given that the [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math] are the functions. The following are some of the most basic rules for deducing the derivative of functions from derivatives of basic functions.[19]
The derivative of the function given by [math]\displaystyle{ f(x) = x^4 + \sin \left(x^2\right) - \ln(x) e^x + 7 }[/math] is [math]\displaystyle{ \begin{align} f'(x) &= 4 x^{(4-1)}+ \frac{d\left(x^2\right)}{dx}\cos \left(x^2\right) - \frac{d\left(\ln {x}\right)}{dx} e^x - \ln(x) \frac{d\left(e^x\right)}{dx} + 0 \\ &= 4x^3 + 2x\cos \left(x^2\right) - \frac{1}{x} e^x - \ln(x) e^x. \end{align} }[/math] Here the second term was computed using the chain rule and the third term using the product rule. The known derivatives of the elementary functions [math]\displaystyle{ x^2 }[/math], [math]\displaystyle{ x^4 }[/math], [math]\displaystyle{ \sin (x) }[/math], [math]\displaystyle{ \ln (x) }[/math], and [math]\displaystyle{ \exp(x) = e^x }[/math], as well as the constant [math]\displaystyle{ 7 }[/math], were also used.
Higher order derivatives means that a function is differentiated repeatedly. Given that [math]\displaystyle{ f }[/math] is a differentiable function, the derivative of [math]\displaystyle{ f }[/math] is the first derivative, denoted as [math]\displaystyle{ f' }[/math]. The derivative of [math]\displaystyle{ f' }[/math] is the second derivative, denoted as [math]\displaystyle{ f'' }[/math], and the derivative of [math]\displaystyle{ f'' }[/math] is the third derivative, denoted as [math]\displaystyle{ f''' }[/math]. By continuing this process, if it exists, the [math]\displaystyle{ n }[/math]-th derivative as the derivative of the [math]\displaystyle{ (n - 1) }[/math]-th derivative or the derivative of order [math]\displaystyle{ n }[/math]. As has been discussed above, the generalization of derivative of a function [math]\displaystyle{ f }[/math] may be denoted as [math]\displaystyle{ f^{(n)} }[/math].({{{1}}}, {{{2}}}) A function that has [math]\displaystyle{ k }[/math] successive derivatives is called [math]\displaystyle{ k }[/math] times differentiable. If the [math]\displaystyle{ k }[/math]-th derivative is continuous, then the function is said to be of differentiability class [math]\displaystyle{ C^k }[/math].[20] A function that has infinitely many derivatives is called infinitely differentiable or smooth.[21] One example of the infinitely differentiable function is polynomial; differentiate this function repeatedly results the constant function, and the infinitely subsequent derivative of that function are all zero.[22]
In one of its applications, the higher-order derivatives may have specific interpretations in physics. Suppose that a function represents the position of an object at the time. The first derivative of that function is the velocity of an object with respect to time, the second derivative of the function is the acceleration of an object with respect to time,[17] and the third derivative is the jerk.[23]
A vector-valued function [math]\displaystyle{ \mathbf{y} }[/math] of a real variable sends real numbers to vectors in some vector space [math]\displaystyle{ \R^n }[/math]. A vector-valued function can be split up into its coordinate functions [math]\displaystyle{ y_1(t), y_2(t), \dots, y_n(t) }[/math], meaning that [math]\displaystyle{ \mathbf{y} = (y_1(t), y_2(t), \dots, y_n(t)) }[/math]. This includes, for example, parametric curves in [math]\displaystyle{ \R^2 }[/math] or [math]\displaystyle{ \R^3 }[/math]. The coordinate functions are real-valued functions, so the above definition of derivative applies to them. The derivative of [math]\displaystyle{ \mathbf{y}(t) }[/math] is defined to be the vector, called the tangent vector, whose coordinates are the derivatives of the coordinate functions. That is,[24] [math]\displaystyle{ \mathbf{y}'(t)=\lim_{h\to 0}\frac{\mathbf{y}(t+h) - \mathbf{y}(t)}{h}, }[/math] if the limit exists. The subtraction in the numerator is the subtraction of vectors, not scalars. If the derivative of [math]\displaystyle{ \mathbf{y} }[/math] exists for every value of [math]\displaystyle{ t }[/math], then [math]\displaystyle{ \mathbf{y} }[/math] is another vector-valued function.[24]
Functions can depend upon more than one variable. A partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant. Partial derivatives are used in vector calculus and differential geometry. As with ordinary derivatives, multiple notations exist: the partial derivative of a function [math]\displaystyle{ f(x, y, \dots) }[/math] with respect to the variable [math]\displaystyle{ x }[/math] is variously denoted by
among other possibilities.({{{1}}}, {{{2}}}) It can be thought of as the rate of change of the function in the [math]\displaystyle{ x }[/math]-direction.[25] Here ∂ is a rounded d called the partial derivative symbol. To distinguish it from the letter d, ∂ is sometimes pronounced "der", "del", or "partial" instead of "dee".({{{1}}}, {{{2}}}) For example, let [math]\displaystyle{ f(x,y) = x^2 + xy + y^2 }[/math], then the partial derivative of function [math]\displaystyle{ f }[/math] with respect to both variables [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] are, respectively: [math]\displaystyle{ \frac{\partial f}{\partial x} = 2x + y, \qquad \frac{\partial f}{\partial y} = x + 2y. }[/math] In general, the partial derivative of a function [math]\displaystyle{ f(x_1, \dots, x_n) }[/math] in the direction [math]\displaystyle{ x_i }[/math] at the point [math]\displaystyle{ (a_1, \dots, a_n) }[/math] is defined to be:[26] [math]\displaystyle{ \frac{\partial f}{\partial x_i}(a_1,\ldots,a_n) = \lim_{h \to 0}\frac{f(a_1,\ldots,a_i+h,\ldots,a_n) - f(a_1,\ldots,a_i,\ldots,a_n)}{h}. }[/math]
This is fundamental for the study of the functions of several real variables. Let [math]\displaystyle{ f(x_1, \dots, x_n) }[/math] be such a real-valued function. If all partial derivatives [math]\displaystyle{ f }[/math] with respect to [math]\displaystyle{ x_j }[/math] are defined at the point [math]\displaystyle{ (a_1, \dots, a_n) }[/math], these partial derivatives define the vector [math]\displaystyle{ \nabla f(a_1, \ldots, a_n) = \left(\frac{\partial f}{\partial x_1}(a_1, \ldots, a_n), \ldots, \frac{\partial f}{\partial x_n}(a_1, \ldots, a_n)\right), }[/math] which is called the gradient of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ a }[/math]. If [math]\displaystyle{ f }[/math] is differentiable at every point in some domain, then the gradient is a vector-valued function [math]\displaystyle{ \nabla f }[/math] that maps the point [math]\displaystyle{ (a_1, \dots, a_n) }[/math] to the vector [math]\displaystyle{ \nabla f(a_1, \dots, a_n) }[/math]. Consequently, the gradient determines a vector field.[27]
If [math]\displaystyle{ f }[/math] is a real-valued function on [math]\displaystyle{ \R^n }[/math], then the partial derivatives of [math]\displaystyle{ f }[/math] measure its variation in the direction of the coordinate axes. For example, if [math]\displaystyle{ f }[/math] is a function of [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math], then its partial derivatives measure the variation in [math]\displaystyle{ f }[/math] in the [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] direction. However, they do not directly measure the variation of [math]\displaystyle{ f }[/math] in any other direction, such as along the diagonal line [math]\displaystyle{ y = x }[/math]. These are measured using directional derivatives. Choose a vector [math]\displaystyle{ \mathbf{v} = (v_1,\ldots,v_n) }[/math], then the directional derivative of [math]\displaystyle{ f }[/math] in the direction of [math]\displaystyle{ \mathbf{v} }[/math] at the point [math]\displaystyle{ \mathbf{x} }[/math] is:[28] [math]\displaystyle{ D_{\mathbf{v}}{f}(\mathbf{x}) = \lim_{h \rightarrow 0}{\frac{f(\mathbf{x} + h\mathbf{v}) - f(\mathbf{x})}{h}}. }[/math]
If all the partial derivatives of [math]\displaystyle{ f }[/math] exist and are continuous at [math]\displaystyle{ \mathbf{x} }[/math], then they determine the directional derivative of [math]\displaystyle{ f }[/math] in the direction [math]\displaystyle{ \mathbf{v} }[/math] by the formula:[29] [math]\displaystyle{ D_{\mathbf{v}}{f}(\mathbf{x}) = \sum_{j=1}^n v_j \frac{\partial f}{\partial x_j}. }[/math]
When [math]\displaystyle{ f }[/math] is a function from an open subset of [math]\displaystyle{ \R^n }[/math] to [math]\displaystyle{ \R^m }[/math], then the directional derivative of [math]\displaystyle{ f }[/math] in a chosen direction is the best linear approximation to [math]\displaystyle{ f }[/math] at that point and in that direction. However, when [math]\displaystyle{ n \gt 1 }[/math], no single directional derivative can give a complete picture of the behavior of [math]\displaystyle{ f }[/math]. The total derivative gives a complete picture by considering all directions at once. That is, for any vector [math]\displaystyle{ \mathbf{v} }[/math] starting at [math]\displaystyle{ \mathbf{a} }[/math], the linear approximation formula holds:[30] [math]\displaystyle{ f(\mathbf{a} + \mathbf{v}) \approx f(\mathbf{a}) + f'(\mathbf{a})\mathbf{v}. }[/math] Similarly with the single-variable derivative, [math]\displaystyle{ f'(\mathbf{a}) }[/math] is chosen so that the error in this approximation is as small as possible. The total derivative of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ \mathbf{a} }[/math] is the unique linear transformation [math]\displaystyle{ f'(\mathbf{a}) \colon \R^n \to \R^m }[/math] such that[30] [math]\displaystyle{ \lim_{\mathbf{h}\to 0} \frac{\lVert f(\mathbf{a} + \mathbf{h}) - (f(\mathbf{a}) + f'(\mathbf{a})\mathbf{h})\rVert}{\lVert\mathbf{h}\rVert} = 0. }[/math] Here [math]\displaystyle{ \mathbf{h} }[/math] is a vector in [math]\displaystyle{ \R^n }[/math], so the norm in the denominator is the standard length on [math]\displaystyle{ \R^n }[/math]. However, [math]\displaystyle{ f'(\mathbf{a}) \mathbf{h} }[/math] is a vector in [math]\displaystyle{ \R^m }[/math], and the norm in the numerator is the standard length on [math]\displaystyle{ \R^m }[/math].[30] If [math]\displaystyle{ v }[/math] is a vector starting at [math]\displaystyle{ a }[/math], then [math]\displaystyle{ f'(\mathbf{a}) \mathbf{v} }[/math] is called the pushforward of [math]\displaystyle{ \mathbf{v} }[/math] by [math]\displaystyle{ f }[/math].[31]
If the total derivative exists at [math]\displaystyle{ \mathbf{a} }[/math], then all the partial derivatives and directional derivatives of [math]\displaystyle{ f }[/math] exist at [math]\displaystyle{ \mathbf{a} }[/math], and for all [math]\displaystyle{ \mathbf{v} }[/math], [math]\displaystyle{ f'(\mathbf{a})\mathbf{v} }[/math] is the directional derivative of [math]\displaystyle{ f }[/math] in the direction [math]\displaystyle{ \mathbf{v} }[/math]. If [math]\displaystyle{ f }[/math] is written using coordinate functions, so that [math]\displaystyle{ f = (f_1, f_2, \dots, f_m) }[/math], then the total derivative can be expressed using the partial derivatives as a matrix. This matrix is called the Jacobian matrix of [math]\displaystyle{ f }[/math] at [math]\displaystyle{ \mathbf{a} }[/math]:[32] [math]\displaystyle{ f'(\mathbf{a}) = \operatorname{Jac}_{\mathbf{a}} = \left(\frac{\partial f_i}{\partial x_j}\right)_{ij}. }[/math]
The concept of a derivative can be extended to many other settings. The common thread is that the derivative of a function at a point serves as a linear approximation of the function at that point.
Original source: https://en.wikipedia.org/wiki/Derivative.
Read more |