Derivative

In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input.

Uses your system voice; voice and rate in settings.

≈ 16 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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. 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. 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. Higher order derivatives are used in physics; for example, the first derivative with respect to time of the position of a moving object is its velocity, and the second derivative is its acceleration.

Derivatives can be generalized to functions of several real variables. In this case, 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.

L=\lim_{h \to 0}\frac{f(a+h)-f(a)}h exists. This means that, for every positive real number , there exists a positive real number \delta such that, for every h such that |h| and h\ne 0 then f(a+h) is defined, and \left|L-\frac{f(a+h)-f(a)}h\right| where the vertical bars denote the absolute value. This is an example of the (ε, δ)-definition of limit.

If the function f is differentiable at , that is if the limit L exists, then this limit is called the derivative of f at . Multiple notations for the derivative exist. The derivative of f at a can be denoted , read as " prime of "; or it can be denoted , read as "the derivative of f with respect to x at " or " by (or over) dx at ".

See below. If 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 to the value of the derivative of f at . This function is written f' and is called the derivative function or the derivative of .

The function f sometimes has a derivative at most, but not all, points of its domain. The function whose value at a equals f'(a) whenever f'(a) is defined and elsewhere is undefined is also called the derivative of . It is still a function, but its domain may be smaller than the domain of .

For example, let f be the squaring function: . Then the quotient in the definition of the derivative is \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 . The closer h is to , the closer this expression becomes to the value .

The limit exists, and for every input a the limit is . So, the derivative of the squaring function is the doubling function: . The ratio in the definition of the derivative is the slope of the line through two points on the graph of the function , specifically the points (a,f(a)) and .

As 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 at . In other words, the derivative is the slope of the tangent.

Using infinitesimals

One way to think of the derivative \frac{df}{dx}(a) is as the ratio of an infinitesimal change in the output of the function 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 + \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 in the Leibniz notation. Thus, the derivative of f(x) becomes f'(x) = \operatorname{st}\left( \frac{f(x + dx) - f(x)}{dx} \right) for an arbitrary infinitesimal , where \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 as an example again, \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} If f is differentiable at , then f must also be continuous at . As an example, choose a point a and let f be the step function that returns the value 1 for all x less than , and returns a different value 10 for all x greater than or equal to .

The function f cannot have a derivative at . If h is negative, then a + h is on the low part of the step, so the secant line from a to a + h is very steep; as h tends to zero, the slope tends to infinity. If h is positive, then a + h is on the high part of the step, so the secant line from a to 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| is continuous at , but it is not differentiable there.

If h is positive, then the slope of the secant line from 0 to h is one; if h is negative, then the slope of the secant line from 0 to h is . This can be seen graphically as a "kink" or a "cusp" in the graph at . 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} is not differentiable at .

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.

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 dy and . It is still commonly used when the equation y=f(x) is viewed as a functional relationship between dependent and independent variables.

The first derivative is denoted by , read as "the derivative of y with respect to ". This derivative can alternately be treated as the application of a differential operator to a function, \frac{dy}{dx} = \frac{d}{dx} f(x). Higher derivatives are expressed using the notation \frac{d^n y}{dx^n} for the n th derivative of .

These are abbreviations for multiple applications of the derivative operator; for example, \frac{d^2y}{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) and y = f(g(x)) then \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 . This notation, due to Joseph-Louis Lagrange, is now known as prime notation.

The first derivative is written as , read as " prime of ", or , read as " prime". Similarly, the second and the third derivatives can be written as f and , 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^{\mathrm{iv}} or .

The latter notation generalizes to yield the notation f^{(n)} for the th derivative of . In Newton's notation or the dot notation, a dot is placed over a symbol to represent a time derivative. If y is a function of , then the first and second derivatives can be written as \dot{y} and , 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 . The first derivative is written D f(x) and higher derivatives are written with a superscript, so the n th derivative is . 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 , its partial derivative with respect to x can be written D_x u or . Higher partial derivatives can be indicated by superscripts or multiple subscripts, e.g. D_{xy} f(x,y) = \frac{\partial}{\partial y} \Bigl(\frac{\partial}{\partial x} f(x,y) \Bigr) and . \frac{d}{dx}x^a = ax^{a-1} Functions of exponential, natural logarithm, and logarithm with general base \frac{d}{dx}e^x = e^x , for a > 0 , for x > 0 , for x, a > 0 Trigonometric functions \frac{d}{dx}\sin(x) = \cos(x) \frac{d}{dx}\cos(x) = -\sin(x) \frac{d}{dx}\tan(x) = \sec^2(x) = \frac{1}{\cos^2(x)} = 1 + \tan^2(x) Inverse trigonometric functions {{tmath|1= \frac{d}{dx}\arcsin(x) = \frac{1}{\sqrt{1-x^2} } }}, for -1 {{tmath|1= \frac{d}{dx}\arccos(x)= -\frac{1}{\sqrt{1-x^2} } }}, for -1 \frac{d}{dx}\arctan(x)= \frac{1}

Rules for combined functions

The following rules allow deducing derivatives of many functions from the derivatives of the basic functions: Constant rule If f is a constant function, then for all , f'(x) = 0. Sum rule (\alpha f + \beta g)' = \alpha f' + \beta g' for all functions f and g and all real numbers \alpha and . Product rule (fg)' = f 'g + fg' for all functions f and .

As a special case, this rule includes the fact (\alpha f)' = \alpha f' whenever \alpha is a constant because \alpha' f = 0 \cdot f = 0 by the constant rule. Quotient rule \left(\frac{f}{g} \right)' = \frac{f'g - fg'}{g^2} for all functions f and g at all inputs where .

Chain rule for composite functions If , then f'(x) = h'(g(x)) \cdot g'(x). The derivative of the function given by f(x) = x^4 + \sin \left(x^2\right) - \ln(x) e^x + 7 is \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} 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 , , , , and , as well as the constant , were also used.

Higher-order derivatives

Higher-order derivatives are the result of differentiating a function repeatedly. Given that f is a differentiable function, the derivative of f is the first derivative, denoted as . The derivative of f' is the second derivative, denoted as , and the derivative of f is the third derivative, denoted as .

By continuing this process, if it exists, the th derivative is the derivative of the th derivative or the derivative of order . As has been discussed above, the generalization of derivative of a function f may be denoted as . A function that has k successive derivatives is called k times differentiable.

If the th derivative is continuous, then the function is said to be of differentiability class . 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. For example, if the function represents an object's position with respect to time, represents the object's velocity, represents the object's acceleration, and represents the object's jerk. \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 \mathbf{y} exists for every value of , then \mathbf{y}' is another vector-valued function. \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, \dots, x_n) in the direction x_i at the point (a_1, \dots, a_n) is defined to be: \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, \dots, x_n) be such a real-valued function. If all partial derivatives f with respect to x_j are defined at the point , these partial derivatives define the vector \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 at .

If f is differentiable at every point in some domain, then the gradient is a vector-valued function \nabla f that maps the point (a_1, \dots, a_n) to the vector . Consequently, the gradient determines a vector field. 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 exist and are continuous at , then they determine the directional derivative of f in the direction \mathbf{v} by the formula: D_{\mathbf{v}}{f}(\mathbf{x}) = \sum_{j=1}^n v_j \frac{\partial f}{\partial x_j}. f(\mathbf{a} + \mathbf{v}) \approx f(\mathbf{a}) + f'(\mathbf{a})\mathbf{v}. Similarly with the single-variable derivative, f'(\mathbf{a}) is chosen so that the error in this approximation is as small as possible.

The total derivative of f at \mathbf{a} is the unique linear transformation f'(\mathbf{a}) \colon \R^n \to \R^m such that \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 \mathbf{h} is a vector in , so the norm in the denominator is the standard length on .

However, f'(\mathbf{a}) \mathbf{h} is a vector in , and the norm in the numerator is the standard length on . If v is a vector starting at , then f'(\mathbf{a}) \mathbf{v} is called the pushforward of \mathbf{v} by .

If the total derivative exists at , then all the partial derivatives and directional derivatives of f exist at , and for all , f'(\mathbf{a})\mathbf{v} is the directional derivative of f in the direction . If f is written using coordinate functions, so that , then the total derivative can be expressed using the partial derivatives as a matrix.

This matrix is called the Jacobian matrix of f at \mathbf{a} : f'(\mathbf{a}) = \operatorname{Jac}_{\mathbf{a}} = \left(\frac{\partial f_i}{\partial x_j}\right)_{ij}.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1375872100 under CC BY-SA 4.0; modifications have been made.

Words in each sectionUsing infinitesimalsUsing infinitesimalsUsing infinitesimals: 1,302 words1,302Higher-order derivativesHigher-order derivativesHigher-order derivatives: 787 words787Rules for combined func…Rules for combined functionsRules for combined functions: 268 words268
Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

Provenance

snapshot enwiki-001375872100 · captured 2026-09-20 · ledger · version history

Cite this page as: encyclopegia.org, “Derivative”, snapshot enwiki-001375872100. https://encyclopegia.org/a/derivative

Sources cited in this revision

1 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.