Calculus I· Note 02

Continuity

Year 1 · Semester IILast updated

May 1 Lecture. Links to the board and the recording.

Definition:

f(x) is continuous at x=a if f(a)=lim⁡x→af(x)f(x)\text{ is continuous at }x=a\text{ if }f(a)=\lim_{x\to a}{f(x)}.

3 Types of discontinuities:

  1. lim⁡x→af(x)\lim_{x\to a}{f(x)} exists, but ≠f(a)\not=f(a). Either f(a)f(a) is undefined, or some other number.
    • This is called a removable discontinuity, because it’s an issue at just that point.
  2. lim⁡x→af(x)\lim_{x\to a}{f(x)} doesn’t exist because lim⁡x→a−f(x)≠lim⁡x→a+f(x)\lim_{x\to a^-}{f(x)} \not=\lim_{x\to a^+}{f(x)}
    • This is called a jump discontinuity, or a Type I discontinuity.
  3. lim⁡x→af(x)\lim_{x\to a}{f(x)} doesn’t exist, even one-sided (from at least one side).
    • This is called a Type II discontinuity.
    • This does not include extended limits, so by this definition, lim⁡x→01x\lim_{x\to0}{\frac1x} doesn’t have a limit, meaning it’s discontinuous at x=0x=0 with a Type II discontinuity.
    • Usually in this case, ff has a vertical asymptote x=ax=a, but not always.
Examples of discontinuities
  1. f(x)=1x+3 at x=−3f(x) = {1\over x+3} \text{ at } x=-3
  2. f(x)=ln⁡(x) at x=0f(x)=\ln(x) \text{ at }x=0
  3. f(x)=sin⁡1xf(x)=\sin{\frac 1x}
  • Type II @ x=0 because the limit doesn’t exist, even though there’s no vertical asymptote
  1. Dirichlet function: D(x)={1x∈Q0x∉QD(x)=\begin{cases}1 &x\in\Q\\0 &x\not\in\Q\end{cases}
  • ∀a∈R,lim⁡x→aD(x)\forall a \in \R, \lim_{x\to a}{D(x)} doesn’t exist
    • This function is discontinuous at every point.

Finding discontinuous points

Polynomials:
  • f(x)=x2+3xx2+x−6f(x)=\frac{x^2+3x}{x^2+x-6}
    • Candidates for discontinuity:
      • x2+x−6=0(x+3.(x−2.=0⇒x=−3,2\begin{aligned}&x^2+x-6 = 0\\(&x+3.(x-2.=0\\\Rightarrow &x=-3,2\end{aligned}
        • At x=2:lim⁡x→2f(x)=lim⁡x→2xx−2=±∞⇒ Type II discontinuity @ x=2.\text{At }x=2: \lim_{x\to 2}{f(x)}=\lim_{x\to 2}{\frac{x}{x-2}=\pm\infty}\Rightarrow\text{ Type II discontinuity @ }x=2.
        • At x=−3:lim⁡x→−3f(x)=lim⁡x→−3xx−2=35\text{At }x=-3: \lim_{x\to -3}{f(x)}=\lim_{x\to -3}{\frac{x}{x-2}=\frac35}
          BUT, f(−3)f(-3) is undefined ⇒ Removable discontinuity\Rightarrow\text{ Removable discontinuity}
Piecewise Functions
  • f(x)={2x+62−x:x<48−8x:x≥4f(x)=\begin{cases}2x+\frac{6}{2-x} &:x\lt 4 \\8-\frac8x &:x\ge 4\end{cases}
    • Candidates for discontinuity:
      • x=2, x=0
        • Vanishing denominators
        • But, x=0x=0 is not a candidate, because the expression(s) which is discontinuous at x=0x=0 (8−8x8-\frac8x) is not the definition of ff when x=0x=0, only for x≥4x\ge4.
      • x=4
        • Because there’s a potential for a mismatch of the functions
    • x=2x=2
      • lim⁡x→2f(x)=lim⁡x→22(2.+62−2=±∞\lim_{x\to 2}{f(x)}=\lim_{x\to 2}{2(2.+{6\over2-2}=\pm\infty}
        • Type II Discontinuity
    • x=4x=4
      • We need to check both sides
      • lim⁡x→4−f(x)=lim⁡x→42x+62−x=8+6−2=8−3=5\lim_{x\to 4^-}{f(x)=\lim_{x\to 4}{2x+\frac{6}{2-x}}=8+{6\over-2}=8-3=5}
      • lim⁡x→4+f(x)=lim⁡x→48−8x=8−84=6\lim_{x\to 4^+}{f(x)=\lim_{x\to 4}{8-\frac8x}=8-{8\over4}=6}
      • Type I Discontinuity
Exponents in the denominator containing xx.
  • f(x)=62+3(45−x)f(x)=\frac6{2+3^{(\frac4{5-x})}}
    • Candidates for discontinuity
      • x=5x=5
      • 3(45−x)=−23^{(\frac4{5-x})}=-2
        • Not possible, a positive number to any power will be > 0
    • x=5x=5
      • lim⁡x→5f(x)\lim_{x\to5}{f(x)}
        • The denominator of the exponent is going to zero, which means the exponent will be either ±∞\pm\infty. Because of this, we need to check separately.
      • lim⁡x→5+f(x)=lim⁡x→5+62+3(45−x)=62+3(lim⁡x→5+45−x)=62+3−∞=3\begin{aligned}\\\lim_{x\to5^+}{f(x)}&=\lim_{x\to5^+}{\frac6{2+3^{(\frac4{5-x})}}}\\&=\frac6{2+3^{(\lim_{x\to5^+}{\frac4{5-x}})}}\\&=\frac6{2+3^{-\infty}}\\&=3\end{aligned}
      • lim⁡x→5−f(x)=lim⁡x→5−62+3(45−x)=62+3(lim⁡x→5−45−x)=62+3+∞=6∞=0\begin{aligned}\\\lim_{x\to5^-}{f(x)}&=\lim_{x\to5^-}{\frac6{2+3^{(\frac4{5-x})}}}\\&=\frac6{2+3^{(\lim_{x\to5^-}{\frac4{5-x}})}}\\&=\frac6{2+3^{+\infty}}\\&=\frac6\infty\\&=0\end{aligned}
        • Jump Discontinuity
    • ff has a Type I discontinuity at x=5x=5.

May 1 Tirgul. Links to the board and the recording

Forming a continuous function using known continuous functions

Theorem #25

Theorem
  1. If ff and gg are continuous at x=ax=a, then the following functions are also continuous at x=ax=a:
  • f+gf+g
  • f−gf-g
  • f⋅gf\cdot g
  • fg∣g(a)≠0\frac fg\mid g(a)\not=0
  1. If gg is continuous at x=ax=a and ff is continuous at g(a)g(a), then (f∘g)(x)(f\of g)(x) is continuous at aa.

Definition: An elementary function is one obtained by adding / subtracting / multiplying / dividing / composing any of the following functions of x:

  • axa^x
  • logaxlog_ax
  • sin/cos/tan (x)sin/cos/tan\ (x)
  • xnx^n
  • xn\sqrt[n]{x}
  • constants
  • All the functions we’ve seen except abs. value function, whole number function, Dirichlet function

Theorem #26

Theorem

Every elementary function is continuous at every point in it’s domain

Theorem #27

Theorem
  • If f is continuous at x=a and f(a)>0f(a) > 0, then there exista a neighborhood of a in which f(x)>0∣∀xf(x)>0 \mid\forall x
  • If f is continuous at x=a and f(a)<0f(a) < 0, then there exista a neighborhood of a in which f(x)<0∣∀xf(x)<0 \mid\forall x

Definition: ff is continuous in the closed interval [a,b][a,b] if ff is continuous at every point in (a,b)(a, b), continuous from the right at x=ax=a, and continuous from the left at x=bx=b.

Weirstrass Theorem (#28-29)

Theorem
  1. If ff is continuous in [a,b][a,b] then ff is bounded there
  • i.e. ∃m,M such that m≤f(x)≤M∣∀x∈[a,b]\exists m,M \text{ such that } m \le f(x) \le M \mid\forall x\in[a,b]
  1. If ff is continuous in [a,b][a,b] then ff attains it’s maximum and minimum there
  • i.e. ∃c,d∈[a,b] such that f(c)≤f(x)≤f(d)∣∀x∈[a,b]\exists c,d\in[a,b] \text{ such that } f(c) \le f(x) \le f(d) \mid\forall x\in[a,b]
  • This means that there is a defined upper and lower value of ff

Intermediate Value Theorem (IVT):

Theorem

If ff is continuous on a closed interval [a,b][a,b] and f(a)≠f(b)f(a)\not=f(b) then for every α\alpha between f(a)f(a) and f(b)f(b) there exists c∈[a,b]c\in[a,b] such that f(c)=αf(c)=\alpha.

Specifically: If f(a)>0 and f(b)<0 then ∃c∈(a,b) such that f(c)=0f(a)>0\text{ and }f(b) < 0 \text { then }\exists c\in(a,b) \text{ such that } f(c)=0


May 3 Lecture. Omitted Intentionally. Links to the board and the recording.