Continuity and Differentiability
- 1. Can you draw it without lifting your pencil? Continuity at a point
- 2. Continuous functions, jumps and the 1/x surprise
- 3. Building new continuous functions: the algebra of continuity
- 4. Smooth or sharp? Differentiability and continuity
- 5. The chain rule: peeling an onion
- 6. When y won't stand alone: implicit differentiation
- 7. Derivatives of inverse trigonometric functions
- 8. Faster than any polynomial: exponential and logarithmic functions
- 9. The function that is its own derivative: eˣ and log x
- 10. What is the derivative of xˣ? Logarithmic differentiation
- 11. Derivatives of functions in parametric form
- 12. Second order derivatives: the rate of the rate
- Review
2 of 12·NCERT §5.2·6 min
Continuous functions, jumps and the 1/x surprise
The big ideaA function is called continuous when it is continuous at every point of its domain; points outside the domain are not checked at all.
In simple words
To call a whole function smooth-running, test every point where it lives. If it passes the no-break test at each one, it passes. A place where the function does not live at all is not a break in the function. It is just a place the function never goes.
Continuous on the whole domain
A real function \( f \) is a continuous function if it is continuous at every point in its domain. Here is how that works for some common functions:
- A constant \( f(x) = k \): at any \( c \), \( \lim_{x \to c} k = k = f(c) \). Continuous everywhere: a flat line has no breaks.
- The identity \( f(x) = x \): \( \lim_{x \to c} x = c = f(c) \). Continuous everywhere.
- Every polynomial \( p(x) = a_0 + a_1 x + \dots + a_n x^n \): from Class 11, \( \lim_{x \to c} p(x) = p(c) \) for every real \( c \). So every polynomial function is continuous.
- The modulus \( |x| \): for \( c \lt 0 \) it is \( -x \) near \( c \), for \( c \gt 0 \) it is \( x \), and at 0 we checked it in the last lesson. Continuous everywhere.
On a closed interval [a, b]
If \( f \) is defined only on \( [a, b] \), then at the end points there is only one side to come from. So we use one-sided limits there:
\[ \text{at } a: \lim_{x \to a^+} f(x) = f(a), \qquad \text{at } b: \lim_{x \to b^-} f(x) = f(b) \]The left hand limit at \( a \) and the right hand limit at \( b \) make no sense: there is no function out there. A strange but true consequence: if the domain is a single point, the function is continuous (there is nothing nearby that could break away).
Guess first: is 1/x a continuous function?
The graph of \( y = \frac{1}{x} \) comes in two separate pieces, one on each side of the y-axis. You definitely have to lift your pencil to draw it. Guess: is \( f(x) = \frac{1}{x} \) a continuous function?
Commit to an answer, then test the curve one point at a time.
See what happens
What happens near 0? Try \( x = 0.1, 0.01, 0.001 \): \( \frac{1}{x} = 10, 100, 1000 \). As \( x \) comes down to 0 from the right, \( \frac{1}{x} \) grows beyond any number you name. We write \( \lim_{x \to 0^+} \frac{1}{x} = +\infty \) and read it as "the right hand limit is plus infinity". From the left, \( \frac{1}{x} \) goes to \( -10, -100, -1000, \dots \), so \( \lim_{x \to 0^-} \frac{1}{x} = -\infty \).
Infinity is not a real number. Writing \( +\infty \) is a short way to say "it grows without end". So these one-sided limits do not exist as real numbers.
Piecewise functions: where to look for breaks
For a function made of pieces, each piece (a polynomial, say) is continuous on its own stretch. So only the joining points need the full checklist.
Worked example 1: a jump
Find the points of discontinuity of \( f(x) = \begin{cases} x + 3, & x \le 2 \\ 2x - 1, & x \gt 2 \end{cases} \).
- For \( c \lt 2 \) and \( c \gt 2 \), \( f \) is a polynomial near \( c \), so it is continuous there.
- At \( c = 2 \): LHL \( = 2 + 3 = 5 \), RHL \( = 2(2) - 1 = 3 \). They differ.
- So \( x = 2 \) is the only point of discontinuity.
Worked example 2: a gap that is not a break
Let \( f(x) = x - 1 \) for \( x \lt 0 \) and \( f(x) = x + 1 \) for \( x \gt 0 \). There is no rule for \( x = 0 \), so 0 is not in the domain. Each piece is continuous on its part, so \( f \) is a continuous function, even though its graph jumps from −1 to 1 across the y-axis.
Worked example 3: choosing a constant
Find \( k \) so that \( f(x) = \begin{cases} kx + 1, & x \le 2 \\ 3x - 1, & x \gt 2 \end{cases} \) is continuous at 2.
- \( f(2) = \) LHL \( = 2k + 1 \). RHL \( = 3(2) - 1 = 5 \).
- Set them equal: \( 2k + 1 = 5 \), so \( k = 2 \).
Try it: drag the end of the left piece until the gap closes, then show every k at once.
The greatest integer function
\( [x] \) is the greatest integer function: the biggest integer that is less than or equal to \( x \). So \( [2.7] = 2 \), \( [5] = 5 \), \( [-1.3] = -2 \). Its graph is a staircase.
- At a non-integer \( c \), like 2.7, every \( x \) close enough to \( c \) has the same \( [x] \). So the limit is \( [c] \) and \( f \) is continuous there.
- At an integer \( c \): just below \( c \), \( [x] = c - 1 \); at and just above, \( [x] = c \). So LHL \( = c - 1 \) and RHL \( = c \), which are never equal.
So \( [x] \) is discontinuous at every integer, and continuous everywhere else.
Walk along the staircase and stop on an integer to see the two sides disagree.
Don't mix these up
- "Not defined at \( c \)" and "discontinuous at \( c \)" are different. Continuity is only tested at points in the domain.
- \( \lim_{x \to 0^+} \frac{1}{x} = +\infty \) means the limit does not exist; it does not mean the limit is a very big number.
- \( [-1.3] = -2 \), not −1: the greatest integer is always at or to the left on the number line.
Try it. (a) Where is \( f(x) = x - [x] \) discontinuous? (b) Find \( a \) so that \( f(x) = ax^2 \) for \( x \le 1 \) and \( f(x) = 4x - 1 \) for \( x \gt 1 \) is continuous.
Answer
- Continuous function
- A function continuous at every point of its domain.
- Continuity on [a, b]
- Continuous inside, with only the right hand limit used at \( a \) and only the left hand limit at \( b \).
- \( +\infty \), \( -\infty \)
- Short for "grows without end" upwards or downwards; not real numbers.
- Greatest integer function [x]
- The largest integer \( \le x \); a staircase that breaks at every integer.
- Polynomial function
- \( a_0 + a_1 x + \dots + a_n x^n \); continuous at every real number.
Words to know
Is \( f(x) = \frac{1}{x - 3} \) a continuous function?
- No, it is discontinuous at 3
- Yes, it is continuous on its whole domain
- Only for \( x \gt 3 \)
At \( x = 4 \), what are the left and right hand limits of \( [x] \)?
- Both 4
- LHL = 3, RHL = 4
- LHL = 4, RHL = 5
\( \lim_{x \to 0^+} \frac{1}{x} = +\infty \). What does this say about the right hand limit?
- It exists and equals infinity
- It does not exist as a real number; the values grow without end
- It equals 0
Picture and video credits