Misplaced Pages

Derivative

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from First-order derivative) Instantaneous rate of change (mathematics) Not to be confused with Derivation (differential algebra). For other uses, see Derivative (disambiguation).

Part of a series of articles about
Calculus
a b f ( t ) d t = f ( b ) f ( a ) {\displaystyle \int _{a}^{b}f'(t)\,dt=f(b)-f(a)}
Differential
Definitions
Concepts
Rules and identities
Integral
Definitions
Integration by
Series
Convergence tests
Vector
Theorems
Multivariable
Formalisms
Definitions
Advanced
Specialized
Miscellanea

In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to 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. 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 f ( x ) {\displaystyle f(x)} is differentiable at a point a {\displaystyle a} of its domain, if its domain contains an open interval containing ⁠ a {\displaystyle a} ⁠, and the limit L = lim h 0 f ( a + h ) f ( a ) h {\displaystyle L=\lim _{h\to 0}{\frac {f(a+h)-f(a)}{h}}} exists. This means that, for every positive real number ε {\displaystyle \varepsilon } ⁠, there exists a positive real number δ {\displaystyle \delta } such that, for every h {\displaystyle h} such that | h | < δ {\displaystyle |h|<\delta } and h 0 {\displaystyle h\neq 0} then f ( a + h ) {\displaystyle f(a+h)} is defined, and | L f ( a + h ) f ( a ) h | < ε , {\displaystyle \left|L-{\frac {f(a+h)-f(a)}{h}}\right|<\varepsilon ,} where the vertical bars denote the absolute value. This is an example of the (ε, δ)-definition of limit.

If the function f {\displaystyle f} is differentiable at ⁠ a {\displaystyle a} ⁠, that is if the limit L {\displaystyle L} exists, then this limit is called the derivative of f {\displaystyle f} at a {\displaystyle a} . Multiple notations for the derivative exist. The derivative of f {\displaystyle f} at a {\displaystyle a} can be denoted ⁠ f ( a ) {\displaystyle f'(a)} ⁠, read as "⁠ f {\displaystyle f} ⁠ prime of ⁠ a {\displaystyle a} ⁠"; or it can be denoted ⁠ d f d x ( a ) {\displaystyle \textstyle {\frac {df}{dx}}(a)} ⁠, read as "the derivative of f {\displaystyle f} with respect to x {\displaystyle x} at ⁠ a {\displaystyle a} ⁠" or "⁠ d f {\displaystyle df} ⁠ by (or over) d x {\displaystyle dx} at ⁠ a {\displaystyle a} ⁠". See § Notation below. If f {\displaystyle f} is a function that has a derivative at every point in its domain, then a function can be defined by mapping every point x {\displaystyle x} to the value of the derivative of f {\displaystyle f} at x {\displaystyle x} . This function is written f {\displaystyle f'} and is called the derivative function or the derivative of f {\displaystyle f} ⁠. The function f {\displaystyle f} sometimes has a derivative at most, but not all, points of its domain. The function whose value at a {\displaystyle a} equals f ( a ) {\displaystyle f'(a)} whenever f ( a ) {\displaystyle f'(a)} is defined and elsewhere is undefined is also called the derivative of ⁠ f {\displaystyle f} ⁠. It is still a function, but its domain may be smaller than the domain of f {\displaystyle f} .

For example, let f {\displaystyle f} be the squaring function: f ( x ) = x 2 {\displaystyle f(x)=x^{2}} . Then the quotient in the definition of the derivative is f ( a + h ) f ( a ) h = ( a + h ) 2 a 2 h = a 2 + 2 a h + h 2 a 2 h = 2 a + h . {\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.} The division in the last step is valid as long as h 0 {\displaystyle h\neq 0} . The closer h {\displaystyle h} is to ⁠ 0 {\displaystyle 0} ⁠, the closer this expression becomes to the value 2 a {\displaystyle 2a} . The limit exists, and for every input a {\displaystyle a} the limit is 2 a {\displaystyle 2a} . So, the derivative of the squaring function is the doubling function: ⁠ f ( x ) = 2 x {\displaystyle f'(x)=2x} ⁠.

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 sin ( x 2 ) + 2 x 2 cos ( x 2 ) {\displaystyle \sin \left(x^{2}\right)+2x^{2}\cos \left(x^{2}\right)} .

The ratio in the definition of the derivative is the slope of the line through two points on the graph of the function ⁠ f {\displaystyle f} ⁠, specifically the points ( a , f ( a ) ) {\displaystyle (a,f(a))} and ( a + h , f ( a + h ) ) {\displaystyle (a+h,f(a+h))} . As h {\displaystyle h} 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 f {\displaystyle f} at a {\displaystyle a} . In other words, the derivative is the slope of the tangent.

Using infinitesimals

One way to think of the derivative d f d x ( a ) {\textstyle {\frac {df}{dx}}(a)} is as the ratio of an infinitesimal change in the output of the function f {\displaystyle f} to an infinitesimal change in its input. In order to make this intuition rigorous, a system of rules for manipulating infinitesimal quantities is required. 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 1 + 1 + + 1 {\displaystyle 1+1+\cdots +1} 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 d {\displaystyle d} in the Leibniz notation. Thus, the derivative of f ( x ) {\displaystyle f(x)} becomes f ( x ) = st ( f ( x + d x ) f ( x ) d x ) {\displaystyle f'(x)=\operatorname {st} \left({\frac {f(x+dx)-f(x)}{dx}}\right)} for an arbitrary infinitesimal ⁠ d x {\displaystyle dx} ⁠, where st {\displaystyle \operatorname {st} } denotes the standard part function, which "rounds off" each finite hyperreal to the nearest real. Taking the squaring function f ( x ) = x 2 {\displaystyle f(x)=x^{2}} as an example again, f ( x ) = st ( x 2 + 2 x d x + ( d x ) 2 x 2 d x ) = st ( 2 x d x + ( d x ) 2 d x ) = st ( 2 x d x d x + ( d x ) 2 d x ) = st ( 2 x + d x ) = 2 x . {\displaystyle {\begin{aligned}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{aligned}}}

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 f {\displaystyle f} is differentiable at ⁠ a {\displaystyle a} ⁠, then f {\displaystyle f} must also be continuous at a {\displaystyle a} . As an example, choose a point a {\displaystyle a} and let f {\displaystyle f} be the step function that returns the value 1 for all x {\displaystyle x} less than ⁠ a {\displaystyle a} ⁠, and returns a different value 10 for all x {\displaystyle x} greater than or equal to a {\displaystyle a} . The function f {\displaystyle f} cannot have a derivative at a {\displaystyle a} . If h {\displaystyle h} is negative, then a + h {\displaystyle a+h} is on the low part of the step, so the secant line from a {\displaystyle a} to a + h {\displaystyle a+h} is very steep; as h {\displaystyle h} tends to zero, the slope tends to infinity. If h {\displaystyle h} is positive, then a + h {\displaystyle a+h} is on the high part of the step, so the secant line from a {\displaystyle a} to a + h {\displaystyle a+h} 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 f ( x ) = | x | {\displaystyle f(x)=|x|} is continuous at ⁠ x = 0 {\displaystyle x=0} ⁠, but it is not differentiable there. If h {\displaystyle h} is positive, then the slope of the secant line from 0 to h {\displaystyle h} is one; if h {\displaystyle h} is negative, then the slope of the secant line from 0 {\displaystyle 0} to h {\displaystyle h} is ⁠ 1 {\displaystyle -1} ⁠. This can be seen graphically as a "kink" or a "cusp" in the graph at x = 0 {\displaystyle x=0} . Even a function with a smooth graph is not differentiable at a point where its tangent is vertical: For instance, the function given by f ( x ) = x 1 / 3 {\displaystyle f(x)=x^{1/3}} is not differentiable at x = 0 {\displaystyle x=0} . In summary, a function that has a derivative is continuous, but there are continuous functions that do not have a derivative.

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. 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. 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.

Notation

Main article: Notation for differentiation

One common way of writing the derivative of a function is Leibniz notation, introduced by Gottfried Wilhelm Leibniz in 1675, which denotes a derivative as the quotient of two differentials, such as d y {\displaystyle dy} and ⁠ d x {\displaystyle dx} ⁠. It is still commonly used when the equation y = f ( x ) {\displaystyle y=f(x)} is viewed as a functional relationship between dependent and independent variables. The first derivative is denoted by ⁠ d y d x {\displaystyle \textstyle {\frac {dy}{dx}}} ⁠, read as "the derivative of y {\displaystyle y} with respect to ⁠ x {\displaystyle x} ⁠". This derivative can alternately be treated as the application of a differential operator to a function, d y d x = d d x f ( x ) . {\textstyle {\frac {dy}{dx}}={\frac {d}{dx}}f(x).} Higher derivatives are expressed using the notation d n y d x n {\textstyle {\frac {d^{n}y}{dx^{n}}}} for the n {\displaystyle n} -th derivative of y = f ( x ) {\displaystyle y=f(x)} . These are abbreviations for multiple applications of the derivative operator; for example, d 2 y d x 2 = d d x ( d d x f ( x ) ) . {\textstyle {\frac {d^{2}y}{dx^{2}}}={\frac {d}{dx}}{\Bigl (}{\frac {d}{dx}}f(x){\Bigr )}.} 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 u = g ( x ) {\displaystyle u=g(x)} and y = f ( g ( x ) ) {\displaystyle y=f(g(x))} then d y d x = d y d u d u d x . {\textstyle {\frac {dy}{dx}}={\frac {dy}{du}}\cdot {\frac {du}{dx}}.}

Another common notation for differentiation is by using the prime mark in the symbol of a function ⁠ f ( x ) {\displaystyle f(x)} ⁠. This is known as prime notation, due to Joseph-Louis Lagrange. The first derivative is written as ⁠ f ( x ) {\displaystyle f'(x)} ⁠, read as "⁠ f {\displaystyle f} ⁠ prime of ⁠ x {\displaystyle x} ⁠, or ⁠ y {\displaystyle y'} ⁠, read as "⁠ y {\displaystyle y} ⁠ prime". Similarly, the second and the third derivatives can be written as f {\displaystyle f''} and ⁠ f {\displaystyle f'''} ⁠, respectively. 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 f i v {\displaystyle f^{\mathrm {iv} }} or ⁠ f ( 4 ) {\displaystyle f^{(4)}} ⁠. The latter notation generalizes to yield the notation f ( n ) {\displaystyle f^{(n)}} for the ⁠ n {\displaystyle n} ⁠th derivative of ⁠ f {\displaystyle f} ⁠.

In Newton's notation or the dot notation, a dot is placed over a symbol to represent a time derivative. If y {\displaystyle y} is a function of ⁠ t {\displaystyle t} ⁠, then the first and second derivatives can be written as y ˙ {\displaystyle {\dot {y}}} and ⁠ y ¨ {\displaystyle {\ddot {y}}} ⁠, 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. 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 ⁠ D {\displaystyle D} ⁠. The first derivative is written D f ( x ) {\displaystyle Df(x)} and higher derivatives are written with a superscript, so the n {\displaystyle n} -th derivative is ⁠ D n f ( x ) {\displaystyle D^{n}f(x)} ⁠. 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. To indicate a partial derivative, the variable differentiated by is indicated with a subscript, for example given the function ⁠ u = f ( x , y ) {\displaystyle u=f(x,y)} ⁠, its partial derivative with respect to x {\displaystyle x} can be written D x u {\displaystyle D_{x}u} or ⁠ D x f ( x , y ) {\displaystyle D_{x}f(x,y)} ⁠. Higher partial derivatives can be indicated by superscripts or multiple subscripts, e.g. D x y f ( x , y ) = y ( x f ( x , y ) ) {\textstyle D_{xy}f(x,y)={\frac {\partial }{\partial y}}{\Bigl (}{\frac {\partial }{\partial x}}f(x,y){\Bigr )}} and ⁠ D x 2 f ( x , y ) = x ( x f ( x , y ) ) {\displaystyle \textstyle D_{x}^{2}f(x,y)={\frac {\partial }{\partial x}}{\Bigl (}{\frac {\partial }{\partial x}}f(x,y){\Bigr )}} ⁠.

Rules of computation

Main article: 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.

Rules for basic functions

The following are the rules for the derivatives of the most common basic functions. Here, a {\displaystyle a} is a real number, and e {\displaystyle e} is the base of the natural logarithm, approximately 2.71828.

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

Rules for combined functions

Given that the f {\displaystyle f} and g {\displaystyle g} are the functions. The following are some of the most basic rules for deducing the derivative of functions from derivatives of basic functions.

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

Computation example

The derivative of the function given by f ( x ) = x 4 + sin ( x 2 ) ln ( x ) e x + 7 {\displaystyle f(x)=x^{4}+\sin \left(x^{2}\right)-\ln(x)e^{x}+7} is f ( x ) = 4 x ( 4 1 ) + d ( x 2 ) d x cos ( x 2 ) d ( ln x ) d x e x ln ( x ) d ( e x ) d x + 0 = 4 x 3 + 2 x cos ( x 2 ) 1 x e x ln ( x ) e x . {\displaystyle {\begin{aligned}f'(x)&=4x^{(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{aligned}}} 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 x 2 {\displaystyle x^{2}} , x 4 {\displaystyle x^{4}} , sin ( x ) {\displaystyle \sin(x)} , ln ( x ) {\displaystyle \ln(x)} , and exp ( x ) = e x {\displaystyle \exp(x)=e^{x}} , as well as the constant 7 {\displaystyle 7} , were also used.

Higher-order derivatives

Higher order derivatives are the result of differentiating a function repeatedly. Given that f {\displaystyle f} is a differentiable function, the derivative of f {\displaystyle f} is the first derivative, denoted as ⁠ f {\displaystyle f'} ⁠. The derivative of f {\displaystyle f'} is the second derivative, denoted as ⁠ f {\displaystyle f''} ⁠, and the derivative of f {\displaystyle f''} is the third derivative, denoted as ⁠ f {\displaystyle f'''} ⁠. By continuing this process, if it exists, the ⁠ n {\displaystyle n} ⁠th derivative is the derivative of the ⁠ ( n 1 ) {\displaystyle (n-1)} ⁠th derivative or the derivative of order ⁠ n {\displaystyle n} . As has been discussed above, the generalization of derivative of a function f {\displaystyle f} may be denoted as ⁠ f ( n ) {\displaystyle f^{(n)}} ⁠. A function that has k {\displaystyle k} successive derivatives is called k {\displaystyle k} times differentiable. If the k {\displaystyle k} -th derivative is continuous, then the function is said to be of differentiability class C k {\displaystyle C^{k}} ⁠. A function that has infinitely many derivatives is called infinitely differentiable or smooth. Any polynomial function is infinitely differentiable; taking derivatives repeatedly will eventually result in a constant function, and all subsequent derivatives of that function are zero.

One application of higher-order derivatives is 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, and the third derivative is the jerk.

In other dimensions

See also: Vector calculus and Multivariable calculus

Vector-valued functions

A vector-valued function y {\displaystyle \mathbf {y} } of a real variable sends real numbers to vectors in some vector space R n {\displaystyle \mathbb {R} ^{n}} . A vector-valued function can be split up into its coordinate functions y 1 ( t ) , y 2 ( t ) , , y n ( t ) {\displaystyle y_{1}(t),y_{2}(t),\dots ,y_{n}(t)} , meaning that y = ( y 1 ( t ) , y 2 ( t ) , , y n ( t ) ) {\displaystyle \mathbf {y} =(y_{1}(t),y_{2}(t),\dots ,y_{n}(t))} . This includes, for example, parametric curves in R 2 {\displaystyle \mathbb {R} ^{2}} or R 3 {\displaystyle \mathbb {R} ^{3}} . The coordinate functions are real-valued functions, so the above definition of derivative applies to them. The derivative of y ( t ) {\displaystyle \mathbf {y} (t)} is defined to be the vector, called the tangent vector, whose coordinates are the derivatives of the coordinate functions. That is, y ( t ) = lim h 0 y ( t + h ) y ( t ) h , {\displaystyle \mathbf {y} '(t)=\lim _{h\to 0}{\frac {\mathbf {y} (t+h)-\mathbf {y} (t)}{h}},} if the limit exists. The subtraction in the numerator is the subtraction of vectors, not scalars. If the derivative of y {\displaystyle \mathbf {y} } exists for every value of ⁠ t {\displaystyle t} ⁠, then y {\displaystyle \mathbf {y} '} is another vector-valued function.

Partial derivatives

Main article: 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 f ( x , y , ) {\displaystyle f(x,y,\dots )} with respect to the variable x {\displaystyle x} is variously denoted by

f x {\displaystyle f_{x}} , f x {\displaystyle f'_{x}} , x f {\displaystyle \partial _{x}f} , x f {\displaystyle {\frac {\partial }{\partial x}}f} , or f x {\displaystyle {\frac {\partial f}{\partial x}}} ,

among other possibilities. It can be thought of as the rate of change of the function in the x {\displaystyle x} -direction. 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". For example, let ⁠ f ( x , y ) = x 2 + x y + y 2 {\displaystyle f(x,y)=x^{2}+xy+y^{2}} ⁠, then the partial derivative of function f {\displaystyle f} with respect to both variables x {\displaystyle x} and y {\displaystyle y} are, respectively: f x = 2 x + y , f y = x + 2 y . {\displaystyle {\frac {\partial f}{\partial x}}=2x+y,\qquad {\frac {\partial f}{\partial y}}=x+2y.} In general, the partial derivative of a function f ( x 1 , , x n ) {\displaystyle f(x_{1},\dots ,x_{n})} in the direction x i {\displaystyle x_{i}} at the point ( a 1 , , a n ) {\displaystyle (a_{1},\dots ,a_{n})} is defined to be: f x i ( a 1 , , a n ) = lim h 0 f ( a 1 , , a i + h , , a n ) f ( a 1 , , a i , , a n ) h . {\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}}.}

This is fundamental for the study of the functions of several real variables. Let f ( x 1 , , x n ) {\displaystyle f(x_{1},\dots ,x_{n})} be such a real-valued function. If all partial derivatives f {\displaystyle f} with respect to x j {\displaystyle x_{j}} are defined at the point ⁠ ( a 1 , , a n ) {\displaystyle (a_{1},\dots ,a_{n})} ⁠, these partial derivatives define the vector f ( a 1 , , a n ) = ( f x 1 ( a 1 , , a n ) , , f x n ( a 1 , , a n ) ) , {\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),} which is called the gradient of f {\displaystyle f} at a {\displaystyle a} . If f {\displaystyle f} is differentiable at every point in some domain, then the gradient is a vector-valued function f {\displaystyle \nabla f} that maps the point ( a 1 , , a n ) {\displaystyle (a_{1},\dots ,a_{n})} to the vector f ( a 1 , , a n ) {\displaystyle \nabla f(a_{1},\dots ,a_{n})} . Consequently, the gradient determines a vector field.

Directional derivatives

Main article: Directional derivative

If f {\displaystyle f} is a real-valued function on ⁠ R n {\displaystyle \mathbb {R} ^{n}} ⁠, then the partial derivatives of f {\displaystyle f} measure its variation in the direction of the coordinate axes. For example, if f {\displaystyle f} is a function of x {\displaystyle x} and ⁠ y {\displaystyle y} ⁠, then its partial derivatives measure the variation in f {\displaystyle f} in the x {\displaystyle x} and y {\displaystyle y} direction. However, they do not directly measure the variation of f {\displaystyle f} in any other direction, such as along the diagonal line ⁠ y = x {\displaystyle y=x} ⁠. These are measured using directional derivatives. Given a vector ⁠ v = ( v 1 , , v n ) {\displaystyle \mathbf {v} =(v_{1},\ldots ,v_{n})} ⁠, then the directional derivative of f {\displaystyle f} in the direction of v {\displaystyle \mathbf {v} } at the point x {\displaystyle \mathbf {x} } is: D v f ( x ) = lim h 0 f ( x + h v ) f ( x ) h . {\displaystyle D_{\mathbf {v} }{f}(\mathbf {x} )=\lim _{h\rightarrow 0}{\frac {f(\mathbf {x} +h\mathbf {v} )-f(\mathbf {x} )}{h}}.}

If all the partial derivatives of f {\displaystyle f} exist and are continuous at ⁠ x {\displaystyle \mathbf {x} } ⁠, then they determine the directional derivative of f {\displaystyle f} in the direction v {\displaystyle \mathbf {v} } by the formula: D v f ( x ) = j = 1 n v j f x j . {\displaystyle D_{\mathbf {v} }{f}(\mathbf {x} )=\sum _{j=1}^{n}v_{j}{\frac {\partial f}{\partial x_{j}}}.}

Total derivative, total differential and Jacobian matrix

Main article: Total derivative

When f {\displaystyle f} is a function from an open subset of R n {\displaystyle \mathbb {R} ^{n}} to ⁠ R m {\displaystyle \mathbb {R} ^{m}} ⁠, then the directional derivative of f {\displaystyle f} in a chosen direction is the best linear approximation to f {\displaystyle f} at that point and in that direction. However, when ⁠ n > 1 {\displaystyle n>1} ⁠, no single directional derivative can give a complete picture of the behavior of f {\displaystyle f} . The total derivative gives a complete picture by considering all directions at once. That is, for any vector v {\displaystyle \mathbf {v} } starting at ⁠ a {\displaystyle \mathbf {a} } ⁠, the linear approximation formula holds: f ( a + v ) f ( a ) + f ( a ) v . {\displaystyle f(\mathbf {a} +\mathbf {v} )\approx f(\mathbf {a} )+f'(\mathbf {a} )\mathbf {v} .} Similarly with the single-variable derivative, f ( a ) {\displaystyle f'(\mathbf {a} )} is chosen so that the error in this approximation is as small as possible. The total derivative of f {\displaystyle f} at a {\displaystyle \mathbf {a} } is the unique linear transformation f ( a ) : R n R m {\displaystyle f'(\mathbf {a} )\colon \mathbb {R} ^{n}\to \mathbb {R} ^{m}} such that lim h 0 f ( a + h ) ( f ( a ) + f ( a ) h ) h = 0. {\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.} Here h {\displaystyle \mathbf {h} } is a vector in ⁠ R n {\displaystyle \mathbb {R} ^{n}} ⁠, so the norm in the denominator is the standard length on R n {\displaystyle \mathbb {R} ^{n}} . However, f ( a ) h {\displaystyle f'(\mathbf {a} )\mathbf {h} } is a vector in ⁠ R m {\displaystyle \mathbb {R} ^{m}} ⁠, and the norm in the numerator is the standard length on R m {\displaystyle \mathbb {R} ^{m}} . If v {\displaystyle v} is a vector starting at ⁠ a {\displaystyle a} ⁠, then f ( a ) v {\displaystyle f'(\mathbf {a} )\mathbf {v} } is called the pushforward of v {\displaystyle \mathbf {v} } by f {\displaystyle f} .

If the total derivative exists at ⁠ a {\displaystyle \mathbf {a} } ⁠, then all the partial derivatives and directional derivatives of f {\displaystyle f} exist at ⁠ a {\displaystyle \mathbf {a} } ⁠, and for all ⁠ v {\displaystyle \mathbf {v} } ⁠, f ( a ) v {\displaystyle f'(\mathbf {a} )\mathbf {v} } is the directional derivative of f {\displaystyle f} in the direction ⁠ v {\displaystyle \mathbf {v} } ⁠. If f {\displaystyle f} is written using coordinate functions, so that ⁠ f = ( f 1 , f 2 , , f m ) {\displaystyle f=(f_{1},f_{2},\dots ,f_{m})} ⁠, then the total derivative can be expressed using the partial derivatives as a matrix. This matrix is called the Jacobian matrix of f {\displaystyle f} at a {\displaystyle \mathbf {a} } : f ( a ) = Jac a = ( f i x j ) i j . {\displaystyle f'(\mathbf {a} )=\operatorname {Jac} _{\mathbf {a} }=\left({\frac {\partial f_{i}}{\partial x_{j}}}\right)_{ij}.}

Generalizations

Main article: 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 C {\displaystyle \mathbb {C} } to ⁠ C {\displaystyle \mathbb {C} } ⁠. The notion of the derivative of such a function is obtained by replacing real variables with complex variables in the definition. If C {\displaystyle \mathbb {C} } is identified with R 2 {\displaystyle \mathbb {R} ^{2}} by writing a complex number z {\displaystyle z} as ⁠ x + i y {\displaystyle x+iy} ⁠ then a differentiable function from C {\displaystyle \mathbb {C} } to C {\displaystyle \mathbb {C} } is certainly differentiable as a function from R 2 {\displaystyle \mathbb {R} ^{2}} to R 2 {\displaystyle \mathbb {R} ^{2}} (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.
  • Another generalization concerns functions between differentiable or smooth manifolds. Intuitively speaking such a manifold M {\displaystyle M} is a space that can be approximated near each point x {\displaystyle x} by a vector space called its tangent space: the prototypical example is a smooth surface in ⁠ R 3 {\displaystyle \mathbb {R} ^{3}} ⁠. The derivative (or differential) of a (differentiable) map f : M N {\displaystyle f:M\to N} between manifolds, at a point x {\displaystyle x} in ⁠ M {\displaystyle M} ⁠, is then a linear map from the tangent space of M {\displaystyle M} at x {\displaystyle x} to the tangent space of N {\displaystyle N} at ⁠ f ( x ) {\displaystyle f(x)} ⁠. The derivative function becomes a map between the tangent bundles of M {\displaystyle M} and ⁠ N {\displaystyle N} ⁠. This definition is used in differential geometry.
  • 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.
  • 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".
  • 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.
  • 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.
  • The arithmetic derivative involves the function that is defined for the integers by the prime factorization. This is an analogy with the product rule.

See also

Notes

  1. Apostol 1967, p. 160; Stewart 2002, p. 129–130; Strang et al. 2023, p. 224.
  2. Apostol 1967, p. 160; Stewart 2002, p. 127; Strang et al. 2023, p. 220.
  3. Gonick 2012, p. 83; Thomas et al. 2014, p. 60.
  4. Gonick 2012, p. 88; Strang et al. 2023, p. 234.
  5. Gonick 2012, p. 83; Strang et al. 2023, p. 232.
  6. Gonick 2012, pp. 77–80.
  7. Thompson 1998, pp. 34, 104; Stewart 2002, p. 128.
  8. Thompson 1998, pp. 84–85.
  9. Keisler 2012, pp. 902–904.
  10. Keisler 2012, p. 45; Henle & Kleinberg 2003, p. 66.
  11. Gonick 2012, p. 156; Thomas et al. 2014, p. 114; Strang et al. 2023, p. 237.
  12. Gonick 2012, p. 149; Thomas et al. 2014, p. 113; Strang et al. 2023, p. 237.
  13. Gonick 2012, p. 156; Thomas et al. 2014, p. 114; Strang et al. 2023, pp. 237–238.
  14. Jašek 1922; Jarník 1922; Rychlík 1923.
  15. David 2018.
  16. Banach 1931, cited in Hewitt & Stromberg 1965.
  17. Apostol 1967, p. 172.
  18. Cajori 2007, p. 204.
  19. Moore & Siegel 2013, p. 110.
  20. ^ Varberg, Purcell & Rigdon 2007, p. 125–126.
  21. In the formulation of calculus in terms of limits, various authors have assigned the d u {\displaystyle du} symbol various meanings. Some authors such as Varberg, Purcell & Rigdon 2007, p. 119 and Stewart 2002, p. 177 do not assign a meaning to d u {\displaystyle du} by itself, but only as part of the symbol d u d x {\textstyle {\frac {du}{dx}}} . Others define d x {\displaystyle dx} as an independent variable, and define d u {\displaystyle du} by ⁠ d u = d x f ( x ) {\displaystyle \textstyle du=dxf'(x)} ⁠. In non-standard analysis d u {\displaystyle du} is defined as an infinitesimal. It is also interpreted as the exterior derivative of a function ⁠ u {\displaystyle u} ⁠. See differential (infinitesimal) for further information.
  22. Schwartzman 1994, p. 171.
  23. Moore & Siegel 2013, p. 110; Goodman 1963, p. 78–79.
  24. Varberg, Purcell & Rigdon 2007, p. 125–126; Cajori 2007, p. 228.
  25. Choudary & Niculescu 2014, p. 222; Apostol 1967, p. 171.
  26. Evans 1999, p. 63; Kreyszig 1991, p. 1.
  27. Cajori 1923.
  28. Apostol 1967, p. 172; Varberg, Purcell & Rigdon 2007, p. 125–126.
  29. ^ Apostol 1967, p. 160.
  30. 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 ⁠ e {\displaystyle e} ⁠, p. 343 for the exponential with base ⁠ a {\displaystyle a} ⁠, p. 344 for the logarithm with base ⁠ a {\displaystyle a} ⁠, and p. 369 for the inverse of trigonometric functions.
  31. 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.
  32. Apostol 1967, p. 160; Varberg, Purcell & Rigdon 2007, p. 125–126.
  33. Warner 1983, p. 5.
  34. Debnath & Shah 2015, p. 40.
  35. Carothers 2000, p. 176.
  36. Stewart 2002, p. 193.
  37. ^ Stewart 2002, p. 893.
  38. Stewart 2002, p. 947; Christopher 2013, p. 682.
  39. Stewart 2002, p. 949.
  40. Silverman 1989, p. 216; Bhardwaj 2005, See p. 6.4.
  41. Mathai & Haubold 2017, p. 52.
  42. Gbur 2011, pp. 36–37.
  43. Varberg, Purcell & Rigdon 2007, p. 642.
  44. Guzman 2003, p. 35.
  45. ^ Davvaz 2023, p. 266.
  46. Lee 2013, p. 72.
  47. Davvaz 2023, p. 267.
  48. Roussos 2014, p. 303.
  49. Gbur 2011, pp. 261–264.
  50. Gray, Abbena & Salamon 2006, p. 826.
  51. Azegami 2020. See p. 209 for the Gateaux derivative, and p. 211 for the Fréchet derivative.
  52. Funaro 1992, p. 84–85.
  53. Kolchin 1973, p. 58, 126.
  54. Georgiev 2018, p. 8.
  55. Barbeau 1961.

References

External links

Calculus
Precalculus
Limits
Differential calculus
Integral calculus
Vector calculus
Multivariable calculus
Sequences and series
Special functions
and numbers
History of calculus
Lists
Integrals
Miscellaneous topics
Major topics in mathematical analysis
Mathematics portal
Categories: