derivative (original) (raw)

Qualitatively the derivative is a of the change of afunctionMathworldPlanetmath in a small around a specified point.

Motivation

The idea behind the derivative comes from the straight line. What characterizes a straight line is the fact that it has constant “slope”.

Figure 1: The straight line y=m⁢x+b

In other words, for a line given by the equation y=m⁢x+b, as in Fig.1, the ratio of Δ⁢y over Δ⁢x is always constant and has the value Δ⁢yΔ⁢x=m.

Figure 2: The parabola y=x2 and its tangentMathworldPlanetmathPlanetmathPlanetmath at (x0,y0)

For other curves we cannot define a “slope”, like for the straight line, since such a quantity would not be constant. However, for sufficiently smooth curves, each point on a curve has a tangent line. For example consider the curve y=x2, as in Fig. 2. At the point (x0,y0) on the curve, we can draw a tangent of slope mgiven by the equation y-y0=m⁢(x-x0).

Suppose we have a curve of the form y=f⁢(x), and at the point(x0,f⁢(x0)) we have a tangent given by y-y0=m⁢(x-x0). Note that for values of x sufficiently close to x0 we can make the approximation f⁢(x)≈m⁢(x-x0)+y0. So the slope m of the tangent describes how much f⁢(x) changes in the vicinity of x0. It is the slope of the tangent that will be associated with the derivative of the function f⁢(x).

Formal definition

More formally for any real function f:ℝ→ℝ, we define thederivative of f at the point x as the following limit (if it exists)

f′⁢(x):=limh→0⁡f⁢(x+h)-f⁢(x)h.

This definition turns out to be with the motivation introduced above.

The derivatives for some elementary functionsMathworldPlanetmath are (cf. derivative notation)

    1. dd⁢x⁢c=0, where c is constant;
    1. dd⁢x⁢xn=n⁢xn-1;
    1. dd⁢x⁢sin⁡x=cos⁡x;
    1. dd⁢x⁢cos⁡x=-sin⁡x;
    1. dd⁢x⁢ex=ex;
    1. dd⁢x⁢ln⁡x=1x.

While derivatives of more complicated expressions can be calculated algorithmically using the following rules

Linearity

dd⁢x⁢(a⁢f⁢(x)+b⁢g⁢(x))=a⁢f′⁢(x)+b⁢g′⁢(x);

Product ruleMathworldPlanetmath

dd⁢x⁢(f⁢(x)⁢g⁢(x))=f′⁢(x)⁢g⁢(x)+f⁢(x)⁢g′⁢(x);

Chain ruleMathworldPlanetmath

dd⁢x⁢g⁢(f⁢(x))=g′⁢(f⁢(x))⁢f′⁢(x);

Quotient RuleMathworldPlanetmath

dd⁢x⁢f⁢(x)g⁢(x)=f′⁢(x)⁢g⁢(x)-f⁢(x)⁢g′⁢(x)g⁢(x)2.

Note that the quotient rule, although given as much importance as the other rules in elementary calculus, can be derived by succesively applying the product rule and the chain rule tof⁢(x)g⁢(x)=f⁢(x)⁢1g⁢(x). Also the quotient rule does not generalize as well as the other ones.

Since the derivative f′⁢(x) of f⁢(x) is also a function x, higher derivatives can be obtained by applying the same procedure to f′⁢(x) and so on.

Generalization

Banach Spaces

Unfortunately the notion of the “slope of the tangent” does not directly generalize to more abstract situations. What we can do is keep in mind the facts that the tangent is a linear function and that it approximates the function near the point of tangency, as well as the formal definition above.

Very general conditions under which we can define a derivative in a manner much similar to the above areas follows. Let f:𝖵→𝖶, where 𝖵 and 𝖶 are Banach spacesMathworldPlanetmath. Let 𝐡≠0 be an element of 𝖵. We define the_directional derivativeMathworldPlanetmath_ (D𝐡⁢f)⁢(𝐱) at 𝐱 as the following limit (when it exists):

(D𝐡⁢f)⁢(𝐱):=limϵ→0⁡f⁢(𝐱+ϵ⁢𝐡)-f⁢(𝐱)ϵ,

where ϵ is a scalar. Note that f⁢(x+ϵ⁢𝐡)≈f⁢(𝐱)+ϵ⁢(D𝐡⁢f)⁢(𝐱), which is with our original motivation. In certain contexts, this directional derivative is also called the Gâteaux derivative.

Finally we define the derivative at𝐱 as the bounded linear map (D⁢f)⁢(𝐱):𝖵→𝖶 such that for any non-zero 𝐡∈𝖵

lim∥𝐡∥→0⁡(f⁢(𝐱+𝐡)-f⁢(𝐱))-(D⁢f)⁢(𝐱)⋅𝐡∥𝐡∥=0.

Once again we have f⁢(𝐱+𝐡)≈f⁢(𝐱)+(D⁢f)⁢(𝐱)⋅𝐡. In fact, if the derivative (D⁢f)⁢(𝐱) exists, the directional derivatives can be obtained as (D𝐡⁢f)⁢(𝐱)=(D⁢f)⁢(𝐱)⋅𝐡.11The notation A⋅𝐡 is used when 𝐡 is a vector and A a linear operator. This notation can be considered advantageous to the usual notation A⁢(𝐡), since the latter is rather bulky and the former incorporates the intuitive distributive properties of linear operators also associated with usual multiplication. However, the existence of (D𝐡⁢f) for each non-zero 𝐡∈𝖵 does not guarantee the existence of (D⁢f)⁢(𝐱). This derivative is also called the_Fréchet derivative_. In the more familiar casef:ℝn→ℝm, the derivative D⁢f is simply the JacobianDlmfMathworldPlanetmathPlanetmath off.

Under these general conditions the following properties of the derivative remain

    1. D⁢𝐡=0, where 𝐡 is a constant;
    1. D⁢(A⋅𝐱)=A, where A is linear.

Linearity

D⁢(a⁢f⁢(𝐱)+b⁢g⁢(𝐱))⋅𝐡=a⁢(D⁢f)⁢(𝐱)⋅𝐡+b⁢(D⁢g)⁢(𝐱)⋅𝐡;

Product” rule

D⁢(B⁢(f⁢(𝐱),g⁢(𝐱)))⋅𝐡=B⁢((D⁢f)⁢(𝐱)⋅𝐡,g⁢(𝐱))+B⁢(f⁢(𝐱),(D⁢g)⁢(𝐱)⋅𝐡), where B is bilinear;

Chain rule

D(g(f(𝐱))⋅𝐡=(Dg)(f(𝐱))⋅((Df)(𝐱)⋅𝐡).

Note that the derivative of f can be seen as a function D⁢f:𝖵→L⁢(𝖵,𝖶) given by D⁢f:𝐱↦(D⁢f)⁢(𝐱), where L⁢(𝖵,𝖶)is the space of bounded linear maps from 𝖵 to 𝖶. Since L⁢(𝖵,𝖶)can be considered a Banach space itself with the norm taken as theoperator norm, higher derivatives can be obtained by applying the same procedure to D⁢f and so on.

0.1 Partial derivatives

A straightforward extension of the derivatives defined above is that of partial derivativesMathworldPlanetmath for functions of several independent variables. Partial derivatives have numerous applications, as for example in physics and engineering; wave equations are among such important examples of the use of partial derivatives in physics and engineering.

Manifolds

Let 𝖵 be a Banach space (for finite dimensional manifolds 𝖵=ℝn). A manifold modeled on 𝖵 is a topological spaceMathworldPlanetmath that is locally homeomorphic to𝖵 and is endowed with enough structure to define derivatives. Since the notion of a manifold was constructed specifically to generalize the notion of a derivative, this seems like the end of the road for this entry. The following discussion is rather technical, a more intuitive explanation of the same concept can be found in the entry on related rates.

Consider manifolds V and W modeled on Banach spaces 𝖵 and 𝖶, respectively. Say we havey=f⁢(x) for some x∈V and y∈W, then, by definition of a manifold, we can find charts (X,𝐱) and (Y,𝐲), where X and Yare neighborhoods of x and y, respectively. These charts provide us with canonical isomorphisms between the Banach spaces 𝖵 and 𝖶, and the respective tangent spacesMathworldPlanetmath Tx⁢V and Ty⁢W:

d⁢𝐱x:Tx⁢V→𝖵,d⁢𝐲y:Ty⁢W→𝖶.

Now consider a map f:V→W between the manifolds. By composing it with the chart maps we construct the map

g(X,𝐱)(Y,𝐲)=𝐲∘f∘𝐱-1:𝖵→𝖶,

defined on an appropriately domain. Since we now have a map between Banach spaces, we can define its derivative at 𝐱⁢(x) in the sense defined above, namelyD⁢g(X,𝐱)(Y,𝐲)⁢(𝐱⁢(x)). If this derivative exists for every choice of admissible charts (X,𝐱) and (Y,𝐲), we can say that the derivative of D⁢f⁢(x) of f at x is defined and given by

D⁢f⁢(x)=d⁢𝐲y-1∘D⁢g(X,𝐱)(Y,𝐲)⁢(𝐱⁢(x))∘d⁢𝐱x

(it can be shown that this is well defined and independent of the choice of charts).

Note that the derivative is now a map between the tangent spaces of the two manifolds D⁢f⁢(x):Tx⁢V→Ty⁢W. Because of this a common notation for the derivative of f at x is Tx⁢f. Anotheralternative notationDlmfDlmfDlmfDlmfDlmf for the derivative is f*,x because of its connection to the category-theoretical pushforward.

Distributions

Derivatives can also be generalized in less “smooth” contexts. For example the derivative is one of operation (http://planetmath.org/OperationsOnDistributions) that can be defined for distributionsDlmfPlanetmath.

Standard connection of ℝn

Let Ω be an open set in ℝn. There is an operator on vectors fieldsMathworldPlanetmath in Ω which measure how a pair of them, X,Y:Ω→ℝn vary, one with respect to the other:

Here J⁢Y is the Jacobian of Y, so when we multiply, we can see that the componentsPlanetmathPlanetmathof DX⁢Y are the directional variations of the components of Y in the direction X.

Additional Topic