Calculus · real student question

Find the Taylor series expansion of 2^x about x = 0.

Question

Find the Taylor series of 2x2^x centred at x=0x = 0.

Step-by-step solution

  1. Convert the base-2 power into a base-e power. Differentiating 2x2^x repeatedly is awkward, but every exponential can be rewritten on base ee using a=elnaa = e^{\ln a}:

    2x=(eln2)x=exln22^x = \left(e^{\ln 2}\right)^x = e^{x\ln 2}

    Now the problem reduces to a series that is already known.

  2. Substitute into the exponential series. Since eu=n=0unn!e^{u} = \sum_{n=0}^{\infty} \frac{u^n}{n!} for all real uu, put u=xln2u = x\ln 2:

    2x=n=0(xln2)nn!=n=0(ln2)nn!xn2^x = \sum_{n=0}^{\infty} \frac{(x\ln 2)^n}{n!} = \sum_{n=0}^{\infty} \frac{(\ln 2)^n}{n!}\,x^n

  3. Confirm the coefficients match the derivative definition. The Maclaurin coefficient is f(n)(0)n!\frac{f^{(n)}(0)}{n!}, and dndxn2x=(ln2)n2x\frac{d^n}{dx^n}2^x = (\ln 2)^n 2^x, which at x=0x = 0 equals (ln2)n(\ln 2)^n. Dividing by n!n! reproduces the same coefficients — the shortcut and the definition agree.

  4. Write out the first few terms. With ln20.6931472\ln 2 \approx 0.6931472:

    2x=1+0.693147x+0.240227x2+0.055504x3+0.009618x4+2^x = 1 + 0.693147\,x + 0.240227\,x^2 + 0.055504\,x^3 + 0.009618\,x^4 + \cdots

    Unlike exe^x, whose coefficients shrink purely by the factorial, these shrink faster because ln2<1\ln 2 < 1 contributes an extra decaying factor each term.

  5. State the radius of convergence. The exponential series converges for every real uu, and u=xln2u = x\ln 2 is finite whenever xx is, so the radius is infinite: the expansion is valid for all xRx \in \mathbb{R}.

  6. Spot-check at x = 1. Summing the first eight terms gives 1+0.693147+0.240227+0.055504+0.009618+0.001333+0.000154+0.000015=1.9999991 + 0.693147 + 0.240227 + 0.055504 + 0.009618 + 0.001333 + 0.000154 + 0.000015 = 1.999999, converging to 21=22^1 = 2 as expected.

Answer

2x=n=0(ln2)nn!xn=1+xln2+x2ln222!+x3ln323!+2^x = \sum_{n=0}^{\infty} \frac{(\ln 2)^n}{n!}\,x^n = 1 + x\ln 2 + \frac{x^2\ln^2 2}{2!} + \frac{x^3\ln^3 2}{3!} + \cdots

Need to solve a different problem like this? Open the solver →