Grade by GradeEssential student suppliesSign in
C. Content · Calculus 12: Functions, Limits, Derivatives, Integrals and Their Applications

Limits Involving Infinity, End Behaviour, Continuity and the Intermediate Value Theorem

BC CALC 12: limits to infinity BC CALC 12: end behaviour BC CALC 12: continuityAbout 75 minutes
Learning goals
  • I can find infinite limits and identify vertical asymptotes.
  • I can find limits as x → ±∞ and describe end behaviour and horizontal asymptotes.
  • I can test a function for continuity and classify discontinuities.
  • I can use the intermediate value theorem to show that an equation has a solution in an interval.

Words to know

infinite limit
lim (x → a) f(x) = ∞ means f(x) grows without bound as x → a. The limit does not exist as a number; ∞ describes how.
end behaviour
What f(x) does as x → ∞ or x → -∞.
horizontal asymptote
The line y = L when lim (x → ∞) f(x) = L or lim (x → -∞) f(x) = L.
continuous at a
f(a) is defined, lim (x → a) f(x) exists, and the two are equal.
intermediate value theorem (IVT)
If f is continuous on [a, b] and N is between f(a) and f(b), then f(c) = N for at least one c in (a, b).

Infinite limits

Near x = 0, the function 1/x^2 gets huge. We write lim (x → 0) 1/x^2 = ∞. This is a way of saying how the limit fails to exist: the values grow without bound. The line x = 0 is a vertical asymptote.

For a rational function, a vertical asymptote happens where the denominator is 0 and the numerator is not. Check the sign on each side to decide between ∞ and -∞.

x±0.1±0.01±0.001101001000
1/x^210010 0001 000 0000.010.00010.000001
1/x±10±100±10000.10.010.001
Near 0, 1/x^2 blows up to ∞ from both sides, while 1/x goes to -∞ from the left and ∞ from the right. For large x both go to 0.
Worked example

Example 1: Vertical asymptote

Find lim (x → 3^-) (x + 1)/(x - 3) and lim (x → 3^+) (x + 1)/(x - 3).

  1. Substitution gives 4/0: a nonzero number over 0, so the function blows up.
  2. Left of 3 (say x = 2.99): the numerator is near 4 (positive) and the denominator is a tiny negative number. The quotient is a large negative number.
  3. Right of 3 (say x = 3.01): numerator positive, denominator tiny positive.

-∞ from the left, ∞ from the right. The line x = 3 is a vertical asymptote.

Limits at infinity and end behaviour

As x → ∞, the terms with the highest power win. For a rational function, divide every term by the highest power of x in the denominator, then use the fact that c/x^n → 0.

A common teaching summary for rational functions:

  • degree of top < degree of bottom: the limit is 0;
  • degrees equal: the limit is the ratio of the leading coefficients;
  • degree of top > degree of bottom: the function goes to ∞ or -∞ (no horizontal asymptote).

Other end behaviour to know: e^x → 0 as x → -∞, ln x → ∞ (slowly) as x → ∞, and arctan x → pi/2 as x → ∞.

Worked example

Example 2: Equal degrees

Find lim (x → ∞) (3x^2 - 5x)/(6x^2 + 1).

  1. Divide every term by x^2: (3 - 5/x)/(6 + 1/x^2).
  2. As x → ∞, 5/x → 0 and 1/x^2 → 0.
  3. The limit is 3/6.

1/2, so y = 1/2 is a horizontal asymptote.

Worked example

Example 3: Careful with square roots

Find lim (x → -∞) (2x + 1)/sqrt(x^2 + 4).

  1. sqrt(x^2 + 4) = sqrt(x^2) · sqrt(1 + 4/x^2) = |x| · sqrt(1 + 4/x^2).
  2. For x < 0, |x| = -x.
  3. So the expression is (2x + 1)/(-x · sqrt(1 + 4/x^2)) = (2 + 1/x)/(-sqrt(1 + 4/x^2)).
  4. As x → -∞ this approaches 2/(-1).

-2 (and as x → ∞ the limit is 2, so this function has two horizontal asymptotes).

Continuity

A function is continuous at x = a when three things are true:

  1. f(a) is defined;
  2. lim (x → a) f(x) exists;
  3. lim (x → a) f(x) = f(a).

Informally, you can draw the graph near a without lifting your pencil. Polynomials, exponentials, sine and cosine are continuous everywhere. Rational, root, log and tangent functions are continuous on their domains. When a condition fails, there is a discontinuity:

xyaremovablexyajumpxyainfinite
Three kinds of discontinuity at x = a. Removable: the limit exists but f(a) is missing or wrong (a hole). Jump: the one-sided limits differ. Infinite: a vertical asymptote.
Worked example

Example 4: Making a piecewise function continuous

Find k so that f(x) = kx + 1 for x < 2 and f(x) = x^2 - k for x ≥ 2 is continuous everywhere.

  1. Each piece is a polynomial, so the only question is x = 2.
  2. Left-hand limit: 2k + 1. Right-hand limit and f(2): 4 - k.
  3. Set them equal: 2k + 1 = 4 - k, so 3k = 3.
  4. Check with k = 1: left 2(1) + 1 = 3, right 4 - 1 = 3 ✓

k = 1

The intermediate value theorem

If f is continuous on [a, b], it cannot get from f(a) to f(b) without passing through every value in between. In particular, if f(a) and f(b) have opposite signs, then f(x) = 0 has a solution between a and b. The theorem tells you a solution exists; it does not tell you where. You can trap it by repeatedly halving the interval (the bisection method), and in a later lesson Newton's method will find it much faster.

Worked example

Example 5: Trapping a root

Show that x^3 + x - 3 = 0 has a solution between 1 and 2, then narrow it to an interval of width 0.05.

  1. f(x) = x^3 + x - 3 is a polynomial, so it is continuous on [1, 2].
  2. f(1) = 1 + 1 - 3 = -1 < 0 and f(2) = 8 + 2 - 3 = 7 > 0. By the IVT there is a root in (1, 2).
  3. f(1.5) = 3.375 + 1.5 - 3 = 1.875 > 0, so the root is in (1, 1.5).
  4. f(1.25) = 1.953125 + 1.25 - 3 = 0.203125 > 0, so it is in (1, 1.25).
  5. f(1.2) = 1.728 + 1.2 - 3 = -0.072 < 0, so it is in (1.2, 1.25).

A root lies between 1.2 and 1.25. (It is about 1.2134.)

Check the hypothesis

The IVT needs continuity on the whole closed interval. f(x) = 1/x has f(-1) = -1 and f(1) = 1, but no zero: it is not continuous at 0.

Hands-on activity

Continuity on the road

On a drive from Vancouver to Whistler, suppose the car's outside thermometer read 12 °C at the start and 4 °C at the end. Explain with the IVT why it must have read exactly 8 °C at some moment. What are you assuming about temperature?

Then think of a quantity that is not continuous in time (for example, the number of people on a bus, or the cost of postage as a parcel gets heavier) and sketch its graph with jumps.

Just for fun

A surprising use of the IVT: at any moment, there are two points exactly opposite each other on the equator with the same temperature (assuming temperature changes continuously). Let g(p) = temperature at p minus temperature at the opposite point. Then g at the opposite point is -g(p), so g changes sign somewhere, and the IVT gives a zero.

Your turn

1

Find lim (x → ∞) (5x - 2)/(2x + 7).

2

Find lim (x → ∞) (4x + 1)/(x^2 - 3).

3

Find lim (x → -2^+) 1/(x + 2) and lim (x → -2^-) 1/(x + 2).

4

Find lim (x → ∞) e^(-x) and lim (x → ∞) arctan x.

5

Where is f(x) = (x^2 - 1)/(x - 1) discontinuous, and what type is it?

6

Show that cos x = x has a solution in (0, 1).

More practice

1

Find lim (x → ∞) (2x^3 - x)/(5 - x^3).

2

Find lim (x → ∞) (sqrt(9x^2 + 1))/(x + 4).

3

Find c so that f(x) = cx^2 for x ≤ 1 and f(x) = 3x + 2 for x > 1 is continuous.

4

List the vertical and horizontal asymptotes of y = (2x)/(x - 4).

5

f(x) = x^4 - 3x - 1. Use the IVT to find an interval of width 1 containing a positive root.

Check your understanding

Quiz

1.

What is lim (x → ∞) (7x^2 + 3)/(2x^2 - x)?

2.

Which condition fails at a jump discontinuity?

3.

Find lim (x → 1^-) 2/(x - 1).

4.

f is continuous on [0, 4], f(0) = 5 and f(4) = -3. What does the IVT guarantee?

5.

For what k is f(x) = x + k (x < 3) and f(x) = 2x (x ≥ 3) continuous at 3?

For parents and teachers

How to help: Ask your teen to explain the three-part test for continuity using a sketch. For limits at infinity, ask: "Which term wins when x is a million?"

Common mistakes:

  • Treating ∞ as a number and writing ∞ - ∞ = 0 or ∞/∞ = 1.
  • Forgetting that sqrt(x^2) = |x|, which is -x when x → -∞.
  • Using the IVT on a function that is not continuous on the interval.
  • Saying a function is discontinuous at a point outside its domain (it is simply not defined there).