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 are not in the booklet, so learn those.
Derivative from first principles
In the bookletL'Hopital's rule ( or only)
Not in the bookletGeneral Maclaurin series
In the bookletMaclaurin series for
In the bookletMaclaurin series for
In the bookletMaclaurin series for
In the bookletMaclaurin series for
In the bookletMaclaurin series for
Not in the bookletWhich method to use
Substitute the value first. If you get a number, that is the limit. If you get or , choose the quickest of the methods below.
| The question has | Use | Notes |
|---|---|---|
| A rational function and | Divide every term by the highest power of | Terms such as tend to , leaving a ratio of the leading coefficients, or a limit that does not exist if the numerator has the higher degree |
| at a finite point, with polynomials | Factorise and cancel the common factor | Cancel before substituting. The cancelled factor is the one that was making the fraction |
| A derivative to find from the definition | Write , expand, divide by , then let | Only after the has cancelled from every term of the denominator can you put |
| or with differentiable functions | L'Hopital's rule: differentiate the top and the bottom separately | State the form each time. If the new limit is still or , differentiate again |
| A product that gives | Rewrite it as a quotient, then use the rule | The rule needs or , so put one factor underneath as its reciprocal first |
| A limit at of standard functions such as , or | Replace each by the first terms of its Maclaurin series | Keep 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 or | Multiply the series, or substitute into a known series | Keep every term up to the power asked for and no more |
| A differential equation with a value at , and a series for wanted | Differentiate the equation again and again, finding , , in turn | Put 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 tend to . It also covers divergence and the limit that defines the derivative.
Methods for a limit
Substitute the value first. If that gives or , 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 present, then let .
Any term of the form tends to , leaving a ratio of the remaining coefficients.
Factorise and cancel
When substitution gives 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 close to , not equal to .
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 , gets closer to , so .
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. grows without bound as , and alternates between and , 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 that appears. Terms like then tend to , and the remaining ratio gives the limit.
e.g. , which tends to as .
How is a limit used to define the derivative?
The derivative is defined as . Expand and simplify the fraction first, then let tend to .
e.g. For , , which tends to as .
Worked example, step by step
The question No calculator needed [4 marks]
Let . Use the definition to find .
Worked solution: worked example
Answer:
Step 1 - Substitute into the definition.
M1 - Substitute and into the definition
Why? The definition needs , so replace every in the formula for by , then subtract .
Step 2 - Expand and simplify the numerator.
A1 -
Why? Every term without an cancels. Putting straight into the fraction now would give , so the must be cancelled first.
Step 3 - Divide by .
M1 - Divide by and cancel to obtain
Why? Each term of the numerator has a factor , so it divides out for every . The limit looks at values of near but not at itself.
Step 4 - Let tend to .
A1 -
Why? Once the fraction is simplified, the term tends to and the limit is the value that remains.
M1 Substitute and into the definition
A1
M1 Divide by and cancel to obtain
A1
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.
Worked solution: practice question 1
Worked solution: practice question 2
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 form is automatically . The result depends entirely on the degrees and leading coefficients of the numerator and denominator - it could be , a finite ratio, or diverge.
- Putting too early. In the definition of the derivative the fraction is until the has been cancelled, so expand and simplify first, then let tend to .
- Assuming every limit exists. If the highest power in the numerator is greater than in the denominator, the limit as 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 the s cannot be cancelled. Only a factor of the whole numerator and the whole denominator can be.
Section 2 of 3 AHL5.13
L'Hôpital's rule
L'Hôpital's rule finds a limit that gives or on substitution, by replacing it with . 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
Valid only when direct substitution gives or . Not in the formula booklet.
Key terms
What is an indeterminate form?
An indeterminate form is a result such as or that does not decide the value of the limit. The limit could be any value, so more work is needed.
e.g. gives when , but it equals for every , so its limit is .
What does the rule say?
If gives or as , then the limit equals , provided that limit exists.
e.g. For as , the derivatives give , which tends to .
Is differentiating top and bottom the same as the quotient rule?
No. The rule differentiates the numerator and the denominator separately, giving . The quotient rule is a different method and gives the derivative of the whole fraction.
e.g. For , the rule gives , which tends to as .
Does the rule work as tends to infinity?
Yes. It applies to limits at infinity too, when the form is or . Check the form, differentiate, and evaluate again.
e.g. gives as , and tends to .
Worked example, step by step
The question No calculator needed [5 marks]
Evaluate .
Worked solution: worked example
Answer:
Step 1 - Check the form.
As , and , so the limit has the form . R1 - States that the form is , so the rule can be used
Why? L'Hopital's rule applies only to or . Substituting first tells you whether you are allowed to use it.
Step 2 - Differentiate top and bottom.
M1 - Differentiate numerator and denominator separately A1 -
Why? The numerator and the denominator are differentiated separately, with the chain rule for . This is not the quotient rule. The new limit is again, so the rule is used a second time.
Step 3 - Differentiate again.
M1 - Differentiate again, since the form is still
Why? The form is still there, so top and bottom are differentiated once more. Now the denominator is a non-zero constant.
Step 4 - Substitute.
A1 -
Why? The numerator tends to and the denominator is , so the form is no longer indeterminate and the limit is found.
R1 States that the form is , so the rule can be used
M1 Differentiate numerator and denominator separately
A1
M1 Differentiate again, since the form is still
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
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 or - 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 or , 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 itself.
- Using the rule on a product. A form such as is neither nor . Write one factor underneath as its reciprocal first, so that the expression becomes a quotient, then check the form.
Section 3 of 3 AHL5.19 AHL5.13
Maclaurin series
A Maclaurin series writes a function as a sum in increasing powers of , using and the derivatives of at . Keep as many terms as the question asks for, because the approximation is best near . 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 : the series is . Work out each derivative at , then divide by the matching factorial. The first two terms alone, , give the tangent to the curve at .
e.g. For , the th derivative at is , so the series is .
What is a factorial?
The factorial is the product of the positive integers from down to . Factorials appear in the denominators of the series terms.
e.g. .
What are the series for sin x and cos x?
The sine series has only odd powers: . The cosine series has only even powers: .
e.g. Using two terms, to significant figures.
How do you multiply two series?
Multiply the series term by term and collect the terms by power of . Stop at the highest power required, and make sure each series has enough terms to reach it.
e.g. , which gives up to the term in .
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 . Keep enough terms that the lowest power in the numerator does not cancel to nothing.
e.g. , so the limit as is .
How do you find a series from a differential equation?
Use the starting value for . Put in the equation to get . Differentiate the equation to get in terms of and , put , and continue as far as the question needs. Then use the general Maclaurin series.
e.g. If and , then . Differentiating gives , so , and .
Worked example, step by step
The question No calculator needed [5 marks]
(a) Use the Maclaurin series for and to find the Maclaurin series for up to and including the term in .
(b) Hence find .
Worked solution: worked example
Answer: (a) (b)
Step 1 - Write the two series.
M1 - Both series with enough terms ( to , to )
Why? The product starts at because has no constant term. To reach you need up to and up to , and no more.
Step 2 - Multiply and collect terms.
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 . The terms come from and from .
Step 3 - State the series.
A1 -
Why? Combine for the coefficient of .
Step 4 - Use the series in the limit.
M1 - Subtract and divide by
Why? Subtracting removes the first term, so every remaining term has a factor that can be divided out. Higher powers tend to as .
Step 5 - Take the limit.
A1 -
Why? All terms containing tend to , leaving the constant term.
M1 Both series with enough terms ( to , to )
M1 Multiply the two series
A1
M1 Subtract and divide by
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
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 : the further is from , the worse a truncated series estimates the true value.
- Dropping or misplacing a factorial. The , and series divide by , not - writing instead of 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.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| AHL5.12 | Understanding of limits (convergence and divergence). Definition of derivative from first principles . Higher derivatives. Familiarity with the notations , . |
| AHL5.13 | The evaluation of limits of the form and using l'Hopital's rule or the Maclaurin series. The indeterminate forms and . Repeated use of l'Hopital's rule. |
| AHL5.19 | Maclaurin series to obtain expansions for , , , , , . 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 present. As , any term of the form tends to , 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 or . 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 : . It is a local polynomial approximation, most accurate near .
How do you find a limit by factorising?
Substitute first. If the result is , 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 or .
Which Maclaurin series are in the formula booklet?
The general Maclaurin series and the series for , , and are in the formula booklet. The series for 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 does not exist as a finite number. For example, , 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 or , the rule does not apply. For example, gives as , so the limit is .
What does 'up to and including the term in ' mean?
Keep every term with a power of from up to , and ignore higher powers. For this gives , because the coefficient of is .
What is the limit when the denominator has the higher power?
The limit is , because the denominator grows faster than the numerator. For example, tends to as .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.