(a)
Substituting x = − t x=-t x = − t into the known power series
e x = 1 + x + x 2 2 ! + x 3 3 ! + x 4 4 ! + ⋯ e^x = 1 + x +\frac{x^2}{2!}+\frac{x^3}{3!} + \frac{x^4}{4!} + \cdots e x = 1 + x + 2 ! x 2 + 3 ! x 3 + 4 ! x 4 + ⋯ ,
we see that:
e − t = 1 − t + t 2 2 ! − t 3 3 ! + t 4 4 ! − ⋯ 1 − e − t = t − t 2 2 ! + t 3 3 ! − t 4 4 ! + ⋯ 1 − e − t t = 1 − t 2 ! + t 2 3 ! − t 3 4 ! + ⋯ ∫ 1 − e − t t d t = C + x − x 2 2 ⋅ 2 ! + x 3 3 ⋅ 3 ! − x 4 4 ⋅ 4 ! + ⋯ \begin{aligned}
e^{-t}&= 1 - t +\frac{t^2}{2!}-\frac{t^3}{3!} + \frac{t^4}{4!} - \cdots \\
1-e^{-t}&= t - \frac{t^2}{2!}+ \frac{t^3}{3!} - \frac{t^4}{4!} + \cdots \\
\frac{1-e^{-t}}{t}&= 1 - \frac{t}{2!}+ \frac{t^2}{3!} - \frac{t^3}{4!} + \cdots \\
\int \frac{1-e^{-t}}{t}\ \mathrm{d}t&= C + x - \frac{x^2}{2\cdot 2!}
+ \frac{x^3}{3\cdot 3!} - \frac{x^4}{4\cdot 4!} + \cdots
\end{aligned} e − t 1 − e − t t 1 − e − t ∫ t 1 − e − t d t = 1 − t + 2 ! t 2 − 3 ! t 3 + 4 ! t 4 − ⋯ = t − 2 ! t 2 + 3 ! t 3 − 4 ! t 4 + ⋯ = 1 − 2 ! t + 3 ! t 2 − 4 ! t 3 + ⋯ = C + x − 2 ⋅ 2 ! x 2 + 3 ⋅ 3 ! x 3 − 4 ⋅ 4 ! x 4 + ⋯
Finally, f ( 0 ) = 0 f(0) = 0 f ( 0 ) = 0 (since f ( 0 ) f(0) f ( 0 ) is an integral from 0 0 0 to 0 0 0 ) and so C = 0 C=0 C = 0 . Therefore
f ( x ) = ∫ 0 x 1 − e − t t d t = x − x 2 2 ⋅ 2 ! + x 3 3 ⋅ 3 ! − x 4 4 ⋅ 4 ! + ⋯ . \begin{aligned}
f(x) = \int_0^x\frac{1-e^{-t}}{t}\ \mathrm{d}t = x - \frac{x^2}{2\cdot 2!} + \frac{x^3}{3\cdot 3!} - \frac{x^4}{4\cdot 4!} + \cdots.
\end{aligned} f ( x ) = ∫ 0 x t 1 − e − t d t = x − 2 ⋅ 2 ! x 2 + 3 ⋅ 3 ! x 3 − 4 ⋅ 4 ! x 4 + ⋯ .
We can also do this calculation entirely in summation notation:
e x = ∑ n = 0 ∞ x n n ! e^{x}= \displaystyle\sum\limits_{n=0}^\infty \frac{x^n}{n!} e x = n = 0 ∑ ∞ n ! x n , and so
e − t = ∑ n = 0 ∞ ( − t ) n n ! = 1 + ∑ n = 1 ∞ ( − 1 ) n t n n ! 1 − e − t = − ∑ n = 1 ∞ ( − 1 ) n t n n ! = ∑ n = 1 ∞ ( − 1 ) n − 1 t n n ! 1 − e − t t = ∑ n = 1 ∞ ( − 1 ) n − 1 t n − 1 n ! f ( x ) = ∫ 0 x 1 − e − t t d t = ∑ n = 1 ∞ ( − 1 ) n − 1 x n n ⋅ n ! \begin{aligned}
e^{-t}&= \sum_{n=0}^\infty \frac{(-t)^n}{n!}
=1+ \sum_{n=1}^\infty \frac{(-1)^nt^n}{n!} \\
1-e^{-t}&= - \sum_{n=1}^\infty \frac{(-1)^nt^n}{n!} = \sum_{n=1}^\infty \frac{(-1)^{n-1} t^n}{n!} \\
\frac{1-e^{-t}}{t}&= \sum_{n=1}^\infty \frac{(-1)^{n-1} t^{n-1}}{n!} \\
f(x) = \int_0^x\frac{1-e^{-t}}{t}\ \mathrm{d}t
&= \sum_{n=1}^\infty \frac{(-1)^{n-1} x^n}{n\cdot n!}
\end{aligned} e − t 1 − e − t t 1 − e − t f ( x ) = ∫ 0 x t 1 − e − t d t = n = 0 ∑ ∞ n ! ( − t ) n = 1 + n = 1 ∑ ∞ n ! ( − 1 ) n t n = − n = 1 ∑ ∞ n ! ( − 1 ) n t n = n = 1 ∑ ∞ n ! ( − 1 ) n − 1 t n = n = 1 ∑ ∞ n ! ( − 1 ) n − 1 t n − 1 = n = 1 ∑ ∞ n ⋅ n ! ( − 1 ) n − 1 x n
(b)
We set a n = A n x n = ( − 1 ) n − 1 n ⋅ n ! x n a_n=A_nx^n = \dfrac{(-1)^{n-1}}{n\cdot n!} x^n a n = A n x n = n ⋅ n ! ( − 1 ) n − 1 x n and apply
the ratio test.
lim n → ∞ ∣ a n + 1 a n ∣ = lim n → ∞ ∣ ( − 1 ) n x n + 1 / ( ( n + 1 ) ⋅ ( n + 1 ) ! ) ( − 1 ) n − 1 x n / ( n ⋅ n ! ) ∣ = lim n → ∞ ( ∣ x ∣ n + 1 ∣ x ∣ n n ⋅ n ! ( n + 1 ) ⋅ ( n + 1 ) ! ) = lim n → ∞ ( ∣ x ∣ n ( n + 1 ) 2 ) since ( n + 1 ) ! = ( n + 1 ) n ! = 0 \begin{aligned}
\lim_{n\rightarrow\infty}\Big|\frac{a_{n+1}}{a_n}\Big|
&=\lim_{n\rightarrow\infty}
\bigg|\frac{{(-1)^{n}}x^{n+1}/{((n+1)\cdot (n+1)!)}}
{{(-1)^{n-1}}x^n/{(n\cdot n!)}}\bigg| \\
&=\lim_{n\rightarrow\infty}
\bigg( \frac{|x|^{n+1}}{|x|^n} \frac{n\cdot n!}{(n+1)\cdot (n+1)!} \bigg) \\
&=\lim_{n\rightarrow\infty}
\bigg( |x|\frac{n}{(n+1)^2} \bigg)
\qquad\text{since $(n+1)!=(n+1)\,n!$}
\\
&=0
\end{aligned} n → ∞ lim a n a n + 1 = n → ∞ lim ( − 1 ) n − 1 x n / ( n ⋅ n !) ( − 1 ) n x n + 1 / (( n + 1 ) ⋅ ( n + 1 )!) = n → ∞ lim ( ∣ x ∣ n ∣ x ∣ n + 1 ( n + 1 ) ⋅ ( n + 1 )! n ⋅ n ! ) = n → ∞ lim ( ∣ x ∣ ( n + 1 ) 2 n ) since ( n + 1 )! = ( n + 1 ) n ! = 0
This is smaller than 1 1 1 no matter what x x x is.
So the series converges for all x x x .