Math Lab
Home/Class XII/Ch 5/Continuity

Continuity

A function is continuous at a point if its graph passes through that point without lifting the pen. Formally, continuity links a function's value at aa to the limiting behaviour of f(x)f(x) as xax \to a. The chapter's first task is to translate this intuitive picture into testable conditions, then identify the kinds of failures that can occur.

Definition

A function ff is continuous at the point aa in its domain if

limxaf(x)=f(a).\lim_{x \to a} f(x) = f(a).

Three conditions must hold:

  1. f(a)f(a) is defined.
  2. limxaf(x)\lim_{x \to a} f(x) exists (i.e., left and right limits agree).
  3. The two are equal.

If ff is continuous at every point of an interval, we say ff is continuous on that interval.

One-sided continuity

ff is left-continuous at aa if limxaf(x)=f(a)\lim_{x \to a^-} f(x) = f(a). It is right-continuous if limxa+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a). Two-sided continuity at aa requires both.

For points at the boundary of the domain (e.g., a=0a = 0 for f:[0,)Rf : [0, \infty) \to \mathbb{R}), only one-sided continuity is meaningful.

Types of discontinuity

When ff fails to be continuous at aa, we classify the failure:

  • Removable discontinuity. limxaf(x)\lim_{x \to a} f(x) exists but does not equal f(a)f(a) (or f(a)f(a) is undefined). Redefining f(a)f(a) fixes the problem.
  • Jump discontinuity. Left and right limits both exist but differ.
  • Infinite discontinuity. A one-sided limit is ±\pm \infty.
  • Oscillatory discontinuity. The limit fails to exist due to oscillation (e.g., sin(1/x)\sin(1/x) at 00).

Algebra of continuous functions

If ff and gg are continuous at aa, then so are f+g,fg,fgf + g, f - g, fg, and f/gf/g (the last provided g(a)0g(a) \neq 0). Composition is continuous: if gg is continuous at aa and ff is continuous at g(a)g(a), then fgf \circ g is continuous at aa.

These rules let us conclude: every polynomial is continuous on R\mathbb{R}; every rational function is continuous wherever the denominator is nonzero; sin,cos,ex\sin, \cos, e^x are continuous on R\mathbb{R}; tan,sec\tan, \sec are continuous wherever they are defined.

Important special cases

f(x)=sinxxf(x) = \dfrac{\sin x}{x} at x=0x = 0: limit is 11, but f(0)f(0) is undefined. Removable.

f(x)={1,x01,x<0f(x) = \begin{cases} 1, & x \ge 0 \\ -1, & x < 0 \end{cases} at x=0x = 0: left limit 1-1, right limit 11. Jump.

f(x)=1/xf(x) = 1/x at x=0x = 0: limit is ±\pm \infty. Infinite.

f(x)=sin(1/x)f(x) = \sin(1/x) at x=0x = 0: limit does not exist. Oscillatory.

Continuity on an interval

ff is continuous on [a,b][a, b] if continuous at every interior point and right-continuous at aa, left-continuous at bb. Boundedness and attainment of extrema are guaranteed by continuity on a closed interval (Extreme Value Theorem), as is the intermediate value property.

Worked examples

Example 1. Check continuity of f(x)={x2,x12x1,x>1f(x) = \begin{cases} x^2, & x \le 1 \\ 2x - 1, & x > 1 \end{cases} at x=1x = 1.

Left limit: limx1x2=1\lim_{x \to 1^-} x^2 = 1. Right limit: limx1+(2x1)=1\lim_{x \to 1^+}(2x - 1) = 1. f(1)=1f(1) = 1. All three agree. Continuous.

Example 2. Check continuity of f(x)=x21x1f(x) = \dfrac{x^2 - 1}{x - 1} at x=1x = 1.

Undefined at x=1x = 1, but limx1x21x1=limx1(x+1)=2\lim_{x \to 1} \dfrac{x^2 - 1}{x - 1} = \lim_{x \to 1}(x + 1) = 2. Removable discontinuity; can be made continuous by defining f(1)=2f(1) = 2.

Example 3. Find kk so that f(x)={kx+1,x2x23,x>2f(x) = \begin{cases} kx + 1, & x \le 2 \\ x^2 - 3, & x > 2 \end{cases} is continuous at x=2x = 2.

Left value f(2)=2k+1f(2) = 2k + 1. Right limit limx2+(x23)=1\lim_{x \to 2^+}(x^2 - 3) = 1. Equate: 2k+1=12k + 1 = 1, so k=0k = 0.

Example 4. Show f(x)=xf(x) = |x| is continuous at x=0x = 0.

Left limit: limx0x=0\lim_{x \to 0^-}|x| = 0. Right limit: limx0+x=0\lim_{x \to 0^+}|x| = 0. f(0)=0f(0) = 0. Continuous.

Example 5. Determine continuity of f(x)={sinxx,x00,x=0f(x) = \begin{cases} \dfrac{\sin x}{x}, & x \neq 0 \\ 0, & x = 0 \end{cases} at x=0x = 0.

Limit 11, value 00. Not continuous; this is a removable discontinuity.

Example 6. Show f(x)=xf(x) = \lfloor x \rfloor (greatest integer) is discontinuous at every integer.

At nZn \in \mathbb{Z}: left limit limxnx=n1\lim_{x \to n^-}\lfloor x \rfloor = n - 1; right limit limxn+x=n\lim_{x \to n^+}\lfloor x \rfloor = n. Jump of 11.

Try it yourself

  1. Check continuity of f(x)=sinxcosxf(x) = \sin x \cdot \cos x on R\mathbb{R}.
  2. At x=0x = 0, is f(x)=x2f(x) = x^2 continuous?
  3. Is f(x)=1/xf(x) = 1/x continuous at x=0x = 0?
  4. Determine kk so that f(x)={ksinx,x0x+2,x>0f(x) = \begin{cases} k \sin x, & x \le 0 \\ x + 2, & x > 0 \end{cases} is continuous at x=0x = 0.
  5. Classify the discontinuity of f(x)=x24x2f(x) = \dfrac{x^2 - 4}{x - 2} at x=2x = 2.
  6. Show: every polynomial is continuous on R\mathbb{R}.
  7. Show: every constant function is continuous.
  8. Is f(x)=xxf(x) = \dfrac{|x|}{x} continuous at x=0x = 0?
  9. Show: if ff is continuous on [a,b][a, b] then f|f| is continuous there.
  10. Find the points where f(x)=tanxf(x) = \tan x is discontinuous.
  11. Examine continuity of f(x)=x31x1f(x) = \dfrac{x^3 - 1}{x - 1} at x=1x = 1.
  12. Find a,ba, b such that f(x)={ax+1,x1bx+2,x>1f(x) = \begin{cases} ax + 1, & x \le 1 \\ b x + 2, & x > 1 \end{cases} is continuous and differentiable at x=1x = 1.
  13. Investigate continuity of f(x)=xsin(1/x)f(x) = x \sin(1/x) at x=0x = 0.
  14. Use the squeeze theorem to show limx0x2sin(1/x)=0\lim_{x \to 0} x^2 \sin(1/x) = 0.

Pitfalls / Tricks

  • Continuity at aa requires the function to be defined at aa. A "limit equals value" check needs both.
  • One-sided limits matter: a function with different left and right limits is discontinuous, even if both exist.
  • Removable discontinuities can be "fixed" by redefining the function at one point.
  • The greatest integer function x\lfloor x \rfloor is discontinuous exactly at integers.
  • sin(1/x)\sin(1/x) oscillates near 00 , limit doesn't exist; multiply by xx to tame it.

Next we ask when a continuous function also has a tangent line.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Continuity
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6