girgit.org

Limits and Derivatives

Limits of rational functions and the 0/0 puzzle

The big ideaFor a fraction of two polynomials, substitute if the bottom is not zero; if both top and bottom become zero, cancel the common factor \( (x - a) \) and try again.

In simple words

Sometimes when you put a number into a fraction, both the top and the bottom turn into nothing. That doesn't mean the answer is nothing. It means the top and bottom share a hidden piece that becomes zero at that number. Take that shared piece out of both, and what is left gives the real answer.

Rational functions

A rational function is a fraction of two polynomials, \( f(x) = \dfrac{g(x)}{h(x)} \), defined wherever \( h(x) \ne 0 \). To find \( \lim_{x \to a} f(x) \), first put \( x = a \) into the top and the bottom. Three things can happen.

Bottom \( h(a) \)Top \( g(a) \)What to do
not 0anythingSubstitute: the limit is \( \frac{g(a)}{h(a)} \).
0not 0The values blow up near \( a \): the limit does not exist.
00The form \( \frac{0}{0} \): factorise, cancel \( (x - a) \), try again.

The first row is just the quotient rule from the last page. The second row: a number like 6 divided by something tiny gives something huge, and its sign usually flips from one side to the other. For example \( \frac{x + 5}{x - 1} \) runs off to \( +\infty \) just right of 1 and to \( -\infty \) just left of it.

The 0/0 case: hunting the common factor

If \( g(a) = 0 \), then by the factor theorem \( (x - a) \) is a factor of \( g(x) \). Pull out as many as you can: \( g(x) = (x - a)^k g_1(x) \), where \( k \) is the highest power of \( (x - a) \) that divides \( g \), so \( g_1(a) \ne 0 \). Do the same for the bottom: \( h(x) = (x - a)^l h_1(x) \). Since \( x \ne a \) while we take the limit, we may cancel. Then:

  • \( k \gt l \): a factor \( (x - a)^{k - l} \) is left on top, so the limit is \( 0 \cdot \frac{g_1(a)}{h_1(a)} = 0 \).
  • \( k = l \): everything cancels and the limit is \( \frac{g_1(a)}{h_1(a)} \). This is the most common case.
  • \( k \lt l \): a factor \( (x - a) \) is still on the bottom, so the limit does not exist.

Worked examples

Worked example 1: k = l

Find \( \lim_{x \to 3} \dfrac{x^2 - 9}{x^2 - 4x + 3} \).

  1. At 3: top \( 9 - 9 = 0 \), bottom \( 9 - 12 + 3 = 0 \). Form \( \frac{0}{0} \).
  2. Factorise: \( \dfrac{(x - 3)(x + 3)}{(x - 3)(x - 1)} = \dfrac{x + 3}{x - 1} \) for \( x \ne 3 \).
  3. Substitute: \( \frac{6}{2} = 3 \).

Worked example 2: cubes

Find \( \lim_{x \to 1} \dfrac{x^3 - 1}{x^2 - 1} \).

  1. \( \frac{0}{0} \) at 1. Use \( x^3 - 1 = (x - 1)(x^2 + x + 1) \) and \( x^2 - 1 = (x - 1)(x + 1) \).
  2. Cancel: \( \dfrac{x^2 + x + 1}{x + 1} \to \dfrac{3}{2} \).

Worked example 3: k > l and k < l

\( \lim_{x \to 2} \dfrac{x^2 - 4x + 4}{x - 2} = \lim_{x \to 2} \dfrac{(x - 2)^2}{x - 2} = \lim_{x \to 2} (x - 2) = 0 \).

Flip it over: \( \dfrac{x - 2}{(x - 2)^2} = \dfrac{1}{x - 2} \), which blows up near 2, so \( \lim_{x \to 2} \dfrac{x - 2}{x^2 - 4x + 4} \) does not exist.

Worked example 4: combine first

Find \( \lim_{x \to 1} \left( \dfrac{1}{x - 1} - \dfrac{2}{x^2 - 1} \right) \).

  1. Each piece blows up on its own, so combine over \( x^2 - 1 \): \( \dfrac{(x + 1) - 2}{x^2 - 1} = \dfrac{x - 1}{(x - 1)(x + 1)} \).
  2. Cancel: \( \dfrac{1}{x + 1} \to \dfrac{1}{2} \).

Guess first: three 0/0s

All three of these look like \( \frac{0}{0} \) at \( x = 2 \): \( \dfrac{x^2 - 4}{x - 2} \), \( \dfrac{(x - 2)^2}{x - 2} \) and \( \dfrac{x - 2}{(x - 2)^2} \). Guess: do they have the same limit?

Commit to an answer, then change the powers on top and bottom and watch the race to zero.

See what happens
Three different answers: 4, 0, and no limit at all. The \( \frac{0}{0} \) shape hides a race between top and bottom. Equal speed (\( k = l \)) gives a finite number; top faster to zero (\( k \gt l \)) gives 0; bottom faster (\( k \lt l \)) gives no limit.

Try it. Find (a) \( \lim_{x \to 2} \dfrac{x^2 - 5x + 6}{x^2 - 4} \), (b) \( \lim_{x \to 1} \dfrac{x^2 + 2x - 3}{x^2 - 1} \).

Answer
(a) \( \dfrac{(x - 2)(x - 3)}{(x - 2)(x + 2)} = \dfrac{x - 3}{x + 2} \to \dfrac{-1}{4} \). (b) \( \dfrac{(x - 1)(x + 3)}{(x - 1)(x + 1)} = \dfrac{x + 3}{x + 1} \to \dfrac{4}{2} = 2 \).

Just remember

The order of the checks is a habit worth drilling, and the two cube factorisations are simply worth knowing by heart. Hooks below, with the way to rebuild each one if it slips.

Look at the bottom first
"Bottom first, then top." Bottom not 0: substitute. Bottom 0 but top not: no limit. Both 0: cancel \( (x - a) \) and try again. Rebuild: a normal number over a tiny number is huge, which is the graph shooting up beside a vertical line.
\( k \gt l \) gives 0, \( k = l \) a number, \( k \lt l \) no limit
"More \( (x - a) \)s, faster to zero." The side with more factors of \( (x - a) \) reaches zero first and wins the race. Rebuild from the simplest three near 0: \( \frac{x^2}{x} \to 0 \), \( \frac{x}{x} \to 1 \), \( \frac{x}{x^2} \) blows up.
\( a^3 - b^3 = (a - b)(a^2 + ab + b^2) \) and \( a^3 + b^3 = (a + b)(a^2 - ab + b^2) \)
"SOAP": the first sign is the Same as in the cube, the second is Opposite, the last is Always Positive. Rebuild: put \( b = a \) in \( a^3 - b^3 \); it is 0, so \( (a - b) \) is a factor, and long division gives the rest.

Words to know

Rational function
A polynomial divided by a polynomial, \( \frac{g(x)}{h(x)} \), with \( h(x) \ne 0 \).
Form \( \frac{0}{0} \)
Top and bottom both become 0 at \( a \): simplify before deciding.
Factor theorem
If \( g(a) = 0 \), then \( (x - a) \) divides \( g(x) \).
Cancelling
Allowed in a limit because \( x \ne a \), so \( (x - a) \ne 0 \).

What is \( \lim_{x \to -2} \dfrac{x^2 - 4}{x + 2} \)?

  1. 0
  2. −4
  3. 4
  4. It does not exist

At \( x = a \), the top of a rational function is 5 and the bottom is 0. What can you say?

  1. The limit does not exist
  2. Factorise and the limit will appear
  3. The limit is 0

Deep dive · optional

What is 0/0, really?

Why \( \frac{0}{0} \) can never be given a value, why its limit still can, and how two Indian mathematicians and a French marquis wrestled with it. The exam does not ask this; it is here so that "0/0" stops feeling like a trick.

  1. The roots
  2. The story
  3. See it
  4. Solve it
  5. Connect it
  6. Still confused?

The roots: dividing is undoing

  1. What does \( 12 \div 3 = 4 \) actually mean?That 4 is the number which, multiplied by 3, gives back 12. Division is multiplication run backwards.
  2. So what would \( 0 \div 0 \) be?A number \( c \) with \( c \times 0 = 0 \). But every number does that: 7, −2, a million. The question has too many answers, so no single one can be "the" value.
  3. And \( 5 \div 0 \)?A number \( c \) with \( c \times 0 = 5 \). No number does that. This time there is no answer at all, and near such a point the fraction shoots off to huge values.
  4. Then why does \( \lim_{x \to 2} \frac{x^2 - 4}{x - 2} \) have one answer?Because in a limit \( x \) is never 2. Top and bottom are small numbers, like 0.0401 and 0.01, not zeros, and small numbers have a perfectly good ratio.
  5. Why does that ratio settle down?Because both carry the same factor \( (x - 2) \), the thing that is shrinking. What is left after cancelling, \( x + 2 \), is an ordinary expression that is close to 4.
  6. And underneath?The factor theorem: if a polynomial is 0 at \( a \), then \( (x - a) \) divides it. Every polynomial 0/0 hides the same shrinking factor on top and bottom.

There is a second way to see it, with a magnifying glass. Zoom in on the point \( (a, 0) \) and any smooth curve that passes through it starts to look like a straight line through it. Near 2, the top \( x^2 - 4 \) looks like a line of slope 4, and the bottom \( x - 2 \) is a line of slope 1. So, near 2,

\[ \frac{x^2 - 4}{x - 2} \approx \frac{4(x - 2)}{1(x - 2)} = 4 . \]

The limit of a 0/0 fraction is the ratio of the two slopes. You will meet those slopes as derivatives on page 9; the trick of dividing them has a name, L'Hôpital's rule, and a story.

The story: three answers to 0/0

Title page of L'Hôpital's Analyse des infiniment petits, Paris, 1696, with the royal printer's emblemAnalysis of the infinitely smallroyal arms: the king's press
The first edition, Paris, 1696: "Analysis of the infinitely small, for understanding curved lines". Look for the author: there is no name on the title page at all.

See it: zoom in on 0/0

Guess first, then drag the point x towards the place where top and bottom both hit zero. Turn up the zoom: the two curves straighten into lines, and the ratio of their heights becomes the ratio of their slopes. Try the four fractions; the last one shows why a top that is flat at \( a \) gives the limit 0.

Solve it

Spot the error

"\( 0 \times 1 = 0 \times 2 \). Divide both sides by 0, and \( 1 = 2 \)." What went wrong?

Answer
Dividing by 0 means undoing "times 0". But "times 0" sends 1, 2 and every other number to the same place, 0, so there is no way back: the information about which number you started with is gone. Dividing both sides by 0 is not a step you are allowed to take. In a limit we never divide by 0; we divide by \( x - a \), which is small but not 0.

Predict, then check

Use slopes to predict \( \lim_{x \to 1} \dfrac{x^5 - 1}{x^3 - 1} \). Then check by factorising.

Hint
By the power limit on the next page, near 1 the curve \( x^n \) climbs at slope \( n \).
Answer
Near 1, \( x^5 - 1 \) looks like a line of slope 5 and \( x^3 - 1 \) a line of slope 3, so predict \( \frac{5}{3} \). Check: \( \dfrac{(x - 1)(x^4 + x^3 + x^2 + x + 1)}{(x - 1)(x^2 + x + 1)} \to \dfrac{5}{3} \). The same.

Solve it (JEE style)

Find \( a \) and \( b \) if \( \lim_{x \to 2} \dfrac{x^2 + ax + b}{x - 2} = 5 \).

Hint
The bottom heads for 0. If the top did not, the fraction would blow up. So what must the top be at \( x = 2 \)?
Answer
The top must vanish at 2: \( 4 + 2a + b = 0 \). Then \( (x - 2) \) is a factor: \( x^2 + ax + b = (x - 2)(x + 2 + a) \), which you can check by expanding and using \( b = -4 - 2a \). After cancelling, the limit is \( 2 + 2 + a = 4 + a = 5 \), so \( a = 1 \) and \( b = -6 \). Check: \( \frac{x^2 + x - 6}{x - 2} = x + 3 \to 5 \).

Brahmagupta's rule said \( \frac{0}{0} = 0 \). Which fact best shows that no single value can be given to \( \frac{0}{0} \)?

  1. Calculators show "Error" for 0 ÷ 0
  2. \( \frac{x^2 - 4}{x - 2} \to 4 \) and \( \frac{(x - 2)^2}{x - 2} \to 0 \), though both are \( \frac{0}{0} \) at 2
  3. Bhāskara II said a number over zero is infinite

Connect it

Connect it

  • Every derivative is a 0/0, page 9. \( f'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h} \): top and bottom both go to 0. All of calculus lives inside this one shape: what is a derivative.
  • The power limit, page 6. \( \frac{x^n - a^n}{x - a} \) is this page's cancelling, done once for every \( n \): the standard limit.
  • Trig limits, page 8. The "general rule for 0/0" there is the same hunt for the shrinking factor, with a small angle in place of \( (x - a) \): solving trig limits.
  • Filling the hole, Class 12. A function like \( \frac{x^2 - 9}{x - 3} \) has a hole; defining its value at 3 to be the limit 6 makes it unbroken. That is continuity: continuity at a point.
  • Rational functions, Ch 2. Where the bottom is zero, a rational function has no value; this page asks what happens near those points: rational functions.
  • Daily life. A spreadsheet shows #DIV/0! and a calculator shows "Error" for 0 ÷ 0: the machines agree with Brahmagupta's critics that there is no value to show.

Still confused?

If \( \frac{x^2 - 4}{x - 2} \) equals \( x + 2 \), why is it undefined at 2?

They are equal only for \( x \ne 2 \). The fraction's rule asks you to divide by \( x - 2 \), which you cannot do at 2, so the fraction has a hole there; \( x + 2 \) has none. Same graph, minus one point. The limit asks about the neighbours of that point, which both functions share, so they have the same limit.

Can I just use L'Hôpital's rule in the exam?

It needs derivatives, which come later in this chapter, and the NCERT book does not use it, so in a board answer show the factorising. In a JEE paper only the final answer counts, and the rule is a fast check, as long as the form really is 0/0 (or ∞/∞).

Is 0/0 "infinity"?

No. Infinity is how a non-zero number over a tiny number behaves (Bhāskara II's infinite quantity). A 0/0 shape can end up anywhere: a number, 0, or nothing. That is why it is called indeterminate.