Start the course

Limits

How to evaluate limits: every method, step by step

9 min readUpdated

Quick answer

To evaluate a limit, first plug the number in. If you get an ordinary number, that is the limit. If you get 00, simplify with algebra (factor and cancel, multiply by the conjugate, or combine fractions) and plug in again. If you get a nonzero number over 0, the outputs grow without bound, so check the signs on each side.

Key points
  • Always try plugging in first: it settles most limits in one line.
  • 00 is a signal to simplify, not an answer. The shape of the expression tells you which algebra to use.
  • A nonzero number over 0 means the limit is ∞, −∞, or doesn't exist: check each side's sign.
  • Absolute values and piecewise functions need the left-hand and right-hand limits found separately.

What is the first step in evaluating a limit?

The first step is always to substitute: put the number x is approaching into the expression, as if you were finding the function's value. This is called direct substitution, and it works whenever the function is continuous at that number, which means its graph has no break, jump or hole there. Polynomials are continuous everywhere, and fractions, roots, sin and cos are continuous wherever they're defined, so for most limits you meet, plugging in gives the answer immediately.

Worked example: Direct substitution

Find limx→2(x3− 2x+5).

  1. This is a polynomial, so it is continuous everywhere and we can substitute.
  2. 23−2(2)+5=8−4+5.
  3. =9.

Answer: 9

What you get when you substitute tells you what to do next. There are three possible outcomes:

You getWhat it meansWhat to do
An ordinary number, like 9 or 103The function is continuous thereThat number is the limit
00Top and bottom share a factor that is 0 at that numberSimplify, then substitute again
A nonzero number over 0, like 30The outputs grow without boundCheck the sign on each side

What do you do when a limit gives 0/0?

When substituting gives 00, the limit isn't decided yet. The 00 form (called an indeterminate form, because it doesn't determine the answer) happens because the top and the bottom both contain a piece that equals 0 at that number. The job is to find that shared piece and cancel it. Cancelling is allowed because, in a limit, x gets close to the number but is never equal to it, so the piece you cancel is never actually 0.

Which algebra to use depends on what the expression looks like:

Fractions of polynomials: factor and cancel

Worked example: Factor and cancel

Find limx→−2x2+5x+6x+2.

  1. Substituting gives 4−10+6−2+2= 00, so simplify.
  2. Factor the top: we need two numbers that multiply to 6 and add to 5, which are 2 and 3. So x2+5x+6=(x+2)(x+3).
  3. Cancel the shared factor x+2: (x+2)(x+3)x+2= x+3 for x≠−2.
  4. Substitute again: −2+3=1.

Answer: 1

Square roots: multiply by the conjugate

When there is a square root, factoring usually isn't possible. Instead, multiply the top and the bottom by the conjugate: the same two terms with the sign between them flipped, so the conjugate of x+4−2 is x+4+2. The product (A−B)(A+B)=A2−B2 squares the root away.

Worked example: Multiply by the conjugate

Find limx→0x+4−2x.

  1. Substituting gives 2−20= 00.
  2. Multiply top and bottom by x+4+2. The top becomes (x+4)2−22= (x+4)−4= x.
  3. So the expression is xx(x+4+2), and cancelling x leaves 1x+4+2.
  4. Substitute again: 14+2= 12+2= 14.

Answer: 14

A fraction inside a fraction: combine first

Worked example: Combine the fractions

Find limx→31x−13x−3.

  1. Substituting gives 13−130= 00.
  2. Combine the top over the common bottom 3x: 1x−13= 33x−x3x= 3−x3x.
  3. Notice 3−x=−(x−3), so the top is −(x−3)3x.
  4. Dividing by x−3 cancels it: −(x−3)3x⋅1x−3= −13x.
  5. Substitute again: −13⋅3= −19.

Answer: −19

Tip

If 00 comes from a bracket raised to a power, like (2+h)2−4h, multiply the bracket out first; every term left on top will then have a factor h to cancel. This is the pattern in every derivative computed from the definition: see What is a derivative?

Common mistake

Cancelling terms instead of factors. In x2+5x+6x+2 you can't cross out the x's or the 2's: only a factor that multiplies the whole top and the whole bottom can be cancelled. Factor first, then cancel.

What does a nonzero number over 0 mean?

If substituting gives something like 30, the top is heading to a number that isn't 0 while the bottom shrinks toward 0. Dividing by smaller and smaller numbers makes the result bigger and bigger, so the outputs grow without bound: there is no finite limit. To say which way they grow, look at the signs just to the left and just to the right of the number.

Worked example: Checking signs on each side

Find limx→2x+1x−2.

  1. Substituting gives 30: a nonzero number over 0.
  2. Just right of 2 (say x=2.01): the top is about 3 (positive) and the bottom is a tiny positive number, so the fraction is a huge positive number. limx→2+= +∞.
  3. Just left of 2 (say x=1.99): the top is still about 3, but the bottom is a tiny negative number, so the fraction is a huge negative number. limx→2−= −∞.
  4. The two sides disagree, so the two-sided limit doesn't exist. The line x=2 is a vertical asymptote: a vertical line the graph gets closer and closer to.

Answer: The limit does not exist (+∞ from the right, −∞ from the left).

-2246-6-4-22468right side: +∞left side: −∞
y=x+1x−2 near x=2: the outputs shoot up on the right of the dashed line x=2 and down on the left.

How do you find limits with absolute values or piecewise functions?

An absolute value |u| equals u when u≥0 and −u when u<0, so its formula changes at the point where u=0. A piecewise function also uses different formulas on different sides. In both cases, find the left-hand limit (inputs just below the number) and the right-hand limit (inputs just above) separately. The limit exists only if they agree.

Worked example: An absolute value

Find limx→1|x−1|x−1.

  1. For x>1: x−1>0, so |x−1|=x−1 and the fraction is x−1x−1=1. The right-hand limit is 1.
  2. For x<1: x−1<0, so |x−1|=−(x−1) and the fraction is −(x−1)x−1= −1. The left-hand limit is −1.
  3. 1≠−1, so the limit doesn't exist.

Answer: The limit does not exist.

How do you evaluate limits with sine and cosine?

Trigonometric limits that give 00 usually rest on one fact, proved in the course with the squeeze theorem: as u→0 (with u in radians), sin⁡uu→1. Rewrite the expression so that each sine is divided by exactly what's inside it.

limu→0sin⁡uu=1
Worked example: Using the sine limit

Find limx→0sin⁡5x3x.

  1. Substituting gives sin⁡00= 00.
  2. We want 5x on the bottom to match the inside of the sine. Multiply and divide by 5: sin⁡5x3x= 53⋅sin⁡5x5x.
  3. As x→0, also 5x→0, so sin⁡5x5x→1.
  4. The limit is 53⋅1= 53.

Answer: 53

When a factor like sin⁡1x wiggles forever without settling, trap the expression between two simpler ones that head to the same number; that's the squeeze theorem, covered in Lesson 1.9.

How do you choose the right method?

Substitute first, then let the result and the shape of the expression choose the method:

After substituting you seeThe expression containsMethod
An ordinary numberanythingThat's the limit
00only polynomialsFactor and cancel
00a square rootMultiply by the conjugate
00a fraction inside a fractionCombine the fractions
00a bracket to a power, h→0Multiply out, cancel h
00sin or tan of something heading to 0Use sin⁡uu→1
nonzero ÷0anythingCheck signs on each side
a formula that changes at the numberan absolute value or a piecewise ruleFind each one-sided limit

If x is heading to ∞ instead of a number, the methods are different: see limits at infinity. And if algebra can't remove a 00 (for example with ex or ln⁡x), L'Hôpital's rule usually can. The course's Playbook walks you to the right method one question at a time.

Learn it step by step

The full lessons in the course explain this from the ground up, with graphs, worked examples, and practice problems that each have a complete worked solution.

Open the lesson

Frequently asked questions

Is 0/0 the answer to a limit?

No. 00 only tells you that substituting didn't settle the limit. Simplify the expression and substitute again; the limit can turn out to be any number, or not exist.

Why can you cancel a factor that equals zero at the point?

Because a limit looks at inputs close to the number, never at the number itself. For every input the limit uses, the cancelled factor is not zero, so cancelling is valid.

What is the difference between 0/0 and a number over 0?

With 00, both top and bottom shrink and the limit can be anything, so you simplify. With a nonzero number over 0, only the bottom shrinks, so the outputs grow without bound and the limit is ∞, −∞, or doesn't exist.

When can you use direct substitution?

Whenever the function is continuous at the number: polynomials everywhere, and fractions, roots, sin, cos, ex and ln⁡x wherever they're defined. If substituting gives an ordinary number, that's the limit.

Can I use L'Hôpital's rule instead of algebra?

Often, for 00 and ∞∞ forms, but it needs derivatives, which come later in the course. Algebra is usually quicker for polynomials and roots, and many classes expect it in the limits unit.