Differentiations
Differentiations
Definition 2.1.1. We say that lim f (x) = L if, for every real number > 0, there exists
x→x0
a real number δ > 0 such that
Equivalently,
Remark 2.1. The above definition is equivalent to: for any sequence {xn } with xn → x0 ,
we have f (xn ) → L as n → ∞.
Proof. Suppose limx→x0 f (x) exists. Take > 0 and let {xn } be a sequence converging
to x0 . Then there exists N such that |xn − x0 | < δ for n ≥ N . Then by the definition
|f (xn ) − L| < . i.e., f (xn ) → L.
For the other side, assume that xn → c =⇒ f (xn ) → L. Suppose the limit does not exist.
i.e., ∃ 0 > 0 such that for any δ > 0, there is x ∈ |x − x0 | < δ, for which |f (x) − L| ≥ 0 .
Then take δ = n1 and pick xn in |xn − x0 | < n1 , then xn → x0 but |f (xn ) − L| ≥ 0 . Not
possible.
Theorem 2.1.2. If limit exists, then it is unique.
3 2
|x − 1| < whenever |x − 1| < δ := .
2 3
(
x2 x 6= 2
(ii) Prove that lim f (x) = 4, where f (x) =
x→2 1 x=2
1
Problem: Show that lim sin( ) does not exist.
x→0 x
1 1
Consider the sequences {xn } = { }, {yn } = { }. Then it is easy to see that
nπ
2nπ + π2
1 1
xn , yn → 0 and sin → 0, sin → 1. In fact, for every c ∈ [−1, 1], we can find
xn yn
1
1
a sequence zn such that zn → 0 and sin( ) → c as n → ∞.
zn
By now we are familiar with limits and one can expect the following:
Proof. We give the proof of (iii). Proof of other assertions are easy to prove. Let > 0.
From the definition of limit, we have δ1 , δ2 , δ3 > 0 such that
1
|x − c| < δ1 =⇒ |f (x) − L| < =⇒ |f (x)| < N for some N > 0,
2
|x − c| < δ2 =⇒ |f (x) − L| < , and
2M
|x − c| < δ3 =⇒ |g(x) − M | < .
2N
Hence for |x − c| < δ = min{δ1 , δ2 , δ3 }, we have
To prove the second part, note that there exists an interval (c − δ, c + δ) around c such
that g(x) 6= 0 in (c − δ, c + δ).
Examples: (i) lim xm = 0 (m > 0). (ii) lim x sin x = 0.
x→0 x→0
Remark: Suppose f (x) is bounded in an interval containing c and lim g(x) = 0. Then
x→c
lim f (x)g(x) = 0.
x→c
1
Examples: (i) lim |x| sin = 0. (ii) limx→0 |x| ln |x| = 0.
x→0 x
2
One sided limits: Let f (x) is defined on (c, b). The right hand limit of f (x) at c is L,
if given > 0, there exists δ > 0, such that
Notation: lim+ f (x) = L. Similarly, one can define the left hand limit of f (x) at b and is
x→c
denoted by lim− f (x) = L.
x→b
Both theorems above holds for right and left limits. Proof is easy.
1 1 1
sin θ < θ < tan θ
2 2 2
sin θ sin θ
dividing by sin θ, we get 1 > > cos θ. Now lim+ cos θ = 1 implies that lim+ = 1.
θ θ→0 θ→0 θ
sin θ
Now use the fact that is even function.
θ
At this stage, it is not difficult to prove the following:
Theorem 2.1.4. limx→a f (x) = L exists ⇐⇒ limx→a+ f (x) = limx→a− f (x) = L.
Definition 2.1.5. f (x) has limit L as x approaches +∞, if for any given > 0, there
exists M > 0 such that
x > M =⇒ |f (x) − L| < .
Similarly, one can define limit as x approaches −∞.
1
Problem: (i) lim = 0, (ii) limx→−∞ x1 = 0. (iii) lim sin x does not exist.
x→∞ x x→∞
Solution: (i) and (ii) are easy. For (iii), Choose xn = nπ and yn = π2 + 2nπ. Then
xn , yn → ∞ and sin xn = 0, sin yn = 1. Hence the limit does not exist.
3
Definition 2.1.6. (Horizontal Asymptote:) A line y = b is a horizontal asymptote of
y = f (x) if either lim f (x) = b or lim f (x) = b.
x→∞ x→−∞
1
Examples: (i) y = 1 is a horizontal asymptote for 1 + x+1
Similarly, one can define for −∞. Also one can define one sided limit of f (x) approaching
∞ or −∞.
1
Examples (i) lim 2 = ∞, (ii) limx→0 x12 sin( x1 ) does not exist.
x→0 x
For (i) given B > 0, we can choose δ ≤ √1 . For (ii), choose a sequence {xn } such
B
1
that sin x1n = 1, say 1
xn
= π
2
+ 2nπ and 1
yn
= nπ. Then lim f (xn ) = 2 → ∞ and
n→∞ xn
lim f (yn ) = 0, though xn , yn → 0 as n → ∞.
n→∞
4
√
Let > 0. Then |f (x) − f (0)| ≤ |x2 |. So it is enough to choose δ = .
(
1
x
sin x1 x 6= 0
(ii) g(x) = is not continuous at 0.
0 x=0
1 π 1
Choose xn
= 2
+ 2nπ. Then lim xn = 0 and f (xn ) = xn
→ ∞.
1 1
max(f, g) = (f + g) + |f − g|
2 2
and the above theorems.
Types of discontinuities
5
(
1 x≤0
Example: f (x) = . Easy to see that left and right limits at 0 are different.
−1 x ≥ 0
Infinite discontinuity: Left or right limit of f (x) is ∞ or −∞.
1
Example: f (x) = x
has infinite discontinuity at x = 0.
Discontinuity of second kind: If either lim− f (x) or lim+ f (x) does not exist, then c
x→c x→c
is called discontinuity of second kind.
Example: Consider the function
(
0 x∈Q
f (x) =
1 x 6∈ Q
Then f does not have left or right limit any point c. Indeed, if c ∈ Q, then xn = c + n1 ∈ Q
and yn = c + πn 6∈ Q. For these sequences, we will have, f (c + n1 ) and f (c + πn ) converges
to different values. If c 6∈ Q, then choos xn ∈ (c, c + n1 ) ∩ Q and yn = c + n1 6∈ Q. For these
sequences we will again get different limit values.
Proof. Let f (x) be continuous on [a, b] and let {xn } ⊂ [a, b] be a sequence such that
|f (xn )| > n. Then {xn } is a bounded sequence and hence there exists a subsequence
{xnk } which converges to c. Then f (xnk ) → f (c), a contradiction to |f (xnk | > nk .
Theorem 2.2.7. Let f (x) be a continuous function on closed, bounded interval [a, b].
Then maximum and minimum of functions are achieved in [a, b].
Proof. Let {xn } be a sequence such that f (xn ) → max f . Then {xn } is bounded and hence
by Bolzano-Weierstrass theorem, there exists a subsequence xnk such that xnk → x0 for
some x0 . a ≤ xn ≤ b implies x0 ∈ [a, b]. Since f is continuous, f (xnk ) → f (x0 ). Hence
f (x0 ) = max f . The attainment of minimum can be proved by noting that −f is also
continuous and min f = − max(−f ).
6
Remark: Closed and boundedness of the interval is important in the above theorem.
Consider the examples (i) f (x) = x1 on (0, 1) (ii) f (x) = x on IR.
Theorem 2.2.8. Let f (x) be a continuous function on [a, b] and let f (c) > 0 for some
c ∈ (a, b), Then there exists δ > 0 such that f (x) > 0 in (c − δ, c + δ).
Proof. Let = 12 f (c) > 0. Since f (x) is continuous at c, there exists δ > 0 such that
1
|x − c| < δ =⇒ |f (x) − f (c)| < f (c)
2
i.e., − 12 f (c) < f (x) − f (c) < 12 f (c). Hence f (x) > 12 f (c) for all x ∈ (c − δ, c + δ).
Rb
Corollary: Suppose a continuous functions f (x) satisfies a
f (x)φ(x)dx = 0 for all con-
tinuous functions φ(x) on [a, b]. Then f (x) ≡ 0 on [a, b].
Proof. Suppose f (c) > 0. Then by above theorem f (x) > 0 in (c − δ, c + δ). Choose
Rb
φ(x) so that φ(x) > 0 in (c − δ/2, c + δ/2) and is 0 otherwise. Then a f (x)φ(x) > 0. A
contradiction.
Alternatively, one can choose φ(x) = f (x).
Theorem 2.2.9. Let f (x) be a continuous function on IR and let f (a)f (b) < 0 for some
a, b. Then there exits c ∈ (a, b) such that f (c) = 0.
Proof. Assume that f (a) < 0 < f (b). Let S = {x ∈ [a, b] : f (x) < 0}. Then [a, a + δ) ⊂ S
for some δ > 0 and S is bounded. Let c = sup S. We claim that f (c) = 0. Take xn = c+ n1 ,
then xn 6∈ S, xn → c. Therefore, f (c) = lim f (xn ) ≥ 0. On the otherhand, note that
c − n1 is NOT supremum. Therefore, there exists a point yn ∈ (c − n1 , c) ∩ S. Then note
that yn → c, f (c) = lim f (yn ) ≤ 0. Hence f (c) = 0.
Remark: A continuous function assumes all values between its maximum and minimum.
Problem: (fixed point): Let f (x) be a continuous function from [0, 1] into [0, 1]. Then
show that there is a point c ∈ [0, 1] such that f (c) = c.
Define the function g(x) = f (x) − x. Then g(0) ≥ 0 and g(1) ≤ 0. Now Apply Interme-
diate value theorem.
7
Application: Root finding: To find the solutions of f (x) = 0, one can think of defining
a new function g such that g(x) has a fixed point, which in turn satisfies f (x) = 0.
10 1/2
Example: (1) f (x) = x3 + 4x2 − 10 in the interval [1, 2]. Define g(x) = 4+x . We can
check that g maps [1, 2] into [1, 2]. So g has fixed point in [1, 2] which is also solution
of f (x) = 0. Such fixed points can be obtained as limit of the sequence {xn }, where
xn+1 = g(xn ), x0 ∈ (1, 2). Note that
√
10 1
g 0 (x) = 3/2
< .
(4 + x) 2
Proof. Suppose not. Then there exists {xn }, {yn } such that |xn − yn | → 0 and |f (xn ) −
f (yn )| > η for some η > 0. Then it is clear that for = η, there is no δ for which
|x − y| < δ =⇒ |f (x) − f (y)| < . Because the above sequence satisfies |x − y| < δ, but
its image does not.
For converse, assume that for any two sequences {xn }, {yn } such that |xn − yn | → 0 we
have |f (xn ) − f (yn )| → 0. Suppose f is not uniformly continuous. Then by the defi-
nition there exists 0 such that for any δ > 0, there exist z, w ∈ |x − y| < δ for which
|f (z) − f (w)| > 0 . Now take δ = n1 and choose zn , wn such that |zn − wn | < n1 . Then
|f (zn ) − f (wn )| > 0 . A contradiction.
8
Examples: (i) f (x) = x2 is uniformly continuous on bounded interval [a, b].
Note that |x2 − y 2 | ≤ |x + y||x − y| ≤ 2b|x − y|. So one can choose δ < 2b .
Remarks:
1. It is easy to see from the definition that if f, g are uniformly continuous, then f ± g
is also uniformly continuous.
Proof. Suppose not. Then there exists > 0 and sequences {xn } and {yn } in [a, b] such
that |xn − yn | < n1 and |f (xn ) − f (yn )| > . But then by Bolzano-Weierstrass theorem,
there exists a subsequence {xnk } of {xn } that converges to x0 . Also ynk → x0 . Now since
f is continuous, we have f (x0 ) = lim f (xnk ) = lim f (ynk ). Hence |f (xnk ) − f (ynk )| → 0,
a contradiction.
Corollary: Suppose f (x) has only removable discontinuities in [a, b]. Then f˜, the exten-
sion of f , is uniformly continuous.
Example: f (x) = sinx x for x 6= 0 and 0 for x = 0 on [0, 1].
Theorem 2.2.11. Let f be a uniformly continuous function and let {xn } be a cauchy
sequence. Then {f (xn )} is also a Cauchy sequence.
Proof. Let > 0. As f is uniformly continuous, there exists δ > 0 such that
9
Therefore |f (xn ) − f (xm )| < .
1
Example: f (x) = x2
is not uniformly continuous on (0, 1).
1
The sequence xn = n
is cauchy but f (xn ) = n2 is not. Hence f cannot be uniformly
continuous.
2.3 Differentiability
Definition 2.3.1. A real valued function f (x) is said to be differentiable at x0 if
f (x0 + h) − f (x0 )
lim exists.
h→0 h
This limit is called the derivative of f at x0 , denoted by f 0 (x0 ).
Example: f (x) = x2
2xh + h2
f 0 (x) = lim = 2x.
h→0 h
Theorem 2.3.2. If f (x) is differentiable at a, then it is continuous at a.
f (x) − f (a)
f (x) = (x − a) + f (a).
(x − a)
Now taking the limit x → a and noting that lim(x − a) = 0 and lim f (x)−f (a)
(x−a)
= f 0 (a), we
get the result.
f
Theorem 2.3.3. Let f, g be differentiable at c ∈ (a, b). Then f ± g, f g and (g(c) 6= 0)
g
is also differentiable at c
Proof. We give the proof for product formula: First note that
10
Since g(c) 6= 0 and g is continuous, we get g(x) 6= 0 in a small interval around c.
Therefore
f f g(c)f (x) − g(c)f (c) + g(c)f (c) − g(x)f (c)
(x) − (c) =
g g g(x)g(c)
Hence
(f /g)(x) − (f /g)(c) f (x) − f (c) g(x) − g(c) 1
= g(c) − f (c)
x−c x−c x−c g(x)g(c)
Then the function h is continuous at y = f (c) and g(y) − g(f (c)) = h(y)(y − f (c)), so
Local extremum: A point x = c is called local maximum of f (x), if there exists δ > 0
such that
0 < |x − c| < δ =⇒ f (c) ≥ f (x).
Similarly, one can define local minimum: x = b is a local minimum of f (x) if there exists
δ > 0 such that
0 < |x − b| < δ =⇒ f (b) ≤ f (x).
Theorem 2.3.5. Let f (x) be a differentiable function on (a, b) and let c ∈ (a, b) is a local
maximum of f . Then f 0 (c) = 0.
11
Proof. Let δ be as in the above definition. Then
f (x) − f (c)
x ∈ (c, c + δ) =⇒ ≤0
x−c
f (x) − f (c)
x ∈ (c − δ, c) =⇒ ≥ 0.
x−c
Now taking the limit x → c, we get f 0 (c) = 0.
Theorem 2.3.6. Rolle’s Theorem: Let f (x) be a continuous function on [a, b] and differ-
entiable on (a, b) such that f (a) = f (b). Then there exists c ∈ (a, b) such that f 0 (c) = 0.
Proof. If f (x) is constant, then it is trivial. Suppose f (x0 ) > f (a) for some x0 ∈ (a, b),
then f attains maximum at some c ∈ (a, b). Other possibilities can be worked out similarly.
Theorem 2.3.7. Mean-Value Theorem (MVT): Let f be a continuous function on [a, b]
and differentiable on (a, b). Then there exists c ∈ (a, b) such that
Proof. Let l(x) be a straight line joining (a, f (a)) and (b, f (b)). Consider the function
g(x) = f (x) − l(x). Then g(a) = g(b) = 0. Hence by Rolle’s theorem
f (b) − f (a)
0 = g 0 (c) = f 0 (c) −
b−a
Proof. By mean value theorem f (x) − f (y) = 0 for all x, y ∈ (a, b).
Problem: If f (x) is differentiable and sup |f 0 (x)| < C for some C. Then, f is uniformly
continuous.
Apply mean value theorem to get |f (x) − f (y)| ≤ C|x − y| for all x, y.
12
Proof. Choose x, y in (a, b) such x < y. Then by MVT, for some c ∈ (x, y)
f (x) − f (y)
= f 0 (c) > 0.
x−y
3 ←x
1
← x−x3/3!+x5/5!
sin(x)
0 ← sin(x)
−1
−2 ← x−x3/6
−3
−4
−pi −pi/2 0 pi/2 pi
−π ≤ x ≤ π
Theorem 2.4.1. Let f (x) and its derivatives of order m are continuous and f (m+1) (x)
13
exists in a neighbourhood of x = a. Then there exists c ∈ (a, x)( or c ∈ (x, a)) such that
(x − a)m
f (x) = f (a) + f 0 (a)(x − a) + ..... + f (m) (a) + Rm (x)
m!
f (m+1) (c)
where Rm (x) = (x − a)m+1 .
(m + 1)!
Proof. Define the functions F and g as
0 f (m) (y)
F (y) = f (x) − f (y) − f (y)(x − y) − .... − (x − y)m ,
m!
m+1
x−y
g(y) = F (y) − F (a).
x−a
Then it is easy to check that g(a) = 0. Also g(x) = F (x) = f (x) − f (x) = 0. Therefore,
by Rolle’s theorem, there exists some c ∈ (a, x) such that
f (m+1) (c)
F 0 (c) = − (x − c)m .
m!
(x − a)m+1 (m+1)
Hence F (a) = f (c) and the result follows.
(m + 1)!
Examples:
x2 x3 xn
(i) ex = 1 + x + + + .... + ec , c ∈ (0, x) or (x, 0) depending on the sign of x.
2! 3! n!
x 3 x5 xn nπ
(ii) sin x = x − + + .... + sin(c + ), c ∈ (0, x) or (x, 0).
3! 5! n! 2
2 4 n
x x x nπ
(iii) cos x = 1 − + + .... + cos(c + ), c ∈ (0, x) or (x, 0).
2! 4! n! 2
Problem: Find the order n of Taylor Polynomial Pn , about x = 0 to approximate ex in
(−1, 1) so that the error is not more than 0.005
xn
Solution: We know that pn (x) = 1 + x + .... + n!
. The maximum error in [-1,1] is
1 e
|Rn (x)| ≤ max |x|n+1 ex ≤ .
(n + 1)! [−1,1] (n + 1)!
14
e
So n is such that (n+1)!
≤ 0.005 or n ≥ 5.
Problem: Find the interval of validity when we approximate cos x with 2nd order poly-
nomial with error tolerance 10−4 .
2 3
Solution: Taylor polynomial of degree 2 for cos x is 1 − x2 . So the remainder is (sin c) x3! .
3
Since | sin c| ≤ 1, the error will be atmost 10−4 if | x3! | ≤ 10−4 . Solving this gives |x| < 0.084
Taylor’s Series
Suppose f is infinitely differentiable at a and if the remainder term in the Taylor’s formula,
Rn (x) → 0 as n → ∞. Then we may formally write
∞
X f (n) (a)
f (x) = (x − a)n .
n=0
n!
For fixed x the above infinite sum is a series of real numbers. One can check the conver-
gence of such series by the convergence tests. This series is called Taylor series of f (x)
about the point a.
It is also natural (why) for one to expect that Rn (x) → 0 as n → ∞ for the Taylor series
to be well defined. In some cases it is easy to verify this. For example,
Suppose there exists C = C(x) > 0, independent of n, such that |f (n) (x)| ≤ C(x). Then
|x − a|n+1
|Rn (x)| → 0 if lim = 0. For any fixed x and a, we can always find N such
n→∞ (n + 1)!
(x − a)n+1 |x − a| |x − a| |x − a| |x − a| |x − a|
= ... ...
(n + 1)! 1 2 N − 1 N n + 1
|x − a|N −1 n−N +2
< q
(N − 1)!
→ 0 as n → ∞ thanks to q < 1.
15
xn+1
Therefore for any given x fixed, lim |Rn (x)| = lim eθx = 0.
n→∞ n→∞ (n + 1)!
Example: (ii) f (x) = sin x.
|x|2n+1 nπ
In this case it is easy to see that |Rn (x)| ≤ | sin(c + )|. Now use the fact that
(2n + 1)! 2
| sin x| ≤ 1 and follow as in example (i).
Definition 2.4.2. A point x = a is called critical point of the function f (x) if f 0 (a) = 0.
Second derivative test: A point x = a is a local maxima if f 0 (a) = 0, f 00 (a) < 0.
Similarly, one can show the following for local minima: x = a is a local minima if
f 0 (a) = 0, f 00 (a) > 0.
Also the above observations show that if f 0 (a) = 0, f 00 (a) = 0 and f (3) (a) 6= 0, then the
sign of f (x) − f (a) depends on (x − a)3 . i.e., it has no constant sign in any interval
containing a. Such point is called point of inflection or saddle point.
We can also derive that if f 0 (a) = f 00 (a) = f (3) (a) = 0, then we again have x = a is a
local minima if f (4) (a) > 0 and is a local maxima if f (4) (a) < 0.
1. If f (k) (a) = 0 for k = 1, 2, ....2n − 1 and f (2n) (a) > 0 then a is a point of local
minimum of f (x)
2. If f (k) (a) = 0 for k = 1, 2, ....2n−1 and f (2n) (a) < 0 then a is a point local maximum
of f (x).
16
3. If f (k) = 0 for k = 1, 2, ....2n − 2 and f (2n−1) (a) 6= 0, then a is point of inflection.
i.e., f has neither local maxima nor local minima at x = a.
L’Hospitals Rule:
Suppose f (x) and g(x) are differentiable n times, f (n) , g (n) are continuous at a and
f (k) (a) = g (k) (a) = 0 for k = 0, 1, 2, ...., n − 1. Also if g (n) (a) 6= 0. Then by Taylor’s
theorem,
In the above, we used the fact that g (n) (x) 6= 0 ”near x = a” and g (n) (c) → g (n) (a) as
x → a.
Similarly, we can derive a formula for limits as x approaches infinity by taking x = y1 .
f (x) f (1/y)
lim = lim
x→∞ g(x) y→0 g(1/y)
(−1/y 2 )f 0 (1/y)
= lim
y→0 (−1/y 2 )g 0 (1/y)
f 0 (x)
= lim 0
x→∞ g (x)
17
∞
an xn converges for |x| < R
P
1.
n=0
∞
an xn diverges for |x| > R.
P
2.
n=0
3. No conclusion if |x| = R.
Proof. Proofpof (i) follows from the root test. For a proof, take αn (x) = an xn and
α = lim sup n |αn |. For (ii), one can show that if |x| > R, then there exists a subsequence
{an } such that an 6→ 0. Notice that α = β|x|. For (iii), observe as earlier that the series
with an = n1 and bn = n12 will have R = 1.
Similarly, we can prove:
∞
an+1
an x . Suppose β = lim an and R = β1
n
P
Theorem 2.5.2. Consider the power series
n=0
(We define R = 0 if β = ∞ and R = ∞ if β = 0). Then
∞
an xn converges for |x| < R
P
1.
n=0
∞
an xn diverges for |x| > R.
P
2.
n=0
3. No conclusion if |x| = R.
Definition 2.5.3. The real number R in the above theorems is called the Radius of con-
vergence of power series.
P xn P n P −n 3n
Examples: Find the interval of convergence of (i) n
(ii) xn! (iii) 2 x
1. β = lim | an+1
an
| = 1, and we know that the series does not converge for x = 1, but
converges at x = −1.
2. β = lim | an+1
an
| = 0. Hence the series converges everywhere.
P −n 3 n P −n n
3. To see the subsequent non-zero
p terms, we write the series as 2 (x ) = 2 y .
−1 −1/3 1/3
For this series βy = lim sup |an | = 2 . Therefore, βx = 2
n
and R = 2 .
(
2n n is even
Example 2.5.4. Let an = . Then lim sup an+1
an
= 4 and the limit of
n−1
2 n is odd
an+1
an
does not exist. But lim sup |an |1/n = 1/2. So the radius of convergence of the series
an xn is 1/2.
P
The following theorem is very useful in identifying the domain of convergence of some
Taylor series.
18
∞
an x n
P
Theorem 2.5.5. (Term by term differentiation and integration): Suppose f (x) =
n=0
converges for |x| < R. Then
∞
nan xn−1 converges in |x| < R and is equal to f 0 (x).
P
1.
n=0
∞
1
R
a xn+1
P
2. n+1 n
converges in |x| < R and is equal to f (x)dx.
n=0
From this theorem one concludes that a power series is infinitely differentiable with in
its radius of convergence. Now it is natural to ask weather this series coincides with the
Taylor series of the resultant function. The answer is yes and it is simple to prove that if
(n)
f (x) = an xn , then an = fn! . The above theorem is useful to find Taylor series of some
P
functions.
Example: The Taylor series of f (x) = tan−1 x and a domain of its convergence.
Z Z
−1 dx
tan x = = 1 − x2 + x4 + ...
1 + x2
x3 x5
=x − + + ...
3 5
It is easy to check that the Radius of convergence of this series is equal to 1 (Try!). At
the end point x = 1 we get interesting sum
1 1 1 π
1− + − + .... = tan−1 (1) = .
3 5 7 4
Though the function tan−1 x is defined on all of R, we see that the power series converges
on (−1, 1). We can apply Abel’s theorem on alternating series to show that the series
converges at x = 1, −1.
For approximation, we can use the error approximation of alternating series discussed
in the previous section. The total error if we approximate tan−1 x by sn (x), then the
n+1
maximum error is |x|n+1 .
We note that the power series may converge to a function on small interval, even though
the function is defined on a much bigger interval. For example the function log(1 + x)
has power series that converges on (−1, 1), but log(1 + x) is defined on (−1, ∞). This
is obvious due to the fact that the domain of convergence of power series is symmetric
about the center. For instance, for a function defined on (−1, 3) the radius of convergence
of its power series(about 0) cannot be more than 1.
Another interesting application is to integrate the functions for which we have no ”clue”.
19
For example,
x x
t2 t4 x3 x5
Z Z
−t2
(1) erf (x) = e dt = (1 − + + ... = x − + + ...
0 0 1! 2! 3 10
x x
t2 t4 x3 x5
Z Z
sin t
(2) = 1− + =x− + + ...
0 t 0 3! 5! 3! · 3 5! · 5
20