MatheramaMatherama
← Continuity and Differentiability
Continuity and Differentiability·Section 2·13 min read

Definition

Definition of Continuity§

A function f(x)f(x) is said to be continuous at a point aa in its domain if the limit of f(x)f(x) as xx approaches aa exists and is equal to f(a)f(a). That is,

lim⁡x→af(x)=f(a).\lim\limits_{x \to a} f(x) = f(a).

This condition ensures that the function does not have any abrupt jumps, holes, or breaks at x=ax = a. More explicitly, continuity at aa requires the following three conditions to hold:

  1. f(a)f(a) is defined, meaning aa belongs to the domain of f(x)f(x).
  2. The limit lim⁡x→af(x)\lim\limits_{x \to a} f(x) exists, meaning the left-hand limit and right-hand limit at x=ax = a are equal.
  3. The limit equals the function value, i.e., lim⁡x→af(x)=f(a)\lim\limits_{x \to a} f(x) = f(a).

If any of these conditions fail, the function is discontinuous at x=ax = a.

Consider the function f:R→Rf: \mathbb{R} \to \mathbb{R}, defined as:

f(x)={sin⁡xx,if x≠0,1,if x=0.f(x) = \begin{cases} \frac{\sin x}{x}, & \text{if} \ x \neq 0, \\ 1, & \text{if} \ x = 0. \end{cases}

We will check if f(x)f(x) is continuous at x=0x = 0. According to the definition of continuity at a point, f(x)f(x) is continuous at x=0x = 0 if

lim⁡x→0f(x)=f(0).\lim\limits_{x \to 0} f(x) = f(0).

Step 1: Evaluate f(0)f(0)

From the given function definition,

f(0)=1.f(0) = 1.

Step 2: Evaluate lim⁡x→0f(x)\lim\limits_{x \to 0} f(x)

Since f(x)=sin⁡xxf(x) = \frac{\sin x}{x} when x≠0x \neq 0, we need to find

lim⁡x→0sin⁡xx.\lim\limits_{x \to 0} \frac{\sin x}{x}.

This is a standard limit, and it is well-known that

lim⁡x→0sin⁡xx=1.\lim\limits_{x \to 0} \frac{\sin x}{x} = 1.

Step 3: Check the continuity condition

Now, compare the limit value with f(0)f(0):

lim⁡x→0f(x)=1andf(0)=1.\lim\limits_{x \to 0} f(x) = 1 \quad \text{and} \quad f(0) = 1.

Since the limit exists and equals the function value at x=0x = 0, f(x)f(x) is continuous at x=0x = 0.

Thus, the function f(x)f(x) satisfies the continuity condition at x=0x = 0, and hence, f(x)f(x) is continuous at this point.

Discontinuities§

A function is discontinuous at x=ax = a if it fails to satisfy the condition

lim⁡x→af(x)=f(a).\lim\limits_{x \to a} f(x) = f(a).

Discontinuities can be classified into various types based on how the function misbehaves at the point.

Isolated Point Discontinuity

One fundamental type is when the limit lim⁡x→af(x)\lim\limits_{x \to a} f(x) exists but does not match f(a)f(a). This is known as an isolated point discontinuity.

An example of such a discontinuity occurs in the function

f(x)={sin⁡xx,x≠0,0,x=0.f(x) = \begin{cases} \frac{\sin x}{x}, & x \neq 0, \\ 0, & x = 0. \end{cases}

To check continuity at x=0x = 0, compute the limit:

lim⁡x→0sin⁡xx=1.\lim\limits_{x \to 0} \frac{\sin x}{x} = 1.

Since f(0)=0f(0) = 0 but the limit approaches 11, the function is discontinuous at x=0x = 0 due to an isolated point discontinuity. If f(0)f(0) were redefined as 11, the discontinuity would be removed, making f(x)f(x) continuous at x=0x = 0.

Missing Point Discontinuity

A missing point discontinuity occurs when a function is not defined at some internal point in its domain, even though the limit of the function exists at that point. This creates a hole in the graph at x=ax = a, as the function approaches a well-defined value but does not actually attain it at that point. Such discontinuities can often be removed by appropriately defining the function at the missing point.

Consider the function

f(x)=x2−1x−1.f(x) = \frac{x^2 - 1}{x - 1}.

This function is not defined at x=1x = 1 because the denominator becomes zero, making the expression meaningless. However, simplifying the function algebraically,

f(x)=(x−1)(x+1)x−1=x+1,for x≠1.f(x) = \frac{(x - 1)(x + 1)}{x - 1} = x + 1, \quad \text{for } x \neq 1.

Taking the limit as x→1x \to 1,

lim⁡x→1f(x)=lim⁡x→1(x+1)=2.\lim\limits_{x \to 1} f(x) = \lim\limits_{x \to 1} (x + 1) = 2.

The limit exists and is finite, meaning the function behaves well near x=1x = 1, but a discontinuity arises solely because f(x)f(x) is undefined at x=1x = 1. This creates a hole in the graph at x=1x = 1, where the function should take the value 2, but does not.

alt text

Jump Discontinuity

A jump discontinuity occurs at x=ax = a when the left-hand limit and right-hand limit exist but are not equal, meaning the function has an abrupt change in value at x=ax = a.

Consider the function

f(x)={x+1,x≥1,1−x,x<1.f(x) = \begin{cases} x+1, & x \geq 1, \\ 1-x, & x < 1. \end{cases}

To check continuity at x=1x = 1, compute the left-hand and right-hand limits separately.

For x→1−x \to 1^-, the function follows f(x)=1−xf(x) = 1 - x, so

lim⁡x→1−f(x)=lim⁡x→1−(1−x)=1−1=0.\lim\limits_{x \to 1^-} f(x) = \lim\limits_{x \to 1^-} (1 - x) = 1 - 1 = 0.

For x→1+x \to 1^+, the function follows f(x)=x+1f(x) = x + 1, so

lim⁡x→1+f(x)=lim⁡x→1+(x+1)=1+1=2.\lim\limits_{x \to 1^+} f(x) = \lim\limits_{x \to 1^+} (x + 1) = 1 + 1 = 2.

Since

lim⁡x→1−f(x)≠lim⁡x→1+f(x),\lim\limits_{x \to 1^-} f(x) \neq \lim\limits_{x \to 1^+} f(x),

the two-sided limit lim⁡x→1f(x)\lim\limits_{x \to 1} f(x) does not exist, indicating a jump discontinuity at x=1x = 1. The function abruptly jumps from 00 to 22, creating a visible gap in the graph.

The graph indicating jump discontinuity

Infinite Point Discontinuity

An infinite point discontinuity occurs at an internal point x=ax = a when the function becomes unbounded as x→ax \to a. This means that at least one of the one-sided limits approaches ∞\infty or −∞-\infty, causing the function to diverge instead of settling at a finite value. Unlike missing point or jump discontinuities, which involve gaps or abrupt changes in function values, an infinite discontinuity represents a singularity where the function blows up.

A standard example is the function

f(x)=1x.f(x) = \frac{1}{x}.

This function is not defined at x=0x = 0 because the denominator becomes zero. To examine its behavior as x→0x \to 0, consider the left-hand and right-hand limits separately.

For x→0−x \to 0^-, where xx is slightly negative,

lim⁡x→0−1x=−∞.\lim\limits_{x \to 0^-} \frac{1}{x} = -\infty.

For x→0+x \to 0^+, where xx is slightly positive,

lim⁡x→0+1x=∞.\lim\limits_{x \to 0^+} \frac{1}{x} = \infty.

Since these one-sided limits do not agree and both tend to infinity (but in opposite directions), the function exhibits an infinite point discontinuity at x=0x = 0. The graph of f(x)f(x) has a vertical asymptote at x=0x = 0, meaning the function grows arbitrarily large or small as it approaches the discontinuity.

Oscillatory Point Discontinuity

An oscillatory point discontinuity occurs at x=ax = a when the function oscillates infinitely as x→ax \to a, preventing the existence of a well-defined limit. Unlike other types of discontinuities where the function either jumps, remains undefined, or diverges to infinity, here the function fluctuates between different values infinitely often as it approaches the discontinuous point. As a result, neither a finite limit nor an infinite limit exists at x=ax = a.

A classic example of an oscillatory point discontinuity is the function

f(x)=sin⁡(1x).f(x) = \sin\left(\frac{1}{x}\right).

This function is not defined at x=0x = 0, since 1/x1/x is undefined at x=0x = 0. To analyze its behavior, consider what happens as x→0x \to 0 from both sides.

As x→0+x \to 0^+ (i.e., xx is small and positive), the expression 1/x1/x grows arbitrarily large, causing sin⁡(1/x)\sin(1/x) to oscillate infinitely between −1-1 and 11 with increasingly rapid frequency. Similarly, for x→0−x \to 0^-, the same oscillatory behavior occurs. The key observation is that the function does not settle to a single value or approach a finite limit. Instead, it keeps fluctuating without stabilizing, meaning that

lim⁡x→0sin⁡(1x) does not exist.\lim\limits_{x \to 0} \sin\left(\frac{1}{x}\right) \text{ does not exist}.

Since the function fails to have a well-defined limit at x=0x = 0, it is discontinuous at that point. The discontinuity is not due to a missing function value, a jump, or infinite divergence, but rather due to wild oscillations that persist indefinitely as x→0x \to 0.

Removable and Irremovable Discontinuities§

Discontinuities can also be classified based on whether they can be eliminated by redefining the function at x=ax = a.

A removable discontinuity occurs when the limit lim⁡x→af(x)\lim\limits_{x \to a} f(x) exists and is finite, but either f(a)f(a) is not defined or f(a)f(a) is not equal to this limit. In such cases, continuity can be restored by redefining f(a)f(a) to match the limit. Isolated point discontinuities and missing point discontinuities are examples of removable discontinuities because the function behaves well near x=ax = a but has a gap or hole at that point.

An irremovable (fundamental) discontinuity occurs when the function has a break that cannot be fixed by redefining f(a)f(a). This happens in three main cases:

  1. A jump discontinuity, where the left-hand and right-hand limits exist but are not equal, causing an abrupt change in function value.
  2. An infinite discontinuity, where the function goes to infinity near x=ax = a, meaning at least one of the one-sided limits is ∞\infty or −∞-\infty.
  3. An oscillatory discontinuity, where the function fluctuates wildly near x=ax = a without approaching a single value.

In these cases, there is no possible value of f(a)f(a) that can make the function continuous at x=ax = a. The discontinuity is an essential feature of the function and cannot be removed by simply filling in a missing value.

One-sided Continuity§

A function f(x)f(x) is said to be continuous from the left, or simply left continuous at x=ax = a if

lim⁡x→a−f(x)=f(a).\lim\limits_{x \to a^-} f(x) = f(a).

Similarly, f(x)f(x) is continuous from the right, or simply right continuous at x=ax = a if

lim⁡x→a+f(x)=f(a).\lim\limits_{x \to a^+} f(x) = f(a).

These conditions mean that as xx approaches aa from either the left or right, the function smoothly reaches f(a)f(a) without any jumps, gaps, or undefined behavior. If both one-sided limits exist and equal f(a)f(a), then the function is fully continuous at x=ax = a.

However, if a function is continuous from only one side but not the other, it is said to have one-sided continuity at that point. This often happens when the function is only defined for x≥ax \geq a or x≤ax \leq a, as in piecewise functions.

For example, consider

f(x)={x2,x<2,4,x=2,x+1,x>2.f(x) = \begin{cases} x^2, & x < 2, \\ 4, & x = 2, \\ x+1, & x > 2. \end{cases}

For x→2−x \to 2^-, the function follows f(x)=x2f(x) = x^2, so

lim⁡x→2−f(x)=22=4.\lim\limits_{x \to 2^-} f(x) = 2^2 = 4.

For x→2+x \to 2^+, the function follows f(x)=x+1f(x) = x + 1, so

lim⁡x→2+f(x)=2+1=3.\lim\limits_{x \to 2^+} f(x) = 2 + 1 = 3.

Since lim⁡x→2−f(x)=f(2)=4\lim\limits_{x \to 2^-} f(x) = f(2) = 4, the function is left-continuous at x=2x = 2. But because lim⁡x→2+f(x)≠f(2)\lim\limits_{x \to 2^+} f(x) \neq f(2), the function is not right-continuous at x=2x = 2, meaning it is not fully continuous at that point.

Consider another example:

The greatest integer function, denoted by f(x)=⌊x⌋f(x) = \lfloor x \rfloor, is discontinuous at all integer points. At every integer nn, the function exhibits a jump discontinuity because the left-hand limit and right-hand limit at x=nx = n are not equal. However, the function remains right-continuous at all integers.

For any integer nn, the function satisfies

f(n)=⌊n⌋=n.f(n) = \lfloor n \rfloor = n.

To analyze its continuity at integer points, consider the one-sided limits.

For x→n+x \to n^+ (i.e., xx approaches nn from the right), since x≥nx \geq n, the greatest integer function gives

lim⁡x→n+⌊x⌋=n.\lim\limits_{x \to n^+} \lfloor x \rfloor = n.

For x→n−x \to n^- (i.e., xx approaches nn from the left), since x<nx < n, the greatest integer function gives

lim⁡x→n−⌊x⌋=n−1.\lim\limits_{x \to n^-} \lfloor x \rfloor = n - 1.

Since

lim⁡x→n−⌊x⌋≠lim⁡x→n+⌊x⌋,\lim\limits_{x \to n^-} \lfloor x \rfloor \neq \lim\limits_{x \to n^+} \lfloor x \rfloor,

the function has a jump discontinuity at every integer nn. However, since

lim⁡x→n+⌊x⌋=f(n),\lim\limits_{x \to n^+} \lfloor x \rfloor = f(n),

the function is right-continuous at every integer. This means that while the function has abrupt jumps at integer points, it does not break from the right; it smoothly connects to f(n)f(n) when approached from the right.

Section 2 of 8 · Continuity and Differentiability

Mark this section complete when you have worked through its proofs.