derivative (original) (raw)
Qualitatively the derivative is a of the change of afunction 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=mx+b
In other words, for a line given by the equation y=mx+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 tangent 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→0f(x+h)-f(x)h. |
---|
This definition turns out to be with the motivation introduced above.
The derivatives for some elementary functions are (cf. derivative notation)
- ddxc=0, where c is constant;
- ddxxn=nxn-1;
- ddxsinx=cosx;
- ddxcosx=-sinx;
- ddxex=ex;
- ddxlnx=1x.
While derivatives of more complicated expressions can be calculated algorithmically using the following rules
Linearity
ddx(af(x)+bg(x))=af′(x)+bg′(x);
ddx(f(x)g(x))=f′(x)g(x)+f(x)g′(x);
ddxg(f(x))=g′(f(x))f′(x);
ddxf(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 spaces. Let 𝐡≠0 be an element of 𝖵. We define the_directional derivative
_ (D𝐡f)(𝐱) at 𝐱 as the following limit (when it exists):
(D𝐡f)(𝐱):=limϵ→0f(𝐱+ϵ𝐡)-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 (Df)(𝐱):𝖵→𝖶 such that for any non-zero 𝐡∈𝖵
lim∥𝐡∥→0(f(𝐱+𝐡)-f(𝐱))-(Df)(𝐱)⋅𝐡∥𝐡∥=0. |
---|
Once again we have f(𝐱+𝐡)≈f(𝐱)+(Df)(𝐱)⋅𝐡. In fact, if the derivative (Df)(𝐱) exists, the directional derivatives can be obtained as (D𝐡f)(𝐱)=(Df)(𝐱)⋅𝐡.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 (Df)(𝐱). This derivative is also called the_Fréchet derivative_. In the more familiar casef:ℝn→ℝm, the derivative Df is simply the Jacobian off.
Under these general conditions the following properties of the derivative remain
- D𝐡=0, where 𝐡 is a constant;
- D(A⋅𝐱)=A, where A is linear.
Linearity
D(af(𝐱)+bg(𝐱))⋅𝐡=a(Df)(𝐱)⋅𝐡+b(Dg)(𝐱)⋅𝐡;
“Product” rule
D(B(f(𝐱),g(𝐱)))⋅𝐡=B((Df)(𝐱)⋅𝐡,g(𝐱))+B(f(𝐱),(Dg)(𝐱)⋅𝐡), where B is bilinear;
Chain rule
D(g(f(𝐱))⋅𝐡=(Dg)(f(𝐱))⋅((Df)(𝐱)⋅𝐡).
Note that the derivative of f can be seen as a function Df:𝖵→L(𝖵,𝖶) given by Df:𝐱↦(Df)(𝐱), 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 Df and so on.
0.1 Partial derivatives
A straightforward extension of the derivatives defined above is that of partial derivatives 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 space 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 spaces TxV and TyW:
d𝐱x:TxV→𝖵,d𝐲y:TyW→𝖶. |
---|
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, namelyDg(X,𝐱)(Y,𝐲)(𝐱(x)). If this derivative exists for every choice of admissible charts (X,𝐱) and (Y,𝐲), we can say that the derivative of Df(x) of f at x is defined and given by
Df(x)=d𝐲y-1∘Dg(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 Df(x):TxV→TyW. Because of this a common notation for the derivative of f at x is Txf. Anotheralternative notation 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 distributions.
Standard connection of ℝn
Let Ω be an open set in ℝn. There is an operator on vectors fields in Ω which measure how a pair of them, X,Y:Ω→ℝn vary, one with respect to the other:
Here JY is the Jacobian of Y, so when we multiply, we can see that the componentsof DXY are the directional variations of the components of Y in the direction X.
Additional Topic
- •
Non-Newtonian calculus