Skip to content

← Grade 11 Mathematics

Limits and Continuity

Unit 17 · Calculus

Hide the stories, facts, photos, activities and interactives, for revising before an exam
What this builds on from class
In this unit 10 sections
  1. What you need
  2. 17.1 Limit of a function
  3. 17.2 Indeterminate forms
  4. 17.3 Algebraic properties of limits
  5. 17.4 Limits of algebraic functions
  6. 17.5 Limits of trigonometric functions
  7. 17.6 Limits of exponential and logarithmic functions
  8. 17.7 Continuity of a function
  9. 17.8 Types of discontinuity
  10. Exercise

Put Rs 1,00,000 in a bank that pays 10% interest a year. Added once, at the end of the year, the interest makes it Rs 1,10,000. Added in two halves, the second half earns interest on the first, and you get Rs 1,10,250. Added every quarter, Rs 1,10,381.29; every month, Rs 1,10,471.31. The more often the interest is added, the more you get.

So here is this unit’s question: if the bank added interest every day, every second, every instant, would your money grow without end? The amounts keep rising, but rising is not the same as growing without end. What they close in on is a limit, the idea every part of calculus is built on. The answer comes at the end of 17.6.

What you need

Grade 9 Optional Math met limits with tables of values Grade 9: Unit 6, Limit, and Grade 10 tested functions in pieces for continuity Grade 10: Unit 12, Continuity. If you didn’t take Optional Math, nothing here assumes it: this unit starts again from the beginning, and goes much further. You need factorizing, rationalizing a surd, the trigonometric formulas of Grade 10 (sin⁡2θ+cos⁡2θ=1 \sin^2\theta + \cos^2\theta = 1 , cos⁡2θ=1−2sin⁡2θ \cos 2\theta = 1 - 2\sin^2\theta ), and logarithms (ln⁡x=log⁡ex \ln x = \log_e x ).

17.1 Limit of a function

Closing in on a value

f(x)=x3−1x−1 f(x) = \dfrac{x^3 - 1}{x - 1} has no value at x = 1: it gives 00 \frac{0}{0} . But it has a value at every other x, however close to 1. Take x closer and closer to 1, from below and from above:

x 0.9 0.99 0.999 1 1.001 1.01 1.1
f(x) 2.71 2.9701 2.997001 ? 3.003001 3.0301 3.31

From both sides the values close in on 3. Not because f(1) = 3 (there is no f(1)), but because f(x) can be made as close to 3 as you like by taking x close enough to 1. We say the limit of f(x) as x tends to 1 is 3, and write
lim⁡x→1x3−1x−1=3 \lim_{x \to 1} \frac{x^3 - 1}{x - 1} = 3
(Why 3? For x ≠ 1, x3−1x−1=x2+x+1 \frac{x^3 - 1}{x - 1} = x^2 + x + 1 , which is close to 3 near x = 1. 17.4 does this properly.)

In general, lim⁡x→af(x)=l \lim\limits_{x \to a} f(x) = l means: as x gets closer and closer to a, from either side, but never equal to it, f(x) gets closer and closer to l. “x → a” (read “x tends to a”) never lets x reach a. So the limit says nothing about f(a): f(a) may be the limit, something else, or not defined at all.

Try it

A limit closing in

Shrink h and watch both points’ values close in on one number. Then try the last two, where they don’t.

−2−1122XYO

f(x) = sin x / x as x → 0

● From the left, f(−h)
0.841471
● From the right, f(h)
0.841471
Heading for
1
Still off by
0.1585

Both sides close in on 1, though f(0) is 0/0 (17.5).

Left-hand and right-hand limits

Coming to a only from the left (x < a), the number f(x) closes in on is the left-hand limit (LHL), lim⁡x→a−f(x) \lim\limits_{x \to a^-} f(x) . From the right (x > a), it is the right-hand limit (RHL), lim⁡x→a+f(x) \lim\limits_{x \to a^+} f(x) . To find them, put x = a − h or x = a + h and let h → 0 with h > 0:
lim⁡x→a−f(x)=lim⁡h→0f(a−h),lim⁡x→a+f(x)=lim⁡h→0f(a+h) \lim_{x \to a^-} f(x) = \lim_{h \to 0} f(a - h), \qquad \lim_{x \to a^+} f(x) = \lim_{h \to 0} f(a + h)

The limit exists exactly when both one-sided limits exist and are equal, and then it is their common value:
lim⁡x→af(x)=l  ⟺  lim⁡x→a−f(x)=lim⁡x→a+f(x)=l \lim_{x \to a} f(x) = l \iff \lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = l

The exact definition

“As close as you like” can be made exact. Someone names how close they want f(x) to be to l: within a small number ε \varepsilon (epsilon). You must answer with how close x must be to a: within some δ \delta (delta). The limit is l if you can always answer:

lim⁡x→af(x)=l \lim\limits_{x \to a} f(x) = l if for every ε>0 \varepsilon > 0 there is a δ>0 \delta > 0 such that ∣f(x)−l∣<ε |f(x) - l| < \varepsilon whenever 0<∣x−a∣<δ 0 < |x - a| < \delta .

The “0 <” is the “never equal to a”. For lim⁡x→3(2x+1)=7 \lim\limits_{x \to 3} (2x + 1) = 7 : |(2x + 1) − 7| = 2|x − 3|, which is less than ε \varepsilon whenever ∣x−3∣<ε2 |x - 3| < \frac{\varepsilon}{2} . So δ=ε2 \delta = \frac{\varepsilon}{2} always answers: for ε=0.01 \varepsilon = 0.01 , any x within 0.005 of 3 gives 2x + 1 within 0.01 of 7. The NEB exam doesn’t ask for ε \varepsilon -δ \delta proofs, but this is what every limit in this unit means.

lim⁡x→af(x) \lim\limits_{x \to a} f(x) exists if and only if:

Pick an answer to see why.

f(x)={2x+3,x<03(x+1),x≥0 f(x) = \begin{cases} 2x + 3, & x < 0 \\ 3(x + 1), & x \ge 0 \end{cases} . Then lim⁡x→0f(x) \lim\limits_{x \to 0} f(x) is:

Pick an answer to see why.

17.2 Indeterminate forms

Putting x = 1 into x3−1x−1 \frac{x^3 - 1}{x - 1} gives 00 \frac{0}{0} , yet the limit is 3. Is 00 \frac{0}{0} then 3? Look at three more, each 00 \frac{0}{0} at x = 0:
lim⁡x→0x2x=lim⁡x→0x=0,lim⁡x→02xx=2,lim⁡x→0+xx2=lim⁡x→0+1x grows without bound \lim_{x \to 0} \frac{x^2}{x} = \lim_{x \to 0} x = 0, \qquad \lim_{x \to 0} \frac{2x}{x} = 2, \qquad \lim_{x \to 0^+} \frac{x}{x^2} = \lim_{x \to 0^+} \frac{1}{x} \text{ grows without bound}
The same 00 \frac{0}{0} , three different answers. A 00 \frac{0}{0} says only that the top and the bottom both shrink to nothing; the answer depends on how fast each shrinks. So 00 \frac{0}{0} is called an indeterminate form: knowing that the limit has that form doesn’t determine the limit. It is a signal to do more work (factorize, rationalize, use a standard limit), never an answer.

There are seven indeterminate forms:
00,∞∞,∞−∞,0×∞,1∞,00,∞0 \frac{0}{0}, \quad \frac{\infty}{\infty}, \quad \infty - \infty, \quad 0 \times \infty, \quad 1^\infty, \quad 0^0, \quad \infty^0
Each is a tug of war. In ∞ − ∞, two quantities both grow without bound, and the difference depends on which grows faster: (x + 5) − x → 5, but x2−x x^2 - x grows without bound, as x → ∞. In 1∞ 1^\infty , a base just above 1 pulls the power towards 1, a huge exponent pulls it away: (1+1n)n→2.718… \left(1 + \frac{1}{n}\right)^n \to 2.718\ldots (17.6), not 1.

Other forms are not indeterminate: ∞ + ∞ and ∞ × ∞ grow without bound, 0∞ \frac{0}{\infty} and 0∞ 0^\infty are 0, and 10 \frac{1}{0} has no finite value at all. The symbol ∞ is not a number: “→ ∞” means “grows larger than any number you name”.

Grade 12 adds L’Hospital’s rule, a quick way through 00 \frac{0}{0} and ∞∞ \frac{\infty}{\infty} using derivatives. This unit works without it, as the NEB Grade 11 exam expects.

Which of these is not an indeterminate form?

Pick an answer to see why.

lim⁡x→∞(x2+1−x) \lim\limits_{x \to \infty} \left(\sqrt{x^2 + 1} - x\right) has the form ∞ − ∞. Its value is:

Pick an answer to see why.

17.3 Algebraic properties of limits

Limits combine as you would hope. If lim⁡x→af(x)=l \lim\limits_{x \to a} f(x) = l and lim⁡x→ag(x)=m \lim\limits_{x \to a} g(x) = m , both finite, then (taken without proof, as the curriculum says):

Property Rule
Sum and difference lim⁡x→a[f(x)±g(x)]=l±m \lim\limits_{x \to a} [f(x) \pm g(x)] = l \pm m
Constant multiple lim⁡x→akf(x)=kl \lim\limits_{x \to a} kf(x) = kl
Product lim⁡x→af(x)g(x)=lm \lim\limits_{x \to a} f(x)g(x) = lm
Quotient lim⁡x→af(x)g(x)=lm \lim\limits_{x \to a} \dfrac{f(x)}{g(x)} = \dfrac{l}{m} , if m ≠ 0
Power and root lim⁡x→a[f(x)]n=ln \lim\limits_{x \to a} [f(x)]^n = l^n ; lim⁡x→af(x)n=ln \lim\limits_{x \to a} \sqrt[n]{f(x)} = \sqrt[n]{l} (for even n, l > 0)

With the two simplest limits, lim⁡x→ak=k \lim\limits_{x \to a} k = k (a constant stays put) and lim⁡x→ax=a \lim\limits_{x \to a} x = a , these give the limit of any polynomial: it is just its value. So for a polynomial, or a quotient of polynomials whose bottom isn’t 0 at a, put x = a in. Only when that gives an indeterminate form is there more to do.

lim⁡x→af(x)=4 \lim\limits_{x \to a} f(x) = 4 and lim⁡x→ag(x)=−2 \lim\limits_{x \to a} g(x) = -2 . Then lim⁡x→af(x)+g(x)2f(x)g(x) \lim\limits_{x \to a} \dfrac{f(x) + g(x)^2}{f(x)g(x)} is:

Pick an answer to see why.

lim⁡x→3x2+7 \lim\limits_{x \to 3} \sqrt{x^2 + 7} is:

Pick an answer to see why.

17.4 Limits of algebraic functions

When putting x = a in gives 00 \frac{0}{0} , the top and the bottom share a factor that is 0 at a, often hidden. The methods all bring it out and cancel it. Canceling is allowed because x ≠ a while x → a.

Factorizing and rationalizing

The standard limit xn−anx−a \frac{x^n - a^n}{x - a}

Theorem. For any rational number n (and a > 0 when n isn’t a whole number),
lim⁡x→axn−anx−a=nan−1 \lim_{x \to a} \frac{x^n - a^n}{x - a} = na^{n - 1}

Proof for a positive whole number n:

  1. xn−an=(x−a)(xn−1+xn−2a+xn−3a2+⋯+an−1) x^n - a^n = (x - a)(x^{n - 1} + x^{n - 2}a + x^{n - 3}a^2 + \cdots + a^{n - 1}) (multiply out: every middle term cancels).
  2. So for x ≠ a, xn−anx−a=xn−1+xn−2a+⋯+an−1 \dfrac{x^n - a^n}{x - a} = x^{n - 1} + x^{n - 2}a + \cdots + a^{n - 1} , a sum of n terms (cancel x − a).
  3. As x → a, each term tends to an−1 a^{n - 1} (a polynomial’s limit is its value), so the sum tends to n⋅an−1 n \cdot a^{n - 1} .

For a negative whole number n = −m: x−m−a−mx−a=−1xmam⋅xm−amx−a→−1a2m⋅mam−1=−ma−m−1 \frac{x^{-m} - a^{-m}}{x - a} = -\frac{1}{x^m a^m} \cdot \frac{x^m - a^m}{x - a} \to -\frac{1}{a^{2m}} \cdot ma^{m - 1} = -ma^{-m - 1} , which is nan−1 na^{n - 1} again. For a fraction n=pq n = \frac{p}{q} the same is true; we use it without proof.

This theorem is the whole of Unit 18’s power rule ddx(xn)=nxn−1 \frac{d}{dx}(x^n) = nx^{n - 1} .

Limits at infinity

lim⁡x→∞f(x)=l \lim\limits_{x \to \infty} f(x) = l means that f(x) closes in on l as x grows larger than any number. The basic one: lim⁡x→∞1xn=0 \lim\limits_{x \to \infty} \frac{1}{x^n} = 0 for n > 0 (one million squared is 1012 10^{12} , so 1x2 \frac{1}{x^2} is already 0.000000000001). For a quotient of polynomials, ∞∞ \frac{\infty}{\infty} : divide top and bottom by the highest power of x in the bottom, and every other term goes to 0.

lim⁡x→3x2−9x+1−2 \lim\limits_{x \to 3} \dfrac{x^2 - 9}{\sqrt{x + 1} - 2} is:

Pick an answer to see why.

lim⁡x→∞6x3+5x2x3−x2+7 \lim\limits_{x \to \infty} \dfrac{6x^3 + 5x}{2x^3 - x^2 + 7} is:

Pick an answer to see why.

17.5 Limits of trigonometric functions

The key limit: sin⁡θθ \frac{\sin\theta}{\theta}

Angles are in radians. On a calculator:

θ (radians) 0.5 0.1 0.01
sin⁡θθ \frac{\sin\theta}{\theta} 0.958851 0.998334 0.999983

For small angles sin θ is almost exactly θ. Here is why. Two facts first: sin θ → 0 and cos θ → 1 as θ → 0 (the point ( cos θ,  sin θ) on the unit circle slides to (1, 0)). And the sandwich theorem: if g(x) ≤ f(x) ≤ h(x) near a, and g and h both tend to l, then f is squeezed to l too.

OAPTθOA = 1sin θtan θ
Figure 17.1 The unit circle and an angle θ: triangle OAP (blue) inside sector OAP (blue and green) inside triangle OAT (all three colors).

Theorem. lim⁡θ→0sin⁡θθ=1 \displaystyle \lim_{\theta \to 0} \frac{\sin\theta}{\theta} = 1 .

  1. Take 0<θ<π2 0 < \theta < \frac{\pi}{2} on a circle of radius 1 (Figure 17.1). P = ( cos θ,  sin θ), A = (1, 0), and the tangent at A meets OP produced at T, with AT =  tan θ.
  2. Triangle OAP lies inside sector OAP, which lies inside triangle OAT. So their areas are in order: 12⋅1⋅sin⁡θ<12⋅12⋅θ<12⋅1⋅tan⁡θ \frac{1}{2} \cdot 1 \cdot \sin\theta < \frac{1}{2} \cdot 1^2 \cdot \theta < \frac{1}{2} \cdot 1 \cdot \tan\theta (a triangle is half base times height; a sector of angle θ is 12r2θ \frac{1}{2}r^2\theta ).
  3. Multiply by 2sin⁡θ \frac{2}{\sin\theta} (positive): 1<θsin⁡θ<1cos⁡θ 1 < \dfrac{\theta}{\sin\theta} < \dfrac{1}{\cos\theta} .
  4. Turn each over (all positive, so the order reverses): cos⁡θ<sin⁡θθ<1 \cos\theta < \dfrac{\sin\theta}{\theta} < 1 .
  5. As θ→0+ \theta \to 0^+ , cos θ → 1, so sin⁡θθ \frac{\sin\theta}{\theta} is squeezed to 1 (the sandwich theorem).
  6. For θ < 0, sin⁡(−θ)−θ=sin⁡θθ \frac{\sin(-\theta)}{-\theta} = \frac{\sin\theta}{\theta} : the left looks exactly like the right. So LHL = RHL = 1.

The sector’s area 12r2θ \frac{1}{2}r^2\theta holds only with θ in radians, and so does the theorem: in degrees, sin⁡x°x→π180 \frac{\sin x°}{x} \to \frac{\pi}{180} .

What follows from it:

  • lim⁡θ→0tan⁡θθ=lim⁡θ→0sin⁡θθ⋅1cos⁡θ=1⋅1=1 \lim\limits_{\theta \to 0} \dfrac{\tan\theta}{\theta} = \lim\limits_{\theta \to 0} \dfrac{\sin\theta}{\theta} \cdot \dfrac{1}{\cos\theta} = 1 \cdot 1 = 1 .
  • lim⁡x→0sin⁡kxx=lim⁡x→0k⋅sin⁡kxkx=k \lim\limits_{x \to 0} \dfrac{\sin kx}{x} = \lim\limits_{x \to 0} k \cdot \dfrac{\sin kx}{kx} = k (as x → 0, kx → 0 too).
  • lim⁡θ→01−cos⁡θθ2=lim⁡θ→02sin⁡2θ2θ2=lim⁡θ→012(sin⁡θ2θ2)2=12 \lim\limits_{\theta \to 0} \dfrac{1 - \cos\theta}{\theta^2} = \lim\limits_{\theta \to 0} \dfrac{2\sin^2\frac{\theta}{2}}{\theta^2} = \lim\limits_{\theta \to 0} \dfrac{1}{2}\left(\dfrac{\sin\frac{\theta}{2}}{\frac{\theta}{2}}\right)^2 = \dfrac{1}{2} .

This limit is what makes Unit 18 work: it gives the derivatives of sin x, cos x and tan x, and the derivative of sin x is cos x exactly, with no extra factor, only because sin⁡θθ→1 \frac{\sin\theta}{\theta} \to 1 in radians.

lim⁡x→0tan⁡3xx \lim\limits_{x \to 0} \dfrac{\tan 3x}{x} is:

Pick an answer to see why.

lim⁡x→01−cos⁡xxsin⁡x \lim\limits_{x \to 0} \dfrac{1 - \cos x}{x \sin x} is:

Pick an answer to see why.

17.6 Limits of exponential and logarithmic functions

The number e

Take (1+1n)n \left(1 + \frac{1}{n}\right)^n , a 1∞ 1^\infty form, for larger and larger n:

n 1 10 100 1000 1 000 000
(1+1n)n \left(1 + \frac{1}{n}\right)^n 2 2.593742 2.704814 2.716924 2.718280

The values rise, but ever more slowly, and close in on a number a little under 2.72. That number is e:
e=lim⁡n→∞(1+1n)n=2.718281828… e = \lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n = 2.718281828\ldots
Putting x=1n x = \frac{1}{n} , the same limit is
lim⁡x→0(1+x)1/x=e \lim_{x \to 0} (1 + x)^{1/x} = e
(from both sides: x can be negative too). That the values really do close in on one number takes the binomial series to prove, which comes in Grade 12; here we take it as the definition of e. e is irrational, like π \pi . Logarithms to base e are natural logarithms, ln⁡x=log⁡ex \ln x = \log_e x .

Everything else in this section comes from this one limit and the continuity of ln⁡ \ln and ex e^x (17.7).

Theorem 1. lim⁡x→0ln⁡(1+x)x=1 \displaystyle \lim_{x \to 0} \frac{\ln(1 + x)}{x} = 1 .

  1. ln⁡(1+x)x=1xln⁡(1+x)=ln⁡(1+x)1/x \dfrac{\ln(1 + x)}{x} = \dfrac{1}{x}\ln(1 + x) = \ln(1 + x)^{1/x} (the power rule of logarithms).
  2. As x → 0, (1+x)1/x→e (1 + x)^{1/x} \to e , and ln⁡ \ln is continuous, so the limit is ln⁡e=1 \ln e = 1 .

Theorem 2. lim⁡x→0ex−1x=1 \displaystyle \lim_{x \to 0} \frac{e^x - 1}{x} = 1 .

  1. Put t=ex−1 t = e^x - 1 . Then ex=1+t e^x = 1 + t , x=ln⁡(1+t) x = \ln(1 + t) , and t → 0 as x → 0 (ex e^x is continuous, e0=1 e^0 = 1 ).
  2. ex−1x=tln⁡(1+t)=1/ln⁡(1+t)t→11=1 \dfrac{e^x - 1}{x} = \dfrac{t}{\ln(1 + t)} = 1 \Big/ \dfrac{\ln(1 + t)}{t} \to \dfrac{1}{1} = 1 (Theorem 1).

Theorem 3. lim⁡x→0ax−1x=ln⁡a \displaystyle \lim_{x \to 0} \frac{a^x - 1}{x} = \ln a (a > 0).

  1. ax=exln⁡a a^x = e^{x\ln a} (since a=eln⁡a a = e^{\ln a} ).
  2. If a = 1 both sides are 0. Otherwise ax−1x=exln⁡a−1xln⁡a⋅ln⁡a \dfrac{a^x - 1}{x} = \dfrac{e^{x\ln a} - 1}{x\ln a} \cdot \ln a , and as x → 0, xln⁡a→0 x\ln a \to 0 , so the first fraction tends to 1 (Theorem 2). The limit is ln⁡a \ln a .

Theorem 4. lim⁡x→0log⁡a(1+x)x=1ln⁡a=log⁡ae \displaystyle \lim_{x \to 0} \frac{\log_a(1 + x)}{x} = \frac{1}{\ln a} = \log_a e : since log⁡a(1+x)=ln⁡(1+x)ln⁡a \log_a(1 + x) = \frac{\ln(1 + x)}{\ln a} (change of base), it is Theorem 1 divided by ln⁡a \ln a .

And at infinity: lim⁡x→∞(1+kx)x=ek \displaystyle \lim_{x \to \infty} \left(1 + \frac{k}{x}\right)^x = e^k . For k ≠ 0, (1+kx)x=[(1+kx)x/k]k \left(1 + \frac{k}{x}\right)^x = \left[\left(1 + \frac{k}{x}\right)^{x/k}\right]^k ; as x → ∞, kx→0 \frac{k}{x} \to 0 , so the bracket tends to e and the whole to ek e^k .

Theorems 2 and 3 are exactly what Unit 18 needs for the derivatives of ex e^x and ax a^x , and Theorem 1 for ln⁡x \ln x . Theorem 2 also says what is special about e: of all the curves y=ax y = a^x , only y=ex y = e^x crosses the Y-axis at a slope of exactly 1.

Back to the bank

The answer: no. Rs P at a yearly rate r (as a fraction: 10% is 0.1), with the interest added n times a year, grows in a year to
P(1+rn)n P\left(1 + \frac{r}{n}\right)^n
since each time it is multiplied by 1+rn 1 + \frac{r}{n} . Adding the interest at every instant is the limit as n → ∞, and by the limit at infinity above,
lim⁡n→∞P(1+rn)n=Per \lim_{n \to \infty} P\left(1 + \frac{r}{n}\right)^n = Pe^r

Interest added yearly half-yearly quarterly monthly daily hourly at every instant
Rs 1,00,000 after a year 1,10,000 1,10,250 1,10,381.29 1,10,471.31 1,10,515.58 1,10,517.03 1,10,517.09

The amounts rise, but close in on 100000×e0.1≈ 100000 \times e^{0.1} \approx Rs 1,10,517.09, never more. Adding the interest every second instead of every day gains you less than two rupees in a year. This is called continuous compounding; finance uses Pert Pe^{rt} wherever money is taken to grow smoothly, and the same ekt e^{kt} describes the growth of bacteria and the decay of radioactive atoms.

lim⁡x→0e4x−12x \lim\limits_{x \to 0} \dfrac{e^{4x} - 1}{2x} is:

Pick an answer to see why.

lim⁡x→∞(1+3x)2x \lim\limits_{x \to \infty} \left(1 + \dfrac{3}{x}\right)^{2x} is:

Pick an answer to see why.

17.7 Continuity of a function

A graph you can draw without lifting the pen is continuous. In limits:

f is continuous at x = a when lim⁡x→af(x)=f(a) \lim\limits_{x \to a} f(x) = f(a) . That holds when all three of these hold:

  1. f(a) is defined;
  2. lim⁡x→af(x) \lim\limits_{x \to a} f(x) exists (LHL = RHL);
  3. the two are equal.

In one line, LHL = RHL = f(a). If any of the three fails, f is discontinuous at a, and a is a point of discontinuity. Another way to say the same: lim⁡h→0f(a+h)=f(a) \lim\limits_{h \to 0} f(a + h) = f(a) , a small change in x makes only a small change in f(x).

On an interval. f is continuous on an open interval (a, b) if it is continuous at every point of it, and on a closed interval [a, b] if besides that it is continuous from the right at a (lim⁡x→a+f(x)=f(a) \lim\limits_{x \to a^+} f(x) = f(a) ) and from the left at b.

Which functions are continuous. From the properties of limits (17.3), if f and g are continuous at a, so are f ± g, kf, fg, and fg \frac{f}{g} where g(a) ≠ 0; and a continuous function of a continuous function is continuous. With 17.5 and 17.6 that covers the functions you know:

  • polynomials, sin x, cos x, ex e^x and ax a^x : continuous for every x;
  • a rational function p(x)q(x) \frac{p(x)}{q(x)} : continuous except where q(x) = 0;
  • tan x and sec⁡x \sec x : except at odd multiples of π2 \frac{\pi}{2} ;
  • ln⁡x \ln x : for x > 0; x \sqrt{x} : for x ≥ 0 (from the right at 0);
  • |x|: for every x.

So a function given by one formula is continuous wherever the formula makes sense. The places to check are the points where it doesn’t, and the points where a function in pieces changes from one formula to the next.

f(x)={kx2,x≤23,x>2 f(x) = \begin{cases} kx^2, & x \le 2 \\ 3, & x > 2 \end{cases} is continuous at x = 2 when k is:

Pick an answer to see why.

f(x)=x+1x2−5x+6 f(x) = \dfrac{x + 1}{x^2 - 5x + 6} is continuous for all x except:

Pick an answer to see why.

17.8 Types of discontinuity

A function can break in different ways, each failing a different one of the three conditions. They are told apart by the one-sided limits.

Removable discontinuity

The limit exists, but f(a) is not defined, or is not equal to it. The graph has a hole, or a point moved off the curve. Defining (or redefining) f(a) as the limit removes the break, hence the name.

12323XYO
Figure 17.3 y=x2−1x−1 y = \frac{x^2 - 1}{x - 1} : the line y = x + 1 with the point (1, 2) missing.

f(x)=x2−1x−1 f(x) = \frac{x^2 - 1}{x - 1} at x = 1: the limit is 2, but f(1) is 00 \frac{0}{0} , not defined. Setting f(1) = 2 makes it continuous. The sin⁡3xx \frac{\sin 3x}{x} of Example 13 had a removable discontinuity at 0 too, removed by k = 3.

Jump discontinuity

Both one-sided limits exist (finite) but are different. The graph jumps from one height to another; the size of the jump is RHL − LHL. No value of f(a) can mend it.

−2−1123−2123XYO
Figure 17.4 The greatest integer function y = [x]: a staircase, with a jump of 1 at every whole number. Each step holds its left end (filled) and not its right end (open).

The greatest integer function [x] (also written ⌊x⌋ \lfloor x \rfloor ) is the greatest whole number not more than x: [2.7] = 2, [3] = 3, [ −1.5] = −2. At any whole number n: LHL = n − 1, RHL = n = f(n). ∣x−2∣x−2 \frac{|x - 2|}{x - 2} jumps too at x = 2: it is −1 to the left of 2 and 1 to the right, a jump of 2.

Infinite discontinuity

At least one one-sided limit is infinite: the graph shoots up or down along a vertical line, an asymptote.

−1123−1123XYO
Figure 17.5 y=1x y = \frac{1}{x} : as x→0+ x \to 0^+ it grows without bound, as x→0− x \to 0^- it falls without bound.

f(x)=1x f(x) = \frac{1}{x} at 0: RHL = + ∞, LHL = −∞. tan x at π2 \frac{\pi}{2} does the same the other way round: + ∞ from the left, −∞ from the right. 1x2 \frac{1}{x^2} at 0 goes to + ∞ from both sides, and is still discontinuous there: ∞ isn’t a value.

Oscillating discontinuity

The values swing up and down ever faster and close in on nothing. sin⁡1x \sin\frac{1}{x} near 0: as x → 0, 1x \frac{1}{x} runs through more and more whole turns, and sin⁡1x \sin\frac{1}{x} swings between −1 and 1 infinitely often (the last case in the widget in 17.1). Neither one-sided limit exists.

First kind and second kind

Many books group them so:

Kind Type One-sided limits Can it be removed?
First kind removable equal, ≠ f(a) or f(a) undefined yes, by redefining f(a)
First kind jump both finite, unequal no
Second kind infinite at least one infinite no
Second kind oscillating at least one does not exist no

A discontinuity of the first kind has both one-sided limits finite; one of the second kind has at least one that is infinite or doesn’t exist. (Some books count only the jump as “first kind” and call the removable one by its own name. Name the type, removable or jump, and you are right either way.)

At x = 3, the greatest integer function f(x) = [x] has:

Pick an answer to see why.

f(x)=x2−9x−3 f(x) = \dfrac{x^2 - 9}{x - 3} for x ≠ 3 and f(3) = 5. At x = 3, f has:

Pick an answer to see why.

Exercise

Choose the correct option

f is continuous at x = a if:

Pick an answer to see why.

Which of these is an indeterminate form?

Pick an answer to see why.

lim⁡x→0sin⁡7xx \lim\limits_{x \to 0} \dfrac{\sin 7x}{x} is:

Pick an answer to see why.

lim⁡x→∞4x3+x2x3−5 \lim\limits_{x \to \infty} \dfrac{4x^3 + x}{2x^3 - 5} is:

Pick an answer to see why.

lim⁡x→1x4−1x−1 \lim\limits_{x \to 1} \dfrac{x^4 - 1}{x - 1} is:

Pick an answer to see why.

lim⁡x→0e2x−1x \lim\limits_{x \to 0} \dfrac{e^{2x} - 1}{x} is:

Pick an answer to see why.

f(x)=1x−2 f(x) = \dfrac{1}{x - 2} at x = 2 has:

Pick an answer to see why.

For f(x)={1−cos⁡2xx2,x≠0k,x=0 f(x) = \begin{cases} \dfrac{1 - \cos 2x}{x^2}, & x \neq 0 \\ k, & x = 0 \end{cases} to be continuous at 0, k must be:

Pick an answer to see why.

lim⁡x→0sin⁡x°x \lim\limits_{x \to 0} \dfrac{\sin x°}{x} , where x° x° is x degrees, is:

Pick an answer to see why.

f(x)=xsin⁡1x f(x) = x\sin\dfrac{1}{x} for x ≠ 0, and f(0) = 0. At x = 0, f has:

Pick an answer to see why.

lim⁡x→2x2+ax+bx−2=5 \lim\limits_{x \to 2} \dfrac{x^2 + ax + b}{x - 2} = 5 . Then (a, b) is:

Pick an answer to see why.

Short questions

1.

Evaluate:

  • a.lim⁡x→3x3−27x2−9 \lim\limits_{x \to 3} \dfrac{x^3 - 27}{x^2 - 9} (2 marks)
  • b.lim⁡x→01+x+x2−1x \lim\limits_{x \to 0} \dfrac{\sqrt{1 + x + x^2} - 1}{x} (2 marks)
  • c.lim⁡x→∞(x2+3x−x) \lim\limits_{x \to \infty} \left(\sqrt{x^2 + 3x} - x\right) (1 mark)
Hint
Answer
2.

Evaluate:

  • a.lim⁡x→0sin⁡2x+sin⁡6xx \lim\limits_{x \to 0} \dfrac{\sin 2x + \sin 6x}{x} (2 marks)
  • b.lim⁡x→asin⁡x−sin⁡ax−a \lim\limits_{x \to a} \dfrac{\sin x - \sin a}{x - a} (3 marks)
Hint
Answer
3.

Evaluate:

  • a.lim⁡x→0eax−ebxx \lim\limits_{x \to 0} \dfrac{e^{ax} - e^{bx}}{x} (2 marks)
  • b.lim⁡x→0(1+3x)2/x \lim\limits_{x \to 0} (1 + 3x)^{2/x} (2 marks)
  • c.lim⁡x→0ln⁡(1+4x)e2x−1 \lim\limits_{x \to 0} \dfrac{\ln(1 + 4x)}{e^{2x} - 1} (1 mark)
Answer
4.

Test the continuity of f(x)={3x−2,x<12,x=14x2−3x,x>1 f(x) = \begin{cases} 3x - 2, & x < 1 \\ 2, & x = 1 \\ 4x^2 - 3x, & x > 1 \end{cases} at x = 1. If it is discontinuous, name the type, and say how to make it continuous. (5 marks)

Answer
5.
  • a.Find k so that f(x)={e3x−1sin⁡x,x≠0k,x=0 f(x) = \begin{cases} \dfrac{e^{3x} - 1}{\sin x}, & x \neq 0 \\ k, & x = 0 \end{cases} is continuous at x = 0. (3 marks)
  • b.Show that g(x) = |x| is continuous at x = 0. (2 marks)
Answer
6.

Find the points of discontinuity of f(x)=x2−4x2−3x+2 f(x) = \dfrac{x^2 - 4}{x^2 - 3x + 2} , and classify each. (5 marks)

Answer
7.
  • a.Show that x3−4x+1=0 x^3 - 4x + 1 = 0 has a root between 0 and 1. (3 marks)
  • b.Show that it has another root between 1 and 2. (2 marks)
Hint
Answer

Long questions

8.

f(x)={x+2,x<−1x2,−1≤x<13−x,x≥1 f(x) = \begin{cases} x + 2, & x < -1 \\ x^2, & -1 \le x < 1 \\ 3 - x, & x \ge 1 \end{cases}

  • a.Find the left-hand and right-hand limits of f at x = −1 and at x = 1. (3 marks)
  • b.Test the continuity of f at both points, and name the type of any discontinuity. (3 marks)
  • c.Sketch the graph of f. (2 marks)
Answer
9.
  • a.Evaluate lim⁡x→π/4sin⁡x−cos⁡xx−π4 \lim\limits_{x \to \pi/4} \dfrac{\sin x - \cos x}{x - \frac{\pi}{4}} . (4 marks)
  • b.Find a and b so that f(x)={1−cos⁡axx2,x<0b,x=0x+1−1x,x>0 f(x) = \begin{cases} \dfrac{1 - \cos ax}{x^2}, & x < 0 \\ b, & x = 0 \\ \dfrac{\sqrt{x + 1} - 1}{x}, & x > 0 \end{cases} is continuous at x = 0. (4 marks)
Hint
Answer

Project work

Where these facts come from
  • Compound interest and the limit Per Pe^r ; Jacob Bernoulli’s question in 1683 and his bounds, 2 and 3; Euler’s letter e (1731) and its value to 18 places (1748): MacTutor, “The number e”, read November 2026.
  • Phulchoki, in Godawari, the highest hill around the Kathmandu valley (17.7): Wikipedia, “Godawari, Lalitpur”, read November 2026.
  • The Moon’s mean diameter, about 3,475 km (twice its mean radius, 1,737.4 km), and mean distance, 384,400 km (17.5): NASA, “Moon Fact Sheet”; the small-angle approximation and the pendulum: Wikipedia, “Small-angle approximation”, read November 2026.
  • Definitions, the sandwich theorem and the area proof of sin⁡θθ→1 \frac{\sin\theta}{\theta} \to 1 checked against OpenStax, Calculus Volume 1, Chapter 2 (CC BY 4.0).
  • The unit’s items: CDC, Secondary Education Curriculum 2078, Mathematics, Grades 11–12, 6.1 and learning outcomes 6.1–6.6; the marks: CDC, Specification Grid 2078, Mathematics, Grade 11; IOE, BE/BArch Entrance Syllabus 2083, Mathematics 5.1.

Found a mistake? Please tell us.