Second derivative explained

In calculus, the second derivative, or the second-order derivative, of a function is the derivative 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 of the object is changing with respect to time. In Leibniz notation:a = \frac = \frac,where is acceleration, is velocity, is time, is position, and d is the instantaneous "delta" or change. The last expression

\tfrac{d2x}{dt2}

is the second derivative of position with respect to time.

On the graph of a function, the second derivative corresponds to the curvature 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 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)

.[1] [2] That is:f = \left(f'\right)'When using Leibniz's notation 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 functionf(x) = x^3,the derivative of is the functionf'(x) = 3x^2.The second derivative of is the derivative of

f'

, namelyf(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 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

See main article: Inflection point. 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 for a function (i.e., a point where

f'(x)=0

) is a local maximum or a local minimum. Specifically,

f''(x)<0

, then

f

has a local maximum at

x

.

f''(x)>0

, then

f

has a local minimum at

x

.

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.[3] [4] 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 of difference quotients:\frac = \frac.This limit can be viewed as a continuous version of the second difference for sequences.

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

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 approximations, the second derivative is related to the best quadratic approximation for a function . This is the quadratic function 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 isf(x) \approx f(a) + f'(a)(x-a) + \tfrac f(a)(x-a)^2.This quadratic approximation is the second-order Taylor polynomial for the function centered at .

Eigenvalues and eigenvectors of the second derivative

For many combinations of boundary conditions explicit formulas for eigenvalues and eigenvectors of the second derivative can be obtained. For example, assuming

x\in[0,L]

and homogeneous Dirichlet boundary conditions (i.e.,

v(0)=v(L)=0

where is the eigenvector), the eigenvalues are

λj=-\tfrac{j2\pi2}{L2}

and the corresponding eigenvectors (also called eigenfunctions) are Here, for

For other well-known cases, see Eigenvalues and eigenvectors of the second derivative.

Generalization to higher dimensions

The Hessian

See main article: Hessian matrix. The second derivative generalizes to higher dimensions through the notion of second partial derivatives. For a function, these include the three second-order partials\frac, \; \frac, \text\fracand 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 known as the Hessian. The eigenvalues of this matrix can be used to implement a multivariable analogue of the second derivative test. (See also the second partial derivative test.)

The Laplacian

See main article: Laplace operator. Another common generalization of the second derivative is the Laplacian. This is the differential operator

\nabla2

(or

\Delta

) defined by\nabla^2 f = \frac + \frac + \frac.The Laplacian of a function is equal to the divergence of the gradient, and the trace of the Hessian matrix.

See also

Further reading

Online books

External links

Notes and References

  1. Web site: Content - The second derivative. 2020-09-16 . amsi.org.au.
  2. Web site: Second Derivatives. 2020-09-16. Math24. en-US.
  3. Book: A. Zygmund . Trigonometric Series. Trigonometric Series . 2002. Cambridge University Press . 978-0-521-89053-3 . 22–23.
  4. Book: Thomson , Brian S. . 1994 . Symmetric Properties of Real Functions . Marcel Dekker . 0-8247-9230-0 . 1.