MatheramaMatherama
← Continuity and Differentiability
Continuity and Differentiability·Section 3·24 min read

Continuity in an Interval

Continuity in an Open Interval§

A function f(x)f(x) is said to be continuous on an open interval (a,b)(a, b) if it is continuous at every point xx in (a,b)(a, b). This means that for every x∈(a,b)x \in (a, b), the limit

lim⁡x→cf(x)\lim\limits_{x \to c} f(x)

exists and equals f(c)f(c) for all c∈(a,b)c \in (a, b).

Since the interval (a,b)(a, b) does not include its endpoints, continuity is only required for points strictly inside the interval. There is no need to check left or right continuity at x=ax = a or x=bx = b, as these points do not belong to the domain under consideration.

For example, the function

f(x)=x2f(x) = x^2

is continuous on (−1,1)(-1,1) because the polynomial x2x^2 is continuous for all real numbers, and in particular, for every xx in (−1,1)(-1,1), the limit lim⁡x→cf(x)=f(c)\lim\limits_{x \to c} f(x) = f(c) holds.

However, consider the function

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

on the interval (−1,1)(-1,1). At x=0x = 0, the function is not defined, and the limit as x→0x \to 0 does not exist since f(x)→∞f(x) \to \infty from one side and f(x)→−∞f(x) \to -\infty from the other. Hence, f(x)f(x) is not continuous on (−1,1)(-1,1) because it fails to be continuous at x=0x = 0, even though it is continuous at every other point in the interval.

Continuity in a Closed Interval§

A function f(x)f(x) is said to be continuous on a closed interval [a,b][a, b] if it is continuous at every point inside (a,b)(a, b) and satisfies one-sided continuity at the endpoints. This requires:

  1. Continuity at interior points: For every x∈(a,b)x \in (a, b),

    lim⁡x→cf(x)=f(c).\lim\limits_{x \to c} f(x) = f(c).
  2. Right continuity at x=ax = a: The function must satisfy

    lim⁡x→a+f(x)=f(a).\lim\limits_{x \to a^+} f(x) = f(a).
  3. Left continuity at x=bx = b: The function must satisfy

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

A function that is continuous on a closed interval must not have any jumps, missing points, or infinite oscillations inside the interval, and it must not have any discontinuities at the endpoints.

Consider the function

f(x)=x3,x∈[−1,1].f(x) = x^3, \quad x \in [-1,1].

For every xx in (−1,1)(-1,1), the function is continuous because polynomials are continuous everywhere. Checking the endpoints:

  • At x=−1x = -1: The right-hand limit is

    lim⁡x→−1+x3=(−1)3=−1=f(−1).\lim\limits_{x \to -1^+} x^3 = (-1)^3 = -1 = f(-1).
  • At x=1x = 1: The left-hand limit is

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

Since both one-sided limits match the function values, f(x)=x3f(x) = x^3 is continuous on [−1,1][-1,1].

Now consider the function

f(x)=⌊x⌋,x∈[1,2].f(x) = \lfloor x \rfloor, \quad x \in [1,2].

For x∈(1,2)x \in (1,2), the function takes constant values. Specifically,

f(x)=1,1≤x<2,andf(2)=2.f(x) = 1, \quad 1 \leq x < 2, \quad \text{and} \quad f(2) = 2.

Checking continuity at x=2x = 2:

  • Left-hand limit:

    lim⁡x→2−⌊x⌋=1.\lim\limits_{x \to 2^-} \lfloor x \rfloor = 1.
  • Function value:

    f(2)=2.f(2) = 2.

Since lim⁡x→2−f(x)≠f(2)\lim\limits_{x \to 2^-} f(x) \neq f(2), the function has a jump discontinuity at x=2x = 2.

However, at x=1x = 1, the right-hand limit is

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

so f(x)f(x) is right-continuous at x=1x = 1 but not continuous at x=2x = 2.

Thus, f(x)=⌊x⌋f(x) = \lfloor x \rfloor is not continuous on [1,2][1,2] because of the discontinuity at x=2x = 2, even though it satisfies right-continuity at x=1x = 1.

alt text

Finding All Points of Discontinuity§

To determine all points of discontinuity of a function in an interval, it is not feasible to test the function at every point, as there are infinitely many. Instead, a systematic approach is required, analyzing the function’s structure to identify locations where discontinuities may occur.

First, we analyze where elementary functions can be discontinuous. Polynomials, exponential functions, logarithmic functions, trigonometric functions, and rational functions are all continuous on their domains, meaning any discontinuity must arise from restrictions on their definition. For example, a rational function is continuous except where its denominator becomes zero. The function

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

is continuous everywhere except at x=0x = 0, where the denominator vanishes, causing an infinite discontinuity.

Discontinuities in a function do not always come from the elementary functions themselves but can also appear because of how the function is built. A piecewise function can have a jump discontinuity at a point where two different expressions meet if the left-hand and right-hand limits are not the same.

Dividing by a function can also create discontinuities. If the denominator becomes zero at some point, the function is undefined there, unless the numerator also becomes zero in a way that allows the fraction to be simplified.

To find all discontinuities in a function, we must carefully examine both the elementary functions it is made of and how they are combined.

Elementary functions and their Continuity

Let us analyze the continuity of some fundamental functions commonly used in mathematics. Understanding where these functions are continuous and where they exhibit discontinuities helps in identifying points of discontinuity in more complex functions.

1. Polynomial Functions
  • Polynomial functions are continuous everywhere in R\mathbb{R}. That is, if f(x)f(x) is a polynomial, then

    lim⁡x→af(x)=f(a)for all a∈R.\lim\limits_{x \to a} f(x) = f(a) \quad \text{for all } a \in \mathbb{R}.

    Since polynomials are composed of sums, differences, and products of powers of xx, they have no points of discontinuity.

2. Exponential and Logarithmic Functions
  • The exponential function exe^x is also continuous for all x∈Rx \in \mathbb{R}.
  • The natural logarithm function ln⁡x\ln x is continuous on its domain (0,∞)(0, \infty).
3. Trigonometric Functions
  • All trigonometric functions are continuous on their domains. However, some have points of discontinuity where their denominators become zero:
    • The tangent function tan⁡x\tan x is discontinuous at points where cos⁡x=0\cos x = 0, which occurs at

      x=(2n+1)π2,n∈Z.x = \frac{(2n+1)\pi}{2}, \quad n \in \mathbb{Z}.
    • The cotangent function cot⁡x\cot x is discontinuous at points where sin⁡x=0\sin x = 0, which occurs at

      x=nπ,n∈Z.x = n\pi, \quad n \in \mathbb{Z}.
    • The secant function sec⁡x\sec x is discontinuous at the same points as tan⁡x\tan x, namely

      x=(2n+1)π2,n∈Z.x = \frac{(2n+1)\pi}{2}, \quad n \in \mathbb{Z}.
    • The cosecant function csc⁡x\csc x is discontinuous at the same points as cot⁡x\cot x, namely

      x=nπ,n∈Z.x = n\pi, \quad n \in \mathbb{Z}.
4. Inverse Trigonometric Functions
  • All inverse trigonometric functions are continuous on their respective domains:

    • sin⁡−1x\sin^{-1} x and cos⁡−1x\cos^{-1} x are continuous on [−1,1][-1,1].
    • tan⁡−1x\tan^{-1} x and cot⁡−1x\cot^{-1} x are continuous on R\mathbb{R}.
    • sec⁡−1x\sec^{-1} x and csc⁡−1x\csc^{-1} x are continuous on (−∞,−1]∪[1,∞](-\infty, -1] \cup [1, \infty].
5. Greatest Integer and Fractional Part Functions
  • The greatest integer function (or floor function) f(x)=⌊x⌋f(x) = \lfloor x \rfloor is discontinuous at all integer points, i.e., at

    x=n,n∈Z.x = n, \quad n \in \mathbb{Z}.

    At these points, the function exhibits a jump discontinuity, where the left-hand limit is n−1n-1 and the right-hand limit is nn.

  • The fractional part function f(x)={x}=x−⌊x⌋f(x) = \{ x \} = x - \lfloor x \rfloor is also discontinuous at all integer points n∈Zn \in \mathbb{Z} since the left-hand limit at x=nx = n is 1 while the right-hand limit is 0.

6. Signum Function
  • The signum function, defined as

    sgn(x)={1,x>0,0,x=0,−1,x<0,\text{sgn}(x) = \begin{cases} 1, & x > 0, \\ 0, & x = 0, \\ -1, & x < 0, \end{cases}

    is discontinuous at x=0x = 0 because the left-hand limit is −1-1, the right-hand limit is 11, and f(0)=0f(0) = 0, meaning the function exhibits a jump discontinuity at x=0x = 0.

Discontinuity due to Division

Discontinuities can arise in a function of the form

f(x)=p(x)q(x)f(x) = \frac{p(x)}{q(x)}

whenever the denominator q(x)q(x) is zero. If p(x)p(x) is nonzero at those points, the function exhibits infinite discontinuities, as the function value tends to ∞\infty or −∞-\infty.

However, in some cases where both the numerator p(x)p(x) and denominator q(x)q(x) vanish at the same point, the function may instead have a missing point discontinuity. Whether the discontinuity is removable depends on whether the limit of the function exists at that point after simplification.

For example, consider

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

Factoring the denominator,

x2−3x+2=(x−1)(x−2),x^2 - 3x + 2 = (x - 1)(x - 2),

shows that the function is undefined at x=1x = 1 and x=2x = 2. Examining the numerator,

x2−1=(x−1)(x+1),x^2 - 1 = (x - 1)(x + 1),

reveals that both p(x)p(x) and q(x)q(x) vanish at x=1x = 1, allowing simplification:

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

Since the simplified function has a well-defined limit at x=1x = 1,

lim⁡x→1f(x)=1+11−2=−2,\lim\limits_{x \to 1} f(x) = \frac{1 + 1}{1 - 2} = -2,

but f(x)f(x) is not defined at x=1x = 1, this is a missing point discontinuity. On the other hand, at x=2x = 2, the denominator still vanishes but the numerator does not, leading to an infinite discontinuity at x=2x = 2.

alt text

Discontinuities in Piecewise-Defined Functions at Transition Points

A piecewise-defined function is a function that is defined by different expressions over different intervals. Discontinuities in such functions often occur at the transition points, which are the points where the function changes from one expression to another.

For a piecewise function to be continuous at a transition point x=ax = a, the left-hand limit, right-hand limit, and function value must all be equal, that is:

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

If this condition fails, the function is discontinuous at x=ax = a. The type of discontinuity depends on how the function behaves at that point.

Consider the piecewise function

f(x)={x+1,x<2,3,x=2,x−1,x>2.f(x) = \begin{cases} x+1, & x < 2, \\ 3, & x = 2, \\ x-1, & x > 2. \end{cases}

To check continuity at x=2x = 2, we compute the left-hand and right-hand limits:

  • Left-hand limit:

    lim⁡x→2−f(x)=lim⁡x→2−(x+1)=2+1=3.\lim\limits_{x \to 2^-} f(x) = \lim\limits_{x \to 2^-} (x+1) = 2+1 = 3.
  • Right-hand limit:

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

Since

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

the function has a jump discontinuity at x=2x = 2. Even though f(2)=3f(2) = 3 is defined, the discontinuity cannot be removed because the left-hand and right-hand limits are not equal.

Composition of greatest integer function with other functions

The composition of the greatest integer function with other functions, written as ⌊f(x)⌋\lfloor f(x) \rfloor, is a common type of function that may introduce discontinuities. Discontinuities in such functions typically occur wherever f(x)f(x) crosses an integer value, but not necessarily at every such point. This is why we say the function may be discontinuous, rather than always being so.

For example, consider the function

f(x)=⌊x/2⌋.f(x) = \lfloor x/2 \rfloor.

Since the greatest integer function ⌊x⌋\lfloor x \rfloor is discontinuous at integer values of xx, the composition ⌊x/2⌋\lfloor x/2 \rfloor may be discontinuous at points where

x2 is an integer.\frac{x}{2} \text{ is an integer}.

This happens when

x2=nor equivalently,x=2n,n∈Z.\frac{x}{2} = n \quad \text{or equivalently,} \quad x = 2n, \quad n \in \mathbb{Z}.

To determine whether the function is actually discontinuous at these points, we check the left-hand and right-hand limits at x=2nx = 2n.

  • Left-hand limit:

    lim⁡x→2n−⌊x/2⌋=n−1.\lim\limits_{x \to 2n^-} \lfloor x/2 \rfloor = n - 1.
  • Right-hand limit:

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

Since the left-hand and right-hand limits are not equal, f(x)=⌊x/2⌋f(x) = \lfloor x/2 \rfloor is indeed discontinuous at x=2nx = 2n, for all n∈Zn \in \mathbb{Z}.

On the other hand, consider the function

f(x)=⌊x2⌋.f(x) = \lfloor x^2 \rfloor.

A natural question is whether this function is discontinuous at x=0x = 0. Since the greatest integer function ⌊x2⌋\lfloor x^2 \rfloor may introduce discontinuities at points where x2x^2 is an integer, we check whether such a discontinuity occurs at x=0x = 0.

First, compute the left-hand and right-hand limits.

  • Right-hand limit: For x→0+x \to 0^+, we have x2→0+x^2 \to 0^+, meaning

    lim⁡x→0+⌊x2⌋=0.\lim\limits_{x \to 0^+} \lfloor x^2 \rfloor = 0.
  • Left-hand limit: Similarly, for x→0−x \to 0^-, we still have x2→0+x^2 \to 0^+ (since squaring eliminates the sign), so

    lim⁡x→0−⌊x2⌋=0.\lim\limits_{x \to 0^-} \lfloor x^2 \rfloor = 0.

Since both one-sided limits are equal and also equal to f(0)=⌊02⌋=0f(0) = \lfloor 0^2 \rfloor = 0, the function is continuous at x=0x = 0.

This example illustrates that while functions of the form ⌊f(x)⌋\lfloor f(x) \rfloor may be discontinuous at points where f(x)f(x) is an integer, they are not necessarily discontinuous at every such point. In this case, x2x^2 smoothly approaches 0 from both sides, so no jump occurs, making the function continuous at x=0x = 0.

Composition of Signum Function with any other Function

If f(x)f(x) is not a constant function, then sgn(f(x))\text{sgn}(f(x)) is always discontinuous at xx whenever f(x)=0f(x) = 0. If f(x)f(x) crosses 0 at x=ax = a, then on one side of x=ax = a, f(x)f(x) is positive, and on the other side, it is negative. This implies that sgn(f(x))\text{sgn}(f(x)) takes the value +1+1 on one side and −1-1 on the other. Since at x=ax = a, f(a)=0f(a) = 0, we have sgn(f(a))=0\text{sgn}(f(a)) = 0. Clearly, there is a discontinuity at x=ax = a because the left-hand limit and right-hand limit are not equal.

If f(x)f(x) is such that it is positive before it becomes zero at x=ax = a and positive again after x=ax = a, then

lim⁡x→asgn(f(x))=1,but f(a)=0⇒sgn(f(a))=0.\lim\limits_{x \to a} \text{sgn}(f(x)) = 1, \quad \text{but } \quad f(a) = 0 \Rightarrow \text{sgn}(f(a)) = 0.

Again, we get a discontinuity at x=ax = a. Thus, in any case where f(x)=0f(x) = 0 at some point and f(x)f(x) is not constant, there is a discontinuity in sgn(f(x))\text{sgn}(f(x)) at that point.

Now, if f(x)f(x) is constant, the behavior of sgn(f(x))\text{sgn}(f(x)) depends on whether f(x)f(x) is positive, negative, or zero:

  • If f(x)=cf(x) = c is positive, then sgn(f(x))=1\text{sgn}(f(x)) = 1 for all xx, which is clearly continuous.
  • If f(x)=cf(x) = c is negative, then sgn(f(x))=−1\text{sgn}(f(x)) = -1 for all xx, which is also continuous.
  • If f(x)=0f(x) = 0 for all xx, then sgn(f(x))=0\text{sgn}(f(x)) = 0 everywhere, which is again continuous.

Thus, the signum function is always discontinuous at points where f(x)f(x) changes sign, but remains continuous when f(x)f(x) is a nonzero constant or identically zero. For example,

consider the function

f(x)=sgn(sin⁡x),x∈[0,2π].f(x) = \text{sgn}(\sin x), \quad x \in [0, 2\pi].

Since sin⁡x\sin x is positive for x∈(0,π)x \in (0, \pi) and negative for x∈(π,2π)x \in (\pi, 2\pi), the signum function takes values:

f(x)={1,x∈(0,π),0,x=0,π,2π,−1,x∈(π,2π).f(x) = \begin{cases} 1, & x \in (0, \pi), \\ 0, & x = 0, \pi, 2\pi, \\ -1, & x \in (\pi, 2\pi). \end{cases}

At x=0,π,2πx = 0, \pi, 2\pi, sin⁡x=0\sin x = 0, so sgn(sin⁡x)=0\text{sgn}(\sin x) = 0, represented by filled circles at these points. The function exhibits jump discontinuities at x=πx = \pi and x=2πx = 2\pi, as shown by the hollow circles at the left endpoints of each step. The underlying dashed curve represents sin⁡x\sin x, helping visualize where sgn(sin⁡x)\text{sgn}(\sin x) transitions.

alt text

Algebra of Continuity§

When functions are combined using basic operations such as addition, subtraction, multiplication, division, or composition, the continuity or discontinuity of the resulting function depends on the continuity of the original functions. Understanding these properties allows for quick conclusions about the continuity or discontinuity of functions, helping to efficiently identify all points of discontinuity while avoiding unnecessary computations.

I: Continous with Continuous

Let f(x)f(x) and g(x)g(x) be functions that are continuous at x=ax = a. Then, the following functions are also continuous at x=ax = a:

  • f(x)+g(x)f(x) + g(x),
  • f(x)−g(x)f(x) - g(x),
  • f(x)g(x)f(x) g(x),
  • f(x)g(x)\frac{f(x)}{g(x)}, provided that g(a)≠0g(a) \neq 0.

Each of these results follows from the fundamental limit properties and is straightforward to prove, so we proceed without proof. These properties form the basis of algebraic continuity rules, allowing for quick determination of whether a function remains continuous after basic operations.

II. Continuous and Discontinuous

Sum and Difference

If f(x)f(x) is continuous at x=ax = a and g(x)g(x) is discontinuous at x=ax = a, then the sum f(x)+g(x)f(x) + g(x) inherits the discontinuity from g(x)g(x). Since f(x)f(x) behaves smoothly at x=ax = a, any discontinuity in g(x)g(x) will be present in their sum, making f+gf + g discontinuous at x=ax = a.

For example, consider the function

f(x)=x+⌊x⌋.f(x) = x + \lfloor x \rfloor.

The function xx is continuous everywhere, while ⌊x⌋\lfloor x \rfloor has jump discontinuities at every integer point. To analyze the continuity of f(x)f(x), consider the behavior at an integer x=nx = n:

For x→n−x \to n^-,

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

For x→n+x \to n^+,

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

Since lim⁡x→n−f(x)≠lim⁡x→n+f(x)\lim\limits_{x \to n^-} f(x) \neq \lim\limits_{x \to n^+} f(x), the function f(x)=x+⌊x⌋f(x) = x + \lfloor x \rfloor has a jump discontinuity at every integer x=nx = n.

Product

If f(x)f(x) is continuous at x=ax = a and g(x)g(x) is discontinuous at x=ax = a, then the product f(x)g(x)f(x) g(x) may be either continuous or discontinuous at x=ax = a. The behavior depends on how f(x)f(x) interacts with the discontinuity of g(x)g(x). To illustrate this, we examine two cases.

Consider the functions

f(x)=x,g(x)=⌊x⌋.f(x) = x, \quad g(x) = \lfloor x \rfloor.

The function f(x)=xf(x) = x is continuous everywhere, while g(x)=⌊x⌋g(x) = \lfloor x \rfloor is discontinuous at every integer.

At x=1x = 1, the function f(x)f(x) is continuous, but g(x)g(x) has a jump discontinuity. Checking the limits of their product:

For x→1−x \to 1^-,

lim⁡x→1−f(x)g(x)=lim⁡x→1−(x⌊x⌋)=(1⋅0)=0.\lim\limits_{x \to 1^-} f(x) g(x) = \lim\limits_{x \to 1^-} (x \lfloor x \rfloor) = (1 \cdot 0) = 0.

For x→1+x \to 1^+,

lim⁡x→1+f(x)g(x)=lim⁡x→1+(x⌊x⌋)=(1⋅1)=1.\lim\limits_{x \to 1^+} f(x) g(x) = \lim\limits_{x \to 1^+} (x \lfloor x \rfloor) = (1 \cdot 1) = 1.

Since lim⁡x→1−f(x)g(x)≠lim⁡x→1+f(x)g(x)\lim\limits_{x \to 1^-} f(x) g(x) \neq \lim\limits_{x \to 1^+} f(x) g(x), the function f(x)g(x)f(x) g(x) is discontinuous at x=1x = 1.

Now, consider the same functions at x=0x = 0. The function g(x)=⌊x⌋g(x) = \lfloor x \rfloor is discontinuous at x=0x = 0, but computing the limits of f(x)g(x)f(x) g(x):

For x→0−x \to 0^-,

lim⁡x→0−f(x)g(x)=lim⁡x→0−(x⌊x⌋)=(0⋅(−1))=0.\lim\limits_{x \to 0^-} f(x) g(x) = \lim\limits_{x \to 0^-} (x \lfloor x \rfloor) = (0 \cdot (-1)) = 0.

For x→0+x \to 0^+,

lim⁡x→0+f(x)g(x)=lim⁡x→0+(x⌊x⌋)=(0⋅0)=0.\lim\limits_{x \to 0^+} f(x) g(x) = \lim\limits_{x \to 0^+} (x \lfloor x \rfloor) = (0 \cdot 0) = 0.

Since both one-sided limits agree and are equal to f(0)g(0)=0f(0) g(0) = 0, the function f(x)g(x)f(x) g(x) is continuous at x=0x = 0 despite g(x)g(x) being discontinuous there.

Thus, the product of a continuous function and a discontinuous function may or may not be discontinuous, depending on how the continuous function behaves at the point of discontinuity of the other function.

The conclusion from the previous discussion is that we cannot make a general statement about the continuity of f(x)g(x)f(x) g(x) at x=ax = a when f(x)f(x) is continuous at x=ax = a and g(x)g(x) is discontinuous at x=ax = a. Each case must be checked individually using the basic method of evaluating left-hand and right-hand limits.

However, there is one particular case where we can make a definite conclusion:

To see why, let g(x)g(x) have a jump discontinuity at x=ax = a, meaning that the left-hand and right-hand limits of g(x)g(x) exist but are not equal:

lim⁡x→a−g(x)=g1,lim⁡x→a+g(x)=g2,g1≠g2.\lim\limits_{x \to a^-} g(x) = g_1, \quad \lim\limits_{x \to a^+} g(x) = g_2, \quad g_1 \neq g_2.

Since f(x)f(x) is continuous at x=ax = a, we have

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

Given that f(a)=0f(a) = 0, we compute the left and right limits of f(x)g(x)f(x) g(x):

lim⁡x→a−f(x)g(x)=lim⁡x→a−f(x)g(x)=lim⁡x→a−f(x)⋅g1=f(a)g1=0.\lim\limits_{x \to a^-} f(x) g(x) = \lim\limits_{x \to a^-} f(x) g(x) = \lim\limits_{x \to a^-} f(x) \cdot g_1 = f(a) g_1 = 0. lim⁡x→a+f(x)g(x)=lim⁡x→a+f(x)g(x)=lim⁡x→a+f(x)⋅g2=f(a)g2=0.\lim\limits_{x \to a^+} f(x) g(x) = \lim\limits_{x \to a^+} f(x) g(x) = \lim\limits_{x \to a^+} f(x) \cdot g_2 = f(a) g_2 = 0.

Since both left-hand and right-hand limits exist and are equal to 00, we conclude that

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

Thus, f(x)g(x)f(x) g(x) is continuous at x=ax = a.

For example, consider

f(x)=x−1,g(x)=⌊x⌋.f(x) = x - 1, \quad g(x) = \lfloor x \rfloor.

At x=1x = 1, the function f(x)f(x) is continuous and f(1)=0f(1) = 0, while g(x)g(x) has a jump discontinuity at x=1x = 1. Computing the limits:

For x→1−x \to 1^-,

lim⁡x→1−f(x)g(x)=lim⁡x→1−(x−1)⌊x⌋=(1−1)⋅0=0.\lim\limits_{x \to 1^-} f(x) g(x) = \lim\limits_{x \to 1^-} (x-1) \lfloor x \rfloor = (1-1) \cdot 0 = 0.

For x→1+x \to 1^+,

lim⁡x→1+f(x)g(x)=lim⁡x→1+(x−1)⌊x⌋=(1−1)⋅1=0.\lim\limits_{x \to 1^+} f(x) g(x) = \lim\limits_{x \to 1^+} (x-1) \lfloor x \rfloor = (1-1) \cdot 1 = 0.

Since both limits are equal to 00, f(x)g(x)f(x) g(x) is continuous at x=1x = 1, demonstrating the special case.

Division

If f(x)f(x) is continuous at x=ax = a and g(x)g(x) is discontinuous at x=ax = a, then the quotient f(x)/g(x)f(x)/g(x) may or may not be continuous at x=ax = a. Unlike sum and difference, where discontinuity is guaranteed, or the product, where certain cases allow direct conclusions, the quotient function requires careful case-by-case analysis. No general conclusion can be drawn without explicitly checking the limits.

Discontinuous and Discontinuous

If both f(x)f(x) and g(x)g(x) are discontinuous at x=ax = a, then no general conclusion can be drawn about the continuity of their sum f+gf + g, difference f−gf - g, product fgfg, or quotient f/gf/g at x=ax = a. Each case must be analyzed separately, as different types of discontinuities may interact in different ways.

Summary Table for all cases:

Case f±gf \pm g f⋅gf \cdot g fg\frac{f}{g}
ff continuous, gg continuous Continuous Continuous Continuous (if g≠0g \neq 0)
ff continuous, gg discontinuous Discontinuous May or may not be continuous May or may not be continuous
ff discontinuous, gg discontinuous May or may not be continuous May or may not be continuous May or may not be continuous
Section 3 of 8 · Continuity and Differentiability

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