Solveeit Logo

Question

Question: How is the series expansion of some elements like sinx, cowx, etc is proved?...

How is the series expansion of some elements like sinx, cowx, etc is proved?

Answer

The series expansion of elements like sinx, cosx, etc., is proved using Taylor's Theorem with a remainder term. The proof involves showing that the remainder term approaches zero as the number of terms in the series approaches infinity, thus demonstrating that the function is equal to its infinite series expansion within its radius of convergence.

Explanation

Solution

The series expansion of functions like sinx\sin x, cosx\cos x, exe^x, etc., is rigorously proved using Taylor's Theorem with a Remainder Term. This theorem states that if a function f(x)f(x) has derivatives of all orders up to (n+1)(n+1) in an interval containing aa, then for any xx in that interval, f(x)f(x) can be expressed as:

Taylor's Theorem with Remainder

f(x)=f(a)+f(a)(xa)+f(a)2!(xa)2++f(n)(a)n!(xa)n+Rn(x)f(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + \dots + \frac{f^{(n)}(a)}{n!}(x-a)^n + R_n(x)

Here, Rn(x)R_n(x) is the remainder term, which accounts for the difference between the function and its nn-th degree Taylor polynomial. The most common form of the remainder term is the Lagrange form:

Rn(x)=f(n+1)(c)(n+1)!(xa)n+1R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}

where cc is some value between aa and xx.

Proof of Series Expansion

To prove that a function f(x)f(x) is exactly equal to its infinite Taylor series (or Maclaurin series if a=0a=0) within a certain interval, we must show that the remainder term Rn(x)R_n(x) approaches zero as nn approaches infinity:

limnRn(x)=0\lim_{n \to \infty} R_n(x) = 0

If this condition is met for a given xx, then the infinite Taylor series converges to f(x)f(x):

f(x)=k=0f(k)(a)k!(xa)kf(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(a)}{k!}(x-a)^k

Example: Proof for sinx\sin x (Maclaurin Series, i.e., a=0a=0)

  1. Find Derivatives:

    Let f(x)=sinxf(x) = \sin x. The derivatives are:

    • f(x)=sinxf(x) = \sin x

    • f(x)=cosxf'(x) = \cos x

    • f(x)=sinxf''(x) = -\sin x

    • f(x)=cosxf'''(x) = -\cos x

    • f(4)(x)=sinxf^{(4)}(x) = \sin x

    The derivatives cycle with a period of 4.

  2. Bound the Derivatives:

    For any kk, the kk-th derivative f(k)(x)f^{(k)}(x) will be either ±sinx\pm \sin x or ±cosx\pm \cos x. Therefore, for any real xx and any kk:

    f(k)(x)1|f^{(k)}(x)| \le 1
  3. Apply Remainder Term:

    Using the Lagrange form of the remainder term with a=0a=0:

    Rn(x)=f(n+1)(c)(n+1)!xn+1R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}x^{n+1}

    Taking the absolute value:

    Rn(x)=f(n+1)(c)(n+1)!xn+1=f(n+1)(c)(n+1)!xn+1|R_n(x)| = \left| \frac{f^{(n+1)}(c)}{(n+1)!}x^{n+1} \right| = \frac{|f^{(n+1)}(c)|}{(n+1)!}|x|^{n+1}

    Since f(n+1)(c)1|f^{(n+1)}(c)| \le 1:

    Rn(x)1(n+1)!xn+1|R_n(x)| \le \frac{1}{(n+1)!}|x|^{n+1}
  4. Evaluate the Limit:

    Now, we need to evaluate the limit of this upper bound as nn \to \infty:

    limnxn+1(n+1)!\lim_{n \to \infty} \frac{|x|^{n+1}}{(n+1)!}

    For any fixed real number xx, as nn becomes very large, the factorial term (n+1)!(n+1)! grows much faster than the exponential term xn+1|x|^{n+1}. Therefore, this limit is 0 for all real xx.

    For example, consider the ratio of consecutive terms: xn+2/(n+2)!xn+1/(n+1)!=xn+2\frac{|x|^{n+2}/(n+2)!}{|x|^{n+1}/(n+1)!} = \frac{|x|}{n+2}. As nn \to \infty, this ratio approaches 0, indicating that the terms rapidly decrease to zero.

  5. Conclusion:

    Since limnRn(x)=0\lim_{n \to \infty} R_n(x) = 0 for all real xx, it proves that sinx\sin x is equal to its infinite Maclaurin series for all real numbers:

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

    A similar proof applies to cosx\cos x and exe^x, as their derivatives are also bounded (or their growth is dominated by the factorial in the denominator).

The core idea is to show that the error in approximating the function by its finite Taylor polynomial vanishes as more terms are included.