Calculus · real student question

Find the Taylor series at x = 0 of the function a/(4b(x + b)) times exp(-4b/(x + 2b)), up to the x^4 term.

Question

Find the Taylor expansion about x=0x=0, up to the x4x^4 term, of

f(x)=1x+ba4bexp ⁣(4bx+2b),b0f(x)=\frac{1}{x+b}\cdot\frac{a}{4b}\cdot\exp\!\left(-\frac{4b}{x+2b}\right),\qquad b\neq 0

Step-by-step solution

  1. Scale the parameter out first. Setting t=x/bt=x/b gives x+b=b(1+t)x+b=b(1+t) and x+2b=b(2+t)x+2b=b(2+t), and the bb inside the exponential cancels completely:

    f=a4b211+texp ⁣(42+t)g(t)f=\frac{a}{4b^2}\cdot\underbrace{\frac{1}{1+t}\exp\!\left(-\frac{4}{2+t}\right)}_{g(t)}

    Now only one parameter-free series g(t)g(t) has to be expanded - this is what keeps the algebra manageable.

  2. Expand the exponent as a geometric series. Writing 42+t=21+t/2-\frac{4}{2+t}=-\frac{2}{1+t/2} and using 11+u=1u+u2\frac{1}{1+u}=1-u+u^2-\cdots with u=t/2u=t/2:

    42+t=2+tt22+t34t48+-\frac{4}{2+t}=-2+t-\frac{t^2}{2}+\frac{t^3}{4}-\frac{t^4}{8}+\cdots

    The leading 2-2 factors out as the constant e2e^{-2}, which is why e2e^{-2} appears in every coefficient of the final answer.

  3. Exponentiate the remainder. With h(t)=tt22+t34t48h(t)=t-\tfrac{t^2}{2}+\tfrac{t^3}{4}-\tfrac{t^4}{8}, use eh=1+h+h22+h36+h424e^{h}=1+h+\tfrac{h^2}{2}+\tfrac{h^3}{6}+\tfrac{h^4}{24} and collect powers:

    exp ⁣(42+t)=e2(1+t+0t2t312+t424+)\exp\!\left(-\frac{4}{2+t}\right)=e^{-2}\left(1+t+0\cdot t^2-\frac{t^3}{12}+\frac{t^4}{24}+\cdots\right)

    The t2t^2 coefficient cancels exactly: 12+12=0-\tfrac12+\tfrac12=0.

  4. Multiply by the geometric factor 1/(1+t)1/(1+t). With 11+t=1t+t2t3+t4\frac{1}{1+t}=1-t+t^2-t^3+t^4-\cdots, the Cauchy product gives coefficients 11, 11=01-1=0, 11+0=01-1+0=0, 1+1+0112=112-1+1+0-\tfrac1{12}=-\tfrac1{12}, and 11+0+112+124=181-1+0+\tfrac1{12}+\tfrac1{24}=\tfrac18:

    g(t)=e2(1t312+t48+)g(t)=e^{-2}\left(1-\frac{t^3}{12}+\frac{t^4}{8}+\cdots\right)

    Both the tt and t2t^2 terms vanish - the function is unusually flat at the origin.

  5. Substitute back t=x/bt=x/b.

    f(x)=ae24b2[1x312b3+x48b4+]=ae24b2ae248b5x3+ae232b6x4+O(x5)f(x)=\frac{a\,e^{-2}}{4b^2}\left[1-\frac{x^3}{12b^3}+\frac{x^4}{8b^4}+\cdots\right]=\frac{a e^{-2}}{4b^2}-\frac{a e^{-2}}{48b^5}x^3+\frac{a e^{-2}}{32b^6}x^4+O(x^5)

  6. Verify the coefficients numerically. Least-squares fitting a degree-8 polynomial to g(t)g(t) on t[0.3,0.3]t\in[-0.3,0.3] returns coefficients 1.00001.0000, 3×1073\times10^{-7}, 1×106-1\times10^{-6}, 0.08338-0.08338, 0.125090.12509 after dividing by e2e^{-2} - matching 1,0,0,112=0.08333,18=0.1251,0,0,-\tfrac1{12}=-0.08333,\tfrac18=0.125 ✓. Also g(0)=e2=0.135335g(0)=e^{-2}=0.135335 ✓.

Answer

f(x)=ae24b2[1x312b3+x48b4+O(x5)]f(x)=\frac{a e^{-2}}{4b^{2}}\left[1-\frac{x^{3}}{12b^{3}}+\frac{x^{4}}{8b^{4}}+O(x^{5})\right]

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