‹ Class 12 · Ch 5
Continuity and Differentiability · Principle 3 of 15

Build new continuous functions

Sums, differences, products and quotients of continuous functions are continuous.

Stuck? Ask Guru

NCERT: 5.2.1 Algebra of continuous functions

Think

Two continuous functions

f(x) = x² and g(x) = x − 1 are both polynomials, so both are continuous at every real number.

Which of these new functions could fail to be continuous at some point?

What this lesson covers

The idea

If f and g are continuous at c, then f + g, f − g, f·g and f/g (provided g(c) ≠ 0) are continuous at c; so polynomials and rational functions are continuous on their domains.

Two continuous functions

f(x) = x² and g(x) = x − 1 are both polynomials, so both are continuous at every real number.

Which of these new functions could fail to be continuous at some point?

  • f + g
  • f · g
  • f / g
  • none of them

Add, subtract, multiply, divide

Choose an operation to build a new function from f and g, and choose a point c. The panel compares the new function's value at c with f(c) and g(c).

Continuity survives + − × ÷

If f and g are real functions continuous at c, then f + g, f − g, f · g and f / g (provided g(c) ≠ 0) are continuous at x = c.

Why: lim(x→c) [f(x) + g(x)] = lim(x→c) f(x) + lim(x→c) g(x) = f(c) + g(c) = (f + g)(c). The other parts are proved the same way.

At c = 1, g(1) = 0, so f / g = x²/(x − 1) is not even defined there. Special cases: λ · g is continuous for any real λ (so −f is too), and 1/g is continuous wherever g(x) ≠ 0.

Notes

f, g continuous at c ⇒ f + g, f − g, f · g continuous at c, and f / g too if g(c) ≠ 0. So polynomials, rational functions, sin, cos and tan are continuous wherever they are defined.

Check yourself

Every rational function p(x)/q(x) (p, q polynomials) is …

With f(x) = x² and g(x) = x − 1, what is (f · g)(2)?

Answer: 4

f(2) = 4 and g(2) = 1, so (f · g)(2) = 4 · 1 = 4. Since f and g are continuous at 2, so is f · g, and its limit at 2 is also 4.

tan x = sin x / cos x, and sin and cos are continuous everywhere. So tan x is …

Is f(x) = sin x + cos x a continuous function?

  • continuous at every real number. Not at the zeros of q: there it is not defined at all.
  • continuous wherever it is defined, i.e. wherever q(x) ≠ 0 — correct. Right. p and q are continuous, so p/q is continuous wherever q(x) ≠ 0 (part 4 of the theorem).
  • never continuous, because of the division. Division is fine as long as the denominator is not 0 at the point.
  • continuous at every real number. tan x is not defined where cos x = 0, i.e. at x = (2n + 1)π/2.
  • continuous wherever it is defined — correct. Right. A quotient of two continuous functions is continuous wherever the denominator is not 0.
  • not continuous anywhere. Where cos x ≠ 0 the quotient rule of continuity applies.
  • yes: it is the sum of two continuous functions — correct. Right. Part 1 of the theorem, at every real c.
  • no: the two waves cancel at some points. Cancelling makes the value 0 there, which is still a perfectly good value. Continuity is about limits, not about the value being non-zero.