Continuity and the Intermediate Value Theorem✅

Limits and Continuity

Revising the Idea of a Limit

  • Consider a function y=f(x)y = f(x) and a value ll on the y-axis.
  • For any point y<em>0y<em>0 very close to ll, if we can find a point x</em>0x</em>0 very close to aa (on the x-axis) such that f(x<em>0)=y</em>0f(x<em>0) = y</em>0, then the limit of the function as xx approaches aa is ll.
  • Formally: If for every y<em>0y<em>0 very close to ll, we can find an x</em>0x</em>0 very close to aa, then limxaf(x)=l\lim_{x \to a} f(x) = l.

Observation About Limits

  • Consider a function f(x)f(x) and a value ll on the y-axis.
  • The limit when xx approaches aa of f(x)f(x) can exist (and be equal to ll) even if f(x)f(x) is not defined at x=ax = a, or if f(a)f(a) is different from ll.
  • It is not necessarily true that for a limit to exist, it must be equal to the function's value at the point aa.
  • This concept leads to the discussion of continuous functions.

Continuous Functions - Informal Idea

  • Informally, a continuous function is one that doesn't have any holes or jumps.
  • If there's a hole or a jump in the graph at x=ax = a, the function is not continuous at that point.

Revising Specific Cases of Limits

  • limxac=c\lim_{x \to a} c = c (where cc is a constant)
  • limxax=a\lim_{x \to a} x = a
  • limxaxn=an\lim_{x \to a} x^n = a^n (where nn is a positive integer)
  • If P(x)P(x) is a polynomial function, then limxaP(x)=P(a)\lim_{x \to a} P(x) = P(a).
  • If R(x)R(x) is a rational function, and lim<em>xadenominator(R(x))0\lim<em>{x \to a} denominator(R(x)) \neq 0, then lim</em>xaR(x)=R(a)\lim</em>{x \to a} R(x) = R(a).
  • limxaxn=an\lim_{x \to a} \sqrt[n]{x} = \sqrt[n]{a} (where nn is a positive integer, and a > 0 if nn is even)

Continuous Functions - Connecting Limits and Function Evaluation

  • For continuous functions, the limit of the function as xx approaches aa can be found by simply substituting aa into the function.
  • This property makes it easy to determine the limit of a function at a given point.

Examples

Example 1: Direct Substitution (Continuous Function)
  • Find limx2(x2+2x1)\lim_{x \to 2} (x^2 + 2x - 1).
  • lim<em>x2(x2+2x1)=lim</em>x2x2+lim<em>x22xlim</em>x21=22+2(2)1=4+41=7\lim<em>{x \to 2} (x^2 + 2x - 1) = \lim</em>{x \to 2} x^2 + \lim<em>{x \to 2} 2x - \lim</em>{x \to 2} 1 = 2^2 + 2(2) - 1 = 4 + 4 - 1 = 7
  • Direct substitution works because the function is a polynomial, and polynomials are continuous.
Example 2: Indeterminate Form (Not Continuous)
  • Find limx2x24x2\lim_{x \to 2} \frac{x^2 - 4}{x - 2}.
  • Direct substitution leads to 00\frac{0}{0}, which is not well-defined.
  • Factorize: x24x2=(x+2)(x2)x2=x+2\frac{x^2 - 4}{x - 2} = \frac{(x + 2)(x - 2)}{x - 2} = x + 2
  • limx2(x+2)=2+2=4\lim_{x \to 2} (x + 2) = 2 + 2 = 4
  • The function y=x24x2y = \frac{x^2 - 4}{x - 2} corresponds to a line with a hole at x=2x = 2. The limit exists and is equal to 44, but the function is undefined at x=2x = 2. This function is not continuous.

Continuity at a Point

  • A function ff is continuous at a point aa if limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a).
  • Conditions for continuity at a point aa:
    • f(a)f(a) must be defined (i.e., aa must be in the domain of ff).
    • limxaf(x)\lim_{x \to a} f(x) must exist (the left-hand limit and right-hand limit must be equal).
    • limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a)
Examples of Discontinuity
  • Condition 1 fails: f(x)=1xf(x) = \frac{1}{x} is not continuous at x=0x = 0 because f(0)f(0) is not defined.
  • Condition 2 fails:
    f(x) = \begin{cases}
    -1, & x \leq 0 \
    1, & x > 0
    \end{cases}
    is not continuous at x=0x = 0 because lim<em>x0f(x)=1\lim<em>{x \to 0^-} f(x) = -1 and lim</em>x0+f(x)=1\lim</em>{x \to 0^+} f(x) = 1, so the limit does not exist.
  • Condition 3 fails: Let lim<em>x2f(x)=lim</em>x2x24x2=4\lim<em>{x \to 2} f(x) = \lim</em>{x \to 2} \frac{x^2 - 4}{x - 2} = 4. If we define f(2)=2f(2) = 2, then limx2f(x)f(2)\lim_{x \to 2} f(x) \neq f(2), so ff is not continuous at x=2x = 2.
Example of Continuity
  • f(x)=xf(x) = x is continuous at x=2x = 2 because limx2x=2=f(2)\lim_{x \to 2} x = 2 = f(2).

Continuity in a Domain

  • A function ff is continuous on an open domain if ff is continuous at every point in that domain (e.g., an open interval (A,B)(A, B)).

Properties of Continuous Functions

  • Every polynomial is continuous over all real numbers.
  • Any rational function is continuous over its domain.
  • f(x)=xnf(x) = \sqrt[n]{x} is continuous over [0,)[0, \infty) if nn is a positive integer and continuous over all real numbers if nn is an odd positive integer.
  • Exponential, sine, and cosine functions are continuous over all real numbers.
  • The logarithmic function is continuous over all positive real numbers.

Combination of Functions

  • If ff and gg are continuous at aa, then:
    • f+gf + g is continuous at aa.
    • cfcf is continuous at aa (where cc is a constant).
    • fgfg is continuous at aa.
    • fg\frac{f}{g} is continuous at aa provided that g(a)0g(a) \neq 0.
  • If gg is continuous at aa and ff is continuous at g(a)g(a), then f(g(x))f(g(x)) is continuous at aa.
Examples
  • If f(x)=exf(x) = e^x and g(x)=lnxg(x) = \ln x, then for x(0,)x \in (0, \infty), h(x)=ex+lnxh(x) = e^x + \ln x is continuous.
  • If f(x)=sinxf(x) = \sin x and g(x)=exg(x) = e^x, then g(f(x))=esinxg(f(x)) = e^{\sin x} is continuous at x=π2x = \frac{\pi}{2}.
Piecewise Functions
  • Consider V(t) = \begin{cases}
    \frac{t^2 + 3t - 10}{t - 2}, & t \neq 2 \
    7, & t = 2
    \end{cases}
  • For t2t \neq 2, V(t)=t2+3t10t2V(t) = \frac{t^2 + 3t - 10}{t - 2} is a rational function and continuous in its largest domain of all real numbers except 22.
  • To check if V(t)V(t) is continuous overall, we need to determine if its continuous at t=2t=2.
  • Then lim<em>t2V(t)=lim</em>t2t2+3t10t2=lim<em>t2(t+5)(t2)t2=lim</em>t2(t+5)=2+5=7=V(2)\lim<em>{t \to 2} V(t) = \lim</em>{t \to 2} \frac{t^2 + 3t - 10}{t - 2} = \lim<em>{t \to 2} \frac{(t + 5)(t - 2)}{t - 2} = \lim</em>{t \to 2} (t + 5) = 2 + 5 = 7 = V(2)
  • Since limt2V(t)=V(2)\lim_{t \to 2} V(t) = V(2), V(t)V(t) is continuous at t=2t = 2 and therefore continuous for all real numbers.

More on Continuity

  • Despite these conditions, there are simple functions that are not continuous at all points.
  • Conversely, there are examples of continuous functions that may not seem to be continuous at first sight but are continuous given the above definition.
  • If f(x)=1xf(x) = \frac{1}{x}, the maximal domain is all real numbers except 0, and ff is continuous at every point in its maximal domain.
  • Consider
    g(x) = \begin{cases}
    x \ln |x|, & x \neq 0 \
    0, & x = 0
    \end{cases}
  • Which can be expressed as:
    g(x)={<br/>xlnx,amp;x<0 0,x=0 xlnx,x>0<br/>g(x) = \begin{cases}<br /> x \ln -x, &amp; x < 0 \ 0, & x = 0 \ x \ln x, & x > 0<br /> \end{cases}
  • From the graph, we can observe that limx0g(x)=0=g(0)\lim_{x \to 0} g(x) = 0 = g(0). However, to find the limit analytically, we need more advanced calculus principles like L'Hopital's Rule (which will be seen in calculus II).
  • From the graph, we can observe that g(x)g(x) is continuous for every point on its domain (all real numbers).

Intermediate Value Theorem (IVT)

  • If ff is a continuous function on a closed interval [a,b][a, b] and f<em>0f<em>0 is any value between f(a)f(a) and f(b)f(b), then there exists a value cc in the open interval (a,b)(a, b) such that f(c)=f</em>0f(c) = f</em>0.
  • The main condition for IVT to apply is that the function must be continuous on the closed interval.
Application of IVT
  • Show that there is a number xx such that x=x31x = x^3 - 1.
  • Define f(x)=x31xf(x) = x^3 - 1 - x and consider the domain [1,2][1, 2].
  • Note that f(1)=1311=1f(1) = 1^3 - 1 - 1 = -1 and f(2)=2312=5f(2) = 2^3 - 1 - 2 = 5.
  • Since ff is a polynomial function it is continuous.
  • By the IVT, since there exists a value y=0 between f(1)f(1) and f(2)f(2), there exists an x<em>0x<em>0 between 11 and 22 such that f(x</em>0)=0f(x</em>0) = 0.
  • Since substituting x<em>0x<em>0 for $f(x), x</em>031x<em>0=0x</em>0^3 - 1 - x<em>0 = 0, that means x</em>0=x031x</em>0 = x_0^3 - 1 .
  • We have shown that x<em>0x<em>0 satisfies the conditions that x</em>0=x031x</em>0 = x_0^3 - 1 , with additional proof show that the point exists between 1 and 2.
  • The domain can be further reduced. For instance, you can further proceed the algorithm to take the interval, say, [1 ; 1.5] and reapply the method.

Determining Continuity From a Graph

Final examples
  • Based on a function's graph:
    • If the function is not defined at that point on its domain, then it is not continuous at that point (e.g., a hole in a graph).
    • If the limit does not exist at the point, then the function is not continuous at that point (e.g., different limits when approaching from the left and right, or an asymptote in the graph.
    • Even if the graph looks continuous, the function may not be continuous if there is not clear values to compare the limit to. More tests may need to take place.
    • If the limit when x approaches two of the function in x is the value of the function evaluated at the same point, then the function is continuous.
  • Then list all of the functions on the domain R that are continuous at said points, and which are only continuous on a small subset of it.