π Lecture 8 β Graphs of Functions
π Overview: This lecture explains how to represent functions graphically and visualize their behavior. It covers how to use graphs of simple functions to construct graphs of more complicated functions through translations, reflections, and scaling, culminating in the vertical line test to determine if a graph represents a function.
ποΈ Topics Covered
The lecture begins by defining the graph of a function as the graph of the equation y = f(x), with examples including linear and piecewise functions like the absolute value. It then explores graphing functions by translations (shifting up, down, left, right) and reflections about axes, followed by vertical scaling. The lecture concludes with the vertical line test, a critical tool for identifying function graphs.
π Lecture Summary
Definition of Graph of a function
A graph of an equation is just the points on the xy-plane that satisfy the equation. Similarly, the graph of a Function f in the xy-plane is the GRAPH of the equation y = f(x).
π Definition β Graph of a function: The set of all points (x, y) in the xy-plane that satisfy the equation y = f(x).
π Example: Sketch the graph of f(x) = x + 2. By definition, the graph of f is the graph of y = x + 2. This is just a line with y-intercept 2 and slope 1.
π Example: Sketch the graph of f(x) = |x|. The graph will be that of y = |x|. The absolute value function is PIECEWISE defined as: y = |x| = { x if x β₯ 0; -x if x < 0 } The top part is the function y = f(x) = x, a straight line through the origin with slope 1, but only defined for x β₯ 0. y = -x is a straight line through the origin with slope -1 but defined only for x < 0.
π Example: t(x) = (xΒ² - 4)/(x - 2) This is the same as t(x) = x + 2, x β 2. The graph will be of y = x + 2, x β 2. t(x) is the same as in example 1, except that 2 is not part of the domain, which means there is no y value corresponding to x = 2. So there is a HOLE in the graph.
π Example: g(x) = {1 if x β€ 2; x + 2 if x > 2} For x is less than or equal to 2, the graph is just at y = 1 (a straight line with slope 0). For x is greater than 2, the graph is the line x + 2.
Graphing functions by Translations
If the graph of f(x) is known, we can find the graphs of y = f(x) + c, y = f(x) - c, y = f(x + c), y = f(x - c), where c is any POSITIVE constant.
- If a positive constant c is added to f(x), the geometric effect is the translation of the graph of y=f(x) UP by c units.
- If a positive constant c is subtracted from f(x), the geometric effect is the translation of the graph of y=f(x) DOWN by c units.
- If a positive constant c is added to the independent variable x of f(x), the geometric effect is the translation of the graph of y=f(x) LEFT by c units.
- If a positive constant c is subtracted from the independent variable x of f(x), the geometric effect is the translation of the graph of y=f(x) RIGHT by c units.
π Example: Sketch the graph of y = f(x) = β(x - 3) + 2. This graph can be obtained by two translations:
- Translate the graph of y = βx 3 units to the RIGHT to get the graph of y = β(x - 3).
- Translate the graph of y = β(x - 3) 2 units UP to get the graph of y = f(x) = β(x - 3) + 2.
π Example: Sketch graph of y = xΒ² - 4x + 5 by completing the square. Complete the square: Divide the co-efficient of x by 2 (which is -4/2 = -2), square this result (4) and add to both sides of the equation. y + 4 = (xΒ² - 4x + 5) + 4 y = (xΒ² - 4x + 4) + 5 - 4 y = (x - 2)Β² + 1 To graph this:
- Graph y = xΒ².
- Shift it RIGHT by 2 units to get graph of y = (x - 2)Β².
- Shift this UP by 1 Unit to get y = (x - 2)Β² + 1.
Reflections
- (-x, y) is the reflection of (x, y) about the y-axis.
- (x, -y) is the reflection of (x, y) about the x-axis.
- Graphs of y = f(x) and y = f(-x) are reflections of one another about the y-axis.
- Graphs of y = f(x) and y = -f(x) are reflections of one another about the x-axis.
π Example: Sketch the graph of y = Β³β(2 - x). We can get the graph by REFLECTION and TRANSLATION:
- First graph y = Β³βx.
- Reflect it about the y-axis to get graph of y = Β³β(-x). (Negative numbers HAVE cube roots.)
- Translate this graph RIGHT by 2 units to get graph of y = Β³β(2 - x) = Β³β(-(x - 2)).
Scaling
If f(x) is MULTIPLIED by a POSITIVE constant c, then the following geometric effects take place:
- The graph of f(x) is COMPRESSED vertically if 0 < c < 1.
- The graph of f(x) is STRETCHED vertically if c > 1.
- This is called VERTICAL Scaling by a factor of c.
π Example: y = 2 sin(x), y = sin(x), y = (1/2) sin(x). Using c = 2 and c = 1/2 produces corresponding graphs with appropriate VERTICAL SCALINGS.
Vertical Line Test
So far we have started with a function equation and drawn its graph. But not every curve or graph in the xy-plane is that of a function.
π Example: A graph which is not the graph of a function: If you draw a VERTICAL line through the point x = a, the line crosses the graph in two points with y values y = b, y = c, giving points (a, b) and (a, c). This cannot be a function by the definition of a function.
π Definition β VERTICAL LINE TEST: A graph in the plane is the graph of a function if and only if NO VERTICAL line intersects the graph more than once.
π Example: xΒ² + yΒ² = 25 The graph of this equation is a CIRCLE. Various vertical lines cross the graph in more than 2 places. So the graph is not that of a function, which means that equations of circles are not functions (x as a function of y). π‘ Why this matters: A given graph can be a function with y independent and x dependent. This would happen if the graph passes the HORIZONTAL LINE test (for each y, there can be only one x). Also, y = xΒ² gives g(y) = x = Β±βy, so for each x, two y's, and it's not a function in y.
β Key Takeaways
The graph of a function f is the set of all points (x, y) satisfying y = f(x). You must master translating graphs by adding constants to the function (shifts up/down) or to the input variable (shifts left/right) and reflecting graphs across axes. The vertical line test is the definitive method to determine if a given graph represents a function: if any vertical line intersects the graph more than once, it is not a function. Piecewise functions, such as the absolute value function, require careful graphing of each piece over its specified domain.
π§ Quick Revision Questions
- How do you obtain the graph of y = f(x - 3) + 2 from the graph of y = f(x)?
- What is the vertical line test, and why is it used?
- For a positive constant c, what is the geometric effect of adding c to the independent variable x of f(x)?
- How does the graph of y = -f(x) relate to the graph of y = f(x)?
- What happens to the graph of f(x) when it is multiplied by a positive constant c where 0 < c < 1?
π Lecture 9 β Limits
π Overview: This lecture introduces the fundamental concept of limits in calculus, motivated by two classic problems: finding the area under a curve and finding tangent lines. It explains how limits provide a precise foundation for both differential and integral calculus, covering definitions, notations, and cases where limits fail to exist.
ποΈ Topics Covered
The lecture begins with the area problem and tangent line problem as motivations for calculus, then explores how limits define tangent lines through secant lines and how limits define area through rectangular approximations. It covers the concept of limits in detail, including left-hand and right-hand limits, numerical evaluation, and cases where limits do not exist due to oscillations or unbounded behavior, concluding with limits at infinity.
π Lecture Summary
AREA PROBLEM
Given a function f, find the area between the graph of f and the interval [a, b] on the x-axis. The calculus that comes out of the tangent problem is called DIFFERENTIAL CALCULUS, and the calculus that comes out of the area problem is called INTEGRAL CALCULUS. Both are closely related, and the precise definition of "tangent" and "area" depends on the more fundamental notion of LIMIT.
Tangent Lines and LIMITS
In geometry, a line is called tangent to a circle if it meets the circle at exactly one point. However, this definition does not work for all curves. Consider a point P on a curve in the xy-plane. Let Q be another point on the curve. Draw a line through P and Q to get what is called the SECANT line for the curve. Now move point Q toward P. The secant line will rotate to a "limiting" position as Q gets closer and closer to P. The line that occupies this limiting position is called the TANGENT line at P.
π Definition β Secant Line: A line through two points P and Q on a curve. π Definition β Tangent Line: The limiting position of the secant line as Q approaches P.
Area as a LIMIT
For most geometric shapes, the area can be found by subdividing the shape into finitely many rectangles and triangles. However, some regions cannot be broken into rectangles and triangles that will fill up the area between the curve and the interval [a, b] on the x-axis. Instead, we use rectangles to APPROXIMATE the area. We use same-width rectangles and add their areas. If we let the number of rectangles increase, the approximation becomes better, and the result is obtained as a LIMITING value as the number of rectangles increases.
LIMITS
Limits are a way to study the behavior of the y-values of a function in response to the x-values as they approach some number or go to infinity.
EXAMPLE Consider f(x) = sin(x)/x where x is in radians. Remember that Ο radians = 180 degrees. f(x) is not defined at x = 0. What happens as x gets very close to 0? We can approach 0 from the left (negative x-axis) and from the right (positive x-axis).
We write:
- lim (xβ0βΊ) sin(x)/x means "the limit of f(x) as x approaches 0 from the right" β called the RIGHT HAND LIMIT
- lim (xβ0β») sin(x)/x means "the limit of f(x) as x approaches 0 from the left" β called the LEFT HAND LIMIT
The tables show that as x approaches 0 from both sides, f(x) approaches 1. We write this as:
- lim (xβ0βΊ) sin(x)/x = 1
- lim (xβ0β») sin(x)/x = 1
When both the left hand and right hand limits match, we say that the LIMIT exists. We write this as:
- lim (xβ0) sin(x)/x = 1
In general, we write the limit as x approaches xβ as: x β xβ
π Definition β Limit exists: When the left-hand limit and right-hand limit are equal.
π‘ Why this matters: The existence of a limit at a point does not require the function to be defined at that point; it only requires the function values to approach a single value from both sides.
TABLE of Limit Notations and situations
| Symbol | Meaning |
|---|---|
| x β xββΊ | x approaches xβ from the right |
| x β xββ» | x approaches xβ from the left |
| x β xβ | x approaches xβ from both sides (two-sided limit) |
Numerical evidence for calculating limits can mislead
EXAMPLE Find lim (xβ0) sin(Ο/x). The table shows values of f(x) for various x, suggesting the limit is 0. However, the graph has NO LIMITING VALUE as it OSCILLATES between 1 and -1.
Existence of Limits
Functions don't always have a limit as x approaches some number. If this is the case, we say LIMIT DOES NOT EXIST OR DNE. Limits fail for many reasons, but usual culprits are:
- Oscillations
- Unbounded Increase or Decrease
Example 1 β Unbounded Increase: When the values of f(x) = y increase without bound from both the left and the right:
- lim (xβxββΊ) f(x) = lim (xβxββ») f(x) = lim (xβxβ) f(x) = +β
- The +β classifies the DNE as caused by unbounded-ness towards +β. It is NOT A NUMBER.
Example 2 β Unbounded Decrease: When the values of f(x) = y decrease without bound from both the left and the right:
- lim (xβxββΊ) f(x) = lim (xβxββ») f(x) = lim (xβxβ) f(x) = -β
- The -β classifies the DNE as caused by unbounded-ness towards -β. It is NOT A NUMBER.
Example 3 β One-sided limits don't match:
- lim (xβxββΊ) f(x) = +β and lim (xβxββ») f(x) = -β
- The two-sided limits don't match, so the limit does not exist.
Limits at Infinity
So far we saw limits as x approaches some point xβ. Now we see limits as x goes to +β or -β.
Example:
- lim (xβxββΊ) f(x) = 4 and lim (xβxββ») f(x) = -1
Note that when we find limits at infinity, we only do it from one side. The reason is that you can approach infinity from only one side! x β β means x gets bigger and bigger, and x can do that only from one side depending on whether it goes to +β or -β.
Example: For a function where the graph oscillates as x β +β, if the oscillations decrease and settle down on y = -2, then the limit at infinity is -2.
π Definition β Limit at Infinity: The value that f(x) approaches as x increases or decreases without bound.
β Key Takeaways
The concept of a limit is foundational to calculus, defining both tangent lines (through secant lines approaching a limiting position) and areas (through rectangular approximations approaching a limiting value). A limit exists only when the left-hand and right-hand limits are equal; symbols like +β and -β are used to classify the type of failure when limits do not exist due to unbounded behavior. Functions can fail to have limits due to oscillations or unbounded increase/decrease, and numerical evidence can sometimes be misleading, as in the case of sin(Ο/x). In limits at infinity, we only approach from one side because infinity itself can only be approached from one direction.
π§ Quick Revision Questions
- What is the definition of a tangent line using the limit concept?
- How do we use rectangles to approximate area under a curve, and what role does the limit play?
- What condition must be satisfied for a two-sided limit to exist at a point xβ?
- Why can numerical evidence for limits sometimes be misleading? Give an example from the lecture.
- For limits at infinity, why do we only consider one-sided limits?
π Lecture 10 β Limits and Computational Techniques
π Overview: This lecture focuses on algebraic techniques for finding limits, moving beyond the graphical approach of the previous lecture. It introduces a theorem for computing limits of combined functions and applies it to polynomials and rational functions. The lecture also covers limits involving the function 1/x and limits of polynomials as x approaches positive and negative infinity.
ποΈ Topics Covered
The lecture begins with a table of limits for two basic functions (f(x)=k and g(x)=x), then introduces Theorem 2.5.1 for limit operations (sum, difference, product, quotient). It covers limits of polynomials and a theorem for direct substitution, limits involving 1/x, limits of polynomials as x approaches Β±infinity, and limits of rational functions as x approaches a finite number a and as x approaches Β±infinity, including cases with zero denominators.
π Lecture Summary
Limits of Two Basic Functions
We begin with a table of limits for two basic functions: f(x) = k, where k is a constant, and g(x) = x. The limit of a constant function as x approaches a is the constant itself, and the limit of the identity function g(x)=x as x approaches a is the value a. These serve as building blocks for more complex functions.
Theorem 2.5.1
Here we have a theorem that will help with computing limits. This theorem states that if Lβ = lim f(x) and Lβ = lim g(x) both exist, then: a) lim [f(x) + g(x)] = Lβ + Lβ (Limit of a sum is the sum of the limits) b) lim [f(x) - g(x)] = Lβ - Lβ (Limit of a difference is the difference of the limits) c) lim [f(x) Β· g(x)] = Lβ Β· Lβ (Limit of a product is the product of the limits) d) lim [f(x) / g(x)] = Lβ / Lβ, provided Lβ β 0 (Limit of a quotient is the quotient of the limits)
Parts a) and c) can be extended to any number of functions. For instance, lim [fβ(x) + fβ(x) + ... + fβ(x)] = lim fβ(x) + lim fβ(x) + ... + lim fβ(x). Also, if fβ = fβ = ... = fβ = f, then lim [f(x)]βΏ = [lim f(x)]βΏ. From this last result, we can say lim (xβΏ) = [lim x]βΏ = aβΏ as xβa. Another useful result is that a constant factor can be moved through a limit sign: lim [kΒ·g(x)] = k Β· lim g(x).
Limits of Polynomials
Polynomials are functions of the form f(x) = bβxβΏ + bβββxβΏβ»ΒΉ + ... + bβx + bβ. To find the limit of a polynomial as x approaches a number 'a', we can substitute the value 'a' directly into the polynomial.
Theorem 2.5.2 states that lim p(x) = p(a) as xβa. This is proven by applying Theorem 2.5.1 to the polynomial's terms.
π Example: Find lim (xΒ² - 4x + 3) as xβ5. Step 1: Apply the limit to each term: lim xΒ² - lim 4x + lim 3. Step 2: Use the constant factor rule: (lim x)Β² - 4 lim x + lim 3. Step 3: Substitute x=5: (5)Β² - 4(5) + 3 = 25 - 20 + 3 = 8.
Limits Involving 1/x
By looking at the graph of f(x) = 1/x, we get the following results:
- lim (1/x) = +β as xβ0βΊ
- lim (1/x) = -β as xβ0β»
- lim (1/x) = 0 as xβ+β
- lim (1/x) = 0 as xβ-β
For any real number a, the function g(x) = 1/(x - a) is a translation of f(x)=1/x, and its limits behave similarly near the point x=a.
π Definition β 1/x limit behavior: As x approaches 0 from the positive side, 1/x grows without bound in the positive direction (+β). As x approaches 0 from the negative side, 1/x grows without bound in the negative direction (-β). As x goes to positive or negative infinity, 1/x approaches 0.
Limits of Polynomials as x β +β and -β
For polynomials of the form xβΏ:
- lim xβΏ = +β as xβ+β for n=1, 2, 3, ...
- lim xβΏ = +β as xβ-β for n=2, 4, 6, ... (even powers)
- lim xβΏ = -β as xβ-β for n=1, 3, 5, ... (odd powers)
For the function 1/xβΏ (n positive integer):
- lim (1/xβΏ) = 0 as xβ+β
- lim (1/xβΏ) = 0 as xβ-β
π Example: lim (2xβ΅) = +β as xβ+β. lim (-7xβΆ) = -β as xβ+β.
As xβ+β or -β, the limit of a polynomial is determined by its highest power term. For p(x) = cβ + cβx + ... + cβxβΏ, lim p(x) = lim cβxβΏ as xβΒ±β. This is because factoring out xβΏ leaves all other terms approaching zero.
Limits of Rational Functions as x β a
A rational function is a function defined by the ratio of two polynomials. To find its limit as x approaches a, we can use part d) of Theorem 2.5.1: lim [f(x)/g(x)] = (lim f(x)) / (lim g(x)), provided lim g(x) β 0.
π Example 1: Find lim (5xΒ³ + 4) / (x - 3) as xβ2. Step 1: Apply the quotient rule: (lim 5xΒ³ + 4) / (lim x - 3). Step 2: Substitute x=2: (5(2)Β³ + 4) / (2 - 3) = (40 + 4) / (-1) = -44.
If both numerator and denominator approach 0 as xβa, they have a common factor of (x - a), which can be cancelled.
π Example 2: Find lim (xΒ² - 4) / (x - 2) as xβ2. Step 1: Factor the numerator: (x + 2)(x - 2) / (x - 2). Step 2: Cancel the common factor (x - 2): lim (x + 2) as xβ2. Step 3: Substitute x=2: 2 + 2 = 4. (Note: This is valid because the limit only considers values close to 2, not equal to 2.)
If the denominator's limit is 0 but the numerator's limit is not, the limit is Β±β. To determine the sign, analyze the sign of the function near the point 'a'.
π Example 3: Find lim (2 - x) / [(x - 4)(x + 2)] as xβ4βΊ. Step 1: As xβ4βΊ, the numerator (2 - x) approaches -2 (negative). Step 2: The denominator (x - 4)(x + 2): as xβ4βΊ, (x - 4) β 0βΊ (small positive), and (x + 2) β 6 (positive). So the denominator approaches 0 from the positive side. Step 3: A negative number divided by a small positive number gives a large negative number. Result: lim = -β as xβ4βΊ.
Limits of Rational Functions as x β +β and -β
To find limits of rational functions as xβΒ±β, divide the numerator and denominator by the highest power of x in the denominator.
π Example: Find lim (4xΒ² - x) / (2xΒ³ - 5) as xβ-β. Step 1: The highest power of x in the denominator is xΒ³. Divide both numerator and denominator by xΒ³. Step 2: This yields lim (4/x - 1/xΒ²) / (2 - 5/xΒ³). Step 3: As xβ-β, 4/x β 0, 1/xΒ² β 0, and 5/xΒ³ β 0. Step 4: The expression becomes 0 / 2 = 0.
π Quick Rule: For rational functions as xβΒ±β, the limit is determined by the ratio of the highest power terms: lim (cβxβΏ + ... ) / (dβxα΅ + ...) = lim (cβxβΏ) / (dβxα΅). If the degree of the numerator is less than the degree of the denominator (n < m), the limit is 0. If n = m, the limit is cβ/dβ. If n > m, the limit is Β±β.
π Example continued: Using the quick rule for lim (4xΒ² - x) / (2xΒ³ - 5) as xβ-β: the highest power in the numerator is xΒ², and in the denominator is xΒ³. The ratio is 4xΒ² / 2xΒ³ = 2/x, which approaches 0 as xβ-β. This matches the previous result.
β Key Takeaways
The core of this lecture is learning that the limit of a sum, difference, product, or quotient of functions can be broken down into the corresponding operations on their individual limits, provided those limits exist. A critical skill is recognizing when this theorem applies directly (e.g., for polynomials and many rational functions) and when algebraic manipulation is needed, such as factoring to cancel common factors when both numerator and denominator approach zero. For infinite limits, as x approaches a finite number, we must analyze the sign of the function to determine whether the limit is +β or -β, and as x approaches infinity, the highest power term dominates the behavior of a polynomial or rational function.
π§ Quick Revision Questions
- State the four parts of Theorem 2.5.1 for limit operations.
- What is the limit of the polynomial p(x) = 3xΒ² - 5x + 1 as x approaches 2?
- For the rational function f(x) = (xΒ² - 9) / (x - 3), what is the limit as x approaches 3?
- What is the limit of f(x) = 2xΒ³ - 5x as x approaches +β?
- Explain how to determine the limit of a rational function as x approaches +β by comparing the highest degree terms in the numerator and denominator.
π Lecture 11 β Limits: A Rigorous Approach
π Overview: This lecture moves beyond the intuitive understanding of limits to establish a formal mathematical definition. It introduces the epsilon-delta definition of a limit and explains how it rigorously captures the idea of βapproaching.β The lecture also covers left-hand and right-hand limits and uses the formal definition to prove limit statements and demonstrate when a limit does not exist.
ποΈ Topics Covered
This lecture begins by discussing the need for a formal definition of a limit, moving from the intuitive concept of βapproachesβ to a precise mathematical statement involving intervals. It defines a limit using epsilon (Ξ΅) and delta (Ξ΄), where Ξ΅ represents how close we want f(x) to be to L and Ξ΄ represents how close x must be to a. The lecture then demonstrates how to apply this definition to prove a simple linear limit and to prove that a piecewise function has no limit at a point, using a contradiction argument.
π Lecture Summary
Formal Definition of Limit
The lecture begins by stating that the concept of βapproachesβ has been intuitive so far and does not use the theory of real numbers. To formalize the limit (\lim_{x \to a} f(x) = L), the idea of intervals is introduced.
The formal statement is rephrased as: For any number Ξ΅ > 0, if we can find an open interval ((x_0, x_1)) on the x-axis containing the point a such that (L - \varepsilon < f(x) < L + \varepsilon) for each x in ((x_0, x_1)) except possibly (x = a), then (\lim_{x \to a} f(x) = L). So, f(x) is in the interval ((L - \varepsilon, L + \varepsilon)).
The symbol Ξ΅ is a small positive number that signifies βf(x) being as close to L as we want it to be.β For any such Ξ΅, we can find an interval on the x-axis that confines a. The inequality (L - \varepsilon < f(x) < L + \varepsilon) can be written as (|f(x) - L| < \varepsilon). The interval on the x-axis is represented as ((a - \delta, a) \cup (a, a + \delta)), which is the same as (0 < |x - a| < \delta). This Ξ΄ is the positive number we must find for any given Ξ΅.
π Definition β Epsilon-Delta Definition of Limit: (\lim_{x \to a} f(x) = L) means that for any (\varepsilon > 0), there exists a (\delta > 0) such that if (0 < |x - a| < \delta), then (|f(x) - L| < \varepsilon).
π Formula: (0 < |x - a| < \delta \Rightarrow |f(x) - L| < \varepsilon) β This means if x is within a distance of Ξ΄ from a (but not equal to a), then f(x) is within a distance of Ξ΅ from L. π‘ Why this matters: This is the rigorous foundation for all of calculus, replacing the vague notion of "approaches" with precise inequalities.
π Example: Find (\lim_{x \to 2}(3x - 5) = 1). Given any positive number Ξ΅, we need to find Ξ΄ such that (|(3x - 5) - 1| < \varepsilon) if (0 < |x - 2| < \delta). Here, f(x) = 3x - 5, L = 1, a = 2. We start with the condition on f(x): (|(3x - 5) - 1| < \varepsilon) This simplifies to (|3x - 6| < \varepsilon). Then, (|3(x - 2)| < \varepsilon). This gives (|3| \cdot |x - 2| < \varepsilon), so (3|x - 2| < \varepsilon). Therefore, (|x - 2| < \frac{\varepsilon}{3}). Now, we can choose Ξ΄ such that the second part of the statement is true. If we let (\delta = \frac{\varepsilon}{3}), then if (0 < |x - 2| < \delta = \frac{\varepsilon}{3}), the condition (|x - 2| < \frac{\varepsilon}{3}) is satisfied, which means the first part (|(3x - 5) - 1| < \varepsilon) is also true. Thus, we have proven that (\lim_{x \to 2}(3x - 5) = 1).
Left-hand and Right-hand Limits
This section uses the formal definition to show that a limit does not exist for a specific function.
π Example: Show that (\lim_{x \to 0} f(x)) does not exist, where (f(x) = \begin{cases} 1 & \text{if } x > 0 \ -1 & \text{if } x < 0 \end{cases}). We assume the limit exists and is L. Then for any Ξ΅ > 0, we can find Ξ΄ > 0 such that (|f(x) - L| < \varepsilon) if (0 < |x - 0| < \delta). In particular, if we take Ξ΅ = 1, there is a Ξ΄ > 0 such that (|f(x) - L| < 1) if (0 < |x| < \delta). But both (x = \frac{\delta}{2}) and (x = -\frac{\delta}{2}) satisfy the condition (0 < |x| < \delta). This gives us: (|f(\frac{\delta}{2}) - L| < 1) and (|f(-\frac{\delta}{2}) - L| < 1). Since (\frac{\delta}{2}) is positive, (f(\frac{\delta}{2}) = 1). Since (-\frac{\delta}{2}) is negative, (f(-\frac{\delta}{2}) = -1). So we get (|1 - L| < 1) and (|-1 - L| < 1). This means (0 < L < 2) from the first inequality, and (-2 < L < 0) from the second inequality. This is a contradiction because L cannot be between 0 and 2 and between -2 and 0 at the same time. Therefore, the limit does not exist.
β Key Takeaways
The epsilon-delta definition is the rigorous foundation for limits, replacing intuition with precise inequalities. The key is understanding Ξ΅ as the desired closeness of f(x) to L and Ξ΄ as the required closeness of x to a. For a limit to exist, for every Ξ΅ > 0 there must be a corresponding Ξ΄ > 0. The process of proving a limit involves working backwards from |f(x)-L| < Ξ΅ to find a suitable Ξ΄ in terms of Ξ΅. To prove a limit does not exist, one can assume it does and derive a contradiction using the formal definition.
π§ Quick Revision Questions
- What are the roles of Ξ΅ and Ξ΄ in the formal definition of a limit?
- Write the precise epsilon-delta definition for (\lim_{x \to a} f(x) = L).
- In the example proving (\lim_{x \to 2}(3x-5) = 1), what was the chosen Ξ΄ in terms of Ξ΅?
- Why does the limit of the piecewise function f(x) = {1 if x>0, -1 if x<0} not exist as xβ0?
- If for a given Ξ΅ you find a Ξ΄ that works, can any smaller Ξ΄ also work? Explain briefly.
π Lecture 12 β Continuity
π Overview: This lecture formally defines the concept of continuity of a function, building from graphical intuition to a rigorous mathematical definition using limits. It covers properties of continuous functions, continuity of polynomials and rational functions, continuity of compositions, and the crucial Intermediate Value Theorem (IVT) and its corollary for finding roots.
ποΈ Topics Covered
The lecture begins by identifying causes of discontinuity from a graph and gives the three-part mathematical definition of continuity at a point. It then proves that polynomials are continuous everywhere, checks continuity for piecewise functions like |x|, and lists algebraic properties of continuous functions (sum, difference, product, quotient). The lecture also addresses continuity of rational functions, compositions of continuous functions, left- and right-hand continuity for endpoints of closed intervals, and finally introduces and applies the Intermediate Value Theorem.
π Lecture Summary
CONTINUITY of a function becomes obvious from its graph
A curve is discontinuous at point c if f(x) is not defined there. A break or discontinuity in the graph of f(x) at x = c occurs when:
fis undefined atc.- The
lim f(x) as xβcdoes not exist. - The function is defined at
cand the limit exists, but the value off(x)and the value of the limit differ at the pointc.
Definition 2.7.1
A function f is continuous at a number c if the following three conditions are satisfied:
(a) f(c) is defined
(b) lim f(x) as xβc exists
(c) lim f(x) as xβc = f(c)
If any of these conditions fail, f is discontinuous at c, and c is called the point of discontinuity. If f is continuous at all points in an interval (a, b), we say f is continuous on (a, b). A function continuous on the interval (-β, +β) is called a continuous function.
π Definition β Continuous at a point: A function f is continuous at c if lim_(xβc) f(x) = f(c). This single equation implies conditions (a) and (b) are true.
π Example:
Consider f(x) = (xΒ² - 4)/(x - 2) and g(x) = { (xΒ² - 4)/(x - 2) if x β 2; 3 if x = 2 }.
f is discontinuous at x = 2 because f(2) is undefined.
g is discontinuous at x = 2 because lim_(xβ2) g(x) = lim_(xβ2) (x+2) = 4, but g(2) = 3. Since lim_(xβ2) g(x) β g(2), condition (c) of the definition fails.
π Example: Show that f(x) = xΒ² - 2x + 1 is a continuous function (i.e., continuous at all real numbers).
We must show that lim_(xβc) f(x) = f(c) for any real number c. Since f(x) is a polynomial, lim_(xβc) (xΒ² - 2x + 1) = cΒ² - 2c + 1 = f(c). The condition is met for all c, so f(x) is continuous.
Theorem 2.7.2
Polynomials are continuous functions.
Proof: If P is a polynomial and c is any real number, then by Theorem 2.5.2, lim_(xβc) p(x) = p(c). Since c is any real number, p(x) is continuous everywhere.
π Example: Show that f(x) = |x| is continuous.
Rewrite f(x) = |x| as a piecewise function: f(x) = { x if x β₯ 0; -x if x < 0 }.
- If
c β₯ 0:f(c) = c. The limitlim_(xβc) f(x) = lim_(xβc) x = c = f(c)(using the first piece asxapproaches a non-negativec). - If
c < 0:f(c) = -c. The limitlim_(xβc) f(x) = lim_(xβc) (-x) = -c = f(c)(using the second piece asxapproaches a negativec). In both cases,lim_(xβc) f(x) = f(c), so|x|is continuous.
Properties of Continuous Functions
Theorem 2.7.3: If functions f and g are continuous at c, then:
a) f + g is continuous at c
b) f β g is continuous at c
c) f . g is continuous at c
d) f/g is continuous at c if g(c) β 0 and is discontinuous at c if g(c) = 0
Proof (for product): Let f and g be continuous at c. Then lim_(xβc) f(x) = f(c) and lim_(xβc) g(x) = g(c). By limit rules, lim_(xβc) f(x)Β·g(x) = [lim_(xβc) f(x)][lim_(xβc) g(x)] = f(c)Β·g(c). Thus, fΒ·g is continuous at c.
Continuity of Rational Functions
π Example: Where is h(x) = (xΒ² - 9)/(xΒ² - 5x + 9) continuous?
The numerator and denominator are polynomials, so they are continuous everywhere. By property (d) of Theorem 2.7.3, h is continuous at all points c where the denominator g(c) β 0. Solve xΒ² - 5x + 9 = 0. Solving this gives x = 2 and x = 3. These are the only points of discontinuity. h is continuous for all x β 2, 3.
Continuity of Composition of functions
Theorem 2.7.5: Let lim stand for one of lim_(xβc), lim_(xβcβΊ), lim_(xβcβ»), lim_(xβ+β), lim_(xβ-β). If lim g(x) = L and the function f is continuous at L, then lim f(g(x)) = f(L). That is, lim f(g(x)) = f(lim g(x)).
π Example: Evaluate lim_(xβ3) β(5 - xΒ²).
Let f(x) = βx (which is continuous for non-negative arguments) and g(x) = 5 - xΒ². Then lim_(xβ3) g(x) = 5 - 9 = -4. By Theorem 2.7.5, lim_(xβ3) β(5 - xΒ²) = β(lim_(xβ3) 5 - xΒ²) = β(-4) = 4 (taking the principal square root).
Theorem 2.7.6: If the function g is continuous at the point c and the function f is continuous at the point g(c), then the composition f β g is continuous at c.
Continuity from the left and right
Graphically, a function can be discontinuous at the endpoints a and b of a closed interval [a, b] because a two-sided limit doesn't make sense there.
Definition 2.7.7: A function f is called continuous from the left at a point c if:
f(c)is defined.lim_(xβcβ») f(x)exists.lim_(xβcβ») f(x) = f(c).
A function f is called continuous from the right at a point c if:
f(c)is defined.lim_(xβcβΊ) f(x)exists.lim_(xβcβΊ) f(x) = f(c).
Definition 2.7.8: A function f is said to be continuous on a closed interval [a, b] if the following conditions are satisfied:
fis continuous on(a, b).fis continuous from the right ata.fis continuous from the left atb.
π Example: Show that f(x) = β(9 - xΒ²) is continuous on the interval [-3, 3].
- For any
cin(-3, 3),lim_(xβc) β(9 - xΒ²) = β(9 - cΒ²) = f(c)(by Theorem 2.5.1(e) and continuity of polynomials and the square root function). Sofis continuous on(3, -3). - At
x = 3:lim_(xβ3β») β(9 - xΒ²) = β(lim_(xβ3β») 9 - xΒ²) = β(0) = 0 = f(3). Sofis continuous from the left at3. - At
x = -3:lim_(xβ-3βΊ) β(9 - xΒ²) = β(lim_(xβ-3βΊ) 9 - xΒ²) = β(0) = 0 = f(-3). Sofis continuous from the right at-3. Thus,fis continuous on[-3, 3]. π‘ Why this matters: The endpoints are approached from within the domain of the function, which is the interval[-3, 3].
Intermediate Value Theorem (Theorem 2.7.9)
If f is continuous on a closed interval [a, b] and C is any number between f(a) and f(b), inclusive, then there is at least one number x in the interval [a, b] such that f(x) = C.
Theorem 2.7.10 (Corollary): If f is continuous on [a, b], and if f(a) and f(b) have opposite signs, then there is at least one solution of the equation f(x) = 0 in the interval (a, b).
π Example: The equation xΒ³ - x - 1 = 0 cannot be solved easily by factoring. Let f(x) = xΒ³ - x - 1. f is a polynomial, hence continuous. Evaluate f(1) = 1 - 1 - 1 = -1 and f(2) = 8 - 2 - 1 = 5. Since f(1) = -1 and f(2) = 5 have opposite signs (and 0 is between them), by the Intermediate Value Theorem (Theorem 2.7.10), there is at least one solution to f(x) = 0 in the interval (1, 2).
β Key Takeaways
The three-part definition of continuity at a point (f(c) defined, limit exists, and they are equal) is the foundation for all other topics. Polynomials are continuous everywhere, and algebraic combinations (sums, products, etc.) of continuous functions are continuous where defined, which allows us to quickly determine continuity for rational functions. The composition of continuous functions is continuous. Finally, the Intermediate Value Theorem is a powerful existence theorem: it guarantees that a continuous function takes on every value between its endpoints, and its corollary is the essential tool for proving that an equation has a root in an interval without solving it.
π§ Quick Revision Questions
- What are the three conditions required for a function
f(x)to be continuous at a pointx = c? - Using the definition, explain why the function
f(x) = (xΒ² - 4)/(x - 2)is discontinuous atx = 2. - If
fandgare continuous atc, andg(c) = 0, what can you conclude about the continuity off/gatc? - A function
his defined only on the closed interval[0, 5]. What two additional conditions (besides being continuous on(0,5)) must it meet to be considered continuous on[0, 5]? - If a continuous function
fon[0, 1]has valuesf(0) = 2andf(1) = -3, does the Intermediate Value Theorem guarantee a solution tof(x) = 1in(0,1)? Explain.
π Lecture 13 β Limits and continuity of Trigonometric functions
π Overview: This lecture establishes the continuity of sine and cosine functions, extends continuity to other trigonometric functions, and introduces the Squeeze Theorem as a powerful tool for evaluating limits. It proves two fundamental limits involving trigonometric functions that are essential for calculus and examines the behavior of sine and cosine as x approaches infinity.
ποΈ Topics Covered
The lecture covers continuity of sine and cosine functions with formal proofs, continuity of other trigonometric functions (tangent, cotangent, secant, cosecant), the Squeeze Theorem for finding limits, proof that lim sin(x)/x = 1 and lim (1-cos(x))/x = 0 as x approaches 0 using geometric arguments, and limits of sine and cosine as x approaches positive or negative infinity.
π Lecture Summary
Continuity of Sine and Cosine
Sine and cosine are initially defined as ratios in right triangles: cos(ΞΈ) = adjacent/hypotenuse and sin(ΞΈ) = opposite/hypotenuse. We now treat these as functions with angles measured in radians (using x instead of ΞΈ).
From the graphs, it is intuitively clear that:
- lim sin(x) = 0 as x β 0
- lim cos(x) = 1 as x β 0
Note that sin(0) = 0 and cos(0) = 1, so the function values match the limits at x = 0.
THEOREM 2.8.1
The functions sin(x) and cos(x) are continuous.
Recall the definition of continuity: A function f is continuous at c if: (a) f(c) is defined (b) lim f(x) as x β c exists (c) lim f(x) as x β c = f(c)
An equivalent definition using h = x - c: A function is continuous at c if: (a) f(c) is defined (b) lim f(h + c) as h β 0 exists (c) lim f(h + c) as h β 0 = f(c)
Proof of Continuity of sin(x)
We assume lim sin(x) = 0 and lim cos(x) = 1 as x β 0.
To show: lim sin(c + h) = sin(c) as h β 0
lim sin(c + h) = lim [sin(c)cos(h) + cos(c)sin(h)] = lim sin(c)cos(h) + lim cos(c)sin(h) = sin(c) lim cos(h) + cos(c) lim sin(h) = sin(c)(1) + cos(c)(0) = sin(c)
π‘ Why this matters: This proof shows that the sum formula for sine allows us to break the limit into known limits, establishing continuity everywhere.
The continuity of cos(x) is proved similarly.
Continuity of other trigonometric functions
By Theorem 2.7.3, if f(x) and g(x) are continuous, then f(x)/g(x) is continuous except where g(x) = 0.
tan(x) = sin(x)/cos(x) is continuous everywhere except where cos(x) = 0, which gives: x = Β±Ο/2, Β±3Ο/2, Β±5Ο/2, ...
Similarly:
- cot(x) = cos(x)/sin(x)
- sec(x) = 1/cos(x)
- cosec(x) = 1/sin(x)
All are continuous on appropriate intervals using continuity of sin(x) and cos(x) and Theorem 2.7.3.
Squeeze Theorem for finding Limits
We will prove two important limits:
- lim sin(x)/x = 1 as x β 0
- lim (1 - cos(x))/x = 0 as x β 0
As x β 0, both numerator and denominator go to 0, creating an indeterminate form. Sin(x) β 0 pushes the fraction toward 0, while x β 0 pushes the fraction toward infinity. To resolve this, we confine the function between two simpler functions.
THE SQUEEZING THEOREM
Let f, g, and h be functions satisfying g(x) β€ f(x) β€ h(x) for all x in some open interval containing point a, with the possible exception that the inequality need not hold at a.
If g and h have the same limit as x approaches a: lim g(x) = lim h(x) = L as x β a Then f also has this limit: lim f(x) = L as x β a
Example using Squeeze Theorem
Find: lim xΒ² sinΒ²(1/x) as x β 0
Since 0 β€ sinΒ²(x) β€ 1 for all x, we have 0 β€ sinΒ²(1/x) β€ 1. Multiplying by xΒ²: 0 β€ xΒ² sinΒ²(1/x) β€ xΒ²
Now lim 0 = 0 and lim xΒ² = 0 as x β 0. By the Squeezing Theorem: lim xΒ² sinΒ²(1/x) = 0
THEOREM 2.8.3
lim sin(x)/x = 1 as x β 0
Proof: Let x be such that 0 < x < Ο/2. Construct angle x in standard position from the center of a unit circle.
From the geometric figure: 0 < area of ΞOBP < area of sector OBP < area of ΞOBQ
Area calculations:
- ΞOBP = (1/2)(1)sin(x) = (1/2)sin(x)
- Sector OBP = (1/2)(1)Β²x = (1/2)x
- ΞOBQ = (1/2)(1)tan(x) = (1/2)tan(x)
Therefore: 0 < (1/2)sin(x) < (1/2)x < (1/2)tan(x)
Multiplying by 2/sin(x): 1 < x/sin(x) < 1/cos(x)
Taking reciprocals: cos(x) < sin(x)/x < 1
This holds for 0 < x < Ο/2, and also for -Ο/2 < x < 0 (check exercise 4.9).
Now: lim cos(x) = 1 and lim 1 = 1 as x β 0
Using the Squeezing Theorem: 1 < lim sin(x)/x < 1 as x β 0
Since the middle term is between 1 and 1, it must equal 1.
THEOREM 2.8.4
lim (1 - cos(x))/x = 0 as x β 0
Students should prove this themselves.
Limits of sin(x) and cos(x) as x approaches Β±β
From the graphs of sine and cosine, the y-values oscillate between 1 and -1 as x β +β or -β. Therefore: The limits do not exist (DNE).
β Key Takeaways
The sine and cosine functions are continuous everywhere, which is proven using the sum formula for sine and known limits at zero. All other trigonometric functions are continuous on their domains where denominators are non-zero. The Squeeze Theorem is a critical technique for evaluating limits of functions that are "trapped" between two simpler functions with the same limit. The fundamental limit lim sin(x)/x = 1 as x β 0 is proved using geometric area comparisons of triangles and a sector in a unit circle. As x approaches infinity, sine and cosine oscillate without approaching any single value, so their limits do not exist.
π§ Quick Revision Questions
-
What are the three conditions that must be satisfied for a function f to be continuous at a point c?
-
Why is tan(x) discontinuous at x = Ο/2, and what type of discontinuity is this?
-
State the Squeeze Theorem precisely and explain why it was needed to find lim sin(x)/x as x β 0.
-
How does the geometric proof of lim sin(x)/x = 1 use areas of triangles and a sector, and why is a unit circle used?
-
What happens to sin(x) and cos(x) as x β β, and why do their limits not exist?
π Lecture 14 β Tangent Lines and Rates of Change
π Overview: This lecture bridges geometry and physics by showing how the slope of a tangent line to a curve defines the instantaneous rate of change of a function. It formalizes the transition from secant lines (average rates) to tangent lines (instantaneous rates) using limits, which is the foundation of differential calculus.
ποΈ Topics Covered
The lecture covers the geometric concept of a secant line evolving into a tangent line as one point approaches another, then defines the slope of a tangent line as a limit. It introduces average velocity as the slope of a secant line on a distance-time graph and instantaneous velocity as the limit of average velocities. Finally, it generalizes these ideas to average and instantaneous rates of change for any function y = f(x), with a complete worked example for f(x)=xΒ²+1.
π Lecture Summary
Secant Lines and Tangent Lines
We saw that a Secant line between two points was turned into a tangent line by moving one of the points towards the other one. The secant line rotated into a LIMITING position which we regarded as a TANGENT line. For points P(xβ, yβ) and Q(xβ, yβ) on a curve y = f(x), the secant line connecting them has slope m_sec = [f(xβ) β f(xβ)] / [xβ β xβ]. If we let xβ β xβ then Q will approach P along the graph, and the secant line will approach the tangent line at P. This means the slope of the secant line will approach that of the tangent line at P as xβ β xβ.
π Definition β Tangent Line Slope: m_tan = lim_{xββxβ} [f(xβ) β f(xβ)] / [xβ β xβ]
Average and Instantaneous Velocity
Average Velocity = distance travelled / Time Elapsed. This formula tells us that the average velocity is the velocity at which one travels on average during some interval of time. More interesting is Instantaneous velocity, the velocity that an object is traveling at a given INSTANT in time. When a car hits a tree, the damage is determined by the INSTANTANEOUS velocity at the moment of impact, not on the average speed during some time interval before the impact.
To define instantaneous velocity, we look at distance as a function of time, d = f(t). Average velocity over [tβ, tβ] is v_ave = [f(tβ) β f(tβ)] / [tβ β tβ] = slope of the secant line joining (tβ, dβ) and (tβ, dβ). To find instantaneous velocity at tβ, let tβ approach tβ. As tβ gets very close to tβ, our approximate instantaneous velocity gets better. So v_inst = lim_{tββtβ} v_ave = lim_{tββtβ} [f(tβ) β f(tβ)] / [tβ β tβ]. This is just the slope of the tangent line at (tβ, dβ). Remember that the limit here means that the two sided limits exist.
Average and Instantaneous Rates of Change
Velocity is the rate of change of position with respect to time. We can generalize: Rate of change of d with respect to t, where d = f(t). Other examples include rate of change of bacteria w.r.t time, rate of change of length of a metal rod w.r.t temperature, and rate of change of production cost w.r.t quantity produced. All have the idea of the rate of change of one quantity w.r.t another quantity. We consider the rate of change of y w.r.t x, where y = f(x). Average rate of change is represented by the slope of a certain Secant Line. Instantaneous rate of change is represented by the slope of a certain Tangent Line.
π Definition β Average Rate of Change: If y = f(x), then the average rate of change of y with respect to x over the interval [xβ, xβ] is m_sec = [f(xβ) β f(xβ)] / [xβ β xβ], the slope of the secant line joining (xβ, f(xβ)) and (xβ, f(xβ)).
π Definition β Instantaneous Rate of Change: If y = f(x), then the instantaneous rate of change of y with respect to x at point xβ is m_tan = lim_{xββxβ} [f(xβ) β f(xβ)] / [xβ β xβ], the slope of the tangent line to the graph of f at xβ.
π Example: Let y = f(x) = xΒ² + 1 a) Find average rate of y w.r.t x over [3,5]: m_sec = [f(5) β f(3)] / [5 β 3] = [26 β 10] / 2 = 8. So y increases 8 units for each unit increase in x over [3,5].
b) Find instantaneous rate at xβ = β4: m_tan = lim_{xβββ4} [(xβΒ² + 1) β 17] / [xβ + 4] = lim_{xβββ4} (xβΒ² β 16)/(xβ + 4) = lim_{xβββ4} (xβ β 4) = β8. Negative instantaneous rate of change means it's DECREASING.
c) Find instantaneous rate at a general point xβ: m_tan = lim_{xββxβ} [(xβΒ² + 1) β (xβΒ² + 1)] / [xβ β xβ] = lim_{xββxβ} (xβΒ² β xβΒ²)/(xβ β xβ) = lim_{xββxβ} (xβ + xβ) = 2xβ. The result of part b can be obtained from this general result by letting xβ = β4.
π‘ Why this matters: The general result m_tan = 2xβ for f(x)=xΒ²+1 shows that the instantaneous rate of change is itself a function of xβ. This concept directly leads to the derivative, which will be the central tool of differential calculus.
β Key Takeaways
The slope of the tangent line at a point equals the limit of the slopes of secant lines as one point approaches the other. Average velocity is geometrically the slope of a secant line on a distance-time graph, while instantaneous velocity is the slope of the tangent line at that moment, defined as a limit. Both average and instantaneous rates of change for any function y=f(x) are defined by secant line slopes and tangent line slopes respectively. The instantaneous rate of change at a general point xβ for f(x)=xΒ²+1 is 2xβ, which can be used to find the rate at any specific point. A negative instantaneous rate of change indicates the function is decreasing at that point.
π§ Quick Revision Questions
- What is the formula for the slope of a secant line between points (xβ, f(xβ)) and (xβ, f(xβ))?
- How is the slope of a tangent line at point P obtained from secant lines?
- What is the relationship between average velocity and the slope of a secant line on a distance-time graph?
- For f(x) = xΒ² + 1, find the instantaneous rate of change at xβ = 2 using the limit definition.
- What does a negative instantaneous rate of change indicate about the function?