Concavity
   HOME

TheInfoList



OR:

In
calculus Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations. Originally called infinitesimal calculus or "the ...
, the second derivative, or the second-order derivative, of a
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-orie ...
is the
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. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
of the derivative of . Informally, the second derivative can be phrased as "the rate of change of the rate of change"; for example, the second derivative of the position of an object with respect to time is the instantaneous acceleration of the object, or the rate at which the
velocity Velocity is a measurement of speed in a certain direction of motion. It is a fundamental concept in kinematics, the branch of classical mechanics that describes the motion of physical objects. Velocity is a vector (geometry), vector Physical q ...
of the object is changing with respect to time. In
Leibniz notation In calculus, Leibniz's notation, named in honor of the 17th-century German philosophy, philosopher and mathematician Gottfried Wilhelm Leibniz, uses the symbols and to represent infinitely small (or infinitesimal) increments of and , respecti ...
: a = \frac = \frac, where is acceleration, is velocity, is time, is position, and d is the instantaneous "delta" or change. The last expression \tfrac is the second derivative of position () with respect to time. On the
graph of a function In mathematics, the graph of a function f is the set of ordered pairs (x, y), where f(x) = y. In the common case where x and f(x) are real numbers, these pairs are Cartesian coordinates of points in a plane (geometry), plane and often form a P ...
, the second derivative corresponds to the
curvature In mathematics, curvature is any of several strongly related concepts in geometry that intuitively measure the amount by which a curve deviates from being a straight line or by which a surface deviates from being a plane. If a curve or su ...
or concavity of the graph. The graph of a function with a positive second derivative is upwardly concave, while the graph of a function with a negative second derivative curves in the opposite way.


Second derivative power rule

The
power rule In calculus, the power rule is used to differentiate functions of the form f(x) = x^r, whenever r is a real number. Since differentiation is a linear operation on the space of differentiable functions, polynomials can also be differentiated usin ...
for the first derivative, if applied twice, will produce the second derivative power rule as follows: \frac x^n = \frac\frac x^n = \frac \left(n x^\right) = n \frac x^ = n(n - 1)x^.


Notation

The second derivative of a function f(x) is usually denoted f''(x). That is: f'' = \left(f'\right)' When using
Leibniz's notation In calculus, Leibniz's notation, named in honor of the 17th-century German philosopher and mathematician Gottfried Wilhelm Leibniz, uses the symbols and to represent infinitely small (or infinitesimal) increments of and , respectively, just a ...
for derivatives, the second derivative of a dependent variable with respect to an independent variable is written \frac. This notation is derived from the following formula: \frac \,=\, \frac\left(\frac\right).


Example

Given the function f(x) = x^3, the derivative of is the function f'(x) = 3x^2. The second derivative of is the derivative of f', namely f''(x) = 6x.


Relation to the graph


Concavity

The second derivative of a function can be used to determine the concavity of the graph of . A function whose second derivative is positive is said to be concave up (also referred to as convex), meaning that the
tangent line In geometry, the tangent line (or simply tangent) to a plane curve at a given point is, intuitively, the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points o ...
near the point where it touches the function will lie below the graph of the function. Similarly, a function whose second derivative is negative will be concave down (sometimes simply called concave), and its tangent line will lie above the graph of the function near the point of contact.


Inflection points

If the second derivative of a function changes sign, the graph of the function will switch from concave down to concave up, or vice versa. A point where this occurs is called an inflection point. Assuming the second derivative is continuous, it must take a value of zero at any inflection point, although not every point where the second derivative is zero is necessarily a point of inflection.


Second derivative test

The relation between the second derivative and the graph can be used to test whether a
stationary point In mathematics, particularly in calculus, a stationary point of a differentiable function of one variable is a point on the graph of a function, graph of the function where the function's derivative is zero. Informally, it is a point where the ...
for a function (i.e., a point where f'(x) = 0) is a
local maximum In mathematical analysis, the maximum and minimum of a function (mathematics), function are, respectively, the greatest and least value taken by the function. Known generically as extremum, they may be defined either within a given Interval (ma ...
or a
local minimum In mathematical analysis, the maximum and minimum of a function are, respectively, the greatest and least value taken by the function. Known generically as extremum, they may be defined either within a given range (the ''local'' or ''relative ...
. Specifically, * If f''(x) < 0, then f has a local maximum at x. * If f''(x) > 0, then f has a local minimum at x. * If f''(x) = 0, the second derivative test says nothing about the point x, a possible inflection point. The reason the second derivative produces these results can be seen by way of a real-world analogy. Consider a vehicle that at first is moving forward at a great velocity, but with a negative acceleration. Clearly, the position of the vehicle at the point where the velocity reaches zero will be the maximum distance from the starting position – after this time, the velocity will become negative and the vehicle will reverse. The same is true for the minimum, with a vehicle that at first has a very negative velocity but positive acceleration.


Limit

It is possible to write a single limit for the second derivative: f''(x) = \lim_ \frac. The limit is called the second symmetric derivative. The second symmetric derivative may exist even when the (usual) second derivative does not. The expression on the right can be written as a
difference quotient In single-variable calculus, the difference quotient is usually the name for the expression : \frac which when taken to the Limit of a function, limit as ''h'' approaches 0 gives the derivative of the Function (mathematics), function ''f''. The ...
of difference quotients: \frac = \frac. This limit can be viewed as a continuous version of the
second difference In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
for
sequences In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is call ...
. However, the existence of the above limit does not mean that the function f has a second derivative. The limit above just gives a possibility for calculating the second derivative—but does not provide a definition. A counterexample is the
sign function In mathematics, the sign function or signum function (from '' signum'', Latin for "sign") is a function that has the value , or according to whether the sign of a given real number is positive or negative, or the given number is itself zer ...
\sgn(x), which is defined as: \sgn(x) = \begin -1 & \text x < 0, \\ 0 & \text x = 0, \\ 1 & \text x > 0. \end The sign function is not continuous at zero, and therefore the second derivative for x = 0 does not exist. But the above limit exists for x = 0: \begin \lim_ \frac &= \lim_ \frac \\ &= \lim_ \frac = \lim_ \frac = 0. \end


Quadratic approximation

Just as the first derivative is related to
linear approximation In mathematics, a linear approximation is an approximation of a general function (mathematics), function using a linear function (more precisely, an affine function). They are widely used in the method of finite differences to produce first order ...
s, the second derivative is related to the best
quadratic approximation In calculus, Taylor's theorem gives an approximation of a k-times differentiable function around a given point by a polynomial of degree k, called the k-th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the truncation a ...
for a function . This is the
quadratic function In mathematics, a quadratic function of a single variable (mathematics), variable is a function (mathematics), function of the form :f(x)=ax^2+bx+c,\quad a \ne 0, where is its variable, and , , and are coefficients. The mathematical expression, e ...
whose first and second derivatives are the same as those of at a given point. The formula for the best quadratic approximation to a function around the point is f(x) \approx f(a) + f'(a)(x-a) + \tfrac f''(a)(x-a)^2. This quadratic approximation is the second-order
Taylor polynomial In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
for the function centered at .


Eigenvalues and eigenvectors of the second derivative

For many combinations of
boundary conditions In the study of differential equations, a boundary-value problem is a differential equation subjected to constraints called boundary conditions. A solution to a boundary value problem is a solution to the differential equation which also satis ...
explicit formulas for
eigenvalues and eigenvectors of the second derivative Explicit formulas for eigenvalues and eigenvectors of the second derivative with different boundary conditions are provided both for the continuous and discrete cases. In the discrete case, the standard central difference approximation of the se ...
can be obtained. For example, assuming x \in ,L/math> and homogeneous
Dirichlet boundary conditions In mathematics, the Dirichlet boundary condition is imposed on an ordinary or partial differential equation, such that the values that the solution takes along the boundary of the domain are fixed. The question of finding solutions to such equat ...
(i.e., v(0) = v(L) = 0 where is the eigenvector), the
eigenvalues In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
are \lambda_j = -\tfrac and the corresponding
eigenvectors In linear algebra, an eigenvector ( ) or characteristic vector is a Vector (mathematics and physics), vector that has its direction (geometry), direction unchanged (or reversed) by a given linear map, linear transformation. More precisely, an e ...
(also called
eigenfunctions In mathematics, an eigenfunction of a linear map, linear operator ''D'' defined on some function space is any non-zero function (mathematics), function f in that space that, when acted upon by ''D'', is only multiplied by some scaling factor calle ...
) are Here, for For other well-known cases, see
Eigenvalues and eigenvectors of the second derivative Explicit formulas for eigenvalues and eigenvectors of the second derivative with different boundary conditions are provided both for the continuous and discrete cases. In the discrete case, the standard central difference approximation of the se ...
.


Generalization to higher dimensions


The Hessian

The second derivative generalizes to higher dimensions through the notion of second
partial derivative In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). P ...
s. For a function , these include the three second-order partials \frac, \; \frac, \text\frac and the mixed partials \frac, \; \frac, \text \frac. If the function's image and domain both have a potential, then these fit together into a
symmetric matrix In linear algebra, a symmetric matrix is a square matrix that is equal to its transpose. Formally, Because equal matrices have equal dimensions, only square matrices can be symmetric. The entries of a symmetric matrix are symmetric with ...
known as the Hessian. The
eigenvalue In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s of this matrix can be used to implement a multivariable analogue of the second derivative test. (See also the
second partial derivative test In mathematics, the second partial derivative test is a method in multivariable calculus used to determine if a Critical point (mathematics), critical point of a function is a maxima and minima, local minimum, maximum or saddle point. Functions ...
.)


The Laplacian

Another common generalization of the second derivative is the Laplacian. This is the differential operator \nabla^2 (or \Delta) defined by \nabla^2 f = \frac + \frac + \frac. The Laplacian of a function is equal to the
divergence In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the rate that the vector field alters the volume in an infinitesimal neighborhood of each point. (In 2D this "volume" refers to ...
of the
gradient In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
, and the
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
of the
Hessian matrix In mathematics, the Hessian matrix, Hessian or (less commonly) Hesse matrix is a square matrix of second-order partial derivatives of a scalar-valued Function (mathematics), function, or scalar field. It describes the local curvature of a functio ...
.


See also

*
Chirpyness A chirp is a signal in which the frequency increases (''up-chirp'') or decreases (''down-chirp'') with time. In some sources, the term ''chirp'' is used interchangeably with sweep signal. It is commonly applied to sonar, radar, and laser system ...
, second derivative of
instantaneous phase Instantaneous phase and frequency are important concepts in signal processing that occur in the context of the representation and analysis of time-varying functions. The instantaneous phase (also known as local phase or simply phase) of a ''compl ...
*
Finite difference A finite difference is a mathematical expression of the form . Finite differences (or the associated difference quotients) are often used as approximations of derivatives, such as in numerical differentiation. The difference operator, commonly d ...
, used to approximate second derivative *
Second partial derivative test In mathematics, the second partial derivative test is a method in multivariable calculus used to determine if a Critical point (mathematics), critical point of a function is a maxima and minima, local minimum, maximum or saddle point. Functions ...
*
Symmetry of second derivatives In mathematics, the symmetry of second derivatives (also called the equality of mixed partials) is the fact that exchanging the order of partial derivatives of a multivariate function :f\left(x_1,\, x_2,\, \ldots,\, x_n\right) does not change the ...


References


Further reading


Print

* * * * * * * *


Online books

* * * * * * * * *{{Citation , last = Wikibooks , title = Calculus , url = http://en.wikibooks.org/wiki/Calculus


External links


Discrete Second Derivative from Unevenly Spaced Points
Mathematical analysis Differential calculus Functions and mappings Linear operators in calculus