Tutorials › Calculus I › Proving Limits of Affine Functions

Limit Concepts and Estimates · Tutorial 172 of 1495

Proving Limits of Affine Functions

Learn how the slope determines a suitable input tolerance for proving limits of affine functions.

Beginner 8 min read

What You'll Learn

  • State the limit of an affine function at an arbitrary input
  • Relate output error to input error using the slope
  • Choose a suitable delta for any positive epsilon
  • Handle positive, negative, and zero slopes
  • Identify and correct a common absolute-value error

Introduction

For an affine function, the output changes in direct proportion to a change in the input. That simple relationship makes its limits especially accessible to an epsilon-delta proof: once we specify how close the output must be to the proposed limit, the slope tells us how close the input must be to its target.

Here we will prove the limit for \(f(x)=mx+b\) as \(x\) approaches an arbitrary real number \(a\). The proof will cover positive, negative, and zero slopes, and will show exactly how to choose a suitable input tolerance.

The Claim and Its Key Estimate

Let \(m\) and \(b\) be fixed real numbers, and define \(f(x)=mx+b\). At the input \(a\), the function has value \(ma+b\). The proposed limit is therefore the function’s value at that input. To prove this claim, compare the output at \(x\) with the proposed limit:

$$ \left|f(x)-(ma+b)\right| = \left|(mx+b)-(ma+b)\right| = |m|\,|x-a|. $$

This equality is the central estimate. The constant term cancels, and the magnitude of the output error is the input error multiplied by \(|m|\). Using the absolute value matters because the output error is a nonnegative distance whether the slope is positive or negative.

Theorem: For every \(m,b,a\in\mathbb{R}\), $$ \lim_{x\to a}(mx+b)=ma+b. $$

The epsilon-delta definition says that \(\lim_{x\to a} f(x)=L\) if, for every \(\varepsilon>0\), there is a \(\delta>0\) such that whenever \(0<|x-a|<\delta\), we have \(|f(x)-L|<\varepsilon\). The values \(\varepsilon\) and \(\delta\) measure the required output and input tolerances, respectively.

Why the Slope Determines Delta

Suppose first that \(m\ne 0\). To make the output error less than \(\varepsilon\), the key estimate shows that it is enough to make \(|m|\,|x-a|<\varepsilon\). Dividing by the positive number \(|m|\), we see that it is enough to require \(|x-a|<\varepsilon/|m|\). This gives a positive choice of delta for every positive epsilon.

If \(m=0\), then \(f(x)=b\) for every input. Its output error from \(b\) is always zero, so any positive delta works. The proof below treats both cases explicitly.

Proof: Let \(\varepsilon>0\) be given. If \(m\ne 0\), choose \(\delta=\varepsilon/|m|\), which is positive. For any \(x\) satisfying \(0<|x-a|<\delta\), the key estimate gives $$ |f(x)-(ma+b)| = |m|\,|x-a| < |m|\delta = |m|\frac{\varepsilon}{|m|} = \varepsilon. $$ Thus the epsilon-delta condition holds. If \(m=0\), choose \(\delta=1\). For every \(x\) satisfying \(0<|x-a|<1\), we have \(f(x)=b=ma+b\), so $$ |f(x)-(ma+b)|=0<\varepsilon. $$ In either case, for every \(\varepsilon>0\) we have found a \(\delta>0\) that satisfies the definition. Therefore \(\lim_{x\to a}(mx+b)=ma+b\).

The proof works because it provides a direct guarantee: inputs within the chosen distance of \(a\) produce outputs within the requested distance of \(ma+b\). The restriction \(0<|x-a|\) in the definition excludes the input \(x=a\), but the estimate itself also holds at \(x=a\).

Worked Example: A Positive Slope

Worked Example: A Positive Slope

Prove directly that \(\lim_{x\to 4}(3x-2)=10\). Here \(m=3\), \(b=-2\), and \(a=4\), so the proposed limit is \(ma+b=3(4)-2=10\).

Let \(\varepsilon>0\) be given. Since \(|m|=3\), choose \(\delta=\varepsilon/3\), which is positive. If \(0<|x-4|<\delta\), then

$$ \begin{aligned} |(3x-2)-10| &=|3x-12|\\ &=|3(x-4)|\\ &=3|x-4|\\ &<3\delta\\ &=3\frac{\varepsilon}{3}\\ &=\varepsilon. \end{aligned} $$

This verifies the definition for every positive \(\varepsilon\). For example, if the required output tolerance is \(\varepsilon=0.06\), then \(\delta=0.06/3=0.02\). An input satisfying \(0<|x-4|<0.02\) has output error \(3|x-4|<3(0.02)=0.06\). Thus the proposed limit is verified.

Worked Example: A Negative Slope

Worked Example: A Negative Slope

Prove directly that \(\lim_{x\to 1}(-2x+5)=3\). Substituting the target input into the affine expression gives \((-2)(1)+5=3\).

Let \(\varepsilon>0\) be given. The slope is \(m=-2\), so \(|m|=2\). Choose \(\delta=\varepsilon/2\). For any \(x\) satisfying \(0<|x-1|<\delta\), calculate the output error:

$$ \begin{aligned} |(-2x+5)-3| &=|-2x+2|\\ &=|-2(x-1)|\\ &=2|x-1|\\ &<2\delta\\ &=2\frac{\varepsilon}{2}\\ &=\varepsilon. \end{aligned} $$

Therefore the epsilon-delta condition holds. For a concrete check, take \(\varepsilon=0.1\). The chosen input tolerance is \(\delta=0.1/2=0.05\), and whenever \(0<|x-1|<0.05\), the output error is \(2|x-1|<2(0.05)=0.1\). The negative slope reverses the direction of change, but it does not make the distance negative.

Worked Example: A Zero Slope

Worked Example: A Zero Slope

Prove that \(\lim_{x\to -3}(0x+7)=7\). The expression is the constant function \(f(x)=7\), and the proposed limit is \(0(-3)+7=7\).

Let \(\varepsilon>0\) be given. Choose \(\delta=1\), a positive number. If \(0<|x-(-3)|<1\), then \(f(x)=7\), and hence

$$ |f(x)-7|=|7-7|=0<\varepsilon. $$

This verifies the definition. The choice \(\delta=1\) is not special: any positive delta would work, because the output error is zero for every input. In this case the formula \(\varepsilon/|m|\) is unavailable because \(|m|=0\); that is why the zero-slope case is handled separately.

A Reusable Proof Structure

For a nonzero slope, the proof can be organized around the same few decisions each time. First identify the proposed limit by evaluating the affine expression at \(a\). Then express the output error as \(|m|\,|x-a|\), and choose \(\delta=\varepsilon/|m|\). Finally, use the hypothesis \(|x-a|<\delta\) to conclude that the output error is less than \(\varepsilon\).

1
Identify the limit.
For \(f(x)=mx+b\), the proposed value at \(a\) is \(ma+b\).
2
Relate the errors.
Simplify \(|f(x)-(ma+b)|\) to \(|m|\,|x-a|\).
3
Choose the input tolerance.
If \(m\ne 0\), set \(\delta=\varepsilon/|m|\). If \(m=0\), take any positive \(\delta\), such as \(1\).
4
Verify the implication.
Use \(0<|x-a|<\delta\) to show \(|f(x)-(ma+b)|<\varepsilon\).

Common Pitfall: Forgetting the Absolute Value of the Slope

A frequent error is to divide by \(m\) rather than by \(|m|\). This can produce a negative value for delta, even though the definition requires \(\delta>0\). For example, with slope \(m=-2\) and tolerance \(\varepsilon=0.1\), the incorrect choice \(\delta=\varepsilon/m=0.1/(-2)=-0.05\) is not an allowable input tolerance.

The correction is to use the error in distance, which is nonnegative: \(|-2|=2\). Thus \(\delta=\varepsilon/|m|=0.1/2=0.05>0\). If \(0<|x-a|<0.05\), then the output error is \(2|x-a|<2(0.05)=0.1\). The absolute value handles negative slopes correctly and ensures that the chosen delta is positive.

Another useful check is to substitute the chosen delta into the estimate before concluding. For nonzero \(m\), the calculation must end with \(|m|\delta=\varepsilon\), with a strict inequality before that final bound. This makes clear both why the choice works and where the strict output tolerance comes from.

Why This Result Matters

This proof illustrates a basic strategy for limit arguments: simplify the output error until it can be controlled by the input distance. In this case, the relationship is exact, not merely an upper bound. The slope measures how strongly an input change is amplified in the output, so a larger \(|m|\) requires a proportionally smaller delta for the same epsilon.

The result also confirms that an affine function has no jump or gap in its limiting value at any real input: its limit is the value obtained by substituting the target input. The justification, however, comes from the epsilon-delta argument rather than from substitution alone. The argument explicitly shows that every requested output tolerance can be met by a suitable input tolerance.

Check Your Understanding

Use the error relation between input and output to answer these questions.

  1. For \(f(x)=5x+1\) as \(x\to 2\), what is the proposed limit?
  2. For a nonzero slope \(m\), what choice of \(\delta\) guarantees \(|m|\,|x-a|<\varepsilon\) whenever \(|x-a|<\delta\)?
  3. Why must the absolute value \(|m|\), rather than \(m\), appear in the delta formula?
  4. What is a suitable delta when the affine function has slope zero, and why does it work?
  5. If \(m=-4\) and \(\varepsilon=0.2\), what delta does the proof choose?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon