]> Definition and Rules

Math Animated™
Mathematical Introduction for Physics and Engineering
by Samuel Dagan (Copyright © 2007-2020)

Chapter 1: Differentiation; Section 3: Derivatives; page 1

Home | Table of Contents | A-Z Index | Help

Previous topic: section 2 Real Functions, page 5 Functions and Geometry

Next topic: page 2 Properties


Definition and Rules

Definition of a derivative

Differentiation and integration, which deal with derivatives and integrals accordingly, are called calculus and were invented in the 17th century by I. Newton, in order to develop his theory of physics. Since then calculus has become an important subject of mathematics and serves as a milestone for many more further developments.

The derivative of a single valued continuous function y=f( x ) at a given point x 0 is the limit

df dx = lim Δx0 Δf Δx = lim x x 0 f( x )f( x 0 ) x x 0 (1.3.1.1)

The two expressions with the limits are obviously identical, just presented differently. The left-hand side expression   ( df dx )   represents the limit and not a ratio of two numbers. It signifies that it originates from an increment of  f  divided by an increment of  x . In case of physical dimensions, it also stresses the ratio of the corresponding dimensions.

The derivative is usually represented as  f '  or  y '  [for  y = f(x)] , but we are not going to use this notation in order to avoid ambiguity.

If a function is not single valued, one has to specify a single valued branch. The continuity of the function is a necessary condition, but not a sufficient one, e.g. if at (1.3.1.1) the limit from the right is not identical to the limit from the left, the function is not differentiable at this point. The case of the limit diverging to infinty also makes the function not differentiable at that point.

We already know (1.2.5.14) that for a linear function (corresponding to a straight line) the ratios of the increments (1.3.1.1) are constant and correspond to the slope. The meaning of the limit (1.3.1.1) is the slope at a particular point (x0).

In order to understand the notion and the meaning of a derivative, we'll start by looking at one particular example: the function.

y= x at x 0 =1 (1.3.1.2)

The function is single valued and continuous. The calculation of the derivative in this case is:

( dy dx ) x 0 = lim x1 x 1 x1 = lim x1 x 1 ( x 1 )( x +1 ) = lim x1 1 x +1 = 1 2 (1.3.1.3)

If we know the slope of the function at a point, then we can define the tangent line to the function as a straight line passing through that point with this slope. According to (1.2.5.18) it is

y= y 0 + ( dy dx ) 0 ( x x 0 ) (1.3.1.4)

where   ( dy dx ) 0   means the derivative at the point   ( x 0 , y 0 )   of the function.

In our case we obtain   y=0.5( x+1 )   . This particular example is explained graphically at Fig. Derivative by limit.

From the definition of the tangent line at a point, in the vicinity of the point the function and the tangent line almost overlap and the relation (1.3.1.4) is also called the first approximation of the function around this point. In other words if we could zoom-in enough, the graphic presentation of a function around this point, we'll see it approximated by a straight line, representing the tangent line. The same example is used again for showing this feature at Fig. Derivative by zoom.

We already know from the discussion about straight lines (previous section), that in a graphic presentation with equally scaled coordinate axes, the slope is by value equivalent to the tangent of the angle made with the x axis. This was the case in the Fig-window just shown, but one has to be careful and use the tangent angle interpretation of the slope with caution.

It is obvious that the slope of a linear function (straight line) is its derivative, and it is constant. We'll use this to show a simple example of a function that is continuous in the whole domain of numbers, but is not differentiable at a point. The function

y=| x |={ xforx0       xforx0 }    

is not differentiable at point  x = 0  since the derivative from the left is  −1  and - from the right is  +1 . This means that a tangent line at that point is not defined, and that the function has a kink there.

Another way to denote a derivative is

d dx f( x )= lim Δx0 f( x+Δx )f( x ) Δx (1.3.1.5)

where the meaning of the ratio   d dx   is an operator applied to the function. This notation is very useful when the function is differentiable in a whole domain, and the derivative itself is a function. We'll deal in particular with such functions.

A direct consequence of the definition (1.3.1.5) is that the derivative of a constant is zero.

d dx C=0whereC=constant (1.3.1.6)

Rules for differentiation and   d dx ( x p )

We'll start with the differentiation of   x p  , where  p  is a natural number. In the case of  p = 2

d dx x 2 = lim Δx0 ( x+Δx ) 2 x 2 Δx = lim Δx0 2xΔx+ ( Δx ) 2 Δx =2x (1.3.1.7)

where the properties of the binomial expansion (1.1.2.20) is used. In the general case one has for any natural  p

( x+Δx ) p =( x p +p x p1 Δx+.... )    

where the missing terms cannot contribute to the derivative as seen from (1.3.1.7). One obtains therefore for  p = natural

d dx x p =p x p1 (1.3.1.8)

This includes also the case of  p = 0  as seen from (1.3.1.6).

Rule 1 for differentiation

d dx ( 1 f( x ) )= df dx f 2 (1.3.1.9)

Proof:

d dx ( 1 f( x ) )= lim Δx0 1 f( x+Δx ) 1 f( x ) Δx = lim Δx0 f( x+Δx )f( x ) Δx   f( x )   f( x+Δx )    

and one obtains (1.3.1.9).

One can extend (1.3.1.8) to any integer  p . Let's take  p = −n , where  n  is a natural number, than according to (1.3.1.9) and (1.3.1.8):

d dx ( x p )= d dx ( 1 x n )= n x n1 x 2n =p x n1 =p x p1    

that extends (1.3.1.8) to  p = integer.

Rule 2 for differentiation

dy dx = 1 dx dy where{ y=invf( x ) x=f( y ) } (1.3.1.10)

Proof: if  y  and  x  are defined as in (1.3.1.10), then there is one to one correspondance of any point  (x,y)  of the function to a point of the inverse-function. Therefore, any choice of  Δx  and  Δy  of the function matches an equal pair of the inverse-function. We obtain

d dx invf( x )= dy dx = lim Δx0 invf( x+Δx )invf( x ) Δx = lim Δx0 Δy Δx = = lim Δy0 1 Δx Δy = lim Δy0 1 f( y+Δy )f( y ) Δy = 1 dx dy = 1 d dy f( y ) }    

With the aid of (1.3.1.10), one can extend (1.3.1.8) to also include  p = 1/n , where n is an integer. The function and its inverse are

x= y n andy= x 1 n wherep= 1 n    

and from (1.3.1.10) we have

d dx x p = 1 d dy y n = 1 n y n1 = y nx =p x p1    

In case of double valued root (y positive or negative), we did not specify the sign of  y  and the equation is therefore correct in either way.

Rule 3 for differentiation

dy dx = df du     du dx where{ y=f( u ) u=u( x ) } (1.3.1.11)

is commonly called the chain rule.

Proof: For a given  Δx  one obtains a corresponding  Δu , for it one obtains a corresponding  Δy = Δf .

dy dx = lim Δx0 Δy Δx = lim Δx0 Δy   Δu Δx   Δu = lim Δu0 Δy Δu     lim Δx0 Δu Δx = df du du dx    

By the use of the chain rule (1.3.1.11) one can extend (1.3.1.8) to  p =rational = m/n , where  m  and  n  integers (n ≠ 0). From

or{ y= x p = x m n y=f( u )= u m andu= x 1 n    

and with the use of (1.3.1.11) one obtains

dy dx = dy du du dx =m u m1 1 n x ( 1 n 1 ) = =m x m1 n 1 n x ( 1 n 1 ) = m n x ( m n 1 n + 1 n 1 ) =p x p1 }    

The extension of (1.3.1.8) for  p =real is obtained from the continuity.

Rule 4 for differentiation

dy dx =C d dx f( x )where{ y=Cf( x ) C=const } (1.3.1.12)

Proof:

dy dx = lim Δx0 y( x+Δx )y( x ) Δx = lim Δx0 Cf( x+Δx )Cf( x ) Δx = =C lim Δx0 f( x+Δx )f( x ) Δx =C df dx }    

Scaling a function by a factor results in scaling the derivative by the same factor. This allows one to use the same graphic display for different scales of a function just by making the appropriate change in the scale of the ordinate. The following graphics clarifies that point Fig. Scale a function

An example of this rule (1.3.1.12):

fory=    x 3     dy dx =   3 x 2 fory=5 x 3 dy dx =15 x 2 }    

Rule 5 for differentiation

d dx ( f 1 ( x )+ f 2 ( x ) )= d dx f 1 ( x )+ d dx f 2 ( x ) (1.3.1.13)

Proof:

d dx ( f 1 ( x )+ f 2 ( x ) )= lim Δx0 f 1 ( x+Δx )+ f 2 ( x+Δx ) f 1 ( x ) f 2 ( x ) Δx = = lim Δx0 f 1 ( x+Δx ) f 1 ( x ) Δx + lim Δx0 f 2 ( x+Δx ) f 2 ( x ) Δx = d dx f 1 ( x )+ d dx f 2 ( x ) }    

At this stage we can differentiate a polynomial:

d dx ( x 3 9 x )= 3 x 2 9 1= x 2 3 1 (1.3.1.14)

or using the general definition of a polynomial of order  n  (1.2.2.6):

d dx p n ( x )= d dx k=0 n a k x nk = k=0 n1 a k ( nk ) x n1k (1.3.1.15)

The last term (k = n) of the final result at (1.3.1.15) was omited, since it corresponds to the derivative of a constant, which is zero. It is obvious that the differentiation of a polynomial reduces its order by one unit.

Rule 6 for differentiation

d dx ( f 1 f 2 )= d f 1 dx f 2 + d f 2 dx f 1 where{ f 1 = f 1 ( x ) f 2 = f 2 ( x ) } (1.3.1.16)

Proof:

d dx ( f 1 ( x ) f 2 ( x ) )= lim Δx0 f 1 ( x+Δx ) f 2 ( x+Δx ) f 1 ( x ) f 2 ( x ) Δx = = lim Δx0 f 1 ( x+Δx ) f 2 ( x+Δx ) f 1 ( x ) f 2 ( x+Δx )+ f 1 ( x ) f 2 ( x+Δx ) f 1 ( x ) f 2 ( x ) Δx = = lim Δx0 f 1 ( x+Δx ) f 2 ( x+Δx ) f 1 ( x ) f 2 ( x+Δx ) Δx + lim Δx0 f 1 ( x ) f 2 ( x+Δx ) f 1 ( x ) f 2 ( x ) Δx = = lim Δx0 f 1 ( x+Δx ) f 1 ( x ) Δx f 2 ( x+Δx )+ lim Δx0 f 2 ( x+Δx ) f 2 ( x ) Δx f 1 ( x )= = d f 1 dx f 2 ( x )+ d f 2 dx f 1 ( x ) }    

As an example, the polynomial from (1.3.1.14) will be used, but expressed as a product of two functions:

d dx ( x 3 9 x )= d dx ( x 9 ( x 2 9 ) )= x 2 9 9 + x 9 2x= x 2 3 1    

Rule 7 for differentiation

d dx ( f 1 f 2 )= d f 1 dx f 2 f 1 d f 2 dx f 2 2 where{ f 1 = f 1 ( x ) f 2 = f 2 ( x ) } (1.3.1.17)

Proof: The proof is based on the rules 1 (1.3.1.9) and 3 (1.3.1.11).

d dx ( f 1 f 2 )= d dx ( f 1 1 f 2 )= d f 1 dx 1 f 2 f 1 d f 2 dx f 2 2 = d f 1 dx f 2 f 1 d f 2 dx f 2 2    

As an example the derivative of a ratio of two polynomials will be calculated:

d dx ( x 2 1 x 2 +1 ) = 2x( x 2 +1 )2x( x 2 1 ) ( x 2 +1 ) 2 = 4x ( x 2 +1 ) 2    

Parity of the derivative

From the definition of a derivative (1.3.1.5) one can prove that the differentiation inverts the parity of a function. It means that if the parity of a function is defined as even(odd), the parity of the derivative is odd(even). The proof is given as an exercise here below. (1.3.1.14) can be used as an example of the rule.

Exercises

Exercise 1. Prove that differentiation inverts the parity of a function. Hint: use (1.3.1.5) and see separately the cases of an even and an odd function.

______________

Find the derivatives of the following functions. If applicable check if the derivative inverts the parity of the function.

Exercise 2.

y= 1 x 1 x 2
Exercise 3.
y= ( x 8 +3 x 4 x 2 ) 6
Exercise 4.
y= x +1 x 1
Exercise 5.
y= ( x 2 +ax+ a 2 x 2 ax+ a 2 ) 3 wherea=constant


Previous topic: section 2 Real Functions, page 5 Functions and Geometry

Next topic: page 2 Properties

Home | Table of Contents | A-Z Index | Help