Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

Limits of functions

Lesson 5.2 · 25 min read · Updated

An object falls freely (ignoring air resistance) from rest. After tt seconds it has fallen s(t)=4.9t2s(t)=4.9t^2 metres. From the first second to the time 1+h1+h, the average velocity is s(1+h)−s(1)h\dfrac{s(1+h)-s(1)}{h}.

What is the velocity of the object at exactly t=1t=1 second? We cannot put h=0h=0, because then the numerator and the denominator are both 00. But we can let hh get smaller and smaller and see which number the average velocity approaches. That is the meaning of the limit of a function.

Finite limits of a function at a point

Explore: a function not defined at a point

Take f(x)=x2−1x−1f(x)=\dfrac{x^2-1}{x-1}. The function is not defined at x=1x=1 because the denominator is 00. We compute f(x)f(x) for xx near 11:

xx 0.90.9 0.990.99 0.9990.999 1.0011.001 1.011.01 1.11.1
f(x)f(x) 1.91.9 1.991.99 1.999 2.001 2.01 2.1

As x approaches 1 from both sides, f(x) approaches 2. Indeed, for x\ne1 we have f(x)=\dfrac{(x-1)(x+1)}{x-1}=x+1: the graph is the line y=x+1 with the point (1, 2) missing.

-2-11234-112345xyO(1, 2)
The graph of y=\dfrac{x^2-1}{x-1}: the line y=x+1 with the point (1, 2) missing

The limit at x_0 depends only on the values of f(x) for x near x_0 and different from x_0; it does not depend on whether f(x_0) is defined, or what it equals.

When substituting x=x_0 gives the form \dfrac00, we do not yet know the limit. We transform the expression (factorise and cancel, or multiply by a conjugate expression) to remove the factor that makes the numerator and the denominator both 0.

One-sided limits

Sometimes f(x) tends to different numbers as x tends to x_0 from the right and from the left. Then we look at one-sided limits: \lim\limits_{x\to x_0^+}f(x) (for x>x_0) and \lim\limits_{x\to x_0^-}f(x) (for x<x_0).

Limits at infinity and infinite limits

We also consider x growing without bound: \lim\limits_{x\to+\infty}f(x)=L if f(x)\to L for every sequence x_n\to+\infty; similarly as x\to-\infty.

Connections. The limit of a function extends the limit of a sequence from the previous lesson: the definition uses exactly the limit of the sequence f(x_n). The instantaneous velocity problem at the start, the limit of \dfrac{s(1+h)-s(1)}{h} as h\to0, is exactly the derivative of s at t=1. Limits also let us say that a function is continuous: not "broken" at a point.

Key terms

Summary

  • \lim\limits_{x\to x_0}f(x)=L if every sequence x_n\to x_0 (x_n\ne x_0) gives f(x_n)\to L; the limit does not depend on f(x_0).
  • The limit of a sum, difference, product or quotient is the sum, difference, product or quotient of the limits (for a quotient the denominator's limit must be non-zero).
  • For polynomials and fractions whose denominator is non-zero at x_0, substitute x=x_0.
  • The form \dfrac00: factorise and cancel, or multiply by a conjugate expression.
  • The limit exists if and only if the left-hand limit equals the right-hand limit.
  • \lim\limits_{x\to\pm\infty}\dfrac1{x^k}=0; for a fraction as x\to\pm\infty, divide by the highest power; \lim\limits_{x\to x_0^\pm}\dfrac{1}{x-x_0}=\pm\infty.

Practice

Each exercise comes with what you need and hints. Try it yourself first, then open the solution.

Exercise 1

Find a) \lim\limits_{x\to3}(x^2-2x+1); b) \lim\limits_{x\to-1}\dfrac{2x+3}{x^2+2}.

What you need and how to start

What you need: for polynomials and fractions with a non-zero denominator, substitute x=x_0.

Steps:

  1. Substitute the value x_0.
  2. For part b, check that the denominator is non-zero.
Show solution

a) The function x^2-2x+1 is a polynomial, so it is continuous at x=3. Hence \lim_{x\to3}(x^2-2x+1)=3^2-2\cdot3+1=9-6+1=4.

b) The function \dfrac{2x+3}{x^2+2} is defined at x=-1 because the denominator there is (-1)^2+2=3\ne0. By the quotient rule for limits, \lim_{x\to-1}\frac{2x+3}{x^2+2}=\frac{2\cdot(-1)+3}{(-1)^2+2}=\frac13.

So a) the limit is 4; b) the limit is \dfrac13.

Answer. a) 4; b) \dfrac13.

Exercise 2

Find a) \lim\limits_{x\to3}\dfrac{x^2-9}{x-3}; b) \lim\limits_{x\to2}\dfrac{x^2-5x+6}{x-2}.

What you need and how to start

What you need: the form \dfrac00: factorise and cancel.

Steps:

  1. Factorise the numerator.
  2. Cancel the common factor and substitute x_0.
Show solution

a) As x\to3 we have x\ne3, and both the numerator and the denominator tend to 0. Factorise the numerator and cancel: \frac{x^2-9}{x-3}=\frac{(x-3)(x+3)}{x-3}=x+3\quad(x\ne3). Hence \lim\limits_{x\to3}\dfrac{x^2-9}{x-3}=\lim\limits_{x\to3}(x+3)=6.

b) As x\to2 we have x\ne2, and both the numerator and the denominator tend to 0. Since x^2-5x+6=(x-2)(x-3), \frac{x^2-5x+6}{x-2}=\frac{(x-2)(x-3)}{x-2}=x-3\quad(x\ne2). Hence \lim\limits_{x\to2}\dfrac{x^2-5x+6}{x-2}=\lim\limits_{x\to2}(x-3)=-1.

So a) the limit is 6; b) the limit is -1.

Answer. a) 6; b) -1.

Exercise 3

Find \lim\limits_{x\to0}\dfrac{\sqrt{x+1}-1}{x}.

What you need and how to start

What you need: multiply the numerator and the denominator by the conjugate \sqrt{x+1}+1.

Steps:

  1. Use (a-b)(a+b)=a^2-b^2.
  2. Cancel x and substitute x=0.
Show solution

As x\to0, both the numerator \sqrt{x+1}-1 and the denominator x tend to 0. For x\ne0 we multiply the numerator and the denominator by the conjugate \sqrt{x+1}+1 (which is not 0 because \sqrt{x+1}\ge0): \frac{\sqrt{x+1}-1}{x}=\frac{\left(\sqrt{x+1}-1\right)\left(\sqrt{x+1}+1\right)}{x\left(\sqrt{x+1}+1\right)}=\frac{(x+1)-1}{x\left(\sqrt{x+1}+1\right)}=\frac{1}{\sqrt{x+1}+1}.

Therefore \lim_{x\to0}\frac{\sqrt{x+1}-1}{x}=\lim_{x\to0}\frac{1}{\sqrt{x+1}+1}=\frac{1}{\sqrt1+1}=\frac12.

So the required limit is \dfrac12.

Answer. \dfrac12.

Exercise 4

Find a) \lim\limits_{x\to+\infty}\dfrac{3x^2-x+1}{x^2+2}; b) \lim\limits_{x\to+\infty}\dfrac{x+1}{x^2+1}.

What you need and how to start

What you need: divide the numerator and the denominator by the highest power of x.

Steps:

  1. Part a: divide by x^2.
  2. Part b: divide by x^2 and note the degrees.
Show solution

a) For x\ne0, divide the numerator and the denominator by x^2 (the highest power in the denominator): \frac{3x^2-x+1}{x^2+2}=\frac{3-\frac1x+\frac1{x^2}}{1+\frac2{x^2}}. As x\to+\infty, \dfrac1x\to0 and \dfrac1{x^2}\to0, so the limit is \dfrac{3-0+0}{1+0}=3.

b) Similarly, for x\ne0, divide the numerator and the denominator by x^2: \frac{x+1}{x^2+1}=\frac{\frac1x+\frac1{x^2}}{1+\frac1{x^2}}. As x\to+\infty the numerator tends to 0 and the denominator tends to 1, so the limit is \dfrac{0}{1}=0.

So a) the limit is 3; b) the limit is 0.

Answer. a) 3; b) 0.

Exercise 5

For a freely falling object with s(t)=4.9t^2 (metres), find the instantaneous velocity at t=2 seconds as the limit of the average velocity over [2, 2+h] as h\to0.

What you need and how to start

What you need: \dfrac{s(2+h)-s(2)}{h}; cancel h before letting h\to0.

Steps:

  1. Expand (2+h)^2=4+4h+h^2.
  2. Cancel, then take the limit.
Show solution

The average velocity of the object over [2, 2+h] (with h\ne0) is \bar v=\frac{s(2+h)-s(2)}{h}.

Substituting s(t)=4.9t^2, we get \bar v=\frac{4.9(2+h)^2-4.9\cdot2^2}{h}=\frac{4.9\left(4+4h+h^2-4\right)}{h}=\frac{4.9\left(4h+h^2\right)}{h}=4.9(4+h)=19.6+4.9h.

The instantaneous velocity at t=2 is the limit of the average velocity as h\to0: v(2)=\lim_{h\to0}(19.6+4.9h)=19.6.

So the instantaneous velocity of the object at t=2 seconds is 19.6 m/s.

Answer. 19.6 m/s.

Exercise 6

Take the function f(x)=\dfrac{|x-2|}{x-2}. Find \lim\limits_{x\to2^+}f(x) and \lim\limits_{x\to2^-}f(x), and say whether \lim\limits_{x\to2}f(x) exists.

What you need and how to start

What you need: |x-2|=x-2 when x>2 and |x-2|=-(x-2) when x<2.

Steps:

  1. Simplify f(x) on each side.
  2. Compare the two one-sided limits.
Show solution

The function f(x)=\dfrac{|x-2|}{x-2} is defined for every x\ne2.

For x>2: x-2>0, so |x-2|=x-2 and f(x)=1. Hence \lim_{x\to2^+}f(x)=1.

For x<2: x-2<0, so |x-2|=-(x-2) and f(x)=-1. Hence \lim_{x\to2^-}f(x)=-1.

We see that \lim\limits_{x\to2^+}f(x)=1\ne-1=\lim\limits_{x\to2^-}f(x), that is, the right-hand and left-hand limits differ.

So the right-hand limit is 1, the left-hand limit is -1, and \lim\limits_{x\to2}f(x) does not exist.

Answer. 1 and -1; the limit at 2 does not exist.

Exercise 7

Take the function f(x)=\dfrac{x^2-1}{x-1}. Decide whether each statement is true or false:

a) f is defined at x=1.

b) \lim\limits_{x\to1}f(x)=2.

c) \lim\limits_{x\to0}f(x)=1.

d) \lim\limits_{x\to+\infty}f(x)=1.

What you need and how to start

What you need: for x\ne1, f(x)=x+1.

Steps:

  1. Simplify f(x).
  2. Find the limits of x+1.
Show solution

The function f(x)=\dfrac{x^2-1}{x-1} has domain \mathbb{R}\setminus\{1\}. For x\ne1 we have f(x)=\frac{(x-1)(x+1)}{x-1}=x+1.

a) False. At x=1 the denominator x-1=0, so f is not defined at x=1.

b) True. We have \lim\limits_{x\to1}f(x)=\lim\limits_{x\to1}(x+1)=2.

c) True. We have \lim\limits_{x\to0}f(x)=\lim\limits_{x\to0}(x+1)=1.

d) False. We have f(x)=x+1\to+\infty as x\to+\infty, so \lim\limits_{x\to+\infty}f(x)=+\infty\ne1.

So statements b), c) are true; statements a), d) are false.

Answer. a) False; b) True; c) True; d) False.

Exercise 8

Find \lim\limits_{x\to2}\dfrac{x^3-8}{x-2}.

What you need and how to start

What you need: x^3-8=(x-2)(x^2+2x+4).

Steps:

  1. Factorise the numerator.
  2. Cancel and substitute x=2.
Show solution

As x\to2 we have x\ne2, and both the numerator and the denominator tend to 0. Factorise the numerator using the identity a^3-b^3=(a-b)\left(a^2+ab+b^2\right): \frac{x^3-8}{x-2}=\frac{(x-2)\left(x^2+2x+4\right)}{x-2}=x^2+2x+4\quad(x\ne2).

Therefore \lim_{x\to2}\frac{x^3-8}{x-2}=\lim_{x\to2}\left(x^2+2x+4\right)=4+4+4=12.

So the required limit is 12.

Answer. 12.

Exercise 9 Revision

Using the definition of the limit of a function through sequences and the limits of sequences from the previous lesson, show that \lim\limits_{x\to2}x^2=4 by considering the sequence x_n=2+\dfrac1n.

What you need and how to start

What you need: \lim x_n=2 and f(x_n)=x_n^2; \lim\dfrac1n=0.

Steps:

  1. Find x_n^2.
  2. Take the limit of the sequence.
Show solution

Consider the function f(x)=x^2 and the sequence x_n=2+\dfrac1n. We have x_n\ne2 for every n, and \lim x_n=2+\lim\dfrac1n=2+0=2.

Evaluate the function at the terms of the sequence: f(x_n)=\left(2+\frac1n\right)^2=4+\frac4n+\frac1{n^2}.

Since \lim\dfrac1n=0 and \lim\dfrac1{n^2}=0, \lim f(x_n)=4+4\cdot0+0=4.

For any sequence (x_n) with x_n\ne2 and x_n\to2, the rule for the limit of a product gives \lim x_n^2=\lim x_n\cdot\lim x_n=2\cdot2=4. So \lim f(x_n)=4 for every such sequence, and by the definition of the limit of a function through sequences, \lim\limits_{x\to2}x^2=4.

Answer. \lim\limits_{x\to2}x^2=4.

Exercise 10 Challenge

Find \lim\limits_{x\to0}\dfrac{\sqrt{1+x}-\sqrt{1-x}}{x}.

What you need and how to start

What you need: multiply the numerator and the denominator by \sqrt{1+x}+\sqrt{1-x}.

Steps:

  1. The numerator becomes (1+x)-(1-x)=2x.
  2. Cancel x.
Show solution

As x\to0, both the numerator and the denominator tend to 0. For x\ne0 close to 0 (say |x|<1), we multiply the numerator and the denominator by the conjugate \sqrt{1+x}+\sqrt{1-x} (which is positive, hence not 0): \frac{\sqrt{1+x}-\sqrt{1-x}}{x}=\frac{(1+x)-(1-x)}{x\left(\sqrt{1+x}+\sqrt{1-x}\right)}=\frac{2x}{x\left(\sqrt{1+x}+\sqrt{1-x}\right)}=\frac{2}{\sqrt{1+x}+\sqrt{1-x}}.

Therefore \lim_{x\to0}\frac{\sqrt{1+x}-\sqrt{1-x}}{x}=\lim_{x\to0}\frac{2}{\sqrt{1+x}+\sqrt{1-x}}=\frac{2}{1+1}=1.

So the required limit is 1.

Answer. 1.

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. \lim\limits_{x\to2}\dfrac{x^2+1}{x-1} equals
Question 2. \lim\limits_{x\to3}\dfrac{x^2-9}{x-3} equals
Question 3. \lim\limits_{x\to+\infty}\dfrac{2x+1}{x-3} equals
Question 4. \lim\limits_{x\to0^+}\dfrac1x equals

Part II. True or false

Question 1. Take the function g(x)=x+2 if x<1 and g(x)=4-x if x\ge1. Decide whether each statement is true or false.
a) \lim\limits_{x\to1^-}g(x)=3.
b) \lim\limits_{x\to1^+}g(x)=4.
c) \lim\limits_{x\to1}g(x)=3.
d) g(1)=4.

Part III. Short answer

Question 1. Find \lim\limits_{x\to1}\dfrac{x^2-1}{x-1}.

Question 2. Find \lim\limits_{x\to+\infty}\dfrac{5x^2+1}{x^2-2}.

Show answers and explanations
  1. Part I, question 1: B. The denominator at x=2 is non-zero, so substitute x=2: \dfrac{4+1}{2-1}=5.
  2. Part I, question 2: C. \dfrac{x^2-9}{x-3}=x+3\to6. Option A treats the form \dfrac00 as 0.
  3. Part I, question 3: D. Divide the numerator and the denominator by x: \dfrac{2+\frac1x}{1-\frac3x}\to2.
  4. Part I, question 4: A. For x>0 getting smaller, \dfrac1x is positive and grows without bound. Option B is the limit as x\to0^-.
  5. Part II, question 1: a) True; b) False; c) True; d) False. a) True: x+2\to3. b) False: 4-x\to3. c) True: both one-sided limits equal 3. d) False: g(1)=4-1=3.
  6. Part III, question 1: 2. \dfrac{x^2-1}{x-1}=x+1\to2.
  7. Part III, question 2: 5. Divide by x^2: \dfrac{5+\frac1{x^2}}{1-\frac2{x^2}}\to5.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email