# A Preview of Calculus

### Learning Objectives

- Describe the tangent problem and how it led to the idea of a derivative.
- Explain how the idea of a limit is involved in solving the tangent problem.
- Recognize a tangent to a curve at a point as the limit of secant lines.
- Identify instantaneous velocity as the limit of average velocity over a small time interval.
- Describe the area problem and how it was solved by the integral.
- Explain how the idea of a limit is involved in solving the area problem.
- Recognize how the ideas of limit, derivative, and integral led to the studies of infinite series and multivariable calculus.

As we embark on our study of calculus, we shall see how its development arose from common solutions to practical problems in areas such as engineering physics—like the space travel problem posed in the chapter opener. Two key problems led to the initial formulation of calculus: (1) the tangent problem, or how to determine the slope of a line tangent to a curve at a point; and (2) the area problem, or how to determine the area under a curve.

# The Tangent Problem and Differential Calculus

Rate of change is one of the most critical concepts in calculus. We begin our investigation of rates of change by looking at the graphs of the three lines [latex]f\left(x\right)=-2x-3,g\left(x\right)=\frac{1}{2}x+1,[/latex] and [latex]h\left(x\right)=2,[/latex] shown in [link].

As we move from left to right along the graph of [latex]f\left(x\right)=-2x-3,[/latex] we see that the graph decreases at a constant rate. For every 1 unit we move to the right along the *x*-axis, the *y*-coordinate decreases by 2 units. This rate of change is determined by the slope (−2) of the line. Similarly, the slope of 1/2 in the function [latex]g\left(x\right)[/latex] tells us that for every change in *x* of 1 unit there is a corresponding change in *y* of 1/2 unit. The function [latex]h\left(x\right)=2[/latex] has a slope of zero, indicating that the values of the function remain constant. We see that the slope of each linear function indicates the rate of change of the function.

Compare the graphs of these three functions with the graph of [latex]k\left(x\right)={x}^{2}[/latex] ([link]). The graph of [latex]k\left(x\right)={x}^{2}[/latex] starts from the left by decreasing rapidly, then begins to decrease more slowly and level off, and then finally begins to increase—slowly at first, followed by an increasing rate of increase as it moves toward the right. Unlike a linear function, no single number represents the rate of change for this function. We quite naturally ask: How do we measure the rate of change of a nonlinear function?

We can approximate the rate of change of a function [latex]f\left(x\right)[/latex] at a point [latex]\left(a,f\left(a\right)\right)[/latex] on its graph by taking another point [latex]\left(x,f\left(x\right)\right)[/latex] on the graph of [latex]f\left(x\right),[/latex] drawing a line through the two points, and calculating the slope of the resulting line. Such a line is called a secant line. [link] shows a secant line to a function [latex]f\left(x\right)[/latex] at a point [latex]\left(a,f\left(a\right)\right).[/latex]

We formally define a secant line as follows:

The **secant** to the function [latex]f\left(x\right)[/latex] through the points [latex]\left(a,f\left(a\right)\right)[/latex] and [latex]\left(x,f\left(x\right)\right)[/latex] is the line passing through these points. Its slope is given by

The accuracy of approximating the rate of change of the function with a secant line depends on how close *x* is to *a*. As we see in [link], if *x* is closer to *a*, the slope of the secant line is a better measure of the rate of change of [latex]f\left(x\right)[/latex] at *a*.

The secant lines themselves approach a line that is called the tangent to the function [latex]f\left(x\right)[/latex] at *a* ([link]). The slope of the tangent line to the graph at *a* measures the rate of change of the function at *a*. This value also represents the derivative of the function [latex]f\left(x\right)[/latex] at *a*, or the rate of change of the function at *a*. This derivative is denoted by [latex]{f}^{\prime }\left(a\right).[/latex] Differential calculus is the field of calculus concerned with the study of derivatives and their applications.

For an interactive demonstration of the slope of a secant line that you can manipulate yourself, visit this applet (*Note:* this site requires a Java browser plugin): Math Insight.

[link] illustrates how to find slopes of secant lines. These slopes estimate the slope of the tangent line or, equivalently, the rate of change of the function at the point at which the slopes are calculated.

Estimate the slope of the tangent line (rate of change) to [latex]f\left(x\right)={x}^{2}[/latex] at [latex]x=1[/latex] by finding slopes of secant lines through [latex]\left(1,1\right)[/latex] and each of the following points on the graph of [latex]f\left(x\right)={x}^{2}.[/latex]

- [latex]\left(2,4\right)[/latex]
- [latex]\left(\frac{3}{2},\frac{9}{4}\right)[/latex]

Use the formula for the slope of a secant line from the definition.

- [latex]{m}_{\text{sec}}=\frac{4-1}{2-1}=3[/latex]
- [latex]{m}_{\text{sec}}=\frac{\frac{9}{4}-1}{\frac{3}{2}-1}=\frac{5}{2}=2.5[/latex]

The point in part b. is closer to the point [latex]\left(1,1\right),[/latex] so the slope of 2.5 is closer to the slope of the tangent line. A good estimate for the slope of the tangent would be in the range of 2 to 2.5 ([link]).

Estimate the slope of the tangent line (rate of change) to [latex]f\left(x\right)={x}^{2}[/latex] at [latex]x=1[/latex] by finding slopes of secant lines through [latex]\left(1,1\right)[/latex] and the point [latex]\left(\frac{5}{4},\frac{25}{16}\right)[/latex] on the graph of [latex]f\left(x\right)={x}^{2}.[/latex]

2.25

We continue our investigation by exploring a related question. Keeping in mind that velocity may be thought of as the rate of change of position, suppose that we have a function, [latex]s\left(t\right),[/latex] that gives the position of an object along a coordinate axis at any given time *t*. Can we use these same ideas to create a reasonable definition of the instantaneous velocity at a given time [latex]t=a?[/latex] We start by approximating the instantaneous velocity with an average velocity. First, recall that the speed of an object traveling at a constant rate is the ratio of the distance traveled to the length of time it has traveled. We define the average velocity of an object over a time period to be the change in its position divided by the length of the time period.

Let [latex]s\left(t\right)[/latex] be the position of an object moving along a coordinate axis at time *t*. The **average velocity** of the object over a time interval [latex]\left[a,t\right][/latex] where [latex]a<t[/latex] (or [latex]\left[t,a\right][/latex] if [latex]t<a\right)[/latex] is

As *t* is chosen closer to *a*, the average velocity becomes closer to the instantaneous velocity. Note that finding the average velocity of a position function over a time interval is essentially the same as finding the slope of a secant line to a function. Furthermore, to find the slope of a tangent line at a point *a*, we let the *x*-values approach *a* in the slope of the secant line. Similarly, to find the instantaneous velocity at time *a*, we let the *t*-values approach *a* in the average velocity. This process of letting *x* or *t* approach *a* in an expression is called taking a limit. Thus, we may define the instantaneous velocity as follows.

For a position function [latex]s\left(t\right),[/latex] the **instantaneous velocity** at a time [latex]t=a[/latex] is the value that the average velocities approach on intervals of the form [latex]\left[a,t\right][/latex] and [latex]\left[t,a\right][/latex] as the values of *t* become closer to *a*, provided such a value exists.

[link] illustrates this concept of limits and average velocity.

A rock is dropped from a height of 64 ft. It is determined that its height (in feet) above ground *t* seconds later (for [latex]0\le t\le 2\right)[/latex] is given by [latex]s\left(t\right)=-16{t}^{2}+64.[/latex] Find the average velocity of the rock over each of the given time intervals. Use this information to guess the instantaneous velocity of the rock at time [latex]t=0.5.[/latex]

- [latex]\left[0.49,0.5\right][/latex]
- [latex]\left[0.5,0.51\right][/latex]

Substitute the data into the formula for the definition of average velocity.

- [latex]{v}_{\text{ave}}=\frac{s\left(0.49\right)-s\left(0.5\right)}{0.49-0.5}=-15.84[/latex]
- [latex]{v}_{\text{ave}}=\frac{s\left(0.51\right)-s\left(0.5\right)}{0.51-0.5}=-16.016[/latex]

The instantaneous velocity is somewhere between −15.84 and −16.16 ft/sec. A good guess might be −16 ft/sec.

An object moves along a coordinate axis so that its position at time *t* is given by [latex]s\left(t\right)={t}^{3}.[/latex] Estimate its instantaneous velocity at time [latex]t=2[/latex] by computing its average velocity over the time interval [latex]\left[2,2.001\right].[/latex]

12.006001

Use [latex]{v}_{\text{ave}}=\frac{s\left(2.001\right)-s\left(2\right)}{2.001-2}.[/latex]

# The Area Problem and Integral Calculus

We now turn our attention to a classic question from calculus. Many quantities in physics—for example, quantities of work—may be interpreted as the area under a curve. This leads us to ask the question: How can we find the area between the graph of a function and the *x*-axis over an interval ([link])?

As in the answer to our previous questions on velocity, we first try to approximate the solution. We approximate the area by dividing up the interval [latex]\left[a,b\right][/latex] into smaller intervals in the shape of rectangles. The approximation of the area comes from adding up the areas of these rectangles ([link]).

As the widths of the rectangles become smaller (approach zero), the sums of the areas of the rectangles approach the area between the graph of [latex]f\left(x\right)[/latex] and the *x*-axis over the interval [latex]\left[a,b\right].[/latex] Once again, we find ourselves taking a limit. Limits of this type serve as a basis for the definition of the definite integral. Integral calculus is the study of integrals and their applications.

Estimate the area between the *x*-axis and the graph of [latex]f\left(x\right)={x}^{2}+1[/latex] over the interval [latex]\left[0,3\right][/latex] by using the three rectangles shown in [link].

The areas of the three rectangles are 1 unit^{2}, 2 unit^{2}, and 5 unit^{2}. Using these rectangles, our area estimate is 8 unit^{2}.

Estimate the area between the *x*-axis and the graph of [latex]f\left(x\right)={x}^{2}+1[/latex] over the interval [latex]\left[0,3\right][/latex] by using the three rectangles shown here:

16 unit^{2}

Use [link] as a guide.

# Other Aspects of Calculus

So far, we have studied functions of one variable only. Such functions can be represented visually using graphs in two dimensions; however, there is no good reason to restrict our investigation to two dimensions. Suppose, for example, that instead of determining the velocity of an object moving along a coordinate axis, we want to determine the velocity of a rock fired from a catapult at a given time, or of an airplane moving in three dimensions. We might want to graph real-value functions of two variables or determine volumes of solids of the type shown in [link]. These are only a few of the types of questions that can be asked and answered using multivariable calculus. Informally, multivariable calculus can be characterized as the study of the calculus of functions of two or more variables. However, before exploring these and other ideas, we must first lay a foundation for the study of calculus in one variable by exploring the concept of a limit.

### Key Concepts

- Differential calculus arose from trying to solve the problem of determining the slope of a line tangent to a curve at a point. The slope of the tangent line indicates the rate of change of the function, also called the
*derivative*. Calculating a derivative requires finding a limit. - Integral calculus arose from trying to solve the problem of finding the area of a region between the graph of a function and the
*x*-axis. We can approximate the area by dividing it into thin rectangles and summing the areas of these rectangles. This summation leads to the value of a function called the*integral*. The integral is also calculated by finding a limit and, in fact, is related to the derivative of a function. - Multivariable calculus enables us to solve problems in three-dimensional space, including determining motion in space and finding volumes of solids.

# Key Equations

**Slope of a Secant Line**[latex]{m}_{\text{sec}}=\frac{f\left(x\right)-f\left(a\right)}{x-a}[/latex]**Average Velocity over Interval**[latex]\left[a,t\right][/latex][latex]{v}_{\text{ave}}=\frac{s\left(t\right)-s\left(a\right)}{t-a}[/latex]

For the following exercises, points [latex]P\left(1,2\right)[/latex] and [latex]Q\left(x,y\right)[/latex] are on the graph of the function [latex]f\left(x\right)={x}^{2}+1.[/latex]

**[T]** Complete the following table with the appropriate values: *y*-coordinate of *Q*, the point [latex]Q\left(x,y\right),[/latex] and the slope of the secant line passing through points *P* and *Q*. Round your answer to eight significant digits.

x | y | [latex]Q\left(x,y\right)[/latex] | m_{sec} |
---|---|---|---|

1.1 | a. | e. | i. |

1.01 | b. | f. | j. |

1.001 | c. | g. | k. |

1.0001 | d. | h. | l. |

a. 2.2100000; b. 2.0201000; c. 2.0020010; d. 2.0002000; e. (1.1000000, 2.2100000); f. (1.0100000, 2.0201000); g. (1.0010000, 2.0020010); h. (1.0001000, 2.0002000); i. 2.1000000; j. 2.0100000; k. 2.0010000; l. 2.0001000

Use the values in the right column of the table in the preceding exercise to guess the value of the slope of the line tangent to *f* at [latex]x=1.[/latex]

Use the value in the preceding exercise to find the equation of the tangent line at point *P*. Graph [latex]f\left(x\right)[/latex] and the tangent line.

[latex]y=2x[/latex]

For the following exercises, points [latex]P\left(1,1\right)[/latex] and [latex]Q\left(x,y\right)[/latex] are on the graph of the function [latex]f\left(x\right)={x}^{3}.[/latex]

**[T]** Complete the following table with the appropriate values: *y*-coordinate of *Q*, the point [latex]Q\left(x,y\right),[/latex] and the slope of the secant line passing through points *P* and *Q*. Round your answer to eight significant digits.

x | y | [latex]Q\left(x,y\right)[/latex] | m_{sec} |
---|---|---|---|

1.1 | a. | e. | i. |

1.01 | b. | f. | j. |

1.001 | c. | g. | k. |

1.0001 | d. | h. | l. |

Use the values in the right column of the table in the preceding exercise to guess the value of the slope of the tangent line to *f* at [latex]x=1.[/latex]

3

Use the value in the preceding exercise to find the equation of the tangent line at point *P*. Graph [latex]f\left(x\right)[/latex] and the tangent line.

For the following exercises, points [latex]P\left(4,2\right)[/latex] and [latex]Q\left(x,y\right)[/latex] are on the graph of the function [latex]f\left(x\right)=\sqrt{x}.[/latex]

**[T]** Complete the following table with the appropriate values: *y*-coordinate of *Q*, the point [latex]Q\left(x,y\right),[/latex] and the slope of the secant line passing through points *P* and *Q*. Round your answer to eight significant digits.

x | y | [latex]Q\left(x,y\right)[/latex] | m_{sec} |
---|---|---|---|

4.1 | a. | e. | i. |

4.01 | b. | f. | j. |

4.001 | c. | g. | k. |

4.0001 | d. | h. | l. |

a. 2.0248457; b. 2.0024984; c. 2.0002500; d. 2.0000250; e. (4.1000000,2.0248457); f. (4.0100000,2.0024984); g. (4.0010000,2.0002500); h. (4.00010000,2.0000250); i. 0.24845673; j. 0.24984395; k. 0.24998438; l. 0.24999844

Use the values in the right column of the table in the preceding exercise to guess the value of the slope of the tangent line to *f* at [latex]x=4.[/latex]

Use the value in the preceding exercise to find the equation of the tangent line at point *P*.

[latex]y=\frac{x}{4}+1[/latex]

For the following exercises, points [latex]P\left(1.5,0\right)[/latex] and [latex]Q\left(\varphi ,y\right)[/latex] are on the graph of the function [latex]f\left(\varphi \right)=\text{cos}\phantom{\rule{0.1em}{0ex}}\left(\pi \varphi \right).[/latex]

**[T]** Complete the following table with the appropriate values: *y*-coordinate of *Q*, the point [latex]Q\left(x,y\right),[/latex] and the slope of the secant line passing through points *P* and *Q*. Round your answer to eight significant digits.

x | y | [latex]Q\left(\varphi ,y\right)[/latex] | m_{sec} |
---|---|---|---|

1.4 | a. | e. | i. |

1.49 | b. | f. | j. |

1.499 | c. | g. | k. |

1.4999 | d. | h. | l. |

Use the values in the right column of the table in the preceding exercise to guess the value of the slope of the tangent line to *f* at [latex]x=4.[/latex]

*π*

Use the value in the preceding exercise to find the equation of the tangent line at point *P*.

For the following exercises, points [latex]P\left(-1,-1\right)[/latex] and [latex]Q\left(x,y\right)[/latex] are on the graph of the function [latex]f\left(x\right)=\frac{1}{x}.[/latex]

**[T]** Complete the following table with the appropriate values: *y*-coordinate of *Q*, the point [latex]Q\left(x,y\right),[/latex] and the slope of the secant line passing through points *P* and *Q*. Round your answer to eight significant digits.

x | y | [latex]Q\left(x,y\right)[/latex] | m_{sec} |
---|---|---|---|

−1.05 | a. | e. | i. |

−1.01 | b. | f. | j. |

−1.005 | c. | g. | k. |

−1.001 | d. | h. | l. |

a. −0.95238095; b. −0.99009901; c. −0.99502488; d. −0.99900100; e. (−1;.0500000,−0;.95238095); f. (−1;.0100000,−0;.9909901); g. (−1;.0050000,−0;.99502488); h. (1.0010000,−0;.99900100); i. −0.95238095; j. −0.99009901; k. −0.99502488; l. −0.99900100

Use the values in the right column of the table in the preceding exercise to guess the value of the slope of the line tangent to *f* at [latex]x=-1.[/latex]

Use the value in the preceding exercise to find the equation of the tangent line at point *P*.

[latex]y=\text{−}x-2[/latex]

For the following exercises, the position function of a ball dropped from the top of a 200-meter tall building is given by [latex]s\left(t\right)=200-4.9{t}^{2},[/latex] where position *s* is measured in meters and time *t* is measured in seconds. Round your answer to eight significant digits.

**[T]** Compute the average velocity of the ball over the given time intervals.

- [latex]\left[4.99,5\right][/latex]
- [latex]\left[5,5.01\right][/latex]
- [latex]\left[4.999,5\right][/latex]
- [latex]\left[5,5.001\right][/latex]

Use the preceding exercise to guess the instantaneous velocity of the ball at [latex]t=5[/latex] sec.

−49 m/sec (velocity of the ball is 49 m/sec downward)

For the following exercises, consider a stone tossed into the air from ground level with an initial velocity of 15 m/sec. Its height in meters at time *t* seconds is [latex]h\left(t\right)=15t-4.9{t}^{2}.[/latex]

**[T]** Compute the average velocity of the stone over the given time intervals.

- [latex]\left[1,1.05\right][/latex]
- [latex]\left[1,1.01\right][/latex]
- [latex]\left[1,1.005\right][/latex]
- [latex]\left[1,1.001\right][/latex]

Use the preceding exercise to guess the instantaneous velocity of the stone at [latex]t=1[/latex] sec.

5.2 m/sec

For the following exercises, consider a rocket shot into the air that then returns to Earth. The height of the rocket in meters is given by [latex]h\left(t\right)=600+78.4t-4.9{t}^{2},[/latex] where *t* is measured in seconds.

**[T]** Compute the average velocity of the rocket over the given time intervals.

- [latex]\left[9,9.01\right][/latex]
- [latex]\left[8.99,9\right][/latex]
- [latex]\left[9,9.001\right][/latex]
- [latex]\left[8.999,9\right][/latex]

Use the preceding exercise to guess the instantaneous velocity of the rocket at [latex]t=9[/latex] sec.

−9.8 m/sec

For the following exercises, consider an athlete running a 40-m dash. The position of the athlete is given by [latex]d\left(t\right)=\frac{{t}^{3}}{6}+4t,[/latex] where *d* is the position in meters and *t* is the time elapsed, measured in seconds.

**[T]** Compute the average velocity of the runner over the given time intervals.

- [latex]\left[1.95,2.05\right][/latex]
- [latex]\left[1.995,2.005\right][/latex]
- [latex]\left[1.9995,2.0005\right][/latex]
- [latex]\left[2,2.00001\right][/latex]

Use the preceding exercise to guess the instantaneous velocity of the runner at [latex]t=2[/latex] sec.

6 m/sec

For the following exercises, consider the function [latex]f\left(x\right)=|x|.[/latex]

Sketch the graph of *f* over the interval [latex]\left[-1,2\right][/latex] and shade the region above the *x*-axis.

Use the preceding exercise to find the exact value of the area between the *x*-axis and the graph of *f* over the interval [latex]\left[-1,2\right][/latex] using rectangles. For the rectangles, use the square units, and approximate both above and below the lines. Use geometry to find the exact answer.

Under, 1 unit^{2}; over: 4 unit^{2}. The exact area of the two triangles is [latex]\frac{1}{2}\left(1\right)\left(1\right)+\frac{1}{2}\left(2\right)\left(2\right)=2.5{\phantom{\rule{0.2em}{0ex}}\text{units}}^{2}.[/latex]

For the following exercises, consider the function [latex]f\left(x\right)=\sqrt{1-{x}^{2}}.[/latex] (*Hint*: This is the upper half of a circle of radius 1 positioned at [latex]\left(0,0\right)\text{.)}[/latex]

Sketch the graph of *f* over the interval [latex]\left[-1,1\right].[/latex]

Use the preceding exercise to find the exact area between the *x*-axis and the graph of *f* over the interval [latex]\left[-1,1\right][/latex] using rectangles. For the rectangles, use squares 0.4 by 0.4 units, and approximate both above and below the lines. Use geometry to find the exact answer.

Under, 0.96 unit^{2}; over, 1.92 unit^{2}. The exact area of the semicircle with radius 1 is [latex]\frac{\pi {\left(1\right)}^{2}}{2}=\frac{\pi }{2}[/latex] unit^{2}.

For the following exercises, consider the function [latex]f\left(x\right)=\text{−}{x}^{2}+1.[/latex]

Sketch the graph of *f* over the interval [latex]\left[-1,1\right].[/latex]

Approximate the area of the region between the *x*-axis and the graph of *f* over the interval [latex]\left[-1,1\right].[/latex]

Approximately 1.3333333 unit^{2}

## Glossary

- average velocity
- the change in an object’s position divided by the length of a time period; the average velocity of an object over a time interval [latex]\left[t,a\right][/latex] (if [latex]t<a[/latex] or [latex]\left[a,t\right][/latex] if [latex]t>a\right)[/latex], with a position given by [latex]s\left(t\right),[/latex] that is [latex]{v}_{\text{ave}}=\frac{s\left(t\right)-s\left(a\right)}{t-a}[/latex]

- differential calculus
- the field of calculus concerned with the study of derivatives and their applications

- instantaneous velocity
- The instantaneous velocity of an object with a position function that is given by [latex]s\left(t\right)[/latex] is the value that the average velocities on intervals of the form [latex]\left[t,a\right][/latex] and [latex]\left[a,t\right][/latex] approach as the values of
*t*move closer to [latex]a,[/latex] provided such a value exists

- integral calculus
- the study of integrals and their applications

- limit
- the process of letting
*x*or*t*approach*a*in an expression; the limit of a function [latex]f\left(x\right)[/latex] as*x*approaches*a*is the value that [latex]f\left(x\right)[/latex] approaches as*x*approaches*a*

- multivariable calculus
- the study of the calculus of functions of two or more variables

- secant
- A secant line to a function [latex]f\left(x\right)[/latex] at
*a*is a line through the point [latex]\left(a,f\left(a\right)\right)[/latex] and another point on the function; the slope of the secant line is given by [latex]{m}_{\text{sec}}=\frac{f\left(x\right)-f\left(a\right)}{x-a}[/latex]

- tangent
- A tangent line to the graph of a function at a point [latex]\left(a,f\left(a\right)\right)[/latex] is the line that secant lines through [latex]\left(a,f\left(a\right)\right)[/latex] approach as they are taken through points on the function with
*x*-values that approach*a*; the slope of the tangent line to a graph at*a*measures the rate of change of the function at*a*

Use [link] and [link] as a solving guide.