# 2.1: A Preview of Calculus

- Page ID
- 2484

- 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 \(f(x)=−2x−3,\; g(x)=\dfrac{1}{2}x+1\), and \(h(x)=2\), shown in Figure \(\PageIndex{1}\).

As we move from left to right along the graph of \(f(x)=−2x−3\), 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 \(g(x)\) tells us that for every change in \(x\) of \(1\) unit there is a corresponding change in \(y\) of \(1/2\) unit. The function \(h(x)=2\) 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 \(k(x)=x^2\) (Figure \(\PageIndex{2}\)). The graph of \(k(x)=x^2\) 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 \(f(x)\) at a point \((a,f(a))\) on its graph by taking another point \((x,f(x))\) on the graph of \(f(x)\), drawing a line through the two points, and calculating the slope of the resulting line. Such a line is called a secant line. Figure \(\PageIndex{3}\) shows a *secant line* to a function \(f(x)\) at a point \((a,f(a))\).

We formally define a secant line as follows:

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

\[m_{sec}=\dfrac{f(x)−f(a)}{x−a}. \label{secantslope} \]

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 Figure \(\PageIndex{4}\), if \(x\) is closer to \(a\), the slope of the secant line is a better measure of the rate of change of \(f(x)\) at \(a\).

The secant lines themselves approach a line that is called the **tangent** to the function \(f(x)\) at \(a\) (Figure \(\PageIndex{5}\)). 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 \(f(x)\) at \(a\), or the rate of change of the function at \(a\). This derivative is denoted by \(f′(a)\). **Differential calculus** is the field of calculus concerned with the study of derivatives and their applications.

Example \(\PageIndex{1}\) 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 \(f(x)=x^2\) at \(x=1\) by finding slopes of secant lines through \((1,1)\) and each of the following points on the graph of \(f(x)=x^2\).

- \((2,4)\)
- \(\left(\dfrac{3}{2},\dfrac{9}{4}\right)\)

**Solution**:

Use the formula for the slope of a secant line (Equation \ref{secantslope}).

- \(m_{sec}=\dfrac{4−1}{2−1}=3\)
- \(m_{sec}=\dfrac{\dfrac{9}{4}−1}{\dfrac{3}{2}−1}=\dfrac{5}{2}=2.5\)

The point in part b. is closer to the point \((1,1)\), 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\) (Figure \(\PageIndex{6}\)).

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

**Answer**-
\(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, \(s(t)\), 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 \(t=a?\) 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 \(s(t)\) be the position of an object moving along a coordinate axis at time \(t\). The *average velocity* of the object over a time interval \([a,t]\) where \(a<t\) (or \([t,a]\) if \(t<a)\) is

\[v_{ave}=\dfrac{s(t)−s(a)}{t−a}. \label{avgvel} \]

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 \(s(t)\), the *instantaneous velocity* at a time \(t=a\) is the value that the average velocities approach on intervals of the form \([a,t]\) and \([t,a]\) as the values of \(t\) become closer to \(a\), provided such a value exists.

Example \(\PageIndex{2}\) 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 \(0≤t≤2\)) is given by \(s(t)=−16t^2+64\). 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 \(t=0.5\).

- [\(0.49,0.5\)]
- [\(0.5,0.51\)]

**Solution**

Substitute the data into Equation \ref{avgvel} for the definition of average velocity.

- \[v_{ave}=\dfrac{s(0.49)−s(0.5)}{0.49−0.5}=−15.84 \nonumber \]
- \[v_{ave}=\dfrac{s(0.51)−s(0.5)}{0.51−0.5}=−16.016 \nonumber \]

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 \(s(t)=t^3\). Estimate its instantaneous velocity at time \(t=2\) by computing its average velocity over the time interval [\(2,2.001\)].

**Hint**-
Use Equation \ref{avgvel} with \(v_{ave}=\dfrac{s(2.001)−s(2)}{2.001−2}\).

**Answer**-
12.006001

## 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 (Figure \(\PageIndex{7}\))?

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 \([a,b]\) into smaller intervals in the shape of rectangles. The approximation of the area comes from adding up the areas of these rectangles (Figure \(\PageIndex{8}\)).

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 \(f(x)\) and the \(x\)-axis over the interval \([a,b]\). 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 \(f(x)=x^2+1\) over the interval \([0,3]\) by using the three rectangles shown in Figure \(\PageIndex{9}\).

**Solution**

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 \(f(x)=x^2+1\) over the interval \([0,3]\) by using the three rectangles shown in Figure \(\PageIndex{10}\).

**Hint**-
Use Example \(\PageIndex{3}\) as a guide

**Answer**-
17 \(\mathrm{unit}^2\)

## 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 Figure \(\PageIndex{11}\). 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**

\(m_{sec}=\dfrac{f(x)−f(a)}{x−a}\)

**Average Velocity over Interval [a,t]**

\(v_{ave}=\dfrac{s(t)−s(a)}{t−a}\)

## 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 [\(t,a\)] (if \(t<a\) or [\(a,t\)] if \(t>a\)), with a position given by \(s(t)\), that is \(v_{ave}=\dfrac{s(t)−s(a)}{t−a}\)

**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 \(s(t)\) is the value that the average velocities on intervals of the form [\(t,a\)] and [\(a,t\)] approach as the values of \(t\) move closer to \(a\), 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 \(f(x)\) as \(x\) approaches \(a\) is the value that \(f(x)\) 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 \(f(x)\) at \(a\) is a line through the point (\(a,f(a)\)) and another point on the function; the slope of the secant line is given by \(m_{sec}=\dfrac{f(x)−f(a)}{x−a}\)

**tangent**- A tangent line to the graph of a function at a point (\(a,f(a)\)) is the line that secant lines through (\(a,f(a)\)) 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\)