Functions Limits Continuity
Functions Limits Continuity
Continuity
Math for Electronics 1
Andrew Thangaraj
Electrical Engineering, IIT Madras
Power/exponentials:
a for a, b ∈ R
b
ab for real a, integer b
ab = a ⋅ ab−1 = a ⋅ a ⋯ a
multiply b times
Properties Examples
a0 =1 40 =1
ab+c = ab ⋅ ac a10+9 = a10 ⋅ a9
abc = (ab )c = (ac )b a32 = (a2 )16 = (a4 )8 = (a8 )4 = (a16 )2
(ab)c = ac ⋅ bc 129 = 69 ⋅ 29 = 49 ⋅ 39
−b 1 −3 1
a = b a = 3
a a
ab for real a, rational b = r/s
ab = ar/s = (a1/s )r
1 Choose u1
= (1 − ) un + s−1
a
a1/s = lim un un+1
n→∞ s sun suitably
Properties Examples
a0 =1 73 = 73/2
ab+c
=a ⋅ab c ar/s = lim urn
n→∞ 3 64 4
= 4/3
abc = (ab )c = (ac )b 81 3
(ab)c = ac ⋅ bc 4 32 25/4
=
−b 1 625 5
a = b
a
ab for real a, b
ab : can be computed
b: integers or rationals
Properties: used for manipulation
Properties
b: real a0 =1
b = lim un
n→∞
ab = lim aun ab+c = ab ⋅ ac
n→∞
abc = (ab )c = (ac )b
un : rational
(ab)c = ac ⋅ bc
1
a−b = b
a
Examples a1 = 2, an+1 = an /2 + 1/an , lim an = 2
n→∞
2 an 2
2 = lim 2 2 = lim aann
n→∞ n→∞
= 2.665 ⋯ = 1.632 ⋯
1 1 1 (−1)n
bn = 4(1 − 3
+ 5
− 7
+⋯+ 2n−1
), lim bn =π
n→∞
How to evaluate functions like f (x) = x1/2 or f (x) = x2/3 or f (x) = 10x for all real x?
f (x) = xa f (x) = ax
Compute
Given x, find f (x) Limit of sequence of rationals
Plot
Plot f (x) versus x
Invert
Given y0 , find x0 x0 = y01/a
s.t. y0 = f (x0 )
Plot xa versus x for a > 0, x > 0
f (x) = xa f (x) = ax
Compute
Given x, find f (x) Limit of sequence of rationals
Plot
Plot f (x) versus x
Invert
Given y0 , find x0 x0 = y01/a
s.t. y0 = f (x0 )
Limit of a function
Recall Problem 2: Function plotting & continuity
What exactly is
"smooth"?
x
f (x) g(x)
(x0 , f (x0 ))
f (x0 ) an for large n g(x0 )
Definition
A function f is said to have a limit L at a point x0 if the following holds:
For every sequence {an } with limit x0 , i.e. lim an = x0 , we have that the
n→∞
sequence {f (an )} has limit L, i.e. lim f (an ) = L.
n→∞
Definition
A function f is said to be continuous at x0 if lim f (x) = f (x0 ).
x→x0
Illustration: Continuous vs Jump discontinuous
"Smooth" at x0 "Jump" at x0
f (x) g(x)
f (x0 ) g0
Jump
g1 discontinuity
x0 x x0 x
Sequence an → x0 Sequence an = x0 + 1
n → x0 Sequence bn = x0 − 1
n → x0
Sequence f (an ) → f (x0 ) Sequence g(an ) → g0 Sequence g(bn ) → g1
f : Continuous at x0 g : Discontinuous at x0
Illustrations: Discontinuities of different types
1 2x
sign(x)
x x2 − 1
1
⌊x⌋ 0, x < 0
(x − 1)2
2x , x > 0
Illustration: Removable discontinuity
⎧
⎪
2 −1
x
At x = 0, what should f be?
f (x) = ⎨ x
x
=0
⎩
⎪ ? Can f be continuous at 0?
x=0
f (x) = c f (x) = x
lim c = c lim x = x0 Addition, lim f (x) + g(x) = lim f (x) + lim g(x)
x→x0 x→x0 x→x0 x→x0 x→x0
Subtraction lim f (x) − g(x) = lim f (x) − lim g(x)
x→x0 x→x0 x→x0
Suppose lim f (x)
x→x0
lim f (x)g(x) = ( lim f (x))( lim g(x))
and lim g(x) exist x→x0 x→x0 x→x0
x→x0
Multiplication, lim (f (x))k = ( lim f (x))k , k = 1, 2, …
and are finite.
Powers,
x→x0 x→x0
lim f (x)
Division f (x) x→x0
lim = if lim g(x)
=0
x→x0 g(x) lim g(x) x→x0
x→x0
Denominator q(x) = q0 + q1 x + q2 x2 + ⋯ + qn xn
x−5 t2 + 3t + 2
lim lim
x→5 x2 − 25 t→−1 t2 − t − 2
1 1
x−1
+ x+1 u4 − 81
lim lim 3
x→0 x u→3 u − 27
Limits and continuity of
powers/exponentials
Limits of abn and ban when {an } converges and b is
real
Theorem
Suppose the sequence a1 , a2 , … converges to L. Then, for a real number b,
1. the sequence ab1 , ab2 , … converges to Lb (if Lb is well-defined).
2. the sequence ba1 , ba2 , … converges to bL (if bL is well-defined).
Examples
1 2n2 − 5 3 n
lim lim lim
n→∞ n1/10 n→∞ 3n + 5 n→∞ 3n
n1/3
1/n 2 n
+2
lim 2 lim (3 + 1/n)(12 − 1/n) lim
n→∞ n→∞ n→∞ 2n2/3
Limits of functions xa and ax
lim x2 − 10 6h + 10 − 5
x→4 lim
h→1 h
x−1 x2 + 8 − 3
lim lim
x→1 x+3−2 x→−1 x+1
x2/3 −3 2 x
+5
lim 2x 2
x→8 lim
x→1 22x + 2x + 1
x
9 3 −9 2x − 2
lim lim x
x→1 2 2 − 2
x
x→9
3 3 −3
One-sided limits and
Limits at infinity
Limit of a function from left and from right
1 2x
sign(x)
x x2 − 1
1
⌊x⌋ 0, x < 0
(x − 1)2
2x , x > 0
Examples
(from Thomas' Calculus, 14th edition)
⎧
⎪3 − x x<2
f (x) = ⎨2
f (x) = { x
3−x x<2 x=2
+1 x>2 ⎪x
⎩
2 2 x>2
⌊x⌋
f (x) = (x + 3) ∣x+2∣
x+2
, a = −2 f (x) = x
, a=3
2x(x−1)
f (x) = ∣x−1∣ , a=1 f (x) = x − ⌊x⌋, a = 4
Definition (limit at ∞)
What about x → −∞?
For every sequence {an } with an → ∞,
the sequence f (an ) → L. lim f (x) = lim f (−x)
x→−∞ x→∞
lim f (x) = L
x→∞
Basic limits
a>0 0<a<1 a>1
lim x = ∞ lim xa = ∞ lim ax = 0 lim ax = ∞
lim c = c x→∞ x→∞ x→∞ x→∞
x→∞
1 lim x−a = 0 lim a−x = ∞ lim a−x = 0
lim =0 x→∞ x→∞ x→∞
x→∞ x
2 + 3x
lim lim x − x
a b lim 1 − 2−3x
x→∞ 3 + 5x x→∞ x→∞
2 + 3x 1 + xa 1 + (0.5)x
lim lim lim
x→∞ 3 + 5x + 7x2 x→∞ 1 − xb x→∞ 2 + (0.7)x
1 1 1 2x + 5
lim − lim lim
x→∞ x x−1 x→∞ 2x + 3 x→∞ 5 ⋅ 3x + 7
Summary remarks
Continuity