girgit.org

Continuity and Differentiability

Can you draw it without lifting your pencil? Continuity at a point

The big ideaA function is continuous at \( x = c \) when it is defined there and its limit at \( c \) equals its value: \( \lim_{x \to c} f(x) = f(c) \).

In simple words

Put your pencil on a graph and move along it. If you can go past a point without lifting the pencil, the graph has no break there. No sudden jump, no missing dot, no dot sitting in the wrong place. That "no break" is what we call continuous.

In Class 11 you learnt limits and derivatives. This chapter goes one step further. It asks two new questions about a graph: does it break anywhere, and does it have a sharp corner anywhere? The first question is continuity. The second is differentiability. After that, the chapter fills your toolkit: the chain rule, inverse trigonometric functions, exponential and logarithmic functions, and new ways to differentiate.

The pencil test

A parking lot charges ₹20 for up to one hour and ₹40 for anything more. Let \( P(t) \) be the charge for \( t \) hours. Just before \( t = 1 \) the charge is 20. Just after, it is 40. To draw this graph you must lift the pencil at \( t = 1 \): the graph jumps.

Now a different kind of break. Let \( g(x) = x^2 \) for every \( x \ne 1 \), but say \( g(1) = 3 \). Near 1, from both sides, the graph heads for the height 1. But the dot at \( x = 1 \) has been moved up to 3. You still have to lift the pencil, to go and put that one dot in its odd place.

So "continuous at a point" means: near that point the graph can be drawn in one stroke. The textbook turns this picture into a precise rule using limits.

The definition

Let \( f \) be a real function and \( c \) a point in its domain. Then \( f \) is continuous at c if

\[ \lim_{x \to c} f(x) = f(c) \]

Remember from Class 11 that the limit exists only when the left hand limit \( \lim_{x \to c^-} f(x) \) (coming in from smaller \( x \)) and the right hand limit \( \lim_{x \to c^+} f(x) \) (coming in from bigger \( x \)) are equal. So the definition really asks for three numbers to agree.

The three-condition checklist for continuity at x = c

  • 1. Value: \( f(c) \) is defined (the plank in the middle exists).
  • 2. Limit: the left hand limit and the right hand limit at \( c \) both exist as real numbers and are equal (both halves of the bridge meet).
  • 3. Match: that common limit equals \( f(c) \) (the plank is at the same height).

In one line: LHL = RHL = f(c). If any condition fails, \( f \) is discontinuous at c, and \( c \) is called a point of discontinuity.

In the parking example, condition 2 fails (LHL = 20, RHL = 40). In the moved-dot example, conditions 1 and 2 hold (the limit is 1), but condition 3 fails, since \( g(1) = 3 \ne 1 \).

Try it: move the dot and watch which of the three checks pass.

Worked example 1: a straight line

Is \( f(x) = 3x - 1 \) continuous at \( x = 2 \)?

  1. Value: \( f(2) = 6 - 1 = 5 \). Defined.
  2. Limit: \( \lim_{x \to 2}(3x - 1) = 3(2) - 1 = 5 \). (A polynomial's limit is its value, from Class 11.)
  3. Match: \( 5 = 5 \). So \( f \) is continuous at 2.

Worked example 2: a function split at 0

Let \( f(x) = \begin{cases} x^2 + 1, & x \lt 0 \\ x + 1, & x \ge 0 \end{cases} \). Is it continuous at 0?

  1. Value: \( f(0) = 0 + 1 = 1 \).
  2. LHL: \( \lim_{x \to 0^-}(x^2 + 1) = 1 \). RHL: \( \lim_{x \to 0^+}(x + 1) = 1 \). Equal.
  3. Match: LHL = RHL = \( f(0) = 1 \). Continuous at 0, even though the formula changes there.

Worked example 3: the modulus function at 0

\( |x| = \begin{cases} -x, & x \lt 0 \\ x, & x \ge 0 \end{cases} \). LHL \( = \lim_{x \to 0^-}(-x) = 0 \), RHL \( = \lim_{x \to 0^+} x = 0 \), and \( |0| = 0 \). All three agree, so \( |x| \) is continuous at 0. The V-shaped graph has a corner there, but no break. Keep this one in mind: it comes back in the differentiability lesson.

Worked example 4: a dot in the wrong place

Let \( h(x) = \dfrac{x^2 - 4}{x - 2} \) for \( x \ne 2 \), and \( h(2) = 5 \). For \( x \ne 2 \), \( h(x) = x + 2 \), so \( \lim_{x \to 2} h(x) = 4 \). But \( h(2) = 5 \). Condition 3 fails: \( h \) is discontinuous at 2. If we had set \( h(2) = 4 \) instead, it would be continuous.

Don't mix these up

  • The limit at \( c \) does not care about \( f(c) \). Continuity does: it needs the limit and the value to be the same number.
  • A formula changing at a point does not mean a break. Check the three conditions; worked example 2 changes formula and is still continuous.
  • A sharp corner (like \( |x| \) at 0) is not a break. Corners are about differentiability, not continuity.

Try it. (a) Is \( f(x) = x^3 - 2x \) continuous at \( x = -1 \)? (b) Let \( f(x) = 2x + 1 \) for \( x \le 3 \) and \( f(x) = x + 4 \) for \( x \gt 3 \). Is \( f \) continuous at 3?

Answer
(a) \( f(-1) = -1 + 2 = 1 \) and \( \lim_{x \to -1} f(x) = 1 \). Yes. (b) \( f(3) = 7 \), LHL \( = 2(3) + 1 = 7 \), RHL \( = 3 + 4 = 7 \). All equal, so yes.

Words to know

Continuous at c
\( \lim_{x \to c} f(x) = f(c) \): no break in the graph at \( c \).
Left hand limit (LHL)
The value \( f(x) \) heads for as \( x \) comes up to \( c \) from the left, \( x \to c^- \).
Right hand limit (RHL)
The value \( f(x) \) heads for as \( x \) comes down to \( c \) from the right, \( x \to c^+ \).
Discontinuous at c
Not continuous at \( c \): at least one of the three conditions fails.
Point of discontinuity
A point of the domain where the function is discontinuous.

For a function, at \( x = 2 \): LHL = 7, RHL = 7 and \( f(2) = 9 \). Which is true?

  1. \( f \) is continuous at 2, because LHL = RHL
  2. \( f \) is discontinuous at 2, because the limit is not \( f(2) \)
  3. The limit at 2 does not exist

Which of these is continuous at \( x = 0 \)?

  1. \( f(x) = -1 \) for \( x \lt 0 \), \( f(x) = 1 \) for \( x \ge 0 \)
  2. \( f(x) = |x| \)
  3. \( f(x) = x^2 \) for \( x \ne 0 \), \( f(0) = 2 \)

A function has a jump at \( x = c \). Which condition of the checklist fails first?

  1. \( f(c) \) is not defined
  2. The left and right hand limits are not equal
  3. The limit exists but is not \( f(c) \)