Clastify logo
Clastify logo
Exam prep
Exemplars
Review
HOT

Maclaurin Series

Master IB Math AA Maclaurin Series with notes created by examiners and strictly aligned with the syllabus.

IB Syllabus Requirements for Maclaurin Series

5.19.1

Maclaurin series for standard functions

HL

5.19.2

Obtaining further series by substitution, products, integration and differentiation

HL

5.19.3

Maclaurin series developed from differential equations

HL

5.19.1

MACLAURIN SERIES FOR STANDARD FUNCTIONS

HL

What a Maclaurin series is doing

A Maclaurin series is a power series centred at zero. It represents a function through the value of the function and the values of its derivatives at zero. It is the special case of a Taylor series with centre 00.

For a sufficiently well-behaved function,

f(x)=n=0f(n)(0)n!xnf(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(0)}{n!}x^n

A partial sum is the polynomial produced when an infinite series is stopped after finitely many terms. Keeping terms up to degree NN gives

PN(x)=n=0Nf(n)(0)n!xnP_N(x)=\sum_{n=0}^{N}\frac{f^{(n)}(0)}{n!}x^n

This creates the trade-off in the TOK question. Fewer terms make the expression simpler, but generally less accurate, particularly when xx moves away from zero.

Image

A convergent series is an infinite series whose partial sums approach a finite limiting value. A Maclaurin expression represents the function only where the series converges to that function. Outside that interval, it may still show a formal pattern, but it cannot validly replace the function.

The standard series you must be able to obtain and use

Here ee is Euler's number. The inputs of sinx\sin x, cosx\cos x and arctanx\arctan x are measured in radians, making the input xx dimensionless.

ex=1+x+x22!+x33!+x44!+=n=0xnn!e^x=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\frac{x^4}{4!}+\cdots=\sum_{n=0}^{\infty}\frac{x^n}{n!}

This converges for all real xx.

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!}+\cdots=\sum_{n=0}^{\infty}(-1)^n\frac{x^{2n+1}}{(2n+1)!}

This converges for all real xx.

cosx=1x22!+x44!x66!+=n=0(1)nx2n(2n)!\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\frac{x^6}{6!}+\cdots=\sum_{n=0}^{\infty}(-1)^n\frac{x^{2n}}{(2n)!}

This converges for all real xx.

arctanx=xx33+x55x77+=n=0(1)nx2n+12n+1\arctan x=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\cdots=\sum_{n=0}^{\infty}(-1)^n\frac{x^{2n+1}}{2n+1}

This converges for x1|x|\le 1, with conditional convergence at the endpoints.

ln(1+x)=xx22+x33x44+=n=1(1)n+1xnn\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\cdots=\sum_{n=1}^{\infty}(-1)^{n+1}\frac{x^n}{n}

This converges for 1<x1-1<x\le 1. Watch the centre: this is a series for ln(1+x)\ln(1+x), not directly for lnx\ln x.

For the binomial expansion,

(1+x)p=1+px+p(p1)2!x2+p(p1)(p2)3!x3+(1+x)^p=1+px+\frac{p(p-1)}{2!}x^2+\frac{p(p-1)(p-2)}{3!}x^3+\cdots

In general, the series converges for x<1|x|<1. If pp is a non-negative integer, it terminates and becomes the ordinary binomial expansion.

How the formula creates the pattern

Every derivative of exe^x is exe^x, so each derivative has value 11 at zero. The coefficients are therefore 1/n!1/n!.

The derivatives of sinx\sin x cycle through sinx\sin x, cosx\cos x, sinx-\sin x, cosx-\cos x, and then repeat. At x=0x=0, the values are 0,1,0,1,0,1,0,-1,\ldots. Only the odd powers survive.

For cosx\cos x, the derivative cycle produces 1,0,1,0,1,0,-1,0,\ldots at zero, leaving only even powers. This also gives a quick check. Since sinx\sin x is an odd function, its Maclaurin series should have only odd powers. Since cosx\cos x is even, its series should have only even powers.

The historical comparison between the Bourbaki style and the Kerala School shows how different mathematical cultures can view series. One style may stress formal structure and abstraction; another may focus on computational procedures and approximation. Both viewpoints matter here.

5.19.2

OBTAINING FURTHER SERIES BY SUBSTITUTION, PRODUCTS, INTEGRATION AND DIFFERENTIATION

HL

Starting from known series

Once you know a few standard Maclaurin series, there’s usually no need to return to the derivative formula each time. A term-by-term operation is an algebraic, differentiation or integration operation applied separately to each term of a power series within its interval of convergence.

This syllabus uses four such operations: simple substitution, products, integration and differentiation. In practice, first decide the highest power of xx required. Then keep enough terms to reach it and collect like powers carefully.

Image

Simple substitution

In a substitution into a series, the input of a known series is replaced by a new expression. Replacing xx by x2x^2 in the exponential series, for example, gives

ex2=1+x2+x42!+x63!+e^{x^2}=1+x^2+\frac{x^4}{2!}+\frac{x^6}{3!}+\cdots

This is exactly the type of substitution named in the guide. The series for exe^x converges for all real inputs, so the substituted series for ex2e^{x^2} also converges for all real xx.

Substitution helps when an expression isn’t quite in standard form. For instance,

ln(1+3x)=3x(3x)22+(3x)33\ln(1+3x)=3x-\frac{(3x)^2}{2}+\frac{(3x)^3}{3}-\cdots

provided 1<3x1-1<3x\le 1. Here, the interval changes because the input to the known series is 3x3x rather than xx.

Products of series

A product of series is a series obtained by multiplying two power series and collecting equal powers of the variable. Work as you would with polynomial multiplication, but keep enough terms to achieve the requested accuracy.

For example, use the known series for exe^x and sinx\sin x:

exsinx=(1+x+x22+x36+)(xx36+)=x+x2+x33+\begin{aligned} e^x\sin x&=\left(1+x+\frac{x^2}{2}+\frac{x^3}{6}+\cdots\right)\left(x-\frac{x^3}{6}+\cdots\right)\\ &=x+x^2+\frac{x^3}{3}+\cdots \end{aligned}

Watch the missing terms. To find terms up to x3x^3, you don’t need every term from both series. You do, however, need every product that can contribute to xx, x2x^2 or x3x^3.

Integration of series

To integrate a Maclaurin series, integrate each power of xx separately. If necessary, use the function value at x=0x=0 to determine the constant of integration.

A neat way to obtain the logarithm series begins with the geometric series

11+x=1x+x2x3+for x<1\frac{1}{1+x}=1-x+x^2-x^3+\cdots \quad \text{for } |x|<1

Integrating term by term,

11+xdx=(1x+x2x3+)dx\int \frac{1}{1+x}\,dx=\int \left(1-x+x^2-x^3+\cdots\right)\,dx

so

ln(1+x)=xx22+x33x44++C\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\cdots +C

Since ln(1+0)=0\ln(1+0)=0, the constant CC is 00. Don’t skip this line when a series has been found by integration; marks are often lost here.

The same method produces the arctangent series from

11+x2=1x2+x4x6+\frac{1}{1+x^2}=1-x^2+x^4-x^6+\cdots

Integrate term by term and use arctan0=0\arctan 0=0 to get

arctanx=xx33+x55x77+\arctan x=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\cdots

Differentiation of series

To differentiate a series, differentiate each term and check the interval on which the resulting series remains valid. For example, differentiating

ln(1+x)=xx22+x33x44+\ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\cdots

gives

11+x=1x+x2x3+\frac{1}{1+x}=1-x+x^2-x^3+\cdots

Differentiation can produce related binomial series too. Starting from

(1+x)p=1+px+p(p1)2!x2+p(p1)(p2)3!x3+(1+x)^p=1+px+\frac{p(p-1)}{2!}x^2+\frac{p(p-1)(p-2)}{3!}x^3+\cdots

differentiating term by term gives the series for p(1+x)p1p(1+x)^{p-1}. This is often quicker than returning to the Maclaurin formula.

5.19.3

MACLAURIN SERIES DEVELOPED FROM DIFFERENTIAL EQUATIONS

HL

Using the differential equation to generate derivatives

A differential equation links an unknown function with one or more of its derivatives. When it provides enough information at x=0x=0, we can generate the derivative values for the Maclaurin formula without finding a closed-form solution first.

Let yy be the unknown function of the dimensionless input xx. Suppose it satisfies

y2y+2y=0,y(0)=0,y(0)=1y''-2y'+2y=0, \quad y(0)=0, \quad y'(0)=1

The solution is y=exsinxy=e^x\sin x. For the Maclaurin series, though, we can work straight from the differential equation.

First, rearrange it:

y=2y2yy''=2y'-2y

At x=0x=0,

y(0)=2y(0)2y(0)=2y''(0)=2y'(0)-2y(0)=2

Now differentiate the differential equation to move one derivative higher:

y=2y2yy'''=2y''-2y'

Therefore,

y(0)=2y(0)2y(0)=2y'''(0)=2y''(0)-2y'(0)=2

Differentiate once more:

y(4)=2y2yy^{(4)}=2y'''-2y''

which gives

y(4)(0)=2y(0)2y(0)=0y^{(4)}(0)=2y'''(0)-2y''(0)=0

Substitute these values into the Maclaurin formula:

y=y(0)+xy(0)+x22!y(0)+x33!y(0)+x44!y(4)(0)+=x+x2+x33+0x4+.\begin{aligned} y&=y(0)+xy'(0)+\frac{x^2}{2!}y''(0)+\frac{x^3}{3!}y'''(0)+\frac{x^4}{4!}y^{(4)}(0)+\cdots\\ &=x+x^2+\frac{x^3}{3}+0x^4+\cdots. \end{aligned}

So the expansion begins

exsinx=x+x2+x33+e^x\sin x=x+x^2+\frac{x^3}{3}+\cdots

Derivative values and Maclaurin terms from the DE example.

DerivativeRule usedValue at x=0x=0Series term
y(0)y(0)Given00
y(0)y'(0)Given1xx
y(0)y''(0)y=2y2yy'' = 2y' - 2y2x2x^2
y(0)y'''(0)y=2y2yy''' = 2y'' - 2y'2x33\frac{x^3}{3}
y(4)(0)y^{(4)}(0)y(4)=2y2yy^{(4)} = 2y''' - 2y''00

You can obtain the same early expansion by multiplying the standard series for exe^x and sinx\sin x. The differential-equation method can be cleaner, especially when direct multiplication becomes messy, because the equation gives a recurrence for the derivatives.

Coefficient comparison as the same idea

The same method can be written another way. Assume

y=a0+a1x+a2x2+a3x3+y=a_0+a_1x+a_2x^2+a_3x^3+\cdots

Substitute the series and its derivatives into the differential equation. Then compare coefficients of equal powers of xx to produce equations for the coefficients. This isn’t a different theory. It uses the same Maclaurin information, but starts with coefficients rather than derivatives.

One warning: initial conditions matter. Without values such as y(0)y(0) and y(0)y'(0), the differential equation may describe a whole family of functions, leaving unknown constants in the Maclaurin series.

Were those notes helpful?

kinematics Kinematics