All Topics  
Derivative

 

   Email Print
   Bookmark   Link






 

Derivative



 
 
In calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
, a branch of mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the derivative is a measure of how a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point. For example, the derivative of the position (or distance) of a vehicle with respect to time is the instantaneous velocity (respectively, instantaneous speed) at which the vehicle is traveling. Conversely, the integral
Integral

Integration is an important concept in mathematics, specifically in the field of calculus and, more broadly, mathematical analysis. Given a function ƒ of a Real number variable x and an interval [ab] of the real line, the integral...
 of the velocity over time is the vehicle's position.

The derivative of a function at a chosen input value describes the best linear approximation
Linear approximation

In mathematics, a linear approximation is an approximation of a general function using a linear function ....
 of the function near that input value.






Discussion
Ask a question about 'Derivative'
Start a new discussion about 'Derivative'
Answer questions from other users
Full Discussion Forum



Recent Posts









Encyclopedia


In calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
, a branch of mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the derivative is a measure of how a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point. For example, the derivative of the position (or distance) of a vehicle with respect to time is the instantaneous velocity (respectively, instantaneous speed) at which the vehicle is traveling. Conversely, the integral
Integral

Integration is an important concept in mathematics, specifically in the field of calculus and, more broadly, mathematical analysis. Given a function ƒ of a Real number variable x and an interval [ab] of the real line, the integral...
 of the velocity over time is the vehicle's position.

The derivative of a function at a chosen input value describes the best linear approximation
Linear approximation

In mathematics, a linear approximation is an approximation of a general function using a linear function ....
 of the function near that input value. For a real-valued function of a single real variable, the derivative at a point equals the slope
Slope

Slope is used to describe the steepness, incline, gradient, or grade of a line . A higher slope value indicates a steeper incline. The slope is defined as the ratio of the "rise" divided by the "run" between two points on a line, or in other words, the ratio of the altitude change to the horizontal distance between any two point...
 of the tangent line
Tangent

In geometry, the tangent line to a curve at a given Point is the straight line that "just touches" the curve at that point . As it passes through the point of tangency, the tangent line is "going in the same direction" as the curve, and in this sense it is the best straight-line approximation to the curve at that point....
 to the graph of the function
Graph of a function

In mathematics, the graph of a function f is the collection of all ordered pairs . In particular, if x is a real number, graph means the graphical representation of this collection, in the form of a curve on a Cartesian coordinate system, together with Cartesian axes, etc....
 at that point. In higher dimensions, the derivative of a function at a point is a linear transformation
Linear transformation

In mathematics, a linear map is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication....
 called the linearization
Linearization

In mathematics and its applications, linearization refers to finding the linear approximation to a function at a given point. In the study of dynamical systems, linearization is a method for assessing the local stability theory of an equilibrium point of a system of nonlinear differential equations or discrete dynamical systems....
. A closely related notion is the differential
Differential (calculus)

In calculus, a differential is traditionally an infinitesimally small change in a variable. For example, if x is a variable, then a change in the value of x is often denoted ?x ....
 of a function.

The process of finding a derivative is called differentiation. The fundamental theorem of calculus
Fundamental theorem of calculus

The fundamental theorem of calculus specifies the relationship between the two central operations of calculus: derivative and integral.The first part of the theorem, sometimes called the first fundamental theorem of calculus, shows that an antiderivative can be reversed by a differentiation....
 states that differentiation is the reverse process to integration.

Differentiation and the derivative


Differentiation is a method to compute the rate at which a dependent output y, changes with respect to the change in the independent input x. This rate of change is called the derivative of y with respect to x. In more precise language, the dependence of y upon x means that y is a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 of x. If x and y are real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s, and if the graph
Graph of a function

In mathematics, the graph of a function f is the collection of all ordered pairs . In particular, if x is a real number, graph means the graphical representation of this collection, in the form of a curve on a Cartesian coordinate system, together with Cartesian axes, etc....
 of y is plotted against x, the derivative measures the slope
Slope

Slope is used to describe the steepness, incline, gradient, or grade of a line . A higher slope value indicates a steeper incline. The slope is defined as the ratio of the "rise" divided by the "run" between two points on a line, or in other words, the ratio of the altitude change to the horizontal distance between any two point...
 of this graph at each point. This functional relationship is often denoted y = ƒ(x), where ƒ denotes the function.

The simplest case is when y is a linear function
Linear function

In mathematics, the term linear function can refer to either of two different but related concepts: a first-degree polynomial function of one variable; or a map between two vector spaces that preserves vector addition and scalar multiplication....
 of x, meaning that the graph of y against x is a straight line. In this case, y = ƒ(x) = m x + c, for real numbers m and c, and the slope m is given by where the symbol ? (the uppercase form of the Greek letter Delta
Delta (letter)

Delta is the fourth letter of the Greek alphabet. In the system of Greek numerals it has a value of 4. It was derived from the Phoenician alphabet Dalet , but in the Ancient Greek language, it represented a voiced dental plosive ....
) is an abbreviation for "change in." This formula is true because
y + Δy = ƒ(x+ Δx) = m (x + Δx) + c = m x + c + m Δx = y + mΔx.
It follows that ?y = m ?x.

This gives an exact value for the slope of a straight line. If the function ƒ is not linear (i.e. its graph is not a straight line), however, then the change in y divided by the change in x varies: differentiation is a method to find an exact value for this rate of change at any given value of x. The idea, illustrated by Figures 1-3, is to compute the rate of change as the limiting value
Limit of a function

In mathematics, the limit of a function is a fundamental concept in calculus and mathematical analysis concerning the behavior of that Function near a particular independent variable....
 of the ratio of the differences
Difference quotient

The primary vehicle of calculus and other higher mathematics is the Function . Its "input value" is its argument, usually a point expressible on a graph....
 ?y / ?x as ?x becomes infinitely small.

In Leibniz's notation, such an infinitesimal
Infinitesimal

Infinitesimals have been used to express the idea of objects so small that there is no way to see them or to measure them. For everyday life, an infinitesimal object is an object which is smaller than any possible measure....
 change in x is denoted by dx, and the derivative of y with respect to x is written
suggesting the ratio of two infinitesimal quantities. (The above expression is read as "the derivative of y with respect to x", "d y by d x", or "d y over d x". The oral form "d y d x" is often used conversationally, although it may lead to confusion.)

The most common approach to turn this intuitive idea into a precise definition uses limits
Limit (mathematics)

In mathematics, the concept of a "limit" is used to describe the behavior of a Function as its argument or input either "gets close" to some point, or as the argument becomes arbitrarily large; or the behavior of a sequence's elements as their index increases indefinitely....
, but there are other methods, such as non-standard analysis
Non-standard analysis

Non-standard analysis is a branch of mathematics that formulates mathematical analysis using a rigorous notion of an infinitesimal number.Non-standard analysis was introduced in the early 1960s by the mathematician Abraham Robinson....
.

Definition via difference quotients

Let ƒ be a real valued function. In classical geometry, the tangent line at a real number a was the unique line through the point (a, ƒ(a)) which did not meet the graph of ƒ transversally
Transversality

Transversality in mathematics is a notion that describes how spaces can intersect; transversality can be seen as the "opposite" of tangent, and plays a role in general position....
, meaning that the line did not pass straight through the graph. The derivative of y with respect to x at a is, geometrically, the slope of the tangent line to the graph of ƒ at a. The slope of the tangent line is very close to the slope of the line through (a, ƒ(a)) and a nearby point on the graph, for example (a + h, ƒ(a + h)). These lines are called secant line
Secant line

A secant line of a curve is a line that intersects two Point s on the curve. The word secant comes from the Latin secare, for to cut....
s. A value of h close to zero will give a good approximation to the slope of the tangent line, and smaller values (in absolute value
Absolute value

In mathematics, the absolute value of a real number is its numerical value without regard to its Negative and non-negative numbers. So, for example, 3 is the absolute value of both 3 and -3....
) of h will, in general, give better approximation
Approximation

An approximation is an Accuracy and precision representation of something that is still close enough to be useful. Although approximation is most often applied to numbers, it is also frequently applied to such things as Function , shapes, and physical laws....
s. The slope m of the secant line is the difference between the y values of these points divided by the difference between the x values, that is, This expression is Newton
Isaac Newton

Sir Isaac Newton, Fellow of the Royal Society was an English people physicist, mathematician, Astronomy, Natural philosophy, Alchemy, and Theology and one of the the 100 in human history....
's difference quotient
Difference quotient

The primary vehicle of calculus and other higher mathematics is the Function . Its "input value" is its argument, usually a point expressible on a graph....
. The derivative is the value of the difference quotient as the secant lines approach the tangent line. Formally, the derivative of the function ƒ at a is the limit
Limit (mathematics)

In mathematics, the concept of a "limit" is used to describe the behavior of a Function as its argument or input either "gets close" to some point, or as the argument becomes arbitrarily large; or the behavior of a sequence's elements as their index increases indefinitely....
of the difference quotient as h approaches zero, if this limit exists. If the limit exists, then ƒ is differentiable at a. Here f′ (a) is one of several common notations for the derivative (see below
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
).

Equivalently, the derivative satisfies the property that which has the intuitive interpretation (see Figure 1) that the tangent line to ƒ at a gives the best linear
Linear

The word linear comes from the Latin word linearis, which means created by lines.In mathematics, a linear map or function f is a function which satisfies the following two properties......
 approximation
to ƒ near a (i.e., for small h). This interpretation is the easiest to generalize to other settings (see below
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
).

Substituting 0 for h in the difference quotient causes division by zero
Division by zero

In mathematics, a division is called a division by zero if the divisor is 0 . Such a division can be formally expressed as a/0 where a is the dividend....
, so the slope of the tangent line cannot be found directly. Instead, define Q(h) to be the difference quotient as a function of h: . Q(h) is the slope of the secant line between (a, ƒ(a)) and (a + h, ƒ(a + h)). If ƒ is a continuous function
Continuous function

In mathematics, a continuous function is a function for which, intuitively, small changes in the input result in small changes in the output. Otherwise, a function is said to be discontinuous....
, meaning that its graph is an unbroken curve with no gaps, then Q is a continuous function away from the point h = 0. If the limit exists, meaning that there is a way of choosing a value for Q(0) which makes the graph of Q a continuous function, then the function ƒ is differentiable at the point a, and its derivative at a equals Q(0).

In practice, the existence of a continuous extension of the difference quotient Q(h) to h = 0 is shown by modifying the numerator to cancel h in the denominator. This process can be long and tedious for complicated functions, and many short cuts are commonly used to simplify the process.

Example


The squaring function ƒ(x) = x² is differentiable at x = 3, and its derivative there is 6. This result is established by writing the difference quotient as follows:

Then we obtain the derivative by letting .

The last expression shows that the difference quotient equals 6 + h when h is not zero and is undefined when h is zero. (Remember that because of the definition of the difference quotient, the difference quotient is never defined when h is zero.) However, there is a natural way of filling in a value for the difference quotient at zero, namely 6. Hence the slope of the graph of the squaring function at the point (3, 9) is 6, and so its derivative at x = 3 is ƒ '(3) = 6.

More generally, a similar computation shows that the derivative of the squaring function at x = a is ƒ '(a) = 2a.

Continuity and differentiability

If y = ƒ(x) is differentiable at a, then ƒ must also be continuous
Continuous function

In mathematics, a continuous function is a function for which, intuitively, small changes in the input result in small changes in the output. Otherwise, a function is said to be discontinuous....
 at a. As an example, choose a point a and let ƒ be the step function
Step function

In mathematics, a function on the real numbers is called a step function if it can be written as a finite set linear combination of indicator functions of interval s....
 which returns a value, say 1, for all x less than a, and returns a different value, say 10, for all x greater than or equal to a. ƒ cannot have a derivative at a. If h is negative, then a + h is on the low part of the step, so the secant line from a to a + h will be very steep, and 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 will have 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
Absolute value

In mathematics, the absolute value of a real number is its numerical value without regard to its Negative and non-negative numbers. So, for example, 3 is the absolute value of both 3 and -3....
 function y = |x| is continuous at x = 0, but it is not differentiable there. If h is positive, then the slope of the secant line from 0 to h is one, whereas if h is negative, then the slope of the secant line from 0 to h is negative one. This can be seen graphically as a "kink" in the graph at x = 0. Even a function with a smooth graph is not differentiable at a point where its tangent is vertical
Vertical tangent

In mathematics, a vertical tangent is tangent line with infinite slope, thus being vertical....
: For instance, the function y = 3vx is not differentiable at x = 0.

In summary: in order for a function ƒ to have a derivative it is necessary
Necessary and sufficient conditions

In logic, the words necessity and sufficiency refer to the implicational relationships between Statement . The assertion that one statement is a necessary and sufficient condition of another means that the former statement is true if and only if the latter is true....
 for the function ƒ to be continuous, but continuity alone is not sufficient
Necessary and sufficient conditions

In logic, the words necessity and sufficiency refer to the implicational relationships between Statement . The assertion that one statement is a necessary and sufficient condition of another means that the former statement is true if and only if the latter is true....
.

Most functions which occur in practice have derivatives at all points or at almost every
Almost everywhere

In measure theory , one says that a property holds almost everywhere if the set of elements for which the property does not hold is a null set, i.e....
 point. However, a result of Stefan Banach
Stefan Banach

Stefan Banach was a Polish mathematician who worked in Second Polish Republic and in Soviet Ukraine.A self-taught mathematics Child prodigy, Banach was the founder of modern functional analysis and a founder of the Lw?w School of Mathematics....
 states that the set of functions which have a derivative at some point is a meager set in the space of all continuous functions. Informally, this means that differentiable functions are very atypical among continuous functions. The first known example of a function that is continuous everywhere but differentiable nowhere is the Weierstrass function
Weierstrass function

In mathematics, the Weierstrass function is a pathological example of a real line-valued function on the real line. The function has the property that it is continuous function everywhere but differentiable nowhere....
.

The derivative as a function


Let ƒ be a function that has a derivative at every point a in the domain
Domain (mathematics)

In mathematics, the domain of a given function is the set of "input" values for which the function is defined. For instance, the domain of cosine would be all real numbers, while the domain of the square root would be only numbers greater than or equal to 0 ....
 of ƒ. Because every point a has a derivative, there is a function which sends the point a to the derivative of ƒ at a. This function is written f′(x) and is called the derivative function or the derivative of ƒ. The derivative of ƒ collects all the derivatives of ƒ at all the points in the domain of ƒ.

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 is undefined elsewhere is also called the derivative of ƒ. It is still a function, but its domain is strictly smaller than the domain of ƒ.

Using this idea, differentiation becomes a function of functions: The derivative is an operator
Operator

In mathematics, an operator is a function which operates on another function. Often, an "operator" is a function which acts on functions to produce other functions ; or it may be a generalization of such a function, as in linear algebra, where some of the terminology reflects the origin of the subject in operations on the functions which ar...
 whose domain is the set of all functions which have derivatives at every point of their domain and whose range is a set of functions. If we denote this operator by D, then D(ƒ) is the function f′(x). Since D(ƒ) is a function, it can be evaluated at a point a. By the definition of the derivative function, D(ƒ)(a) = f′(a).

For comparison, consider the doubling function ƒ(x) =2x; ƒ is a real-valued function of a real number, meaning that it takes numbers as inputs and has numbers as outputs:

The operator D, however, is not defined on individual numbers. It is only defined on functions:

Because the output of D is a function, the output of D can be evaluated at a point. For instance, when D is applied to the squaring function, D outputs the doubling function, which we named ƒ(x). This output function can then be evaluated to get ƒ(1) = 2, ƒ(2) = 4, and so on.

Higher derivatives


Let ƒ be a differentiable function, and let f′(x) be its derivative. The derivative of f′(x) (if it has one) is written f′′(x) and is called the second derivative of ƒ. Similarly, the derivative of a second derivative, if it exists, is written f′′′(x) and is called the third derivative of ƒ. These repeated derivatives are called higher-order derivatives.

A function ƒ need not have a derivative, for example, if it is not continuous. Similarly, even if ƒ does have a derivative, it may not have a second derivative. For example, let . An elementary calculation shows that ƒ is a differentiable function whose derivative is . f′(x) is twice the absolute value function, and it does not have a derivative at zero. Similar examples show that a function can have k derivatives for any non-negative integer k but no (k + 1)-order derivative. A function that has k successive derivatives is called k times differentiable. If in addition the kth derivative is continuous, then the function is said to be of differentiability class Ck. (This is a stronger condition than having k derivatives. For an example, see differentiability class.) A function that has infinitely many derivatives is called infinitely differentiable or smooth
Smooth function

In mathematical analysis, a differentiability class is a classification of function according to the properties of their derivatives. Higher order differentiability classes correspond to the existence of more derivatives....
.

On the real line, every polynomial function is infinitely differentiable. By standard differentiation rules
Differentiation rules

This is a summary of differentiation rules, that is, rules for computing the derivative of a function in calculus....
, if a polynomial of degree
n is differentiated n times, then it becomes a constant function
Constant function

In mathematics, a constant function is a function whose values do not vary and thus are constant. For example, if we have the function f = 4, then f is constant since f maps any value to 4....
. All of its subsequent derivatives are identically zero. In particular, they exist, so polynomials are smooth functions.

The derivatives of a function
ƒ at a point x provide polynomial approximations to that function near x. For example, if ƒ is twice differentiable, then in the sense that If ƒ is infinitely differentiable, then this is the beginning of the Taylor series
Taylor series

In mathematics, the Taylor series is a representation of a function as an Series of terms calculated from the values of its derivatives at a single point....
 for
ƒ.

Inflection point


A point where the second derivative of a function changes sign is called an
inflection point. At an inflection point, the second derivative may be zero, as in the case of the inflection point x=0 of the function y=x3, or it may fail to exist, as in the case of the inflection point x=0 of the function y=x1/3. At an inflection point, a function switches from being a convex function
Convex function

In mathematics, a real-valued function f defined on an interval is called convex, concave upwards, concave up or convex cup, if for any two points x and y in its domain C and any t in [0,1], we have...
 to being a concave function
Concave function

In mathematics, a concave function is the additive inverse of a convex function. A concave function is also synonymously called concave downwards, concave down, convex cap or upper convex....
 or vice versa.

Notations for differentiation


Leibniz's notation


The notation for derivatives introduced by Gottfried Leibniz
Gottfried Leibniz

Gottfried Wilhelm Leibniz was a Germany polymath who wrote primarily in Latin and French language.He occupies an equally grand place in both the history of philosophy and the history of mathematics....
 is one of the earliest. It is still commonly used when the equation
y = ƒ(x) is viewed as a functional relationship between dependent and independent variables. Then the first derivative is denoted by



Higher derivatives are expressed using the notation



for the
nth derivative of y = ƒ(x) (with respect to x). These are abbreviations for multiple applications of the derivative operator. For example,

With Leibniz's notation, we can write the derivative of
y at the point x = a in two different ways:



Leibniz's notation allows one to specify the variable for differentiation (in the denominator). This is especially relevant for partial differentiation
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 ....
. It also makes the chain rule
Chain rule

In calculus, the chain rule is a formula for the derivative of the functional composition of two function .In intuitive terms, if a variable, y, depends on a second variable, u, which in turn depends on a third variable, x, then the rate of Mathematics#Change of y with respect to x can be computation as the rate of chan...
 easy to remember:



Lagrange's notation

Sometimes referred to as
prime notation, one of the most common modern notations for differentiation is due to Joseph Louis Lagrange
Joseph Louis Lagrange

Joseph-Louis Lagrange, born Giuseppe Lodovico Lagrangia was an Italy mathematician and astronomer, who lived most of his life in Prussia and France, making significant contributions to all fields of mathematical analysis, to number theory, and to classical mechanics and celestial mechanics....
 and uses the prime mark
Prime (symbol)

The prime symbol , double prime symbol , triple prime symbol etc. are used to designate several different units, and for various other purposes in mathematics, the sciences and linguistics....
, so that the derivative of a function ƒ(
x) is denoted ƒ′(x) or simply ƒ′. Similarly, the second and third derivatives are denoted   and   Beyond this point, some authors use Roman numerals such as for the fourth derivative, whereas other authors place the number of derivatives in parentheses: The latter notation generalizes to yield the notation ƒ (n) for the nth derivative of ƒ — this notation is most useful when we wish to talk about the derivative as being a function itself, as in this case the Leibniz notation can become cumbersome.

Newton's notation


Newton's notation for differentiation, also called the dot notation, places a dot over the function name to represent a derivative. If
y = ƒ(t), then   and   denote, respectively, the first and second derivatives of y with respect to t. This notation is used almost exclusively for time derivative
Time derivative

A time derivative is a derivative of a function with respect to time, usually interpreted as the rate of change of the value of the function. The variable denoting time is usually written as ....
s, meaning that the independent variable of the function represents time
Time

Time is a component of the measurement used to sequence events, to compare the durations of events and the intervals between them, and to quantify the motions of objects....
. It is very common in physics
Physics

Physics is the natural science which examines basic concepts such as energy, force, and spacetime and all that derives from these, such as mass, charge, matter and its Motion ....
 and in mathematical disciplines connected with physics such as differential equation
Differential equation

A differential equation is a mathematics equation for an unknown function of one or several variable that relates the values of the function itself and its derivatives of various orders....
s. While the notation becomes unmanageable for high-order derivatives, in practice only very few derivatives are needed.

Euler's notation


Euler
Leonhard Euler

Leonhard Paul Euler was a pioneering Swiss mathematician and physicist who spent most of his life in Russia and Germany.Euler made important discoveries in fields as diverse as calculus and graph theory....
's notation uses a differential operator
Differential operator

In mathematics, a differential operator is an operator defined as a function of the derivative operator. It is helpful, as a matter of notation first, to consider differentiation as an abstract operation, accepting a function and returning another ....
 
D, which is applied to a function ƒ to give the first derivative Df. The second derivative is denoted D2ƒ, and the nth derivative is denoted Dnƒ.

If
y = ƒ(x) is a dependent variable, then often the subscript x is attached to the D to clarify the independent variable x. Euler's notation is then written   or   , although this subscript is often omitted when the variable x is understood, for instance when this is the only variable present in the expression.

Euler's notation is useful for stating and solving linear differential equation
Linear differential equation

In mathematics, a linear differential equation is a differential equation of the formwhere the differential operator L is a linear operator, y is the unknown function, and the right hand side ƒ is a given function ....
s.

Computing the derivative


The derivative of a function can, in principle, be computed from the definition by considering the difference quotient, and computing its limit. For some examples, see Derivative (examples)
Derivative (examples)

Example 1Consider f = 5:The derivative of a constant function is 0 ....
. In practice, 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.

Derivatives of elementary functions


Most derivative computations eventually require taking the derivative of some common functions. The following incomplete list gives some of the most frequently used functions of a single real variable and their derivatives. For a complete list, see Table of derivatives
Table of derivatives

The primary operation in differential calculus is finding a derivative. This table lists derivatives of many Function . In the following, f and g are differentiable functions, from the real numbers, and c is a real number....
.

  • Derivatives of powers
    Calculus with polynomials

    In mathematics, polynomials are perhaps the simplest function with which to do calculus. Their derivatives and indefinite integrals are given by the following rules:...
    : if


,

where
r is any non-zero real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
, then

,

wherever this function is defined. For example, if
r = 1/2, then

.

and the function is defined only for non-negative
x. When r = 0, this rule recovers the constant rule.

  • Exponential
    Exponential function

    The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
     and logarithm
    Logarithm

    In mathematics, the logarithm of a number to a given base is the Power or exponent to which the base must be raised in order to produce the number....
    ic functions:


  • Trigonometric function
    Trigonometric function

    In mathematics, the trigonometric functions are function s of an angle. They are important in the trigonometry of Triangle and modeling Periodic function, among many other applications....
    s:


  • Inverse trigonometric function
    Inverse trigonometric function

    In mathematics, the inverse trigonometric functions or cyclometric functions are the inverse functions of the trigonometric functions. The principal inverses are listed in the following table....
    s:


Rules for finding the derivative


In many cases, complicated limit calculations by direct application of Newton's difference quotient can be avoided using differentiation rules. Some of the most basic rules are the following.

  • Constant rule: if ƒ(x) is constant, then
  • Sum rule
    Linearity of differentiation

    In mathematics, the linearity of differentiation is a most fundamental property of the derivative, in differential calculus. It follows from the sum rule in differentiation and the constant factor rule in differentiation....
    :
for all functions ƒ and g and all real numbers a and b.
  • Product rule
    Product rule

    In calculus, the product rule is a formula used to find the derivatives of products of functions.It may be stated thus:or in the Leibniz notation thus:...
    :
for all functions ƒ and g.
  • Quotient rule
    Quotient rule

    In calculus, the quotient rule is a method of finding the derivative of a function that is the quotient of two other functions for which derivatives exist....
    :
for all functions ƒ and g where g ? 0.
  • Chain rule
    Chain rule

    In calculus, the chain rule is a formula for the derivative of the functional composition of two function .In intuitive terms, if a variable, y, depends on a second variable, u, which in turn depends on a third variable, x, then the rate of Mathematics#Change of y with respect to x can be computation as the rate of chan...
    : If , then
.

Example computation


The derivative of



is



Here the second term was computed using the chain rule
Chain rule

In calculus, the chain rule is a formula for the derivative of the functional composition of two function .In intuitive terms, if a variable, y, depends on a second variable, u, which in turn depends on a third variable, x, then the rate of Mathematics#Change of y with respect to x can be computation as the rate of chan...
 and third using the product rule
Product rule

In calculus, the product rule is a formula used to find the derivatives of products of functions.It may be stated thus:or in the Leibniz notation thus:...
. The known derivatives of the elementary functions
x2, x4, sin(x), ln(x) and exp(x) = ex, as well as the constant 7, were also used.

Derivatives in higher dimensions


Derivatives of vector valued functions


A vector-valued function
Vector-valued function

A vector-valued function is a mathematical function that maps real numbers to vector s. Vector-valued functions can be defined as:* orwhere f, g and h are the coordinate functions of the Parametric equation t, and , , and are unit vectors....
 
y(t) of a real variable is a function which sends real numbers to vectors in some vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 
Rn. A vector-valued function can be split up into its coordinate functions y1(t), y2(t), …, yn(t), meaning that y(t) = (y1(t), ..., yn(t)). This includes, for example, parametric curves in R2 or R3. The coordinate functions are real valued functions, so the above definition of derivative applies to them. The derivative of y(t) is defined to be the vector, called the tangent vector
Tangent vector

A tangent vector is a Vector that follows the direction of a curve or a surface at a given point.* Differential geometry of curves, description in the context of curves in Rn....
, whose coordinates are the derivatives of the coordinate functions. That is,

Equivalently,

if the limit exists. The subtraction in the numerator is subtraction of vectors, not scalars. If the derivative of
y exists for every value of t, then y′ is another vector valued function.

If
e1, …, e
n is the standard basis for Rn, then y(t) can also be written as y1(t)e1 + … + yn(t)en. If we assume that the derivative of a vector-valued function retains the linearity
Linearity of differentiation

In mathematics, the linearity of differentiation is a most fundamental property of the derivative, in differential calculus. It follows from the sum rule in differentiation and the constant factor rule in differentiation....
 property, then the derivative of
y(t) must be because each of the basis vectors is a constant.

This generalization is useful, for example, if
y(t) is the position vector of a particle at time t; then the derivative y′(t) is the velocity
Velocity

In physics, velocity is defined as the Derivative of Position vector. It is a vector physical quantity; both speed and direction are required to define it....
 vector of the particle at time
t.

Partial derivatives


Suppose that
ƒ is a function that depends on more than one variable. For instance, ƒ can be reinterpreted as a family of functions of one variable indexed by the other variables: In other words, every value of x chooses a function, denoted fx, which is a function of one real number. That is, Once a value of x is chosen, say a, then f(x,y) determines a function fa which sends y to a² + ay + y²: In this expression, a is a constant, not a variable, so fa is a function of only one real variable. Consequently the definition of the derivative for a function of one variable applies: The above procedure can be performed for any choice of a. Assembling the derivatives together into a function gives a function which describes the variation of ƒ in the y direction: This is the partial derivative of ƒ with respect to y. 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".

In general, the
partial derivative of a function ƒ(x1, …, xn) in the direction xi at the point (a1 …, an) is defined to be: In the above difference quotient, all the variables except xi are held fixed. That choice of fixed values determines a function of one variable and, by definition, In other words, the different choices of a index a family of one-variable functions just as in the example above. This expression also shows that the computation of partial derivatives reduces to the computation of one-variable derivatives.

An important example of a function of several variables is the case of a scalar-valued function
ƒ(x1,...xn) on a domain in Euclidean space
Rn (e.g., on R² or R³). In this case ƒ has a partial derivative ?ƒ/?xj with respect to each variable xj. At the point a, these partial derivatives define the vector This vector is called the gradient
Gradient

In vector calculus, the gradient of a scalar field is a vector field which points in the direction of the greatest rate of increase of the scalar field, and whose magnitude is the greatest rate of change....
of
ƒ at a. If ƒ is differentiable at every point in some domain, then the gradient is a vector-valued function ?ƒ which takes the point a to the vector ?f(a). Consequently the gradient determines a vector field
Vector field

In mathematics a vector field is a construction in vector calculus which associates a vector to every point in a Euclidean space.Vector fields are often used in physics to model, for example, the speed and direction of a moving fluid throughout space, or the strength and direction of some force, such as the magnetic field or gravity for...
.

Directional derivatives


If
ƒ is a real-valued function on
Rn, then the partial derivatives of ƒ measure its variation in the direction of the coordinate axes. For example, if ƒ is a function of x and y, then its partial derivatives measure the variation in ƒ in the x direction and the y direction. They do not, however, directly measure the variation of ƒ in any other direction, such as along the diagonal line y = x. These are measured using directional derivatives. Choose a vector The directional derivative of ƒ in the direction of v at the point x is the limit Let ? be a scalar. The substitution of h/? for h changes the ?v direction's difference quotient into ? times the v direction's difference quotient. Consequently, the directional derivative in the ?v direction is ? times the directional derivative in the v direction. Because of this, directional derivatives are often considered only for unit vectors v.

If all the partial derivatives of
ƒ exist and are continuous at x, then they determine the directional derivative of ƒ in the direction v by the formula: This is a consequence of the definition of the total derivative
Total derivative

In the mathematics of differential calculus, the term total derivative has a number of closely related meanings.* The total derivative of a function, f, of several variables, e.g., t,x,y, etc., with respect to one of its input variables, e.g., t, is different from the partial derivative....
. It follows that the directional derivative is linear in
v.

The same definition also works when
ƒ is a function with values in Rm. We just use the above definition in each component of the vectors. In this case, the directional derivative is a vector in Rm.

The total derivative, the total differential and the Jacobian


Let
ƒ be a function from a domain in R to R. The derivative of ƒ at a point a in its domain is the best linear approximation to ƒ at that point. As above, this is a number. Geometrically, if v is a unit vector starting at a, then f′ (a) , the best linear approximation to ƒ at a, should be the length of the vector found by moving v to the target space using ƒ. (This vector is called the pushforward of v by ƒ and is usually written .) In other words, if v is measured in terms of distances on the target, then, because v can only be measured through ƒ, v no longer appears to be a unit vector because ƒ does not preserve unit vectors. Instead v appears to have length f′ (a). If m is greater than one, then by writing ƒ using coordinate functions, the length of v in each of the coordinate directions can be measured separately.

Suppose now that
ƒ is a function from a domain in
Rn to Rm and that a is a point in the domain of ƒ. The derivative of ƒ at a should still be the best linear approximation to ƒ at a. In other words, if v is a vector on Rn, then f′ (a) should be the linear transformation
Linear transformation

In mathematics, a linear map is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication....
 that best approximates
ƒ at a. The linear transformation should contain all the information about how ƒ transforms vectors at a to vectors at f(a), and in symbols, this means it should be the linear transformation f′ (a) such that

Here
h is a vector in Rn, so the norm
Norm (mathematics)

In linear algebra, functional analysis and related areas of mathematics, a norm is a function that assigns a strictly positive length or size to all vectors in a vector space, other than the zero vector....
 in the denominator is the standard length on
Rn. However, f′ (a)h is a vector in Rm, and the norm in the numerator is the standard length on Rm. The linear transformation f′ (a), if it exists, is called the
total derivative of ƒ at a or the (total) differential
Differential (calculus)

In calculus, a differential is traditionally an infinitesimally small change in a variable. For example, if x is a variable, then a change in the value of x is often denoted ?x ....
of
ƒ at a.

If the total derivative exists at
a, then all the partial derivatives of ƒ exist at a. If we write ƒ using coordinate functions, so that ƒ = (ƒ1, ƒ2, ..., ƒm), then the total derivative can be expressed as a matrix
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
 called the
Jacobian matrix
Jacobian

In vector calculus, the Jacobian is shorthand for either the Jacobian matrix or its determinant, the Jacobian determinant.In algebraic geometry the Jacobian of a algebraic curve means the Jacobian variety: a group variety associated to the curve, in which the curve can be embedded....
of
ƒ'' at a:

The existence of the total derivative ''f′ ''(
a) is strictly stronger than the existence of all the partial derivatives, but if the partial derivatives exist and satisfy mild smoothness conditions, then the total derivative exists and is given by the Jacobian.

The definition of the total derivative subsumes the definition of the derivative in one variable. In this case, the total derivative exists if and only if the usual derivative exists. The Jacobian matrix reduces to a 1Χ1 matrix whose only entry is the derivative ''f′ (x)''. This 1Χ1 matrix satisfies the property that ''ƒ''(''a'' + ''h'') − ''ƒ''(''a'') − ''f′''(''a'')''h'' is approximately zero, in other words that

Up to changing variables, this is the statement that the function is the best linear approximation to ''ƒ'' at ''a''.

The total derivative of a function does not give another function in the same way as the one-variable case. This is because the total derivative of a multivariable function has to record much more information than the derivative of a single-variable function. Instead, the total derivative gives a function from the tangent bundle
Tangent bundle

In mathematics, the tangent bundle of a differentiable manifold M, denoted by T or just TM, is the disjoint unionThe disjoint union assures that for any two points x1 and x2 of manifold M the tangent spaces T1 and T2 have no common vector....
 of the source to the tangent bundle of the target.

Generalizations


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
Linear approximation

In mathematics, a linear approximation is an approximation of a general function using a linear function ....
 of the function at that point.

  • An important generalization of the derivative concerns complex
    Complex number

    In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
     functions of complex variables, such as functions from (a domain in) the complex numbers
    C to C. The notion of the derivative of such a function is obtained by replacing real variables with complex variables in the definition. However, this innocent definition hides some very deep properties. If C is identified with R² by writing a complex number ''z'' as ''x'' + ''i'' ''y'', then a differentiable function from C to C is certainly differentiable as a function from R² to R² (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 function
    Holomorphic function

    Holomorphic functions are the central object of study of complex analysis; they are function defined on an open set of the complex number C with values in C that are complex-differentiable at every point....
    s.


  • Another generalization concerns functions between differentiable or smooth manifolds. Intuitively speaking such a manifold ''M'' is a space which can be approximated near each point ''x'' by a vector space called its tangent space
    Tangent space

    In mathematics, the tangent space of a manifold is a concept which facilitates the generalization of vectors from affine spaces to general manifolds, since in the latter case one cannot simply subtract two points to obtain a vector pointing from one to the other....
    : the prototypical example is a smooth surface in
    R³. The derivative (or differential) of a (differentiable) map ''ƒ'': ''M'' ? ''N'' between manifolds, at a point ''x'' in ''M'', is then a linear map from the tangent space of ''M'' at ''x'' to the tangent space of ''N'' at ''ƒ''(''x''). The derivative function becomes a map between the tangent bundle
    Tangent bundle

    In mathematics, the tangent bundle of a differentiable manifold M, denoted by T or just TM, is the disjoint unionThe disjoint union assures that for any two points x1 and x2 of manifold M the tangent spaces T1 and T2 have no common vector....
    s of ''M'' and ''N''. This definition is fundamental in differential geometry and has many uses — see pushforward (differential) and pullback (differential geometry).


  • Differentiation can also be defined for maps between infinite dimensional
    Dimension (vector space)

    In mathematics, the dimension of a vector space V is the cardinal number of a basis of V. It is sometimes called Hamel dimension or algebraic dimension to distinguish it from other types of dimension....
     vector space
    Vector space

    File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
    s such as Banach space
    Banach space

    In mathematics, Banach spaces are one of the central objects of study in functional analysis. They are topological vector spaces that have many interesting properties associated with them....
    s and Frιchet space
    Frιchet space

    In functional analysis and related areas of mathematics, Fr?chet spaces or Frechet spaces, named after Maurice Fr?chet, are special topological vector spaces....
    s. There is a generalization both of the directional derivative, called the Gβteaux derivative
    Gβteaux derivative

    In mathematics, the G?teaux differential is a generalisation of the concept of directional derivative in differential calculus. Named after Ren? G?teaux, a French mathematician who died young in World War I, it is defined for functions between locally convex topological vector spaces such as Banach spaces....
    , and of the differential, called the Frιchet derivative
    Frιchet derivative

    In mathematics, the Fr?chet derivative is a derivative defined on Banach spaces. Named after Maurice Fr?chet, it is commonly used to formalize the concept of the functional derivative used widely in mathematical analysis, especially functional analysis....
    .


  • One deficiency of the classical derivative is that not very many functions are differentiable. Nevertheless, there is a way of extending the notion of the derivative so that all continuous
    Continuous function

    In mathematics, a continuous function is a function for which, intuitively, small changes in the input result in small changes in the output. Otherwise, a function is said to be discontinuous....
     functions and many other functions can be differentiated using a concept known as the weak derivative
    Weak derivative

    In mathematics, a weak derivative is a generalization of the concept of the derivative of a function for functions not assumed differentiable, but only Integrable function, i.e....
    . The idea is to embed the continuous functions in a larger space called the space of distributions
    Distribution (mathematics)

    In mathematical analysis, distributions are objects which generalize function s. They extend the concept of derivative to all locally integrable functions and beyond, and are used to formulate generalized solutions of partial differential equations....
     and only require that a function is differentiable "on average".


  • The properties of the derivative have inspired the introduction and study of many similar objects in algebra and topology — see, for example, differential algebra
    Differential algebra

    In mathematics, differential rings, differential fields and differential algebras are ring , field and algebra over a field equipped with a derivation, which is a Unary_operation function satisfying the Leibniz law ....
    .


  • Also see arithmetic derivative
    Arithmetic derivative

    In number theory, the arithmetic derivative, or number derivative, is a function defined for integers, based on prime factorization, by analogy with the product rule for the derivative that is used in mathematical analysis....
    .


See also

  • Calculus
    Calculus

    Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
  • Symmetric derivative
    Symmetric derivative

    In mathematics, the symmetric derivative is an operator related to the ordinary derivative.It is defined as:A function is symmetrically differentiable at a point x if its symmetric derivative exists at that point....
  • Automatic differentiation
    Automatic differentiation

    In mathematics and computer algebra, automatic differentiation , sometimes alternatively called algorithmic differentiation, is a method to numerically evaluate the derivative of a function specified by a computer program....
  • Differentiability class
  • Differintegral
    Differintegral

    In mathematics, the differintegral is the combined Differential operator/integral operator operator used in fractional calculus. The operator does not define a separate function, but is a notation style for taking both the fractional derivative and the fractional integral of the same expression....
  • Integral
    Integral

    Integration is an important concept in mathematics, specifically in the field of calculus and, more broadly, mathematical analysis. Given a function ƒ of a Real number variable x and an interval [ab] of the real line, the integral...
  • Linearization
    Linearization

    In mathematics and its applications, linearization refers to finding the linear approximation to a function at a given point. In the study of dynamical systems, linearization is a method for assessing the local stability theory of an equilibrium point of a system of nonlinear differential equations or discrete dynamical systems....
  • Numerical differentiation
    Numerical differentiation

    Numerical differentiation is a technique of numerical analysis to produce an estimate of the derivative of a mathematical function or function subroutine using values from the function and perhaps other knowledge about the function....
  • Techniques for differentiation
    Techniques for differentiation

    This article contains a list of techniques for the derivative of real number function , categorized by type....
  • Table of derivatives
    Table of derivatives

    The primary operation in differential calculus is finding a derivative. This table lists derivatives of many Function . In the following, f and g are differentiable functions, from the real numbers, and c is a real number....


Print



External links

  • makes online calculation of derivatives; this software also enables interactive exercises.
  • online calculation of derivatives, including explanation of steps in the solution.