Series, limits and L'Hopital's rule AA HL

A limit is the value an expression settles on, and the hardest ones give a form such as 0 over 0 when you substitute. This page shows how to handle them by simplifying, by l'Hopital's rule or by a Maclaurin series, and how a Maclaurin series builds a polynomial from the derivatives of a function at zero. Most questions are no calculator, so practise the exact working.

Formulas at a glance

The definition of the derivative and the Maclaurin series for the standard functions are in the formula booklet, so you need to know how to use them rather than memorise them. L'Hopital's rule and the binomial series for a power pp are not in the booklet, so learn those.

Derivative from first principles

f′(x)=limh→0f(x+h)−f(x)hf'(x)=\lim\limits_{h\to0}\dfrac{f(x+h)-f(x)}{h}

In the booklet

L'Hopital's rule (00\tfrac00 or ∞∞\tfrac{\infty}{\infty} only)

limx→af(x)g(x)=limx→af′(x)g′(x)\lim\limits_{x\to a}\dfrac{f(x)}{g(x)}=\lim\limits_{x\to a}\dfrac{f'(x)}{g'(x)}

Not in the booklet

General Maclaurin series

f(x)=f(0)+f′(0)x+f″(0)2!x2+⋯f(x)=f(0)+f'(0)x+\dfrac{f''(0)}{2!}x^2+\cdots

In the booklet

Maclaurin series for exe^x

ex=1+x+x22!+x33!+⋯e^x=1+x+\dfrac{x^2}{2!}+\dfrac{x^3}{3!}+\cdots

In the booklet

Maclaurin series for sin⁡x\sin x

sin⁡x=x−x33!+x55!−⋯\sin x=x-\dfrac{x^3}{3!}+\dfrac{x^5}{5!}-\cdots

In the booklet

Maclaurin series for cos⁡x\cos x

cos⁡x=1−x22!+x44!−⋯\cos x=1-\dfrac{x^2}{2!}+\dfrac{x^4}{4!}-\cdots

In the booklet

Maclaurin series for ln⁡(1+x)\ln(1+x)

ln⁡(1+x)=x−x22+x33−⋯\ln(1+x)=x-\dfrac{x^2}{2}+\dfrac{x^3}{3}-\cdots

In the booklet

Maclaurin series for (1+x)p(1+x)^p

(1+x)p=1+px+p(p−1)2!x2+⋯(1+x)^p=1+px+\dfrac{p(p-1)}{2!}x^2+\cdots

Not in the booklet

Which method to use

Substitute the value first. If you get a number, that is the limit. If you get 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}, choose the quickest of the methods below.

The question hasUseNotes
A rational function and x→∞x\to\inftyDivide every term by the highest power of xxTerms such as 1x\tfrac1x tend to 00, leaving a ratio of the leading coefficients, or a limit that does not exist if the numerator has the higher degree
00\tfrac00 at a finite point, with polynomialsFactorise and cancel the common factorCancel before substituting. The cancelled factor is the one that was making the fraction 00\tfrac00
A derivative to find from the definitionWrite f(x+h)−f(x)h\dfrac{f(x+h)-f(x)}{h}, expand, divide by hh, then let h→0h\to0Only after the hh has cancelled from every term of the denominator can you put h=0h=0
00\tfrac00 or ∞∞\tfrac{\infty}{\infty} with differentiable functionsL'Hopital's rule: differentiate the top and the bottom separatelyState the form each time. If the new limit is still 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}, differentiate again
A product that gives 0×∞0\times\inftyRewrite it as a quotient, then use the ruleThe rule needs 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}, so put one factor underneath as its reciprocal first
A limit at 00 of standard functions such as sin⁡x\sin x, exe^x or ln⁡(1+x)\ln(1+x)Replace each by the first terms of its Maclaurin seriesKeep enough terms that the lowest power left in the numerator does not cancel to nothing
A series for a product, or for a function of x2x^2 or 2x2xMultiply the series, or substitute into a known seriesKeep every term up to the power asked for and no more
A differential equation with a value at x=0x=0, and a series for yy wantedDifferentiate the equation again and again, finding y(0)y(0), y′(0)y'(0), y″(0)y''(0) in turnPut each value into the general Maclaurin series. The earlier values are needed to find the later ones

Section 1 of 3 AHL5.12

Limits

A limit is the value that a function or sequence approaches, and it converges when this value is a single finite number. To evaluate a limit at infinity for a rational function, divide every term by the highest power of the variable and let terms such as 1x\dfrac{1}{x} tend to 00. It also covers divergence and the limit that defines the derivative.

Methods for a limit

Substitute the value first. If that gives 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}, simplify the expression, or use l'Hopital's rule from the next section. Neither method below is a booklet formula: both are techniques you apply to the expression in front of you.

Rational functions at infinity

Divide every term by the highest power of xx present, then let x→∞x\to\infty.

Any term of the form 1xn\tfrac{1}{x^n} tends to 00, leaving a ratio of the remaining coefficients.

Factorise and cancel

When substitution gives 00\tfrac00 for a fraction of polynomials, the numerator and the denominator share a factor. Factorise, cancel it, then substitute again.

Cancelling is allowed because a limit looks at values of xx close to aa, not equal to aa.

Key terms

What does it mean for a limit to converge?

A limit converges when the values get closer and closer to one finite number. That number is the limit.

e.g. As n→∞n\to\infty, 3+4n3+\dfrac{4}{n} gets closer to 33, so limn→∞(3+4n)=3\lim\limits_{n\to\infty}\left(3+\dfrac{4}{n}\right)=3.

What does it mean for a limit to diverge?

A limit diverges when the values do not settle on a finite number. They may grow without bound, or keep changing without approaching one value.

e.g. n2n^{2} grows without bound as n→∞n\to\infty, and (−1)n(-1)^{n} alternates between −1-1 and 11, so neither has a limit.

How do you find a limit at infinity of a rational function?

Divide every term in the numerator and denominator by the highest power of xx that appears. Terms like 1x\dfrac{1}{x} then tend to 00, and the remaining ratio gives the limit.

e.g. 2x+1x−3=2+1x1−3x\dfrac{2x+1}{x-3}=\dfrac{2+\frac{1}{x}}{1-\frac{3}{x}}, which tends to 22 as x→∞x\to\infty.

How is a limit used to define the derivative?

The derivative is defined as f′(x)=limh→0f(x+h)−f(x)hf'(x)=\lim\limits_{h\to0}\dfrac{f(x+h)-f(x)}{h}. Expand and simplify the fraction first, then let hh tend to 00.

e.g. For f(x)=x2f(x)=x^{2}, (x+h)2−x2h=2x+h\dfrac{(x+h)^{2}-x^{2}}{h}=2x+h, which tends to 2x2x as h→0h\to0.

Worked example, step by step

The question No calculator needed [4 marks]

Let f(x)=2x2−3xf(x)=2x^2-3x. Use the definition f′(x)=limh→0f(x+h)−f(x)hf'(x)=\lim\limits_{h\to0}\dfrac{f(x+h)-f(x)}{h} to find f′(x)f'(x).

Worked solution: worked example

Answer: f′(x)=4x−3f'(x)=4x-3

Step 1 - Substitute into the definition.

f(x+h)−f(x)=2(x+h)2−3(x+h)−(2x2−3x).f(x+h)-f(x)=2(x+h)^2-3(x+h)-\left(2x^2-3x\right). M1 - Substitute f(x+h)f(x+h) and f(x)f(x) into the definition

Why? The definition needs f(x+h)f(x+h), so replace every xx in the formula for ff by x+hx+h, then subtract f(x)f(x).

Step 2 - Expand and simplify the numerator.

2x2+4xh+2h2−3x−3h−2x2+3x=4xh+2h2−3h.2x^2+4xh+2h^2-3x-3h-2x^2+3x=4xh+2h^2-3h. A1 - 4xh+2h2−3h4xh+2h^2-3h

Why? Every term without an hh cancels. Putting h=0h=0 straight into the fraction now would give 00\tfrac00, so the hh must be cancelled first.

Step 3 - Divide by hh.

f(x+h)−f(x)h=4xh+2h2−3hh=4x+2h−3.\dfrac{f(x+h)-f(x)}{h}=\dfrac{4xh+2h^2-3h}{h}=4x+2h-3. M1 - Divide by hh and cancel to obtain 4x+2h−34x+2h-3

Why? Each term of the numerator has a factor hh, so it divides out for every h≠0h\ne0. The limit looks at values of hh near 00 but not at 00 itself.

Step 4 - Let hh tend to 00.

f′(x)=limh→0(4x+2h−3)=4x−3.f'(x)=\lim_{h\to0}\left(4x+2h-3\right)=4x-3. A1 - f′(x)=4x−3f'(x)=4x-3

Why? Once the fraction is simplified, the 2h2h term tends to 00 and the limit is the value that remains.

Marks (4):
M1 Substitute f(x+h)f(x+h) and f(x)f(x) into the definition
A1 4xh+2h2−3h4xh+2h^2-3h
M1 Divide by hh and cancel to obtain 4x+2h−34x+2h-3
A1 f′(x)=4x−3f'(x)=4x-3

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Easy
No calc
[2 marks]
Find limn→∞1n.\displaystyle\lim_{n\to\infty}\dfrac{1}{n}.
[2]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
No calc
[4 marks]
Evaluate limx→3x2−9x−3.\displaystyle\lim_{x\to3}\dfrac{x^2 - 9}{x - 3}.
[4]
Fractions & powers
Other

Worked solution: practice question 2

3
Easy
No calc
[3 marks]
Evaluate limx→∞2x2−x5x2+3.\displaystyle\lim_{x\to\infty}\dfrac{2x^2 - x}{5x^2 + 3}.
[3]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 9 marks

Common mistakes

  • Dividing only the numerator by the highest power. Every term on both sides of the fraction must be divided, not just the top - otherwise the ratio changes.
  • Assuming a ∞∞\tfrac{\infty}{\infty} form is automatically 11. The result depends entirely on the degrees and leading coefficients of the numerator and denominator - it could be 00, a finite ratio, or diverge.
  • Putting h=0h=0 too early. In the definition of the derivative the fraction is 00\tfrac00 until the hh has been cancelled, so expand and simplify first, then let hh tend to 00.
  • Assuming every limit exists. If the highest power in the numerator is greater than in the denominator, the limit as x→∞x\to\infty is not a finite number. Only when the two degrees match does it settle on the ratio of the leading coefficients.
  • Cancelling a term instead of a factor. In x+55\dfrac{x+5}{5} the 55s cannot be cancelled. Only a factor of the whole numerator and the whole denominator can be.

Try some questions on limits

Section 2 of 3 AHL5.13

L'Hôpital's rule

L'Hôpital's rule finds a limit limx→af(x)g(x)\lim\limits_{x\to a}\dfrac{f(x)}{g(x)} that gives 00\tfrac00 or ∞∞\tfrac{\infty}{\infty} on substitution, by replacing it with limx→af′(x)g′(x)\lim\limits_{x\to a}\dfrac{f'(x)}{g'(x)}. Check the form first, differentiate the numerator and denominator separately, and repeat if the form is still indeterminate. It also covers when the rule must not be used.

The rule

L'Hôpital's rule

limx→af(x)g(x)=limx→af′(x)g′(x)\displaystyle\lim_{x\to a}\dfrac{f(x)}{g(x)}=\lim_{x\to a}\dfrac{f'(x)}{g'(x)}

Valid only when direct substitution gives 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}. Not in the formula booklet.

Key terms

What is an indeterminate form?

An indeterminate form is a result such as 00\tfrac00 or ∞∞\tfrac{\infty}{\infty} that does not decide the value of the limit. The limit could be any value, so more work is needed.

e.g. 3xx\dfrac{3x}{x} gives 00\tfrac00 when x=0x=0, but it equals 33 for every x≠0x\ne0, so its limit is 33.

What does the rule say?

If f(x)g(x)\dfrac{f(x)}{g(x)} gives 00\tfrac00 or ∞∞\tfrac{\infty}{\infty} as x→ax\to a, then the limit equals limx→af′(x)g′(x)\lim\limits_{x\to a}\dfrac{f'(x)}{g'(x)}, provided that limit exists.

e.g. For ln⁡(1+4x)x\dfrac{\ln(1+4x)}{x} as x→0x\to0, the derivatives give 41+4x\dfrac{4}{1+4x}, which tends to 44.

Is differentiating top and bottom the same as the quotient rule?

No. The rule differentiates the numerator and the denominator separately, giving f′g′\dfrac{f'}{g'}. The quotient rule is a different method and gives the derivative of the whole fraction.

e.g. For tan⁡2xx\dfrac{\tan2x}{x}, the rule gives 2sec2⁡2x1\dfrac{2\sec^{2}2x}{1}, which tends to 22 as x→0x\to0.

Does the rule work as xx tends to infinity?

Yes. It applies to limits at infinity too, when the form is ∞∞\tfrac{\infty}{\infty} or 00\tfrac00. Check the form, differentiate, and evaluate again.

e.g. xex\dfrac{x}{e^{x}} gives ∞∞\tfrac{\infty}{\infty} as x→∞x\to\infty, and 1ex\dfrac{1}{e^{x}} tends to 00.

Worked example, step by step

The question No calculator needed [5 marks]

Evaluate limx→01−cos⁡2xx2\displaystyle\lim_{x\to0}\dfrac{1-\cos 2x}{x^2}.

Worked solution: worked example

Answer: limx→01−cos⁡2xx2=2\displaystyle\lim_{x\to0}\dfrac{1-\cos2x}{x^2}=2

Step 1 - Check the form.

As x→0x\to0, 1−cos⁡2x→1−1=01-\cos2x\to1-1=0 and x2→0x^2\to0, so the limit has the form 00\tfrac00. R1 - States that the form is 00\tfrac00, so the rule can be used

Why? L'Hopital's rule applies only to 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}. Substituting first tells you whether you are allowed to use it.

Step 2 - Differentiate top and bottom.

limx→01−cos⁡2xx2=limx→02sin⁡2x2x.\lim_{x\to0}\dfrac{1-\cos2x}{x^2}=\lim_{x\to0}\dfrac{2\sin2x}{2x}. M1 - Differentiate numerator and denominator separately A1 - 2sin⁡2x2x\dfrac{2\sin2x}{2x}

Why? The numerator and the denominator are differentiated separately, with the chain rule for cos⁡2x\cos2x. This is not the quotient rule. The new limit is 00\tfrac00 again, so the rule is used a second time.

Step 3 - Differentiate again.

limx→02sin⁡2x2x=limx→04cos⁡2x2.\lim_{x\to0}\dfrac{2\sin2x}{2x}=\lim_{x\to0}\dfrac{4\cos2x}{2}. M1 - Differentiate again, since the form is still 00\tfrac00

Why? The form 00\tfrac00 is still there, so top and bottom are differentiated once more. Now the denominator is a non-zero constant.

Step 4 - Substitute.

4cos⁡02=42=2.\dfrac{4\cos0}{2}=\dfrac{4}{2}=2. A1 - 22

Why? The numerator tends to 44 and the denominator is 22, so the form is no longer indeterminate and the limit is found.

Marks (5):
R1 States that the form is 00\tfrac00, so the rule can be used
M1 Differentiate numerator and denominator separately
A1 2sin⁡2x2x\dfrac{2\sin2x}{2x}
M1 Differentiate again, since the form is still 00\tfrac00
A1 22

Now you try: enter your answers to be marked

1
Easy
No calc
[3 marks]
Evaluate limx→0sin⁡3xx\displaystyle\lim_{x \to 0} \frac{\sin 3x}{x}.
[3]
Fractions & powers
Trig
Other

Worked solution: practice question 1

2
Medium
No calc
[3 marks]
Evaluate limx→0ex−1x.\displaystyle\lim_{x\to0}\dfrac{e^x - 1}{x}.
[3]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
No calc
[6 marks]
Evaluate limx→0x−sin⁡xx3\displaystyle\lim_{x\to0}\dfrac{x - \sin x}{x^3} using L'Hôpital's rule.
[6]
Fractions & powers
Trig
Other

Worked solution: practice question 3

Your score so far: 0 out of 12 marks

Common mistakes

  • Applying l'Hôpital's rule without checking the form first. The rule only applies to 00\tfrac00 or ∞∞\tfrac{\infty}{\infty} - differentiating top and bottom of a limit that isn't indeterminate gives a meaningless answer, even though the steps look identical.
  • Stopping after one application when the form is still indeterminate. If differentiating once still leaves 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}, differentiate again - the rule can be reapplied as many times as needed, checking the form each time.
  • Differentiating the whole fraction with the quotient rule instead. L'Hôpital's rule differentiates the numerator and denominator separately and forms a new fraction - it is not the same operation as the quotient rule for differentiating f(x)/g(x)f(x)/g(x) itself.
  • Using the rule on a product. A form such as 0×∞0\times\infty is neither 00\tfrac00 nor ∞∞\tfrac{\infty}{\infty}. Write one factor underneath as its reciprocal first, so that the expression becomes a quotient, then check the form.

Try some questions on l'Hôpital's rule

Section 3 of 3 AHL5.19 AHL5.13

Maclaurin series

A Maclaurin series writes a function as a sum in increasing powers of xx, using f(0)f(0) and the derivatives of ff at x=0x=0. Keep as many terms as the question asks for, because the approximation is best near x=0x=0. It covers the standard series, combining them, building a series from a differential equation, and using series to evaluate limits.

Using the series

The standard series are in the formulas at a glance near the top of the page. Substitute into them, multiply them, or differentiate or integrate them term by term, and keep only the powers the question asks for.

Key terms

How are the terms of a Maclaurin series built?

Each term uses a derivative at x=0x=0: the series is f(0)+f′(0)x+f″(0)2!x2+f‴(0)3!x3+⋯f(0)+f'(0)x+\dfrac{f''(0)}{2!}x^{2}+\dfrac{f'''(0)}{3!}x^{3}+\cdots. Work out each derivative at 00, then divide by the matching factorial. The first two terms alone, f(0)+f′(0)xf(0)+f'(0)x, give the tangent to the curve at x=0x=0.

e.g. For f(x)=e2xf(x)=e^{2x}, the nnth derivative at 00 is 2n2^{n}, so the series is 1+2x+4x22!+8x33!+⋯1+2x+\dfrac{4x^{2}}{2!}+\dfrac{8x^{3}}{3!}+\cdots.

What is a factorial?

The factorial n!n! is the product of the positive integers from nn down to 11. Factorials appear in the denominators of the series terms.

e.g. 4!=4×3×2×1=244!=4\times3\times2\times1=24.

What are the series for sin x and cos x?

The sine series has only odd powers: sin⁡x=x−x33!+x55!−⋯\sin x=x-\dfrac{x^{3}}{3!}+\dfrac{x^{5}}{5!}-\cdots. The cosine series has only even powers: cos⁡x=1−x22!+x44!−⋯\cos x=1-\dfrac{x^{2}}{2!}+\dfrac{x^{4}}{4!}-\cdots.

e.g. Using two terms, sin⁡0.1≈0.1−0.133!=0.09983\sin0.1\approx0.1-\dfrac{0.1^{3}}{3!}=0.09983 to 44 significant figures.

How do you multiply two series?

Multiply the series term by term and collect the terms by power of xx. Stop at the highest power required, and make sure each series has enough terms to reach it.

e.g. exln⁡(1+x)≈(1+x)(x−x22)e^{x}\ln(1+x)\approx\left(1+x\right)\left(x-\dfrac{x^{2}}{2}\right), which gives x+x22x+\dfrac{x^{2}}{2} up to the term in x2x^{2}.

How can a series find a limit?

Replace each function by the first terms of its series, simplify, and divide out the lowest power of xx. Keep enough terms that the lowest power in the numerator does not cancel to nothing.

e.g. cos⁡x−1x2≈−x22x2=−12\dfrac{\cos x-1}{x^{2}}\approx\dfrac{-\frac{x^{2}}{2}}{x^{2}}=-\dfrac12, so the limit as x→0x\to0 is −12-\dfrac12.

How do you find a series from a differential equation?

Use the starting value for y(0)y(0). Put x=0x=0 in the equation to get y′(0)y'(0). Differentiate the equation to get y″y'' in terms of y′y' and yy, put x=0x=0, and continue as far as the question needs. Then use the general Maclaurin series.

e.g. If dydx=2y−x\dfrac{dy}{dx}=2y-x and y(0)=1y(0)=1, then y′(0)=2y'(0)=2. Differentiating gives y″=2y′−1y''=2y'-1, so y″(0)=3y''(0)=3, and y≈1+2x+3x22y\approx1+2x+\dfrac{3x^{2}}{2}.

Worked example, step by step

The question No calculator needed [5 marks]

(a) Use the Maclaurin series for exe^x and sin⁡x\sin x to find the Maclaurin series for exsin⁡xe^x\sin x up to and including the term in x3x^3.

(b) Hence find limx→0exsin⁡x−xx2\displaystyle\lim_{x\to0}\dfrac{e^x\sin x-x}{x^2}.

Worked solution: worked example

Answer: (a) exsin⁡x=x+x2+x33+⋯e^x\sin x=x+x^2+\dfrac{x^3}{3}+\cdots (b) 11

Step 1 - Write the two series.

ex=1+x+x22+⋯,sin⁡x=x−x36+⋯.e^x=1+x+\dfrac{x^2}{2}+\cdots,\qquad \sin x=x-\dfrac{x^3}{6}+\cdots. M1 - Both series with enough terms (exe^x to x2x^2, sin⁡x\sin x to x3x^3)

Why? The product starts at xx because sin⁡x\sin x has no constant term. To reach x3x^3 you need exe^x up to x2x^2 and sin⁡x\sin x up to x3x^3, and no more.

Step 2 - Multiply and collect terms.

exsin⁡x=(1+x+x22)(x−x36)=x+x2+x32−x36+⋯e^x\sin x=\left(1+x+\dfrac{x^2}{2}\right)\left(x-\dfrac{x^3}{6}\right)=x+x^2+\dfrac{x^3}{2}-\dfrac{x^3}{6}+\cdots M1 - Multiply the two series

Why? Multiply each term of the first bracket by each term of the second, and keep only the powers up to x3x^3. The x3x^3 terms come from x22×x\tfrac{x^2}{2}\times x and from 1×(−x36)1\times\left(-\tfrac{x^3}{6}\right).

Step 3 - State the series.

exsin⁡x=x+x2+x33+⋯e^x\sin x=x+x^2+\dfrac{x^3}{3}+\cdots A1 - x+x2+x33x+x^2+\dfrac{x^3}{3}

Why? Combine 12−16=13\tfrac12-\tfrac16=\tfrac13 for the coefficient of x3x^3.

Step 4 - Use the series in the limit.

exsin⁡x−xx2=x2+x33+⋯x2=1+x3+⋯\dfrac{e^x\sin x-x}{x^2}=\dfrac{x^2+\frac{x^3}{3}+\cdots}{x^2}=1+\dfrac{x}{3}+\cdots M1 - Subtract xx and divide by x2x^2

Why? Subtracting xx removes the first term, so every remaining term has a factor x2x^2 that can be divided out. Higher powers tend to 00 as x→0x\to0.

Step 5 - Take the limit.

limx→0(1+x3+⋯)=1.\lim_{x\to0}\left(1+\dfrac{x}{3}+\cdots\right)=1. A1 - 11

Why? All terms containing xx tend to 00, leaving the constant term.

Marks (5):
M1 Both series with enough terms (exe^x to x2x^2, sin⁡x\sin x to x3x^3)
M1 Multiply the two series
A1 x+x2+x33x+x^2+\dfrac{x^3}{3}
M1 Subtract xx and divide by x2x^2
A1 11

Now you try: enter your answers to be marked

1
Medium
No calc
[4 marks]
Find the first four terms of the Maclaurin series for (1+x)1/2.(1 + x)^{1/2}.
[4]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
No calc
[2 marks]
Use the Maclaurin series of ln⁡(1+x)\ln(1+x) to find the equation of the tangent to y=ln⁡(1+x)y=\ln(1+x) at x=0.x=0.
[2]
Fractions & powers
Logs
Other

Worked solution: practice question 2

3
Hard
No calc
[4 marks]
A function y=f(x)y=f(x) satisfies dydx=1+xy\dfrac{dy}{dx}=1+xy, with f(0)=2.f(0)=2. Find the Maclaurin series for yy up to and including the x2x^2 term.
[4]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 10 marks

Common mistakes

  • Treating a Maclaurin series as exact. A few terms of the series give an approximation that is best near x=0x=0: the further xx is from 00, the worse a truncated series estimates the true value.
  • Dropping or misplacing a factorial. The exe^x, sin⁡x\sin x and cos⁡x\cos x series divide by n!n!, not nn - writing x33\tfrac{x^3}{3} instead of x33!=x36\tfrac{x^3}{3!}=\tfrac{x^3}{6} is a very common slip.
  • Not keeping enough terms when multiplying two series. If you truncate each series to the target power before multiplying, a term that only appears after multiplying two lower-order terms together can go missing.

Try some questions on Maclaurin series

Syllabus content covered

CodeSyllabus content
AHL5.12Understanding of limits (convergence and divergence). Definition of derivative from first principles f′(x)=limh→0f(x+h)−f(x)hf'(x)=\lim\limits_{h\to0}\dfrac{f(x+h)-f(x)}{h}. Higher derivatives. Familiarity with the notations dnydxn\dfrac{d^ny}{dx^n}, f(n)(x)f^{(n)}(x).
AHL5.13The evaluation of limits of the form limx→af(x)g(x)\lim\limits_{x\to a}\dfrac{f(x)}{g(x)} and limx→∞f(x)g(x)\lim\limits_{x\to\infty}\dfrac{f(x)}{g(x)} using l'Hopital's rule or the Maclaurin series. The indeterminate forms 00\dfrac00 and ∞∞\dfrac{\infty}{\infty}. Repeated use of l'Hopital's rule.
AHL5.19Maclaurin series to obtain expansions for exe^x, sin⁡x\sin x, cos⁡x\cos x, ln⁡(1+x)\ln(1+x), (1+x)p(1+x)^p, p∈Qp\in\mathbb{Q}. Use of simple substitution, products, integration and differentiation to obtain other series. Maclaurin series developed from differential equations.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Quick questions

How do you evaluate a limit of a rational function as x tends to infinity?

Divide every term in the numerator and denominator by the highest power of xx present. As x→∞x\to\infty, any term of the form 1/xn1/x^n tends to 00, leaving a simple ratio of the remaining coefficients.

When can you use l'Hôpital's rule?

Only when direct substitution gives an indeterminate form of 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}. You must check and state the form before differentiating - the rule does not apply otherwise.

What is a Maclaurin series?

A Maclaurin series expresses a function as an infinite sum of terms built from its derivatives at x=0x=0: f(x)=f(0)+f′(0)x+f″(0)2!x2+⋯f(x) = f(0) + f'(0)x + \tfrac{f''(0)}{2!}x^2 + \cdots. It is a local polynomial approximation, most accurate near x=0x=0.

How do you find a limit by factorising?

Substitute first. If the result is 00\tfrac00, factorise the numerator and the denominator, cancel the common factor and substitute again. The factor you cancel is the one that made both vanish.

What do you do if l'Hôpital's rule still gives an indeterminate form?

Differentiate the numerator and denominator again and re-check the form. The rule can be applied repeatedly as long as each new limit is still 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}.

Which Maclaurin series are in the formula booklet?

The general Maclaurin series and the series for exe^x, sin⁡x\sin x, cos⁡x\cos x and ln⁡(1+x)\ln(1+x) are in the formula booklet. The series for (1+x)p(1+x)^p is not, so learn it. You still need to know how to use them.

What happens if the numerator has a higher power than the denominator?

The expression grows without bound, so the limit as x→∞x\to\infty does not exist as a finite number. For example, x3x2=x\dfrac{x^{3}}{x^{2}}=x, which tends to infinity.

How do I know the form is not indeterminate?

Substitute the value first. If the result is a definite number or a form other than 00\tfrac00 or ∞∞\tfrac{\infty}{\infty}, the rule does not apply. For example, x+1x+3\dfrac{x+1}{x+3} gives 13\dfrac{1}{3} as x→0x\to0, so the limit is 13\dfrac{1}{3}.

What does 'up to and including the term in x3x^{3}' mean?

Keep every term with a power of xx from x0x^{0} up to x3x^{3}, and ignore higher powers. For cos⁡x\cos x this gives 1−x221-\dfrac{x^{2}}{2}, because the coefficient of x3x^{3} is 00.

What is the limit when the denominator has the higher power?

The limit is 00, because the denominator grows faster than the numerator. For example, 3xx2+1\dfrac{3x}{x^{2}+1} tends to 00 as x→∞x\to\infty.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.