# Video: Finding a Function Given the Maclaurin Series Expansion

A function π has a Maclaurin series given by π₯Β³ β (π₯βΆ/2) + (π₯βΉ/3) + ... + (β1)^π (π₯^(3π)/π) + .... Which of the following is an expression for π(π₯)? [A] sin 3π₯ [B] ln (1 + π₯Β³) [C] π^(3π₯) β cos π₯ [D] π^(3π₯) + cos π₯

04:09

### Video Transcript

A function π has a Maclaurin series given by π₯ cubed minus π₯ to the sixth power over two plus π₯ to the ninth power over three plus all the way up to negative one to the πth power times π₯ to the power of three π over π. Which of the following is an expression for π of π₯? Is it (a) sin of three π₯, (b) the natural log of one plus π₯ cubed, (c) π to the power of three π₯ minus cos of π₯, or (d) π to the power of three π₯ plus cos of π₯?

Remember, the Maclaurin series is a special case of the Taylor series. Itβs the Taylor series of a function π centered or about zero. The Taylor series becomes π of π₯ is equal to the sum from π equals zero to β of the πth derivative of π evaluated at zero over π factorial times π₯ to the πth power. And this can be written as π of zero plus π prime of zero over one factorial times π₯ plus π double prime of zero over two factorial times π₯ squared and so on. So one thing we could do is simply evaluate the Maclaurin series for each of our functions. Letβs begin by letting π of π₯ be equal to sin of three π₯. Weβre going to need to differentiate this function a few times. So letβs begin by finding the first derivative of sin of three π₯.

We know that when we differentiate sin of π₯, we get cos of π₯. And in fact, the derivative of sin of three π₯ is three cos of three π₯. We differentiate again. Now the derivative of cos of π₯ is negative sin of π₯. Since weβre differentiating three cos of three π₯, we get three times negative three sin of three π₯, which is negative nine sin of three π₯. We differentiate again, and we get three times negative nine cos of three π₯, which simplifies to negative 27 cos of three π₯.

Now, according to the formula for our Maclaurin series, we need to evaluate each of these derivatives at π₯ equals zero. And so by letting π₯ equal zero in the function π of π₯, we get sin of three times zero, which is sin of zero, which is zero. Then, π prime of zero is three cos of three times zero. Thatβs three times cos of zero or three times one, which is three. π double prime of zero is negative nine times sin of three times zero, which is once again zero. And then, the third derivative π triple prime of zero is negative 27 times cos of three times zero, which is negative 27.

Substituting these into our formula for the Maclaurin expansion and we get π of π₯ equals zero plus three π₯ over one factorial plus zero π₯ squared over two factorial plus negative 27π₯ cubed over three factorial and so on. Continuing this process and we find that the first three terms are three π₯ minus nine over two π₯ cubed plus 81 over 40π₯ to the fifth power and so on. This is quite clearly not equal to the series in our question. So sin of three π₯ is not the correct answer.

Now, letβs look at the natural log of one plus π₯ cubed. Well, in this case, we can quote the result for the expansion of the natural log of one plus π₯. Its Maclaurin series expansion is π₯ minus π₯ squared over two plus π₯ cubed over three minus π₯ to the fourth power over four and so on. To find the Maclaurin series expansion for the natural log of one plus π₯ cubed, we simply replace π₯ with π₯ cubed. And we get π₯ cubed minus π₯ cubed squared over two plus π₯ cubed to the third power over three minus π₯ cubed to the fourth power over four and so on. This simplifies to π₯ cubed minus π₯ to the sixth power over two plus π₯ to the ninth power over three and so on.

If we compare this to the Maclaurin series in our question, we notice that theyβre the same. So actually, this is an expression for the natural log of one plus π₯ cubed. And in fact, had we spotted originally that the Maclaurin series we were given looks a lot like the expansion for the natural log of one plus π₯, that couldβve saved us some time. And we could check our result by finding the Maclaurin series for π to the power of three π₯ minus cos π₯ and π to the power of three π₯ plus cos π₯. And when we do, we see that they are patently not the same as the one in our question.

And so either by fully finding the Maclaurin series or by recognizing the general form for the Maclaurin series expansion of the natural log of one plus π₯, we find the answer to be (b). Itβs the natural log of one plus π₯ cubed.