Lesson 2 · Limit of a Function

Limit of a Function

Optional MathematicsSubject
8 minEstimated read

The Value of a Function at a Point

A function is a rule that gives exactly one output for each input. If the rule is \( f(x) = 2x + 1 \), then for any number we put in place of \( x \), the rule tells us what comes out. Putting a number in place of \( x \) and working out the answer is called finding the functional value at that point.

Definition

Functional value: the value of \( f(x) \) obtained by replacing \( x \) with a given number \( a \) in the rule of the function. It is written \( f(a) \).

Here is how the values of \( f(x) = 2x + 1 \) are found at \( x = 1 \), \( x = 2 \) and \( x = 3 \).

Step 1: Replacing \( x \) by 1 in the rule:

\[ f(1) = 2 \times 1 + 1 = 3 \]

Step 2: Replacing \( x \) by 2 in the rule:

\[ f(2) = 2 \times 2 + 1 = 5 \]

Step 3: Replacing \( x \) by 3 in the rule:

\[ f(3) = 2 \times 3 + 1 = 7 \]

In each of these, \( x \) is exactly equal to a number. A limit asks a different question. It asks what happens to \( f(x) \) while \( x \) is travelling towards a number, getting nearer and nearer to it.

Getting Closer and Closer to a Number

Take the function \( f(x) = 2x + 2 \). Start with \( x = 1 \) and keep choosing values of \( x \) that come nearer to 2: first 1.2, then 1.4, 1.6, 1.8, then 1.9, 1.99 and 1.999. Each value is worked out with the same rule. For example, \( f(1.9) = 2 \times 1.9 + 2 = 5.8 \) and \( f(1.99) = 2 \times 1.99 + 2 = 5.98 \).

xy = f(x) = 2x + 2
14
1.24.4
1.44.8
1.65.2
1.85.6
1.95.8
1.995.98
1.9995.998
26

Read the table from top to bottom. The values of \( x \) creep towards 2. When \( x = 1.9 \) it is 0.1 away from 2, when \( x = 1.99 \) it is only 0.01 away, and when \( x = 1.999 \) it is 0.001 away. At the same time the values of \( f(x) \) creep towards 6: 5.8 is 0.2 away from 6, 5.98 is 0.02 away and 5.998 is 0.002 away. The closer \( x \) is to 2, the closer \( f(x) \) is to 6. The last row shows that at \( x = 2 \) itself, \( f(2) = 6 \).

Key idea

We can make \( f(x) \) as close to 6 as we like, simply by taking \( x \) close enough to 2. That is what it means to say \( f(x) \) approaches 6.

Seeing the Approach on a Number Line

The same idea can be shown on two number lines, one for \( x \) and one for \( f(x) \). On the top line the points 1, 1.2, 1.4 and so on crowd closer together as they reach 2. On the bottom line the matching values 4, 4.4, 4.8 and so on crowd towards 6. An arrow on each line shows the direction of travel. We write \( x \to 2 \), read as "\( x \) approaches 2", and \( f(x) \to 6 \), read as "\( f(x) \) approaches 6".

As \( x \) moves along its line towards 2, \( f(x) = 2x + 2 \) moves along its own line towards 6.
As \( x \) moves along its line towards 2, \( f(x) = 2x + 2 \) moves along its own line towards 6.

What a Limit Means

Definition

Approaches: \( x \) approaches \( a \), written \( x \to a \), means that \( x \) takes values that come closer and closer to the number \( a \).

In the table above, 6 is the value that \( f(x) = 2x + 2 \) settles on as \( x \) gets closer to 2. So 6 is called the limiting value, or the limit, of this function as \( x \) approaches 2. The general idea is the same for any function.

Definition

Limit of a function: let \( y = f(x) \) be a function and \( l \) be a real number. If \( f(x) \) comes closer and closer to \( l \) as \( x \) comes closer and closer to a real number \( a \), then \( l \) is called the limit of \( f(x) \) as \( x \) approaches \( a \).

The limit describes a trend. It tells us where the outputs are heading, which is why it is found by looking at many values near \( a \) and not only at one.

Writing a Limit in Symbols

The sentence "when \( x \) approaches \( a \), \( f(x) \) approaches \( l \)" is written in two ways. The first uses arrows:

\[ f(x) \to l \text{ when } x \to a \]

The second, and the standard one, uses the word lim, short for limit, with \( x \to a \) written underneath it:

\[ \lim_{x \to a} f(x) = l \]

Definition

Limit notation: \( \lim_{x \to a} f(x) = l \) is read "the limit of \( f(x) \) as \( x \) approaches \( a \) is \( l \)".

For the function in the table, the limit is written \( \lim_{x \to 2} (2x + 2) = 6 \). The part under lim tells the reader which number \( x \) is moving towards. The number on the right of the equals sign is where \( f(x) \) is heading.

Short statements about approaching are written with the arrow alone. The variable does not have to be \( x \), and the number it approaches can be negative or even infinity, which means the values keep growing without end.

In wordsIn symbols
x approaches 5\( x \to 5 \)
x approaches negative 2\( x \to -2 \)
a approaches 7\( a \to 7 \)
x approaches infinity\( x \to \infty \)
Common mistake

Do not write \( x = 2 \) when you mean \( x \to 2 \). The arrow says \( x \) is moving towards 2; the equals sign says it is already exactly 2. Also, never leave out the \( x \to a \) under lim. Without it, nobody can tell where \( x \) is heading.

Example 1: Completing a Table and Writing the Limit

Complete the table below for \( y = f(x) = x^2 - 2 \) and write the limit in notation.

The table to be completed for \( f(x) = x^2 - 2 \), with \( x \) moving from 1 up towards 3.
The table to be completed for \( f(x) = x^2 - 2 \), with \( x \) moving from 1 up towards 3.

Step 1: The rule used for every value in the table is:

\[ f(x) = x^2 - 2 \]

Step 2: Putting \( x = 1 \), squaring first and then subtracting 2:

\[ f(1) = 1^2 - 2 = 1 - 2 = -1 \]

Step 3: Putting \( x = 2.2 \). Since \( 2.2^2 = 4.84 \), this gives:

\[ f(2.2) = 4.84 - 2 = 2.84 \]

Step 4: Putting \( x = 2.9 \). Since \( 2.9^2 = 8.41 \), this gives:

\[ f(2.9) = 8.41 - 2 = 6.41 \]

Step 5: Putting \( x = 2.99 \). Since \( 2.99^2 = 8.9401 \), this gives:

\[ f(2.99) = 8.9401 - 2 = 6.9401 \approx 6.94 \]

Step 6: Working out the remaining values in the same way and filling them in gives the completed table:

As \( x \) climbs through 2.8, 2.9 and 2.99 towards 3, the values of \( x^2 - 2 \) climb through 5.84, 6.41 and 6.94 towards 7.
As \( x \) climbs through 2.8, 2.9 and 2.99 towards 3, the values of \( x^2 - 2 \) climb through 5.84, 6.41 and 6.94 towards 7.

Step 7: Reading the trend. As \( x \) approaches 3, the value of \( f(x) = x^2 - 2 \) approaches 7, so the limit is:

\[ \lim_{x \to 3} (x^2 - 2) = 7 \]

Example 2: Writing a Table in Limit Form

Write the following table of \( f(x) = x^3 \) in terms of limit.

Values of \( f(x) = x^3 \) as \( x \) runs from 1 up to 10.
Values of \( f(x) = x^3 \) as \( x \) runs from 1 up to 10.

Step 1: Reading the top row. The values of \( x \) run 1, 2, 3, and so on, towards 10:

\[ x \to 10 \]

Step 2: Reading the bottom row. The cubes 1, 8, 27, 64, 125, 216 grow towards 1000, which is \( 10^3 \):

\[ f(x) \to 1000 \text{ when } x \to 10 \]

Step 3: Writing the same statement in limit form:

\[ \lim_{x \to 10} x^3 = 1000 \]

Check the numbers

The limit is read from the last value that \( f(x) \) is heading to, here 1000. It is easy to drop a zero and write 100. A quick check: \( 10 \times 10 \times 10 = 1000 \).

Approaching from Both Sides

So far \( x \) has always come up to its number from below. A number on the number line can also be reached from above. Take \( f(x) = x^2 + 1 \) and let \( x \) approach 2 from both sides: from the left through 1.9, 1.99, 1.999, and from the right through 2.1, 2.01, 2.001.

x from the leftf(x)x from the rightf(x)
1.94.612.15.41
1.994.96012.015.0401
1.9994.9960012.0015.004001

From the left the values rise towards 5. From the right they fall towards 5. Both sides head for the same number, so \( \lim_{x \to 2} (x^2 + 1) = 5 \). Checking with the rule at the point itself, \( f(2) = 2^2 + 1 = 5 \), which agrees.

Points on the curve \( y = x^2 + 1 \) close in on the height 5 from below and from above as \( x \) closes in on 2 from each side.
Points on the curve \( y = x^2 + 1 \) close in on the height 5 from below and from above as \( x \) closes in on 2 from each side.

When the Rule Cannot Be Used at the Point Itself

Why study values near \( a \) at all, when we could just work out \( f(a) \)? Because sometimes \( f(a) \) cannot be worked out, and yet \( f(x) \) still heads for a clear value. Take \( f(x) = \frac{x^2 - 1}{x - 1} \). At \( x = 1 \) the rule gives \( \frac{0}{0} \), which has no meaning. But the values near 1 behave perfectly well.

x0.90.991.011.1
f(x)1.91.992.012.1

For example, \( f(0.9) = \frac{0.81 - 1}{0.9 - 1} = \frac{-0.19}{-0.1} = 1.9 \). From both sides the values close in on 2, so \( \lim_{x \to 1} \frac{x^2 - 1}{x - 1} = 2 \), even though \( f(1) \) does not exist. This is the real power of a limit: it describes where a function is heading, whether or not it ever arrives.

How to Find a Limit from a Table

Every example above followed the same method. Use it for any table question.

  • Step 1: Write down the rule of the function.
  • Step 2: Put each value of x into the rule and work out f(x), doing powers before addition and subtraction.
  • Step 3: Look at the x row and decide which number a it is moving towards.
  • Step 4: Look at the f(x) row and decide which number l it is moving towards.
  • Step 5: Write the result in limit form, with x approaching a written under lim and l on the right of the equals sign.
Key idea

A table gives the answer in two lines: the top row tells you \( a \), the bottom row tells you \( l \), and together they give \( \lim_{x \to a} f(x) = l \).

🔐

The full lesson is waiting for you

The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.