Comprehensive Study Guide on Limits and Continuity

Reference Books

  • Calculus by Stewart, 7th Edition
  • Thomas' Calculus, 13th Edition

Fundamental Definitions of Limits

  • Limit of a Function as xx Approaches cc:     Let f:X→Yf : X \rightarrow Y be a function. The limit of a function f(x)f(x) as xx approaches cc is a number ll, written as:     lim⁡x→cf(x)=l\lim_{x \to c} f(x) = l     or f(x)→lf(x) \rightarrow l whenever x→cx \rightarrow c.

    • Example:         lim⁡x→2(x+1)=3\lim_{x \to 2} (x + 1) = 3
  • Left-Hand Limit:     The left-hand limit of a function f(x)f(x) as xx approaches cc from the left is a number ll, written as:     lim⁡x→c−f(x)=l\lim_{x \to c^-} f(x) = l

  • Right-Hand Limit:     The right-hand limit of a function f(x)f(x) as xx approaches cc from the right is a number ll, written as:     lim⁡x→c+f(x)=l\lim_{x \to c^+} f(x) = l

  • Theorem 1 (Calculus by Stewart 7E, Page 66):     The limit of a function f(x)f(x) exists (i.e., lim⁡x→cf(x)=l\lim_{x \to c} f(x) = l) if and only if both the left-hand limit and right-hand limit exist and are equal:     lim⁡x→c−f(x)=l=lim⁡x→c+f(x)\lim_{x \to c^-} f(x) = l = \lim_{x \to c^+} f(x)

Examples and Applications of Limits

  • Example 1: Non-Existence of Limit for f(x)=1xf(x) = \frac{1}{x} at x=0x = 0     Determine whether lim⁡x→01x\lim_{x \to 0} \frac{1}{x} exists.
    • Solution:         The limit lim⁡x→01x\lim_{x \to 0} \frac{1}{x} exists if and only if lim⁡x→0−1x=lim⁡x→0+1x\lim_{x \to 0^-} \frac{1}{x} = \lim_{x \to 0^+} \frac{1}{x}.                  For the left-hand limit lim⁡x→0−1x\lim_{x \to 0^-} \frac{1}{x}, consider values of x<0x < 0 approaching 00:
      • x=−0.1  ⟹  f(x)=1−0.1=−10x = -0.1 \implies f(x) = \frac{1}{-0.1} = -10
      • x=−0.01  ⟹  f(x)=1−0.01=−100x = -0.01 \implies f(x) = \frac{1}{-0.01} = -100
      • x=−0.001  ⟹  f(x)=1−0.001=−1000x = -0.001 \implies f(x) = \frac{1}{-0.001} = -1000

        For the right-hand limit lim⁡x→0+1x\lim_{x \to 0^+} \frac{1}{x}, consider values of x>0x > 0 approaching 00: * x=0.1  ⟹  f(x)=10.1=10x = 0.1 \implies f(x) = \frac{1}{0.1} = 10 * x=0.01  ⟹  f(x)=10.01=100x = 0.01 \implies f(x) = \frac{1}{0.01} = 100 * x=0.001  ⟹  f(x)=10.001=1000x = 0.001 \implies f(x) = \frac{1}{0.001} = 1000

        From both tables:         lim⁡x→0−1x≠lim⁡x→0+1x\lim_{x \to 0^-} \frac{1}{x} \neq \lim_{x \to 0^+} \frac{1}{x}         Therefore, lim⁡x→01x\lim_{x \to 0} \frac{1}{x} does not exist.

  • Example 2: Piecewise Function Limit Evaluation     Determine whether lim⁡x→2f(x)\lim_{x \to 2} f(x) exists for:     f(x)={x2,x<2−x+6,x>2f(x) = \begin{cases} x^2, & x < 2 \\ -x + 6, & x > 2 \end{cases}

    • Numerical Approach:
      • For x<2x < 2 (x→2−x \to 2^-):
        • x=1.9  ⟹  f(x)=(1.9)2=3.61x = 1.9 \implies f(x) = (1.9)^2 = 3.61
        • x=1.99  ⟹  f(x)=(1.99)2=3.96x = 1.99 \implies f(x) = (1.99)^2 = 3.96
        • x=1.999  ⟹  f(x)=(1.999)2=3.99x = 1.999 \implies f(x) = (1.999)^2 = 3.99
        • As x→2−x \to 2^- for x<2x < 2, f(x)→4f(x) \rightarrow 4.
      • For x>2x > 2 (x→2+x \to 2^+):
        • x=2.1  ⟹  f(x)=−(2.1)+6=3.9x = 2.1 \implies f(x) = -(2.1) + 6 = 3.9
        • x=2.01  ⟹  f(x)=−(2.01)+6=3.99x = 2.01 \implies f(x) = -(2.01) + 6 = 3.99
        • x=2.001  ⟹  f(x)=−(2.001)+6=3.999x = 2.001 \implies f(x) = -(2.001) + 6 = 3.999
        • As x→2+x \to 2^+ for x>2x > 2, f(x)→4f(x) \rightarrow 4.
    • Algebraic Approach:
      • Since f(x)=x2f(x) = x^2 for x<2x < 2:             lim⁡x→2−f(x)=lim⁡x→2−(x2)=4\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (x^2) = 4
      • Since f(x)=−x+6f(x) = -x + 6 for x>2x > 2:             lim⁡x→2+f(x)=lim⁡x→2+(−x+6)=4\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (-x + 6) = 4
      • Since the right-hand and left-hand limits are equal, by Theorem 1, the limit exists and:             lim⁡x→2f(x)=4\lim_{x \to 2} f(x) = 4
  • Example 3: Absolute Value Limit Evaluation     Show that lim⁡x→0∣x∣=0\lim_{x \to 0} |x| = 0

    • Solution:         By definition, ∣x∣={x,x>0−x,x<0|x| = \begin{cases} x, & x > 0 \\ -x, & x < 0 \end{cases} (note that ∣x∣=(x2)1/2|x| = (x^2)^{1/2}).
      • For x>0x > 0:             lim⁡x→0+∣x∣=lim⁡x→0+(x)=0\lim_{x \to 0^+} |x| = \lim_{x \to 0^+} (x) = 0
      • For x<0x < 0:             lim⁡x→0−∣x∣=lim⁡x→0−(−x)=0\lim_{x \to 0^-} |x| = \lim_{x \to 0^-} (-x) = 0
      • By Theorem 1:             lim⁡x→0∣x∣=0\lim_{x \to 0} |x| = 0

Practice Assignments and Stewart Calculus Exercises

  • Assignments:

    1. Show that lim⁡x→0∣x∣x\lim_{x \to 0} \frac{|x|}{x} does not exist.
    2. If f(x)={x−4,x>48−2x,x<4f(x) = \begin{cases} \sqrt{x - 4}, & x > 4 \\ 8 - 2x, & x < 4 \end{cases}, determine whether lim⁡x→4f(x)\lim_{x \to 4} f(x) exists.
  • Exercises (Stewart Calculus 7th Edition, Page 70):     Find the limits if they exist. If a limit does not exist, explain why.

    • Problem 1: Evaluate lim⁡x→3(2x+∣x−3∣)\lim_{x \to 3} (2x + |x - 3|).

      • Solution:             Definition of ∣x−3∣|x - 3|:             ∣x−3∣={x−3,x−3>0−(x−3),x−3<0={x−3,x>33−x,x<3|x - 3| = \begin{cases} x - 3, & x - 3 > 0 \\ -(x - 3), & x - 3 < 0 \end{cases} = \begin{cases} x - 3, & x > 3 \\ 3 - x, & x < 3 \end{cases}             Left-hand limit:             lim⁡x→3−(2x+∣x−3∣)=lim⁡x→3−(2x+3−x)=6\lim_{x \to 3^-} (2x + |x - 3|) = \lim_{x \to 3^-} (2x + 3 - x) = 6             Right-hand limit:             lim⁡x→3+(2x+∣x−3∣)=lim⁡x→3+(2x+x−3)=6\lim_{x \to 3^+} (2x + |x - 3|) = \lim_{x \to 3^+} (2x + x - 3) = 6             Since the left and right hand limits are equal:             lim⁡x→3(2x+∣x−3∣)=6\lim_{x \to 3} (2x + |x - 3|) = 6
    • Problem 2: Evaluate lim⁡x→−62x+12∣x+6∣\lim_{x \to -6} \frac{2x + 12}{|x + 6|}.

      • Solution:             Definition of ∣x+6∣|x + 6|:             ∣x+6∣={x+6,x>−6−(x+6),x<−6|x + 6| = \begin{cases} x + 6, & x > -6 \\ -(x + 6), & x < -6 \end{cases}             Left-hand limit:             lim⁡x→−6−2x+12∣x+6∣=lim⁡x→−6−2(x+6)−(x+6)=−2\lim_{x \to -6^-} \frac{2x + 12}{|x + 6|} = \lim_{x \to -6^-} \frac{2(x + 6)}{-(x + 6)} = -2             Right-hand limit:             lim⁡x→−6+2x+12∣x+6∣=lim⁡x→−6+2(x+6)x+6=2\lim_{x \to -6^+} \frac{2x + 12}{|x + 6|} = \lim_{x \to -6^+} \frac{2(x + 6)}{x + 6} = 2             Observe that:             lim⁡x→−6−f(x)≠lim⁡x→−6+f(x)\lim_{x \to -6^-} f(x) \neq \lim_{x \to -6^+} f(x)             Since the left-hand and right-hand limits are not equal, lim⁡x→−62x+12∣x+6∣\lim_{x \to -6} \frac{2x + 12}{|x + 6|} does not exist.
    • Problem 3: Evaluate lim⁡x→−22−∣x∣2+x\lim_{x \to -2} \frac{2 - |x|}{2 + x}.

      • Solution:             Left-hand limit:             lim⁡x→−2−2−∣x∣2+x=lim⁡x→−2−2−(−x)2+x=lim⁡x→−2−2+x2+x=1\lim_{x \to -2^-} \frac{2 - |x|}{2 + x} = \lim_{x \to -2^-} \frac{2 - (-x)}{2 + x} = \lim_{x \to -2^-} \frac{2 + x}{2 + x} = 1             Right-hand limit:             lim⁡x→−2+2−∣x∣2+x=lim⁡x→−2+2−(−x)2+x=lim⁡x→−2+2+x2+x=1\lim_{x \to -2^+} \frac{2 - |x|}{2 + x} = \lim_{x \to -2^+} \frac{2 - (-x)}{2 + x} = \lim_{x \to -2^+} \frac{2 + x}{2 + x} = 1             Since the left-hand and right-hand limits are equal:             lim⁡x→−22−∣x∣2+x=1\lim_{x \to -2} \frac{2 - |x|}{2 + x} = 1
    • Problem 4: Evaluate lim⁡x→0(1x−1∣x∣)\lim_{x \to 0} \left( \frac{1}{x} - \frac{1}{|x|} \right).

      • Solution:             Right-hand limit:             lim⁡x→0+(1x−1∣x∣)=lim⁡x→0+(1x−1x)=0\lim_{x \to 0^+} \left( \frac{1}{x} - \frac{1}{|x|} \right) = \lim_{x \to 0^+} \left( \frac{1}{x} - \frac{1}{x} \right) = 0             Left-hand limit:             lim⁡x→0−(1x−1∣x∣)=lim⁡x→0−(1x−1−x)=lim⁡x→0−(2x)\lim_{x \to 0^-} \left( \frac{1}{x} - \frac{1}{|x|} \right) = \lim_{x \to 0^-} \left( \frac{1}{x} - \frac{1}{-x} \right) = \lim_{x \to 0^-} \left( \frac{2}{x} \right)             Since 2x→−∞\frac{2}{x} \rightarrow -\infty as x→0−x \to 0^-, the left-hand limit does not exist as a finite real number.             Therefore, lim⁡x→0(1x−1∣x∣)\lim_{x \to 0} \left( \frac{1}{x} - \frac{1}{|x|} \right) does not exist as x→0x \rightarrow 0
  • Additional Limit Assignments:

    1. lim⁡x→0.5−2x−1∣2x−1∣\lim_{x \to 0.5^-} \frac{2x - 1}{|2x - 1|}
    2. lim⁡x→01x\lim_{x \to 0} \frac{1}{x}
    3. lim⁡x→0(∣2x2−x∣x)\lim_{x \to 0} \left( \frac{|2x^2 - x|}{x} \right)

Definitions and Principles of Continuity

  • Definition of Continuity at a Point:     A function f:X→Yf : X \rightarrow Y is said to be continuous at a point x=cx = c if:

    1. f(c)f(c) is defined
    2. lim⁡x→cf(x)\lim_{x \to c} f(x) exists
    3. lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c)
    • Example:         f(x)=x2−4x−2f(x) = \frac{x^2 - 4}{x - 2} is not continuous at x=2x = 2 because f(2)f(2) is not defined.
  • Remark on Interval Continuity:     A function f(x)f(x) is continuous on a closed interval [a,b][a, b] if:

    1. f(x)f(x) is continuous on the open interval (a,b)(a, b)
    2. f(x)f(x) is continuous from the right at aa
    3. f(x)f(x) is continuous from the left at bb

Continuity Exercises and Problem Solving

  • Finding Parameter aa for Piecewise Continuity (Problem 1):     For what value of aa is the function continuous at every xx?     f(x)={x−1,x<32ax,x≥3f(x) = \begin{cases} x - 1, & x < 3 \\ 2ax, & x \ge 3 \end{cases}

    • Solution:         lim⁡x→3−f(x)=lim⁡x→3−(x−1)=8\lim_{x \to 3^-} f(x) = \lim_{x \to 3^-} (x - 1) = 8lim⁡x→3+f(x)=lim⁡x→3+(2ax)=6a\lim_{x \to 3^+} f(x) = \lim_{x \to 3^+} (2ax) = 6a         For f(x)f(x) to be continuous:         6a=8  ⟹  a=436a = 8 \implies a = \frac{4}{3}
  • Finding Parameter bb for Piecewise Continuity (Problem 2):     For what value of bb is the function continuous everywhere?     g(x)={x−1,x<−2bx2,x≥−2g(x) = \begin{cases} x - 1, & x < -2 \\ bx^2, & x \ge -2 \end{cases}

    • Solution:         lim⁡x→−2−g(x)=lim⁡x→−2−(x−1)=−2\lim_{x \to -2^-} g(x) = \lim_{x \to -2^-} (x - 1) = -2lim⁡x→−2+g(x)=lim⁡x→−2+(bx2)=4b\lim_{x \to -2^+} g(x) = \lim_{x \to -2^+} (bx^2) = 4b         For g(x)g(x) to be continuous:         4b=−2  ⟹  b=−124b = -2 \implies b = -\frac{1}{2}
  • Finding Parameter aa with Quadratic Solution (Problem 3):     For what value of aa is the function continuous everywhere?     f(x)={a2x−2a,x>212,x≤2f(x) = \begin{cases} a^2 x - 2a, & x > 2 \\ 12, & x \le 2 \end{cases}

    • Solution:         lim⁡x→2−f(x)=lim⁡x→2−(12)=12\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (12) = 12lim⁡x→2+f(x)=lim⁡x→2+(a2x−2a)=2a2−2a\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (a^2 x - 2a) = 2a^2 - 2a         For f(x)f(x) to be continuous:         lim⁡x→2−f(x)=lim⁡x→2+f(x)\lim_{x \to 2^-} f(x) = \lim_{x \to 2^+} f(x)12=2a2−2a  ⟹  a2−a−6=012 = 2a^2 - 2a \implies a^2 - a - 6 = 0(a−3)(a+2)=0  ⟹  a=−2,3(a - 3)(a + 2) = 0 \implies a = -2, 3
  • Finding Parameter bb with Rational Function (Problem 4):     For what value of bb is the function continuous everywhere?     g(x)={x−bb+1,x<0x2+b,x≥0g(x) = \begin{cases} \frac{x - b}{b + 1}, & x < 0 \\ x^2 + b, & x \ge 0 \end{cases}

    • Solution:         lim⁡x→0−g(x)=lim⁡x→0−(x−bb+1)=−bb+1\lim_{x \to 0^-} g(x) = \lim_{x \to 0^-} \left(\frac{x - b}{b + 1}\right) = \frac{-b}{b + 1}lim⁡x→0+g(x)=lim⁡x→0+(x2+b)=b\lim_{x \to 0^+} g(x) = \lim_{x \to 0^+} (x^2 + b) = b         For g(x)g(x) to be continuous:         −bb+1=b  ⟹  −b=b(b+1)  ⟹  −b=b2+b\frac{-b}{b + 1} = b \implies -b = b(b + 1) \implies -b = b^2 + bb2+2b=0  ⟹  b(b+2)=0  ⟹  b=0,−2b^2 + 2b = 0 \implies b(b + 2) = 0 \implies b = 0, -2
  • Finding Parameters aa and bb for Multi-Piece Function (Problem 5):     For what values of aa and bb is the function continuous at every xx?     f(x)={−2,x≤−1ax+b,−1<x<13,x≥1f(x) = \begin{cases} -2, & x \le -1 \\ ax + b, & -1 < x < 1 \\ 3, & x \ge 1 \end{cases}

    • Solution:         At x=−1x = -1:         lim⁡x→−1−f(x)=lim⁡x→−1−(−2)=−2\lim_{x \to -1^-} f(x) = \lim_{x \to -1^-} (-2) = -2lim⁡x→−1+f(x)=lim⁡x→−1+(ax+b)=−a+b\lim_{x \to -1^+} f(x) = \lim_{x \to -1^+} (ax + b) = -a + b         For continuity at x=−1x = -1:         −2=−a+b— (i)-2 = -a + b \quad \text{--- (i)}

        At x=1x = 1:         lim⁡x→1−f(x)=lim⁡x→1−(ax+b)=a+b\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (ax + b) = a + blim⁡x→1+f(x)=lim⁡x→1+(3)=3\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (3) = 3         For continuity at x=1x = 1:         3=a+b— (ii)3 = a + b \quad \text{--- (ii)}

        Solving equations (i) and (ii) simultaneously: * Adding (i) and (ii): 2b=1  ⟹  b=122b = 1 \implies b = \frac{1}{2} * Subtracting (i) from (ii): 2a=5  ⟹  a=522a = 5 \implies a = \frac{5}{2}

  • Assignment on Multi-Piece Continuity:     For what values of aa and bb is the function continuous everywhere?     g(x)={ax+2b,x≤0x2+3a−b,0<x≤23x−5,x>2g(x) = \begin{cases} ax + 2b, & x \le 0 \\ x^2 + 3a - b, & 0 < x \le 2 \\ 3x - 5, & x > 2 \end{cases}
    • Answer: a=b=−23a = b = -\frac{2}{3}

Theoretical Conceptual Questions on Continuity

  • Question 1: Continuity of Product Functions:     If the product function h(x)=f(x)g(x)h(x) = f(x)g(x) is continuous at x=0x = 0, must f(x)f(x) and g(x)g(x) be continuous at x=0x = 0?

    • Answer: No.
    • Reason / Counterexample:         Let f(x)=0f(x) = 0 and g(x) = \frac{1}{x}$.\n        The product function h(x) = f(x)g(x) = 0 \cdot \frac{1}{x} = 0iscontinuousatis continuous atx = 0,whereas, whereasg(x) = \frac{1}{x}isnotcontinuousatis not continuous atx = 0\n\n* **Question 2: Continuity of Quotient Functions**:\n    If f(x)andandg(x)arecontinuousforare continuous for0 \le x \le 1,could, could\frac{f(x)}{g(x)}possiblybediscontinuousatapointofpossibly be discontinuous at a point of[0, 1]?\n * *Answer*: Yes.\n * *Reason / Counterexample*:\n        Let f(x) = xandandg(x) = x - \frac{1}{2},bothofwhicharecontinuousfor, both of which are continuous for0 \le x \le 1$.         However, the quotient function f(x)g(x)=xx−1/2\frac{f(x)}{g(x)} = \frac{x}{x - 1/2} is undefined at x=12x = \frac{1}{2}, where 12∈[0,1]\frac{1}{2} \in [0, 1].         Therefore, f(x)g(x)\frac{f(x)}{g(x)} is discontinuous at x=12x = \frac{1}{2}.
  • Question 3: Continuity of Composite Functions:     Give an example of functions f(x)f(x) and g(x)g(x), both continuous at x=0x = 0, for which the composite function (f∘g)(x)(f \circ g)(x) is discontinuous at x = 0$.\n * *Answer / Example*:\n        Let f(x) = \frac{1}{x - 1}andandg(x) = x + 1$.         Both f(x)f(x) and g(x)g(x) are continuous at x=0x = 0 (f(0)=−1f(0) = -1 and g(0)=1g(0) = 1).         However, the composite function is:         (f∘g)(x)=f(g(x))=f(x+1)=1(x+1)−1=1x(f \circ g)(x) = f(g(x)) = f(x + 1) = \frac{1}{(x + 1) - 1} = \frac{1}{x}         The composite function (f∘g)(x)=1x(f \circ g)(x) = \frac{1}{x} is discontinuous at x=0x = 0.