Rate of Change and Derivative 2


Let variable y be a function of variable x. We often write it as y = f(x). The rate of change r of variable y relative to variable x, when x changes from x1 to x2, is

Equation01.jpg

It is the ratio of the change of y to the change of x.

Generic example
In this example we will use f(x) = x3.
Variables

x

x is the independent variable

y = f(x) = x3

 

y1 = f(x1)

 

y2 = f(x2)

 

dx = x2 - x1

change of x from x1 to x2

dy = y2 - y1

change of y from y1 to y2

r = dy/dx = (f(x2) - f(x1))/(x2 - x1)

(Here dx must be different from 0, dx ≠ 0.)


Examples of the rate of change r

x1

x2

y1

y2

dx = x2 - x1

dy = y2 - y1

r = dy/dx

0

2

0

8

2

8

4

.5

1.5

.125

3.375

1

3.25

3.25

0.9

1.1

.729

1.331

.2

.602

3.01


Algebraic computation of r

r = (f(x2) - f(x1))/(x2 - x1)

(x23 - x13)/(x2 - x1).

But x2 - x1 = dx

and x23 - x13 = (x22 + x2x1 + x12) * (x2 - x1),

because a3 - b3 = (a2 + ab + b2 )*(a - b). (You may check this yourself!)

So

 

 

 

r = x22 + x2x1 + x12,

 

 

 

(i)

because x2 - x1 = dx ≠ 0; and since it is in the numerator and denominator of r, it can be canceled.

Now in (i) above we substitute x1 + dx for x2.

 

 

 

r

 

 

 

=

 

 

 

(x1 + dx)2 + (x1 + dx)x1 + x12, so

Substitution01.jpg

We see that r depends on both the initial x1 and the amount of change, dx. The original formula for r had no value for dx = 0, because you cannot divide by 0. But our new formula, r = 3x12 + 3x1dx + dx2, has values for all dx, including dx = 0. The value of r for dx = 0, is 3x12, and this is called the value of the derivative of f(x) = x3 for x = x1. (ii)

The derivative of a function f(x) is often written as f'(x) and read "f prime of x". (In our example, f '(x) = 3x2.) So the derivative of f(x), for x = x1, can be written as f '(x1).

Now we will get a closer look at the relationship between the rate of change r of variable y = f(x) relative to x, when x changes from x1 to x2, and the derivative f '(x) of a function f(x).

Let's introduce one more variable, x0.

 

 

 

 

x0 = (x1 + x2)/2

 

 

 

x0 is half way between x1 and x2;

So,

 

 

 

 

 

 

 

x1 = x0 - dx/2, and x2 = x0 + dx/2.

X0Sketch.jpg

But

 

 

 

r

 

 

 

=

 

 

 

x22 + x2x1 + x12 (see (i) above).

So we have

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

r

 

 

 

=

 

 

 

(x0 + dx/2)2 + (x0 + dx/2)( x0 - dx/2) + (x0 - dx/2)2

 

image002.jpg

But 3x02 is the value f '(x0) of the derivative of the function f(x) = x3, for x = x0 (see (ii) above).

Examples of values of the derivative and the rate of change r for x0 = 2 and 3.

x0

dx

f '(x0) = 3x02

r = 3x02 + (1/4)dx2

2

.1

12

12.0025

2

.01

12

12.000025

3

.01

27

27.000025

3

.001

27

27.00000025

When dx is close to 0, then the rate of change r and f '(x0) are almost equal. This is true in general, and not just for this example. Also, x0 doesn't have to be exactly in the middle between x1 and x2.

You may wonder if the r in the example just above (call it r2) is the same as the r in the first example above (call it r1). It is! Here is the proof that r1 = r2:

From above, we know x1 = x0 - dx/2
and r1 = 3x12 + 3x1dx + dx2 (iii)
and r2 = 3x02 + (1/4)dx2
We substitute x0 - dx/2 for x1 in (iii):
r1 = 3(x0 - dx/2)2 + 3(x0 - dx/2) dx + dx2
r1 = 3(x02 - x0dx + dx2/4) + 3x0dx - 3/2 dx2 + dx2
r1 = 3x02 - 3x0 dx + 3/4*dx2 + 3x0dx - 3/2 dx2 + dx2
r1 = 3x02 + 3/4*dx2 + -3/2 dx2 +dx2
r1 = 3x02 + 1 3/4*dx2 + -3/2 dx2
r1 = 3x02 +(1/4)*dx2 = r2

General statement
The rate of change of f(x) when x changes from x1 to x0, and the value of the derivative f '(x0), where x0 is between x1 and x2, are very close to each other when dx = x2 - x1 is close to 0.

Remark
nDeriv, which is used by the TI-83/84 calculator, computes the numerical value of f '(x0) by computing r for a small dx. For details see the manual.

Final remarks
1. The mathematical concept of a derivative captures the intuitive concept of the instantaneous rate of change that is used in physics. Its introduction marked the creation of calculus and started the mathematical foundations of modern science. It was first used to describe instant velocity (velocity at a given moment) and instant acceleration, which is the rate at which velocity changes at a given moment. One of the basic equations of physics, discovered by Newton, states that the acceleration a of an object is always proportional to the sum of all forces F acting on the object, a = F/m, where the constant m is its mass.

2. When we talk about the velocity of an object, we take into consideration not only its speed, but also the direction it is moving in space.




Webpage Maintained by Owen Ramsey
Calculus Index