Derivative (mathematics)

A function (black) and a tangent (red). The derivative at the point is the slope of the tangent.

In mathematics (particularly in differential calculus), the derivative is a way to show how steep a function is at a given point. Derivatives are similar to the slope of a line, but can be used for other curves as well. It is sometimes called the "instantaneous rate of change" of a function.

More specifically, the derivative is how much a function is changing at one given point. For functions that act on the real numbers, it is the slope of the tangent line at a point on a graph. The derivative is often written as [math]\displaystyle{ \tfrac{dy}{dx} }[/math] ("dy over dx" or "dy upon dx", meaning the difference in y divided by the difference in x). The d is not a variable, and therefore cannot be cancelled out. Another common notation is [math]\displaystyle{ f'(x) }[/math]—the derivative of function [math]\displaystyle{ f }[/math] at point [math]\displaystyle{ x }[/math], usually read as "[math]\displaystyle{ f }[/math] prime of [math]\displaystyle{ x }[/math]".[1][2][3]

Definition of a derivative

 
An animation giving an intuitive idea of the derivative, as the "swing" of a function change when the argument changes.

The derivative of y with respect to x is defined as the change in y over the change in x, as the distance between [math]\displaystyle{ x_0 }[/math] and [math]\displaystyle{ x_1 }[/math] becomes infinitely small (infinitesimal). In mathematical terms,[2][3]

[math]\displaystyle{ f'(a)=\lim_{h\to 0}{\frac{f(a+h)-f(a)}{h}} }[/math]

That is, as the distance between the two x points (h) becomes closer to zero, the slope of the line between them comes closer to resembling a tangent line.

Derivatives of functions

Linear functions

Derivatives of linear functions (functions of the form [math]\displaystyle{ mx+c }[/math] with no quadratic or higher terms) are constant. That is, the derivative in one spot on the graph will remain the same on another.

When the dependent variable [math]\displaystyle{ y }[/math] directly takes [math]\displaystyle{ x }[/math]'s value ([math]\displaystyle{ y=x }[/math]), the slope of the line is 1 in all places, so [math]\displaystyle{ \tfrac{d}{dx}(x) = 1 }[/math] regardless of where the position is.

When [math]\displaystyle{ y }[/math] modifies [math]\displaystyle{ x }[/math]'s number by adding or subtracting a constant value, the slope is still 1, because the change in [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] do not change if the graph is shifted up or down. That is, the slope is still 1 throughout the entire graph and its derivative is also 1.

Power functions

Power functions (in the form of [math]\displaystyle{ x^a }[/math]) behave differently from linear functions, because their exponent and slope vary.

Power functions, in general, follow the rule that [math]\displaystyle{ \tfrac{d}{dx}x^a = ax^{a-1} }[/math].[2] That is, if we give a the number 6, then [math]\displaystyle{ \tfrac{d}{dx} x^6 = 6x^5 }[/math]

Another example, which is less obvious, is the function [math]\displaystyle{ f(x) = \tfrac{1}{x} }[/math]. This is essentially the same, because 1/x can be simplified to use exponents:

[math]\displaystyle{ f(x) = \frac{1}{x} = x^{-1} }[/math]
[math]\displaystyle{ f'(x) = -1(x^{-2}) }[/math]
[math]\displaystyle{ f'(x) = -\frac{1}{x^2} }[/math]

In addition, roots can be changed to use fractional exponents, where their derivative can be found:

[math]\displaystyle{ f(x) = \sqrt[3]{x^2} = x^\frac{2}{3} }[/math]
[math]\displaystyle{ f'(x) = \frac{2}{3}(x^{-\frac{1}{3}}) }[/math]

Exponential functions

An exponential function is of the form [math]\displaystyle{ ab^{f\left(x\right)} }[/math], where [math]\displaystyle{ a }[/math] and [math]\displaystyle{ b }[/math] are constants and [math]\displaystyle{ f(x) }[/math] is a function of [math]\displaystyle{ x }[/math]. The difference between an exponential and a polynomial is that in a polynomial [math]\displaystyle{ x }[/math] is raised to some power, whereas in an exponential [math]\displaystyle{ x }[/math] is in the power.

Example 1

[math]\displaystyle{ \frac{d}{dx}\left( ab^{ f\left( x \right) } \right) = ab^{f(x)} \cdot f'\left(x \right) \cdot \ln(b) }[/math]

Example 2

Find [math]\displaystyle{ \frac{d}{dx} \left( 3\cdot2^{3{x^2}} \right) }[/math].

[math]\displaystyle{ a = 3 }[/math]

[math]\displaystyle{ b = 2 }[/math]

[math]\displaystyle{ f\left( x \right) = 3x^2 }[/math]

[math]\displaystyle{ f'\left( x \right) = 6x }[/math]

Therefore,

[math]\displaystyle{ \frac{d}{dx} \left(3 \cdot 2^{3x^2} \right) = 3 \cdot 2^{3x^2} \cdot 6x \cdot \ln \left( 2 \right) = \ln \left(2 \right) \cdot 18x \cdot 2^{3x^2} }[/math]

Logarithmic functions

The derivative of logarithms is the reciprocal:[2]

[math]\displaystyle{ \frac{d}{dx}\ln(x) = \frac{1}{x} }[/math].

Take, for example, [math]\displaystyle{ \frac{d}{dx}\ln\left(\frac{5}{x}\right) }[/math]. This can be reduced to (by the properties of logarithms):

[math]\displaystyle{ \frac{d}{dx}(\ln(5)) - \frac{d}{dx}(\ln(x)) }[/math]

The logarithm of 5 is a constant, so its derivative is 0. The derivative of [math]\displaystyle{ \ln(x) }[/math] is [math]\displaystyle{ \tfrac{1}{x} }[/math]. So,

[math]\displaystyle{ 0 - \frac{d}{dx} \ln(x) = -\frac{1}{x} }[/math]

For derivatives of logarithms not in base e, such as [math]\displaystyle{ \tfrac{d}{dx}(\log_{10}(x)) }[/math], this can be reduced to:

[math]\displaystyle{ \frac{d}{dx} \log_{10}(x) = \frac{d}{dx} \frac{\ln{x}}{\ln{10}} = \frac{1}{\ln{10}} \frac{d}{dx} \ln{x} = \frac{1}{x \ln(10)} }[/math]

Trigonometric functions

The cosine function is the derivative of the sine function, while the derivative of cosine is negative sine (provided that x is measured in radians):[2]

[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}\sec(x) = \sec(x)\tan(x) }[/math] [math]\displaystyle{ {\operatorname{d}\over\operatorname{d}\!x} cosec(x) = -cosec(x)cot(x) }[/math]
[math]\displaystyle{ {\operatorname{d}\over\operatorname{d}\!x}\tan(x)=\sec^2(x) }[/math] [math]\displaystyle{ {\operatorname{d}\over\operatorname{d}\!x} cot(x)=-cosec^2(x) }[/math]

Properties of derivatives

Derivatives can be broken up into smaller parts where they are manageable (as they have only one of the above function characteristics). For example, [math]\displaystyle{ \tfrac{d}{dx}(3x^6 + x^2 - 6) }[/math] can be broken up as:

[math]\displaystyle{ \frac{d}{dx}(3x^6) + \frac{d}{dx}(x^2) - \frac{d}{dx}(6) }[/math]
[math]\displaystyle{ = 6 \cdot 3x^5 + 2x - 0 }[/math]
[math]\displaystyle{ = 18x^5 + 2x\, }[/math]

Uses of derivatives

A function's derivative can be used to search for the maxima and minima of the function, by searching for places where its slope is zero.

Derivatives are used in Newton's method, which helps one find the zeros (roots) of a function. One can also use derivatives to determine the concavity of a function, and whether the function is increasing or decreasing.

Related pages

References

  1. "List of Calculus and Analysis Symbols". Math Vault. 2020-05-11. Retrieved 2020-09-15.
  2. 2.0 2.1 2.2 2.3 2.4 Weisstein, Eric W. "Derivative". mathworld.wolfram.com. Retrieved 2020-09-15.
  3. 3.0 3.1 "The meaning of the derivative - An approach to calculus". themathpage.com. Retrieved 2020-09-15.

Other websites