Derivative

From HandWiki - Reading time: 26 min

Short description: Instantaneous rate of change (mathematics)

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.

Definition

As a limit

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 graph of a function, drawn in black, and a tangent line to that graph, drawn in red. The slope of the tangent line is equal to the derivative of the function at the marked point.
The derivative at different points of a differentiable function. In this case, the derivative is equal to [math]\displaystyle{ \sin \left(x^2\right) + 2x^2 \cos\left(x^2\right) }[/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}}})

Using infinitesimals

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]

Continuity and differentiability

This function does not have a derivative at the marked point, as the function is not continuous there (specifically, it has a jump discontinuity).
The absolute value function is continuous but fails to be differentiable at x = 0 since the tangent slopes do not approach the same value from the left as they do from the right.

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]

Notation

Main page: Notation for differentiation

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}}})

Rules of computation

Main page: Differentiation rules

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]

Rules for basic functions

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]

  • Derivatives of powers:
    [math]\displaystyle{ \frac{d}{dx}x^a = ax^{a-1} }[/math]
  • Functions of exponential, natural logarithm, and logarithm with general base:
    [math]\displaystyle{ \frac{d}{dx}e^x = e^x }[/math]
    [math]\displaystyle{ \frac{d}{dx}a^x = a^x\ln(a) }[/math], for [math]\displaystyle{ a \gt 0 }[/math]
    [math]\displaystyle{ \frac{d}{dx}\ln(x) = \frac{1}{x} }[/math], for [math]\displaystyle{ x \gt 0 }[/math]
    [math]\displaystyle{ \frac{d}{dx}\log_a(x) = \frac{1}{x\ln(a)} }[/math], for [math]\displaystyle{ x, a \gt 0 }[/math]
  • Trigonometric functions:
    [math]\displaystyle{ \frac{d}{dx}\sin(x) = \cos(x) }[/math]
    [math]\displaystyle{ \frac{d}{dx}\cos(x) = -\sin(x) }[/math]
    [math]\displaystyle{ \frac{d}{dx}\tan(x) = \sec^2(x) = \frac{1}{\cos^2(x)} = 1 + \tan^2(x) }[/math]
  • Inverse trigonometric functions:
    [math]\displaystyle{ \frac{d}{dx}\arcsin(x) = \frac{1}{\sqrt{1-x^2}} }[/math], for [math]\displaystyle{ -1 \lt x \lt 1 }[/math]
    [math]\displaystyle{ \frac{d}{dx}\arccos(x)= -\frac{1}{\sqrt{1-x^2}} }[/math], for [math]\displaystyle{ -1 \lt x \lt 1 }[/math]
    [math]\displaystyle{ \frac{d}{dx}\arctan(x)= \frac{1}{{1+x^2}} }[/math]

Rules for combined functions

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]

  • Constant rule: if [math]\displaystyle{ f }[/math] is constant, then for all [math]\displaystyle{ x }[/math],
    [math]\displaystyle{ f'(x) = 0. }[/math]
  • Sum rule:
    [math]\displaystyle{ (\alpha f + \beta g)' = \alpha f' + \beta g' }[/math] for all functions [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math] and all real numbers [math]\displaystyle{ \alpha }[/math] and [math]\displaystyle{ \beta }[/math].
  • Product rule:
    [math]\displaystyle{ (fg)' = f 'g + fg' }[/math] for all functions [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math]. As a special case, this rule includes the fact [math]\displaystyle{ (\alpha f)' = \alpha f' }[/math] whenever [math]\displaystyle{ \alpha }[/math] is a constant because [math]\displaystyle{ \alpha' f = 0 \cdot f = 0 }[/math] by the constant rule.
  • Quotient rule:
    [math]\displaystyle{ \left(\frac{f}{g} \right)' = \frac{f'g - fg'}{g^2} }[/math] for all functions [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math] at all inputs where g ≠ 0.
  • Chain rule for composite functions: If [math]\displaystyle{ f(x) = h(g(x)) }[/math], then
    [math]\displaystyle{ f'(x) = h'(g(x)) \cdot g'(x). }[/math]

Computation example

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

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]

In other dimensions

Vector-valued functions

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]

Partial derivatives

Main page: Partial derivative

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

[math]\displaystyle{ f_x }[/math], [math]\displaystyle{ f'_x }[/math], [math]\displaystyle{ \partial_x f }[/math], [math]\displaystyle{ \frac{\partial}{\partial x}f }[/math], or [math]\displaystyle{ \frac{\partial f}{\partial x} }[/math],

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]

Directional derivatives

Main page: Directional derivative

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]

Total derivative, total differential and Jacobian matrix

Main page: Total derivative

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]

Generalizations

Main page: Generalizations of the derivative

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.

  • An important generalization of the derivative concerns complex functions of complex variables, such as functions from (a domain in) the complex numbers [math]\displaystyle{ \C }[/math] to [math]\displaystyle{ \C }[/math]. The notion of the derivative of such a function is obtained by replacing real variables with complex variables in the definition.[33] If [math]\displaystyle{ \C }[/math] is identified with [math]\displaystyle{ \R^2 }[/math] by writing a complex number [math]\displaystyle{ z }[/math] as [math]\displaystyle{ x+iy }[/math], then a differentiable function from [math]\displaystyle{ \C }[/math] to [math]\displaystyle{ \C }[/math] is certainly differentiable as a function from [math]\displaystyle{ \R^2 }[/math] to [math]\displaystyle{ \R^2 }[/math] (in the sense that its partial derivatives all exist), but the converse is not true in general: the complex derivative only exists if the real derivative is complex linear and this imposes relations between the partial derivatives called the Cauchy–Riemann equations – see holomorphic functions.[34]
  • Another generalization concerns functions between differentiable or smooth manifolds. Intuitively speaking such a manifold [math]\displaystyle{ M }[/math] is a space that can be approximated near each point [math]\displaystyle{ x }[/math] by a vector space called its tangent space: the prototypical example is a smooth surface in [math]\displaystyle{ \R^3 }[/math]. The derivative (or differential) of a (differentiable) map [math]\displaystyle{ f:M\to N }[/math] between manifolds, at a point [math]\displaystyle{ x }[/math] in [math]\displaystyle{ M }[/math], is then a linear map from the tangent space of [math]\displaystyle{ M }[/math] at [math]\displaystyle{ x }[/math] to the tangent space of [math]\displaystyle{ N }[/math] at [math]\displaystyle{ f(x) }[/math]. The derivative function becomes a map between the tangent bundles of [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math]. This definition is used in differential geometry.[35]
  • Differentiation can also be defined for maps between vector space, such as Banach space, in which those generalizations are the Gateaux derivative and the Fréchet derivative.[36]
  • One deficiency of the classical derivative is that very many functions are not differentiable. Nevertheless, there is a way of extending the notion of the derivative so that all continuous functions and many other functions can be differentiated using a concept known as the weak derivative. The idea is to embed the continuous functions in a larger space called the space of distributions and only require that a function is differentiable "on average".[37]
  • Properties of the derivative have inspired the introduction and study of many similar objects in algebra and topology; an example is differential algebra. Here, it consists of the derivation of some topics in abstract algebra, such as rings, ideals, field, and so on.[38]
  • The discrete equivalent of differentiation is finite differences. The study of differential calculus is unified with the calculus of finite differences in time scale calculus.[39]
  • The arithmetic derivative involves the function that is defined for the integers by the prime factorization. This is an analogy with the product rule.[40]

See also

Notes

  1. Stewart 2002, p. 129–130.
  2. Gonick 2012, p. 83.
  3. Gonick 2012, pp. 77–80.
  4. Thompson 1998, pp. 84–85.
  5. Keisler 2012, pp. 902–904.
  6. 6.0 6.1 Gonick 2012, p. 156.
  7. Gonick 2012, p. 149.
  8. David 2018.
  9. Banach 1931, cited in Hewitt & Stromberg 1965.
  10. Apostol 1967, p. 172.
  11. Cajori 2007, p. 204.
  12. Moore & Siegel 2013, p. 110.
  13. 13.0 13.1 13.2 Varberg, Purcell & Rigdon 2007, p. 125–126.
  14. In the formulation of calculus in terms of limits, various authors have assigned the [math]\displaystyle{ du }[/math] symbol various meanings. Some authors such as Varberg, Purcell & Rigdon 2007, p. 119 and Stewart 2002, p. 177 do not assign a meaning to [math]\displaystyle{ du }[/math] by itself, but only as part of the symbol [math]\displaystyle{ \frac{du}{dx} }[/math]. Others define [math]\displaystyle{ dx }[/math] as an independent variable, and define [math]\displaystyle{ du }[/math] by [math]\displaystyle{ du = dx f'(x). }[/math] In non-standard analysis [math]\displaystyle{ du }[/math] is defined as an infinitesimal. It is also interpreted as the exterior derivative of a function [math]\displaystyle{ u }[/math]. See differential (infinitesimal) for further information.
  15. Schwartzman 1994, p. 171.
  16. Cajori 1923.
  17. 17.0 17.1 Apostol 1967, p. 160.
  18. Varberg, Purcell & Rigdon 2007. See p. 133 for the power rule, p. 115–116 for the trigonometric functions, p. 326 for the natural logarithm, p. 338–339 for exponential with base [math]\displaystyle{ e }[/math], p. 343 for the exponential with base [math]\displaystyle{ a }[/math], p. 344 for the logarithm with base [math]\displaystyle{ a }[/math], and p. 369 for the inverse of trigonometric functions.
  19. For constant rule and sum rule, see Apostol 1967, p. 161, 164, respectively. For the product rule, quotient rule, and chain rule, see Varberg, Purcell & Rigdon 2007, p. 111–112, 119, respectively. For the special case of the product rule, that is, the product of a constant and a function, see Varberg, Purcell & Rigdon 2007, p. 108–109.
  20. Warner 1983, p. 5.
  21. Debnath & Shah 2015, p. 40.
  22. Carothers 2000, p. 176.
  23. Stewart 2002, p. 193.
  24. 24.0 24.1 Stewart 2002, p. 893.
  25. Stewart 2002, p. 949.
  26. Mathai & Haubold 2017, p. 52.
  27. Gbur 2011, pp. 36–37.
  28. Varberg, Purcell & Rigdon 2007, p. 642.
  29. Guzman 2003, p. 35.
  30. 30.0 30.1 30.2 Davvaz 2023, p. 266.
  31. Lee 2013, p. 72.
  32. Davvaz 2023, p. 267.
  33. Roussos 2014, p. 303.
  34. Gbur 2011, pp. 261–264.
  35. Gray, Abbena & Salamon 2006, p. 826.
  36. Azegami 2020. See p. 209 for the Gateaux derivative, and p. 211 for the Fréchet derivative.
  37. Funaro 1992, p. 84–85.
  38. Kolchin 1973, p. 58, 126.
  39. Georgiev 2018, p. 8.
  40. Barbeau 1961.

References

External links





Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Derivative
33 views | Status: cached on July 15 2024 18:11:58
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF