# 2.1 The Difference Quotientap Calculus

In this section we will compute the differential for a function. We will give an application of differentials in this section. However, one of the more important uses of differentials will come in the next chapter and unfortunately we will not be able to discuss it until then. One of the cornerstones of calculus is the difference quotient. The difference quotient — along with limits — allows you to take the regular old slope formula that you used to compute the slope of lines in algebra class and use it for the calculus task of calculating the slope (or derivative) of a curve. Here’s how it works.

- 2.1 The Difference Quotient Ap Calculus Frq
- 2.1 The Difference Quotient Ap Calculus Solver
- The Difference Quotient Calculator
- 2.1 The Difference Quotientap Calculus Pdf
- 2.1 The Difference Quotientap Calculus Solutions

You can compute a function’s slope by using the difference quotient. The difference quotient allows you to compute a slope if you don’t initially have two points to plug into the slope formula.

To compute a slope, you need two points to plug into this formula. For a line, this is easy. You just pick any two points on the line and plug them in. But it’s not so simple if you want, say, the slope of the parabola *f* (*x*) = *x*^{2} at the point (2, 4). Check out the first figure.

*x*) =

*x*

^{2}(or

*y*=

*x*

^{2}) with a “/>

*f*(

*x*) =

*x*

^{2}(or

*y*=

*x*

^{2}) with a tangent line at (2, 4).

You can see the line drawn tangent to the curve at (2, 4). Because the slope of the tangent line is the same as the slope of the parabola at (2, 4), all you need is the slope of the tangent line to give you the slope of the parabola. But you don’t know the equation of the tangent line, so you can’t get the second point — in addition to (2, 4) — that you need for the slope formula.

Here’s how the inventors of calculus got around this roadblock. The next figure shows the tangent line again and a secant line intersecting the parabola at (2, 4) and at (10, 100).

**Definition of **** secant line:** A secant line is a line that intersects a curve at two points. This is a bit oversimplified, but it’ll do.

*x*) =

*x*

^{2}with a tangent line and a secant line.”/>

*f*(

*x*) =

*x*

^{2}with a tangent line and a secant line.

The slope of this secant line is given by the slope formula:

You can see that this secant line is steeper than the tangent line, and thus the slope of the secant, 12, is higher than the slope you’re looking for.

Now add one more point at (6, 36) and draw another secant using that point and (2, 4) again, as shown in the next figure.

f(*x*) =

*x*

^{2}with a tangent line and two secant lines.”/>

*f*(

*x*) =

*x*

^{2}with a tangent line and two secant lines.

Calculate the slope of this second secant:

You can see that this secant line is a better approximation of the tangent line than the first secant.

Now, imagine what would happen if you grabbed the point at (6, 36) and slid it down the parabola toward (2, 4), dragging the secant line along with it. Can you see that as the point gets closer and closer to (2, 4), the secant line gets closer and closer to the tangent line, and that the slope of this secant thus gets closer and closer to the slope of the tangent?

So, you can get the slope of the tangent if you take the *limit* of the slopes of this moving secant. Let’s give the moving point the coordinates (*x*** _{2}**,

*y*

**). As this point (**

_{2}*x*

**,**

_{2}*y*

**) slides closer and closer to (**

_{2}*x*

_{1},

*y*

_{1}), namely (2, 4), the

*run*, which equals

*x*

_{1}–

*x*

_{1}, gets closer and closer to zero. So here’s the limit you need:

Watch what happens to this limit when you plug in four more points on the parabola that are closer and closer to (2, 4):

When the point (*x*** _{2}**,

*y*

**) slides to (3, 9), the slope is**

_{2}or 5.

When the point slides to (2.1, 4.41), the slope is

or 4.1.

When the point slides to (2.01, 4.0401), the slope is 4.01.

When the point slides to (2.001, 4.004001), the slope is 4.001.

Sure looks like the slope is headed toward 4.

As with all limit problems, the variable in this problem, *x*_{2}*approaches* but never actually gets to the arrow-number (2 in this case). If it got to 2 — which would happen if you slid the point you grabbed along the parabola until it was actually on top of (2, 4) — you’d get

which is undefined. But, of course, the slope at (2, 4) is precisely the slope you want — the slope of the line when the point *does* land on top of (2, 4). Herein lies the beauty of the limit process. With this limit, you get the *exact* slope of the *tangent* line at (2, 4) even though the limit function,

generates slopes of *secant* lines.

Here again is the equation for the slope of the tangent line:

And the slope of the tangent line is — you guessed it — the derivative.

**Meaning of the **** derivative:** The derivative of a function

*f*(

*x*) at some number

*x*=

*c*, written as

### 2.1 The Difference Quotient Ap Calculus Frq

is the slope of the tangent line to *f* drawn at *c.*

The slope fraction

is expressed with algebra terminology. Now you can rewrite it to give it that highfalutin calculus look. But first, finally, the definition you’ve been waiting for.

**Definition of the **** difference quotient:** There’s a fancy calculus term for the general slope fraction,

when you write it in the fancy calculus way. A fraction is a *quotient,* right? And both *y*_{2} – *y*_{1} and *x*_{2} – *x*_{1} are *differences,* right? So, voilà, it’s called the *difference quotient.* Here it is:

(This is the most common way of writing the difference quotient. You may run across other, equivalent ways.)

Okay, let’s lay out this process wherein

morphs into the difference quotient.

### 2.1 The Difference Quotient Ap Calculus Solver

First, the *run*, *x*_{2} – *x*_{1} (in this example, *x*_{2} – 2), is called *h.* Next, because *x*_{1} = 2 and the *run* equals *h,**x*_{2} equals 2 + *h*. You then write *y*_{1} as *f*(2) and *y*_{2} as *f*(2 + *h*). Making all the substitutions gives you the derivative of *x*^{2} at *x* = 2:

**Remember that **

**is simply the shrinking **

**stair step you can see in ****the previous f****igure****as ****the point slides down the parabola toward ****(2, 4)****.**

The next figure is basically the same as the previous one, except that instead of exact points like (6, 36) and (10, 100), the sliding point has the general coordinates of (2 + *h*, *f* (2 + *h*)), and the *rise* and the *run* are expressed in terms of *h*.

### The Difference Quotient Calculator

f (*x*) =

*x*

^{2}

### 2.1 The Difference Quotientap Calculus Pdf

showing how a limit produces the slope of the t”/>*f*(

*x*) =

*x*

^{2}showing how a limit produces the slope of the tangent line at (2, 4).

So this figure is the ultimate graph for

Are you confused by these two figures? Don’t sweat it. They both show the same thing. Both figures are visual representations of

Doing the math gives you, at last, the slope of the tangent line at (2, 4):

So the slope at the point (2, 4) is 4.

**Main definition of the ***derivative***: **If you replace the point (2, *f*(2)) in the limit equation with the general point (*x*, *f* (*x*)), you get the general definition of the derivative as a function of *x*:

So at last you see that the derivative is defined as the limit of the difference quotient.

The next figure shows this general definition graphically. Note that this figure is virtually identical to the previous one, except that *x*s replace the 2s in the previous figure and that the moving point in this figure slides down toward any old point (*x*, *f* (*x*)) instead of toward the specific point (2, *f*(2)).

*x*

### 2.1 The Difference Quotientap Calculus Solutions

) =*x*

^{2}showing how a limit produces the slope of the ta”/>

*f*(

*x*) =

*x*

^{2}showing how a limit produces the slope of the tangent line at the general point (

*x*,

*f*(

*x*)).

Now work out this limit and get the derivative for the parabola, *f*(*x*) = *x*^{2}:

Thus for this parabola, the derivative (which is the slope of the tangent line at each value *x*) equals 2*x*. Plug any number into *x*, and you get the slope of the parabola at that *x*-value. Try it.

The final figure sort of summarizes (in a simplified way) all the difficult preceding ideas about the difference quotient.

Like the previous three figures, the final figure contains a basic slope stair-step, a secant line, and a tangent line. The slope of the secant line is

The slope of the tangent line is

and you can see why this is one of the symbols used for the derivative. As the secant line stair-step shrinks down to nothing, or, in other words, in the limit as