How to expand in Maclaurin series this? #f(x)=int_0^xlog(1-t)/tdt#

1 Answer
Feb 12, 2018

#f(x) = -1/(ln(10))[x + x^2/4 + x^3/9 + x^4/16 + ... + x^(n+1)/(n+1)^2]#

Visual: Check out this graph

Explanation:

We clearly cannot evaluate this integral as it is using any of the regular integration techniques we've learned. However, since it is a definite integral, we can use a MacLaurin series and do what is called term by term integration.

We'll need to find the MacLaurin series. Since we don't want to find the nth derivative of that function, we'll need to try and fit it into one of the MacLaurin series we already know.

Firstly, we don't like #log#; we want to make that a #ln#. To do this, we can simply employ the change of base formula:

#log(x) = ln(x)/ln(10)#

So we have:

#int_0^xln(1-t)/(tln(10))dt#

Why do we do this? Well, now notice that #d/dxln(1-t) = -1/(1-t)# Why is this so special? Well, #1/(1-x)# is one of our commonly used MacLaurin series:

#1/(1-x) = 1 + x + x^2 + x^3 + ... = sum_(n = 0)^oox^n#

...for all #x# on #(-1, 1]#

So, we can use this relationship to our advantage, and replace #ln(1-t)# with #int-1/(1-t)dt#, which allows us to replace that #ln# term with a MacLaurin series. Putting this together gives:

#ln(1-t)/(tln(10)) = -1/(tln(10))int[1 + t + t^2 + t^3 + ... + t^n]dt#

Evaluating the integral:
#= -1/(tln(10))[t + t^2/2 + t^3/3 + t^4/4 + ... + t^(n+1)/(n+1)]#

Cancelling out the #t# term in the denominator:
#= -1/(ln(10))[1 + t/2 + t^2/3 + t^3/4 + ... + t^(n)/(n+1)]#

And now, we take the definite integral we began the problem with:
#int_0^x(-1/(ln(10))[1 + t/2 + t^2/3 + t^3/4 + ... + t^(n)/(n+1)])dt#

Note: Observe how we now do not need to worry about dividing by zero in this problem, which is an issue we'd have had in the original integrand due to the #t# term in the denominator. Since this was cancelled in the previous step, it shows that the discontinuity is removable, which works well for us.

# = -1/(ln(10))[t + t^2/4 + t^3/9 + t^4/16 + ... + t^(n+1)/(n+1)^2]# evaluated from #0# to #x#

# = -1/(ln(10))[x + x^2/4 + x^3/9 + x^4/16 + ... + x^(n+1)/(n+1)^2] - 0#

# = -1/(ln(10))[x + x^2/4 + x^3/9 + x^4/16 + ... + x^(n+1)/(n+1)^2]#

Make sure you realize, though, that this series is only good on the interval #(1, 1]#, since the MacLaurin series we used above is only convergent on this interval. Check out this graph I made to get a better idea of what this looks like.

Hope that helped :)