Calculus 1, Lectures 8A through 11
Graphs with holes (missing points) might seem like anomalies — like they are mere curiosities hardly worth studying. However, they arise at the heart of differential calculus.
The limit definition of the derivative leads naturally to consideration of a function whose graph has a hole in it. Suppose is a function defined at and near a number . The derivative of at is a number written as . It is defined by the following limit definition, when it exists:
Since the number is fixed, the expression defines a function of the variable . Since is called a difference quotient, it makes sense for us to call this function and write .
Because is defined near the number , it follows that is defined near the number . However, take care to note that is technically undefined at . We say that is defined on a “deleted neighborhood” of .
This does not necessarily mean that the graph of has a hole in it at . But we will see by considering examples that it “typically” does have a hole.
As usual, I start by giving short summaries of some of my calculus lectures at Bethel University in the fall of 2019. After that, I will delve into the main topic of this blog post, which are the typical examples alluded to in the previous paragraph.
Lectures 8A and 8B
I provide a whirlwind tour of various special functions and their graphs in Lectures 8A and 8B. I consider sinusoidal functions, inverse trigonometric functions, polynomial functions, and power functions in Lecture 8A.
Statistical data modeling is a fundamental part of data science. I take data about daylight length in Minneapolis, Minnesota in 2019 and model it with a sinusoidal function. I note that while a sinusoidal function does a pretty good job in modeling the data, it is not completely ideal because the residuals have a pattern. It is more ideal for residuals to be randomly distributed numbers centered on zero.
Next, I review the graphs of inverse trigonometric functions. Finally, I discuss graphs and properties of polynomial and power functions.
Removable Discontinuities (“Holes”) for Rational Functions
The main points of focus in Lecture 8B are power functions and rational functions. In fact, it is in the context of rational functions that I first discuss functions with holes in their graphs. These holes correspond to discontinuities that I describe as “removable”. The phrase “removable discontinuity” does in fact have an official definition.
For rational functions, removable discontinuities arise when the numerator and denominator have common factors which can be completely canceled. For instance, the example I consider in the lecture is . I factor the numerator and denominator to get .
Hence, after factoring, it follows that . But this formula only is true when . If , the original formula is undefined. On the other hand, the simplified formula is defined at .
In fact, the simplified function is continuous at . Therefore the original function must have a hole in its graph at . This graph is shown below.
What are the coordinates of the missing point? The first coordinate is certainly . The second coordinate is the value of the simplified formula at . This value is . The is the same as the limit of this function as approaches 4.
The precise definition of a limit, which is discussed in Lectures 9 and 10 below, guarantees the existence of the limit of this function as approaches 4.
Lectures 9A and 9B
In these lectures, the limit definition is illustrated, first through examples, and then through a precise definition and proof.
Rational Function Examples with Holes and a Jump Discontinuity Example
I look at a three rational function examples with removable discontinuities in Lecture 9A. In addition, I explore the limit of as .
For each of the rational functions I consider, a common factor of the form is completely canceled. Because of this, in spite of the fact that these functions are undefined at , the limit exists. There are no vertical asymptotes at these points.
Limits as are also discussed. The key to discovering these limits is based on the relative sizes of the degrees of the numerator (top) and denominator (bottom) of the given rational function.
If the degree of the numerator is larger than the degree of the denominator, then there are no horizontal asymptotes. Polynomial long division must then be done to find any slant asymptotes or curved asymptotes.
If the degree of the numerator is equal to the degree of the denominator, then a horizontal asymptote occurs at , where is the ratio of the coefficients of the highest powers of in the numerator and denominator.
Finally, if the degree of the numerator is smaller than the degree of the denominator, then there is a horizontal asymptote at (the -axis).
On the other hand, the function has a “jump discontinuity” at . Its output is when . But its output is when . Therefore, the one-sided limits are different. The right-hand limit is . But the left-hand limit is . Hence, the two-sided limit does not exist. This is because the two-sided limit will exist if and only if the one-sided limits exist and are equal.
Precise Limit Definition and a Proof
In Lecture 9B, I give the precise (rigorous) definition of a limit and use it in a proof. Before doing these things, I also explore the graph of the “floor” (greatest integer) function . This function is usually denoted as on many calculators.
The precise definition of a limit is quite challenging to understand. If you don’t understand it at first, you are in good company. In fact, even Newton and Leibniz did not know about this definition in the late 1600’s and early 1700’s. Neither did the great mathematicians of the rest of the 1700’s. It took until the mid 1800’s for Cauchy and Weierstrass to truly nail this down.
Here it is in its full glory. Let be a function defined near , but not necessarily at (the graph might have a hole there). We say that if the following condition holds. For all numbers (no matter how small), there exists a number (chosen sufficiently small) so that if , then .
Understanding the Precise Limit Definition
When thinking about this definition, it is essential to draw graphs in various circumstances. It is also essential to realize that for any two numbers and , the quantity is the distance between and along a number line.
I discuss these things in Lecture 9B, along with doing an example proof based on this definition. Take the time to watch it carefully to help you understand it.
In Lectures 10A and 10B, I review the limit definition above and include a Mathematica animation. I also discuss how it is related to continuity and ultimately state the limit definition of the derivative.
The animation is shown below for , , and . As long as is sufficiently small, inputs between the blue lines will result in outputs between the red lines. This is equivalent to saying that if , then .
Lectures 10A, 10B, and 11
It is reasonably accurate to say that these three lectures form the cornerstones of differential calculus.
Before reviewing the precise definition of a limit in Lecture 10A, I spend some time discussing how rational functions arise in applications. In particular, I review the yield rate of a bond application from Lecture 6A (also see the post “Transformations of Functions”).
The precise limit definition is then reviewed, along with a Mathematica animation to illustrate it.
Continuous and Discontinuous Functions
Then continuity is explored. Once the definition of a limit has been established, the definition of continuity at a point is easy.
Let be a function defined both at and near a number . We say that is continuous at if . A function is then said to be continuous over its domain if it is continuous at every point (number) in its domain.
Ways a Function can be Discontinuous
Next, I explore ways that a function can be discontinuous at a point (number) . There are essentially three ways this can happen, though reason #1 could be considered to be somewhat “phony”.
- The function is undefined at .
- The function is defined at . But does not exist.
- The function is defined at and exists. But .
Reason #2 typically happens either because of a jump discontinuity or a vertical asymptote.
However, there is a more interesting way that it can happen. A function could oscillate infinitely often with a non-decaying amplitude as approaches . The most “famous” example of this is the function defined by when and . The graph of this function in a small window near is shown below.
Make sure you take the time to think about why the graph looks this way. See if you can give a rigorous argument for why there are infinitely many oscillations near .
Algebraic Properties of Limits and Continuous Functions and the Limit Definition of the Derivative
In Lecture 10B I talk about useful algebraic properties of limits and continuous functions. I also state the limit definition of the derivative.
Linearity of Limits and Continuity
Two algebraic properties go under the general description of “linearity”. Linearity is often considered to be a property of certain physical systems. However, it has a mathematical description as well.
For example, the following linearity equation is true, assuming all the limits exist. In words, it says that the limit of a linear combination of functions is the corresponding linear combination of their limits.
There is a corresponding linearity property regarding continuous functions, whose truth follows from the limit property above. That property is: if and are both continuous at and and are constants, then the function is also continuous at . Note that the function is defined by the equation .
The Limit Definition of the Derivative
The average rate of change of a function over an interval from to is . This represents the slope of the so-called secant line connecting the points and .
As gets closer and closer to zero, this becomes a rate of change over a smaller and smaller interval. Intuitively, as , it should approach the so-called instantaneous rate of change of at . This is the value of the derivative of as , denoted by . It also defines the slope of the tangent line to the graph of at the point .
We write the following equation, when the limit in question exists. As stated in the introduction, this is the limit definition of the derivative.
If is fixed and is thought of as a variable, then the difference quotient is a function of . Also as stated in the introduction, it is this function whose graph will typically have a hole in it at . Some examples will be explored below.
The Derivative of the Square Root Function and Review for Exam 1
The bulk of Lecture 11 is a review for Exam 1 for my class at Bethel University. Near the beginning, however, I take time to emphasize the superiority of the symbolic approach to derivatives compared to numerical and graphical approximations.
A Derivative of the Square Root Function
The function in question is and the point in question is . In this case, . The derivative we are after is . This limit is, by definition, the slope of the tangent line to the graph of at the point .
On a “wide” window, the difference quotient function looks fairly “ordinary”, and would seem to have just an ordinary hole in its graph at . From this picture, it seems that . This is indeed true, but the second graph below will throw our minds into doubt about this.
The next graph shows a Mathematica-drawn picture of this function on a window that is very close to zero. Numerical error causes this graph to seem jagged. It is not truly jagged like this seems to imply. Also notice that the outputs are so close to 0.25 that Mathematica is relabeling that number at various points along the vertical axis. Something definitely seems wrong here.
The Symbolic Approach is Superior
A symbolic approach to proving that dispels the confusion caused by the graph above. However, the computation involves a trick that is not obvious. We must rationalize the numerator of the fraction defining .
Here is the calculation. The equality of the expressions and when is required to say the limits are the same (assuming they exist). The continuity of the expression at is required to do the final substitution.
More Examples
Let’s end now by considering a couple more examples to illustrate the main point. The main point is that usually has a hole in its graph at . In other words, it has a removable discontinuity because exists. This is equivalent to the derivative existing.
In these examples, nothing too strange goes on when technology is used to graph .
A Derivative of the Cubing Function
Let . What is ? Let’s first compute and simplify . Here is the relevant calculation.
The last equality is true as long as . Therefore, as functions of , the graph of is the same as the graph of except when .
Hence, the graph of is a parabola with a point missing, as shown below.
The derivative in question is .
A Derivative of the Reciprocal Function
Let . What is ? Let’s first compute and simplify . Here is the relevant calculation.
The last equality is true as long as . Therefore, as functions of , the graph of is the same as the graph of except when .
Hence, the graph of is the one shown below with a point missing.
The derivative in question is
.