July 07, 2026 - Calculus 2 - Power Series Multiplication, Calculus, and Taylor Series

Multiplication of Power Series

  • General Principle: Multiplying power series is conceptually identical to multiplying polynomials, with the distinction that the operation continues infinitely. You must look at each individual degree term by multiplying every term in the first series by every term in the second series.

  • Example Case: Find the power series representation for 1(1x)(1x2)\frac{1}{(1-x)(1-x^2)}.

    • This can be viewed as the product of two separate power series: f(x)=11xf(x) = \frac{1}{1-x} and g(x)=11x2g(x) = \frac{1}{1-x^2}.

    • f(x)=n=0xn=1+x+x2+x3+x4+f(x) = \sum_{n=0}^\infty x^n = 1 + x + x^2 + x^3 + x^4 + \dots

    • g(x)=n=0(x2)n=1+x2+x4+x6+g(x) = \sum_{n=0}^\infty (x^2)^n = 1 + x^2 + x^4 + x^6 + \dots

  • Manual Multiplication Process:

    • Take the second polynomial and multiply it by each term of the first polynomial.

    • Term by Term Analysis:

      • Degree 0 (Constant): Obtained only by $1 \times 1$. Result: 11.

      • Degree 1 (xx): Obtained by x×1x \times 1. There are no $x$ terms in the second series. Result: 1x1x.

      • Degree 2 (x2x^2): Obtained by 1×x21 \times x^2 and x2×1x^2 \times 1. Result: 2x22x^2.

      • Degree 3 (x3x^3): Obtained by x×x2x \times x^2 and x3×1x^3 \times 1. Result: 2x32x^3.

      • Degree 4 (x4x^4): Obtained by 1×x41 \times x^4, x2×x2x^2 \times x^2, and x4×1x^4 \times 1. Result: 3x43x^4.

      • Degree 5 (x5x^5): Obtained by x×x4x \times x^4, x3×x2x^3 \times x^2, and x5×1x^5 \times 1. Result: 3x53x^5.

  • Observed Pattern: The coefficients follow a repeating step pattern: $1, 1, 2, 2, 3, 3, 4, 4, \dots$.

  • Mathematical Representation: Because there isn't a single simple formula for this repeating pattern, the series is best represented by breaking it into even and odd components:

    • Even terms: n=0(n+1)x2n\sum_{n=0}^\infty (n+1)x^{2n}

    • Odd terms: n=0(n+1)x2n+1\sum_{n=0}^\infty (n+1)x^{2n+1}

Calculus on Power Series

  • Term-by-Term Differentiation: If a function behaves as a power series, you can find the derivative by applying the power rule to every individual term.

    • If f(x)=n=0cnxn=c0+c1x+c2x2+c3x3+f(x) = \sum_{n=0}^\infty c_n x^n = c_0 + c_1x + c_2x^2 + c_3x^3 + \dots

    • Then f(x)=c1+2c2x+3c3x2+=n=1ncnxn1f'(x) = c_1 + 2c_2x + 3c_3x^2 + \dots = \sum_{n=1}^\infty n c_n x^{n-1}.

  • Derivative of the Geometric Series:

    • Let f(x)=11x=1+x+x2+x3+f(x) = \frac{1}{1-x} = 1 + x + x^2 + x^3 + \dots

    • f(x)=1(1x)2=1+2x+3x2+4x3+f'(x) = \frac{1}{(1-x)^2} = 1 + 2x + 3x^2 + 4x^3 + \dots

  • Integration of Power Series: Similarly, the anti-derivative is found by integrating each term individually and adding a constant of integration CC.

    • f(x)dx=C+n=0cnxn+1n+1\int f(x)\,dx = C + \sum_{n=0}^\infty c_n \frac{x^{n+1}}{n+1}.

  • Example: Finding the Power Series for ln(1+x)\ln(1+x):

    • We know ddxln(1+x)=11+x\frac{d}{dx} \ln(1+x) = \frac{1}{1+x}.

    • The series for 11+x\frac{1}{1+x} is the alternating geometric series: 1x+x2x3+1 - x + x^2 - x^3 + \dots

    • Integrating term-by-term: ln(1+x)=C+xx22+x33x44+\ln(1+x) = C + x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \dots

    • To find CC, plug in x=0x=0: ln(1+0)=C+0\ln(1+0) = C + 0. Since ln(1)=0\ln(1) = 0, then C=0C=0.

    • Final form: ln(1+x)=n=0(1)nxn+1n+1\ln(1+x) = \sum_{n=0}^\infty \frac{(-1)^n x^{n+1}}{n+1}.

  • Example: Finding the Power Series for arctan(x)\arctan(x):

    • We know ddxarctan(x)=11+x2\frac{d}{dx} \arctan(x) = \frac{1}{1+x^2}.

    • The series for 11+x2\frac{1}{1+x^2} is derived by replacing xx with x2-x^2 in the geometric series: 1x2+x4x6+1 - x^2 + x^4 - x^6 + \dots

    • Integrating term-by-term: arctan(x)=C+xx33+x55x77+\arctan(x) = C + x - \frac{x^3}{3} + \frac{x^5}{5} - \frac{x^7}{7} + \dots

    • Plugging in x=0x=0: arctan(0)=0\arctan(0) = 0, so C=0C=0.

    • Final form: arctan(x)=n=0(1)nx2n+12n+1\arctan(x) = \sum_{n=0}^\infty \frac{(-1)^n x^{2n+1}}{2n+1}.

General Taylor Series Coefficients

  • Derivation of the Formula: We want to determine the coefficients cnc_n for a general power series centered at aa:

    • f(x)=c0+c1(xa)+c2(xa)2+c3(xa)3+c4(xa)4+f(x) = c_0 + c_1(x-a) + c_2(x-a)^2 + c_3(x-a)^3 + c_4(x-a)^4 + \dots

    • Evaluated at aa: f(a)=c0f(a) = c_0.

    • First derivative: f(x)=c1+2c2(xa)+3c3(xa)2+4c4(xa)3+f'(x) = c_1 + 2c_2(x-a) + 3c_3(x-a)^2 + 4c_4(x-a)^3 + \dots Evaluated at aa: f(a)=c1f'(a) = c_1.

    • Second derivative: f(x)=2c2+3×2c3(xa)+4×3c4(xa)2+f''(x) = 2c_2 + 3 \times 2c_3(x-a) + 4 \times 3c_4(x-a)^2 + \dots Evaluated at aa: f(a)=2c2f''(a) = 2c_2, so c2=f(a)2c_2 = \frac{f''(a)}{2}.

    • Third derivative: f(x)=3×2×1c3+4×3×2c4(xa)+f'''(x) = 3 \times 2 \times 1 c_3 + 4 \times 3 \times 2 c_4(x-a) + \dots Evaluated at aa: f(a)=3!c3f'''(a) = 3! c_3, so c3=f(a)3!c_3 = \frac{f'''(a)}{3!}.

  • General Taylor Coefficient Formula: cn=f(n)(a)n!c_n = \frac{f^{(n)}(a)}{n!}.

  • Taylor Series Definition: A representation of a function as an infinite sum of terms calculated from the values of its derivatives at a single point.

    • f(x)=n=0f(n)(a)n!(xa)nf(x) = \sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!}(x-a)^n

Power Series for Exponential and Trigonometric Functions

  • Exponential Function (exe^x):

    • Centered at a=0a=0 (Maclaurin series).

    • Since ddxex=ex\frac{d}{dx} e^x = e^x, all derivatives evaluated at 00 are e0=1e^0 = 1.

    • Series: n=0xnn!=1+x+x22!+x33!+x44!+\sum_{n=0}^\infty \frac{x^n}{n!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \frac{x^4}{4!} + \dots

    • Radius of Convergence (RR): Using the Ratio Test, the limit of xn+1(n+1)!×n!xn=xn+1\frac{x^{n+1}}{(n+1)!} \times \frac{n!}{x^n} = \frac{x}{n+1} as nn \to \infty is 00. Thus, the series converges everywhere (R=R = \infty).

  • Sine Function (sin(x)\sin(x)):

    • Derivatives at x=0x=0: sin(0)=0\sin(0)=0, cos(0)=1\cos(0)=1, sin(0)=0-\sin(0)=0, cos(0)=1-\cos(0)=-1. The sequence of coefficients repeats 0,1,0,10, 1, 0, -1.

    • Since all even derivatives are 00, the series contains only odd powers.

    • Series: n=0(1)nx2n+1(2n+1)!=xx33!+x55!x77!+\sum_{n=0}^\infty \frac{(-1)^n x^{2n+1}}{(2n+1)!} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \dots

    • Radius of Convergence: Similar to exe^x, the factorial in the denominator ensures convergence everywhere (R=R = \infty).

  • Cosine Function (cos(x)\cos(x)):

    • Derivatives at x=0x=0: cos(0)=1\cos(0)=1, sin(0)=0-\sin(0)=0, cos(0)=1-\cos(0)=-1, sin(0)=0\sin(0)=0. The sequence repeats 1,0,1,01, 0, -1, 0.

    • Since all odd derivatives are 00, the series contains only even powers.

    • Series: n=0(1)nx2n(2n)!=1x22!+x44!x66!+\sum_{n=0}^\infty \frac{(-1)^n x^{2n}}{(2n)!} = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \dots

    • Alternatively, this is the derivative of the sine series.

Euler's Formula

  • Connection and Manipulation: Euler discovered a profound connection between exponential and trigonometric functions by substituting an imaginary value (ixix) into the power series for exe^x.

  • Derivation:

    • eix=1+(ix)+(ix)22!+(ix)33!+(ix)44!+(ix)55!+e^{ix} = 1 + (ix) + \frac{(ix)^2}{2!} + \frac{(ix)^3}{3!} + \frac{(ix)^4}{4!} + \frac{(ix)^5}{5!} + \dots

    • Simplify powers of ii (i2=1,i3=i,i4=1,i5=ii^2 = -1, i^3 = -i, i^4 = 1, i^5 = i):

    • eix=1+ixx22!ix33!+x44!+ix55!e^{ix} = 1 + ix - \frac{x^2}{2!} - \frac{ix^3}{3!} + \frac{x^4}{4!} + \frac{ix^5}{5!} - \dots

  • Separation of Terms:

    • Real parts (even powers): 1x22!+x44!=cos(x)1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \dots = \cos(x).

    • Imaginary parts (odd powers): i(xx33!+x55!)=isin(x)i(x - \frac{x^3}{3!} + \frac{x^5}{5!} - \dots) = i\sin(x).

  • Final Identity: eix=cos(x)+isin(x)e^{ix} = \cos(x) + i\sin(x).

  • The "Most Beautiful Formula": Evaluating Euler's identity at x=πx = \pi:

    • eiπ=cos(π)+isin(π)e^{i\pi} = \cos(\pi) + i\sin(\pi)

    • eiπ=1+i(0)e^{i\pi} = -1 + i(0)

    • eiπ+1=0e^{i\pi} + 1 = 0, which relates the five fundamental mathematical constants (e,i,π,1,0e, i, \pi, 1, 0).

Questions & Discussion

  • Question (Triangle Pattern): When discussing the multiplication of series, a student asked if the result follows a triangle pattern like Pascal's triangle.

  • Response: Not quite. The coefficients follow a pair-based counting pattern (1,1,2,2,3,31, 1, 2, 2, 3, 3 \dots). For example, x2x^2 has a coefficient of 22, x3x^3 has 22, x4x^4 has 33, and x5x^5 has 33. This occurs because as you multiply by higher degrees, the lower degree terms eventually stop being produced.

  • Question (Shifting Center): How does shifting the center to a value other than zero (e.g., a=2a=2) change the calculus?

  • Response: Shifting the center (e.g., using x2x-2 instead of xx) is fundamentally just a left or right shift of the function. The derivative and integral rules remain the same, provided you maintain the shift (xax-a) inside the terms. For instance, finding arcsin or arctan centered at 22 would involve plugging x2x-2 into the series and solving for the constant CC by plugging in 22.