Section 10.6: Representations of Functions as Power Series In this section, we learn how to represent certain types of functions as power series by manipulating geometric series. Recall that by the Geometric Series Test, if |r| < 1, then ∞ X arn = n=0 a . 1−r Therefore, if |x| < 1, then the power series ∞ X axn = n=0 Example: Find the sum of the series a . 1−x ∞ X (3x)n and the radius of convergence. n=0 By the Geometric Series Test, if |3x| < 1, then ∞ X (3x)n = n=0 1 . 1 − 3x To find the radius of convergence, set |3x| < 1 1 |x| < . 3 The radius of convergence is R = 1/3. Example: Find the sum of the series ∞ X (2x + 1)(27x3 )n and the radius of convergence. n=0 By the Geometric Series Test, if |27x3 | < 1, then ∞ X 2x + 1 (2x + 1)(27x3 )n = . 3 1 − 27x n=0 To find the radius of convergence, set |27x3 | < 1 1 |x3 | < 27 1 |x| < . 3 The radius of convergence is R = 1/3. Example: Find a power series representation for the given function and determine the radius of convergence. x (a) f (x) = 1 − 5x The function can be represented as ∞ ∞ X X x 1 n =x =x (5x) = 5n xn+1 . 1 − 5x 1 − (5x) n=0 n=0 1 The series converges for |5x| < 1. Therefore, the radius of convergence is R = . 5 (b) f (x) = 1 1 + 4x2 The function can be represented as ∞ ∞ X X 1 1 2 n (−4)n x2n . (−4x ) = = = 2 2 1 + 4x 1 − (−4x ) n=0 n=0 To find the radius of convergence, set | − 4x2 | < 1 1 |x|2 < 4 1 |x| < . 2 1 Therefore, the radius of convergence is R = . 2 (c) f (x) = x x+3 The function can be represented as ∞ ∞ x x x 1 x X x n X (−1)n n+1 x = − = x . = x = 3 n+1 3+x 3 n=0 3 3 3 1+ 1− n=0 3 3 x The series converges for − < 1. Therefore, the radius of convergence is R = 3. 3 Theorem: (Differentiation and Integration of Power Series) ∞ X If the power series f (x) = cn xn has radius of convergence R > 0, then n=0 0 1. f (x) = ∞ X cn nxn−1 and has radius of convergence R n=1 Z 2. ∞ X cn n+1 x and has radius of convergence R. f (x)dx = C + n+1 n=0 Example: Find a power series representation for the given function and determine the radius of convergence. (a) f (x) = 1 (3 + x)2 Integrating the function gives Z Z f (x)dx = 1 dx (3 + x)2 1 = C− 3+ x 1 1 = C− 3 1+ x 3 1 1 x = C− 3 1− − 3 ∞ X x n 1 − = C+ − 3 3 n=0 ∞ n+1 X 1 = C+ − xn . 3 n=0 Therefore, " n+1 # X n+1 ∞ ∞ X d 1 1 n C+ x = − nxn−1 . f (x) = − dx 3 3 n=0 n=1 x The series converges for − < 1. Thus, the radius of convergence is R = 3. 3 (b) f (x) = x2 (1 − 3x)2 Let g(x) = 1 . Then (1 − 3x)2 Z Z g(x)dx = = = = = 1 dx (1 − 3x)2 Z 1 1 − du 3 u2 1 C+ 3u 1 C+ 3(1 − 3x) ∞ X 1 C+ (3x)n 3 n=0 = C+ ∞ X 3n−1 xn . n=0 Therefore, " # ∞ ∞ X X d n−1 n g(x) = C+ 3 x = 3n−1 nxn−1 . dx n=0 n=1 So a power series for f (x) is, 2 f (x) = x g(x) = ∞ X 3n−1 nxn+1 . n=1 1 The series converges for |3x| < 1. Thus, the radius of convergence is R = . 3 (c) f (x) = ln(2 + x) Differentiating the function gives ∞ ∞ X 1 1 1 1 1 1 x n X (−1)n n 0 = = − = x . f (x) = = 2+x 2 1+ x 2 1 − −x 2 2 2n+1 n=0 n=0 2 2 Therefore, f (x) = Z X ∞ (−1)n 2n+1 xn dx n=0 ∞ X = C+ = C+ (−1)n xn+1 2n+1 n + 1 n=0 ∞ X (−1)n x n+1 n=0 n+1 2 . Now f (0) = C = ln 2 and so ∞ X (−1)n x n+1 f (x) = ln 2 + . n+1 2 n=0 x The series converges for − < 1. Thus, the radius of convergence is R = 2. 2 (d) f (x) = tan−1 x Differentiating the function gives ∞ ∞ X X 1 1 2 n f (x) = = = (−x ) = (−1)n x2n . 1 + x2 1 − (−x2 ) n=0 n=0 0 Therefore, Z X ∞ f (x) = (−1)n x2n dx n=0 ∞ X (−1)n = C+ n=0 x2n+1 2n + 1 ∞ X (−1)n 2n+1 = C+ x . 2n + 1 n=0 Now f (0) = C = 0 and so ∞ X (−1)n 2n+1 f (x) = x . 2n + 1 n=0 This series converges for | − x2 | < 1. That is, for |x| < 1. So the radius of convergence is R = 1. This series is known as Gregory’s series. Note: Using the power series for tan−1 x, we have ∞ X π (−1)n 1 1 1 −1 = tan (1) = = 1 − + − + ··· . 4 2n + 1 3 5 7 n=0 This result is known as the Leibniz formula for π. Z Example: Evaluate x dx as a power series. 1 + x5 The integrand can be expressed as ∞ ∞ X X x x 5 n = x(−x ) = (−1)n x5n+1 . = 1 + x5 1 − (−x5 ) n=0 n=0 Therefore, Z x dx = 1 + x5 Z X ∞ ∞ X (−1)n 5n+2 n 5n+1 (−1) x dx = C + x . 5n + 2 n=0 n=0 0.2 Z Example: Use a power series to approximate 0 1 dx to six decimal places. 1 + x4 The integrand can be expressed as ∞ ∞ X X 1 1 4 n (−1)n x4n . = = (−x ) = 4 4 1+x 1 − (−x ) n=0 n=0 Therefore, Z 0 0.2 1 dx = 1 + x4 Z ∞ 0.2 X 0 (−1)n x4n dx n=0 0.2 ∞ X (−1)n 4n+1 = x 4n + 1 n=0 0 = ∞ X n=0 n (−1) 54n+1 (4n + 1) . By the Remainder Estimate for Alternating Series, |Rn | ≤ an+1 = 1 . + 1) If we stop adding after the term with n = 1, the error is smaller than the term with n = 2: 1 ≈ 5.7 × 10−8 . 9 5 ·9 So an approximation is Z 0.2 1 1 1 dx ≈ − 5 ≈ 0.1999360000. 4 1+x 5 5 ·5 0 54n+1 (4n