MATH103 for Engineering: Lecture #8 Summary

This lecture continues Chapter 2 of MATH103 for Engineering, focusing on the applications of limits: continuity of functions.


Chapter 2: Applications of Limits: Continuity of Functions

Continuity at a Point

Definition:

Continuity Test

A function $f(x)$ is continuous at $x=c$ if and only if it meets the following three conditions:

  1. $f(c)$ exists (c lies in the domain of f)
  2. $lim_{x\rightarrow c}f(x)$ exists (f has a limit as $x\rightarrow c$)
  3. $lim_{x\rightarrow c}f(x)=f(c)$ (the limit equals the function value)

Example: Computational Example

Discuss the continuity of the function $f(x)=e^{-|x|}$ at the point $x=0$.

Solution: The given function can be redefined as: $f(x)=e^{-|x|}=\begin{cases}e^{x},&if~x<0\\ e^{-x},&if~x\ge0\end{cases}$

At $x=0$, we test the three conditions of continuity:

  1. $f(0)=e^{0}=1$, by the definition of the function.
  2. We study the limit of the function as x approaches 0: $lim_{x\rightarrow0^{-}}f(x)=lim_{x\rightarrow0^{-}}e^{x}=1,$ $lim_{x\rightarrow0^{+}}f(x)=lim_{x\rightarrow0^{+}}e^{-x}=1$ $\Rightarrow lim_{x\rightarrow0}f(x)=1$
  3. Since $lim_{x\rightarrow0}f(x)=1=f(0),$ it follows that $f(x)$ is continuous at $x=0$.


Relation between Limits and Continuity

A function is not continuous at a point $x=a,$ if one of the following happens:

Graphical Example:

Discuss all types of limits for the shown function at the points 0, 1, 2, 3, and 4.

The graph illustrates various scenarios:


Types of Discontinuities

(1) Removable Discontinuity

A function $f$ is said to have a removable discontinuity at a point $x=a$, if the limit of $f$ exists as $x$ tends to $a$, such that either $f$ is not defined at $x=a$ or defined differently.

Examples of Removable Discontinuities at $x=0$:

(2) Jump Discontinuity

A function has a jump discontinuity at a point $x=a$, if both the left limit and the right limit at $x=a$ exist but they are not equal.

Example: $f(x)=\begin{cases}0,&x<0\\ 1,&x\ge0\end{cases}$ At $x=0$, $lim_{x\rightarrow0^{-}}f(x)=0$ and $lim_{x\rightarrow0^{+}}f(x)=1$. Since these are not equal, $f(x)$ has a jump discontinuity at $x=0$.

Exercise: Discuss the continuity of: $f(x)=\frac{|x|}{x}$ at $x=0$.

(3) Infinite Discontinuity

A function has an infinite discontinuity at a point $x=a$, if at least one of the left or right sided limits (or both) at $x=a$ equals $\pm\infty$.

Example: $g(x)=\frac{1}{(x+3)^{2}}$ At $x=-3$, $lim_{x\rightarrow-3}\frac{1}{(x+3)^{2}}=lim_{x\rightarrow-3^{\prime}}\frac{1}{(x+3)^{2}}=\infty$. Thus, $g(x)$ has an infinite discontinuity at $x=-3$.

Another Example: $f(x)=[\begin{matrix}1,&x\le0\\ \frac{1}{x},&x>0\end{matrix}]$ At $x=0$, $lim_{x\rightarrow0^{-}}f(x)=1$ and $lim_{x\rightarrow0^{+}}f(x)=\infty$. Thus, $f(x)$ has an infinite discontinuity at $x=0$.

Exercise: Discuss the continuity of: $f(x)=\frac{1}{x+5}$ at $x=-5$.


Summary of the Types of Discontinuities


Continuity on a Domain

A function is continuous on a closed interval $[a, b]$ if it is continuous at all interior points as well as continuous at the two-end points $a, b$.

This involves understanding continuity from the right at the left endpoint ($a$), two-sided continuity at interior points ($c$), and continuity from the left at the right endpoint ($b$).

Example:

Discuss continuity of the shown function on the closed interval $[0, 4]$.

The figure illustrates a function that is continuous on $[0, 4]$ except at $x=1$, $x=2$, and $x=4$.


Properties of Continuous Functions

If the functions $f$ and $g$ are continuous at $x=c$, then the following combinations are continuous at $x=c$:

  1. Sums: $f+g$
  2. Differences: $f-g$
  3. Products: $f \cdot g$
  4. Constant multiples: $k \cdot f$, for any number $k$
  5. Quotients: $f/g$ provided $g(c) \ne 0$
  6. Powers: $f^{r/s}$, provided it is defined on an open interval containing $c$, where $r$ and $s$ are integers

Any polynomial function is continuous on $\mathfrak{R}$ (the whole real line).

Theorem 10: Composite of Continuous Functions

If $f$ is continuous at $c$ and $g$ is continuous at $f(c)$, then the composite $g \circ f$ is continuous at $c$.

Example: Discuss the continuity of each of the following functions on its domain:

Consider a rational function, for instance, $f(x) = \frac{polynomial_1}{polynomial_2}$.

Solution:

  1. On $]-\infty, -3[$ and on $]-3, \infty[$, the function is a quotient of two polynomials, so it is continuous.
  2. At $x = -3$, we examine the three conditions of continuity at a point. If, for example, $f(-3) = -5$, it is defined.
  3. From the above, we can conclude that $f$ is continuous on $\mathfrak{R}-\{-3\}$.

Computational exercise:

For what value of the constant $c$ is the function $f(x)$ continuous for all values of $x$? Example: $c = \frac{1}{3}$.

Challenging problem:

This function is continuous for all real values of $x$.


The Intermediate Value Theorem (I.V.T.)

Notice that we can have more than one value of $c$.

Importance of the continuity of the function: The opposite figure shows that if the function is discontinuous at at least one point, then the conclusion of the theorem may be false.

Important Application: “Corollary of the I.V.T.”

If $f(x)$ is:

  1. continuous on $[a, b]$, and
  2. $f(a)$ and $f(b)$ have different signs.
Then, there is at least one point $c$ in $]a, b[$ for which $f(c) = 0$.

Example:

Show that the equation: $x^3 – x – 1 = 0$ has at least one solution between $x = 1$ and $x = 2$.

Solution: Let $f(x) = x^3 – x – 1$. It is clear that $f$ is continuous on the interval $[1, 2]$. Also, $f(1) = -1 < 0$ and $f(2) = 5 > 0$. Therefore, by using the above corollary, the equation $x^3 – x – 1 = 0$ has at least one solution between $x = 1$ and $x = 2$.

Practical problem:

Use the intermediate value theorem to show that among all circles with radius no larger than 10 cm., there is one whose area is $200cm^2$.

Solution: The area $A(r)$ of a circle with radius $r$ is given by $A(r) = \pi r^2$. Since $A(r)$ is a continuous function on the interval $[0, 10]$ and for $r = 0$, $A(r) = 0$, and for $r = 10$, $A(r) = 100\pi \approx 314$. Since $200$ lies between $0$ and $314$, by the intermediate value theorem, there is an $r$ between $0$ and $10$ such that $A(r) = 200$.

Thank you