# 2.1: The Idea of Limits

- Page ID
- 10116

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)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}\).

*Figure \(\PageIndex{1}\):* *The rate of change of a linear function is constant in each of these three graphs, with the constant determined by the slope.*

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{1}\)). 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?

*Figure \(\PageIndex{2}\):* *The function \(k(x)=x^2\) does not have a constant rate of change.*

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 shows a *secant line* to a function \(f(x)\) at a point \((a,f(a))\).

*Figure \(\PageIndex{3}\):* *The slope of a secant line through a point \((a,f(a))\) estimates the rate of change of the function at the point \((a,f(a))\).*

We formally define a secant line as follows:

Definition: Secant Line

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}.\]

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\).

*Figure \(\PageIndex{4}\):* *As x gets closer to a, the slope of the secant line becomes a better approximation to the rate of change of the function \(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.

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):

*Figure \(\PageIndex{5}\):* *Solving the Tangent Problem: As x approaches a, the secant lines approach the tangent line.*

Example 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.

Example \(\PageIndex{1}\): Finding Slopes of Secant Lines

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)\)
- \((\dfrac{3}{2},\dfrac{9}{4})\)

**Solution**:

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

- \(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).

*Figure \(\PageIndex{6}\):* *The secant lines to \(f(x)=x^2\) at \((1,1)\) through (a) \((2,4)\) and (b) \((\dfrac{3}{2},\dfrac{9}{4})\) provide successively closer approximations to the tangent line to \(f(x)=x^2\) at \((1,1)\).*

Exercise \(\PageIndex{1}\)

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.

Definition: A**verage Velocity**

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}.\]

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.

Definition: I**nstantaneous Velocity**

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.

Example \(\PageIndex{2}\): Finding 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 the formula for the definition of average velocity.

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

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

Exercise \(\PageIndex{2}\)

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 \(v_{ave}=\dfrac{s(2.001)−s(2)}{2.001−2}\).

**Answer**-
12.006001

## The Area Problem and Integral Calculus:

This is an interesting look ahead, but you do not need to focus on this part for now.

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}\))?

*Figure \(\PageIndex{7}\):* *The Area Problem: How do we find the area of the shaded region?*

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}\)).

*Figure \(\PageIndex{8}\):* *The area of the region under the curve is approximated by summing the areas of thin rectangles.*

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.

Example \(\PageIndex{3}\): Estimation Using Rectangles

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.

*Figure \(\PageIndex{9}\):* *The area of the region under the curve of \(f(x)=x^2+1\) can be estimated using rectangles.*

**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}.

Exercise \(\PageIndex{3}\)

Add exercises text here. For the automatic number to work, you need to add the "AutoNum" template (preferably at the end) to the page.

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

**Answer**-
16 \(unit^2\)

## Other Aspects of Calculus

This is an interesting look ahead, but you do not need to focus on this part for now.

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. 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.

*Figure \(\PageIndex{10}\):* *We can use multivariable calculus to find the volume between a surface defined by a function of two variables and a plane.*

## 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

## Contributors

Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.