Limits and continuity

6 visual steps · 3 worked examples · 5 exercises with solutions

First, let’s see the idea.

Does the limit change if I move only the point at x = 1?

Move forward one step at a time. Change the values and observe what happens.

The hole and the valuexf(x)00,511,52-1,50,52,54,5
Drawing description

The graph follows the line x+1 away from x=1.

Step 1 of 6

Read an input and output

Choose x=0 on the horizontal axis and find height 1 on the line.

The green line shows “add 1” for inputs other than 1. Fraction (x²−1)/(x−1) gives the same rule there; at 1 we need care.

f(x)=x+1, x≠1
Expression away from 1
x+1

What if you change this?

0,020,9
-14

Before moving on

Set k=4 and d=0,02. What is the limit? Is the function continuous?

Compare with the explanation

The limit remains 2. It is not continuous at 1 because f(1)=4.

You decide when to mark this lesson as studied.

The hole and the value

Slide the drawing to see the details.

Explore the full explanationThe foundations, principles, worked examples and all the exercises, at your own pace.

What you will understand

  • Distinguish value, one-sided limit and two-sided limit.
  • Calculate limits through simplification without changing the original domain.
  • Justify continuity and recognise discontinuities.

Before you start

You do not need to know everything by heart. The explanation revisits the necessary ideas and shows how they connect. If a foundation is still unclear, you can return to these lessons:

Review functions and closeness

A function assigns exactly one output to every permitted input. The domain is the set of those inputs. In f(x)=1/(x−3), x=3 is excluded: division by zero does not define a real number. A graph represents the pairs (x,f(x)), not the values we would like to exist. Before calculating a limit, write the domain and locate the point being approached.

The symbol x→a means we choose inputs arbitrarily close to a, usually different from a. It does not necessarily describe an object moving through time. We can approach 3 through 2,9; 2,99; 2,999 or through 3,1; 3,01; 3,001. These two lists illustrate different sides, but a finite list alone never proves the behaviour of all nearby inputs. Interpreting a limit requires controlling the entire neighbourhood within the domain.

What it means for an output to approach a value

Writing limx→a f(x)=L means we can make f(x) as close to L as we wish by sufficiently restricting the distance from x to a, with x≠a. The desired precision in outputs determines the necessary closeness in inputs. For f(x)=2x+1 near a=3, we have |f(x)−7|=2|x−3|. For an output error below 0,02, an input error below 0,01 is enough.

This relationship shows the logic behind the rigorous definition: first choose a positive tolerance ε for outputs; then seek a positive tolerance δ for inputs. If 0<|x−a|<δ implies |f(x)−L|<ε, the limit is controlled. You do not need to memorise letters to begin, but to understand the order: guarantee any desired precision, rather than merely present apparently close values.

Both sides must agree

The left-hand limit uses inputs smaller than a; the right-hand limit uses larger inputs. When domain inputs exist arbitrarily close on both sides, the finite two-sided limit exists precisely when both one-sided limits exist and are equal. If a function equals −2 to the left of 0 and 4 to the right, there is no single number describing both approaches. Assigning f(0)=1, or any other value, does not resolve that jump.

At a domain endpoint, continuity can be analysed only from the permitted side. For example, √x is continuous at 0 on the domain [0,+∞), using a right-hand approach. We should not invent negative inputs to demand a real two-sided limit that the domain itself does not allow. In your answer, state whether you are using a two-sided limit or an approach relative to the domain.

Algebra that reveals the behaviour

For polynomials, substituting the input gives the limit, because sums and products preserve finite limits. For a quotient, direct substitution also works if the denominator's limit is nonzero. When 0/0 appears, you have neither obtained a value nor demonstrated nonexistence: you have found an indeterminate form requiring further analysis.

In (x²−25)/(x−5), factor the numerator: (x−5)(x+5). For x≠5, the expression equals x+5; therefore the limit near 5 is 10. Simplification does not make the original expression defined at 5. With roots, multiplying by the conjugate may reveal the same type of cancellation: (√(x+4)−2)/x = 1/(√(x+4)+2), for x≠0 in the domain. The limit at 0 is now 1/4.

Continuity, repair and intermediate values

A function is continuous at a when f(a) is defined, the appropriate limit exists and that limit equals f(a). These are three distinct checks. A removable discontinuity occurs when the finite limit exists, but the point was omitted or assigned another value. We can construct a continuous extension by assigning exactly the limit's value. A jump cannot be repaired by changing a single point, since the one-sided behaviours already disagree.

Continuity on an interval permits a powerful conclusion: between two outputs f(a) and f(b), the function takes every intermediate value if it is continuous on [a,b]. Thus, opposite signs guarantee at least one root between the endpoints. They do not guarantee a unique root or automatically provide its exact position. A bisection process reduces the interval while preserving the sign change and produces justified approximations.

Unbounded growth and responsible interpretation

In 1/x², outputs grow without bound as x approaches 0 from either side. We write an infinite limit, +∞, to describe this growth. Infinity is not a real number that can be inserted into the expression. In 1/x, the right side tends to +∞ and the left to −∞; no common two-sided limit exists, even in the extended sense. A vertical asymptote describes unbounded growth on at least one side.

There are also functions that oscillate without approaching an output: sin(1/x) near 0 is an example. A table or calculator may hide these oscillations. When explaining a solution, combine the domain, one-sided approaches and legitimate algebraic transformations. Indicate whether the result is a number, unbounded behaviour or absence of a limit. This classification prepares for studying the derivative, whose initial quotient also often presents 0/0.

Worked examples, without skipping steps

Follow the reasoning first. Then cover the solution and try to reconstruct it in your own words.

Example 1

A hole in a graph

Determine the limit of (x²−49)/(x−7) as x→7 and explain whether the expression is continuous at 7.

  1. The original domain excludes 7, because the denominator would be zero. The question about closeness still makes sense.
  2. Factor x²−49=(x−7)(x+7). For x≠7, cancel the common factor to obtain x+7.
  3. The limit of x+7 is 14. Since the original function has no value at 7, it is not continuous at that point.
Result

Limit 14; continuity is restored only in an extension defining f(7)=14.

Check the result

For x=6,99 and x=7,01, the outputs are 13,99 and 14,01. Both confirm the algebraic trend without replacing the justification.

Example 2

A continuity parameter

Define g(x)=3x+2 for x<2 and g(x)=kx−1 for x≥2. Which k makes g continuous at 2?

  1. On the left, the expression approaches 3·2+2=8.
  2. On the right, the limit is 2k−1; this expression also defines g(2).
  3. Require 2k−1=8 and solve: 2k=9, so k=4,5.
Result

k=4,5.

Check the result

With this value, g(2)=8 and both one-sided limits are 8. The verification includes the point and both sides.

Example 3

Locate a root with a guarantee

Justify that x³−x−1 has a root between 1 and 2 and reduce the interval once.

  1. The polynomial is continuous on [1,2]; the outputs are −1 and 5.
  2. Zero lies between these outputs, so the intermediate value theorem guarantees a root in the interior.
  3. At the midpoint 1,5, the output is 3,375−1,5−1=0,875. There is a sign change between 1 and 1,5.
Result

There is at least one root in (1;1,5).

Check the result

We do not conclude uniqueness from the sign change alone. That would require another property, for example monotonicity on this interval.

Now try it yourself

There is no timer. Write what you know, choose a relationship and justify each step. Hints and solutions are available whenever you need them.

Exercise 1

A function has left-hand limit 2 and right-hand limit 5 at a. Does defining f(a)=3,5 make it continuous?
A hint
Separate the value at the point from the surrounding behaviour.
See the worked solution
No. The two-sided limit does not exist because 2≠5. Continuity would require one limit equal to the value at the point. No isolated change to f(a) corrects the jump.

Exercise 2

Calculate limx→4 (x²−16)/(x−4).
A hint
Factor a difference of squares and keep the point excluded.
See the worked solution
For x≠4, the quotient equals x+4. Its limit is 8. The original expression remains undefined at 4; the limit describes only the approach.

Exercise 3

Calculate limx→0 (√(9+x)−3)/x.
A hint
Multiply numerator and denominator by the conjugate.
See the worked solution
For x≠0, we obtain 1/(√(9+x)+3), with x≥−9. Substituting 0 into the simplified expression gives 1/6. The cancellation is valid in the neighbourhood excluding the point.

Exercise 4

What is the behaviour of −1/x² near 0?
A hint
The square is positive on both sides.
See the worked solution
The positive denominator approaches zero and the quotient's magnitude grows without limit. Its sign is always negative, so the limit is −∞ from both sides. This is not a real output at zero.

Exercise 5

Justify that x²−3 has a root between 1 and 2.
A hint
Check continuity and signs before applying the theorem.
See the worked solution
The polynomial function is continuous on [1,2]. The outputs are −2 and 1. Since zero lies between them, there is at least one input c in (1,2) with c²−3=0. The argument proves existence without requiring a decimal approximation.

Mistakes worth avoiding

A limit exists only if the function is defined at the point.
A limit uses nearby, distinct inputs; continuity is what also requires a value at the point.
0/0 equals zero.
It is an indeterminate form: different functions can produce different limits or no limit.
A table with five values proves the limit.
Numerical values suggest; a justification must control all nearby behaviour.

The essentials to take with you

  • Start with the domain.
  • Check both sides when both are available.
  • Cancelling factors preserves values away from the cancelled zeros.
  • Continuity connects limit and value; infinity describes behaviour.

If you still cannot explain one of these ideas, return to the corresponding section and work through an example again. Recognising the difficulty is part of studying.

References for further study

Text and examples prepared for this learning path. These sources help check the principles and continue studying:

The organisation by school year is a study proposal. Pedagogical review by teachers remains a stage of the project.