MathematicsCalculus

L'Hôpital's Rule

lim f/g = lim f'/g'

L'Hôpital's Rule is one of the core results of calculus in mathematics. Evaluates 0/0 or ∞/∞ limits by differentiating numerator and denominator. Written as lim f/g = lim f'/g', it connects the quantities involved so tightly that knowing all but one of them is enough to determine the missing value exactly. That is what makes it useful far beyond the classroom: the same equation appears in exercises, in laboratory work and in professional calculations, only with different names for the symbols.

Key points

  • Evaluates 0/0 or ∞/∞ limits by differentiating numerator and denominator.
  • It belongs to Calculus within Mathematics, so the assumptions of that area — the conditions under which the quantities are defined — have to hold before the formula may be used.
  • The relationship is stated as lim f/g = lim f'/g'; each symbol carries its own unit, and the equation is only correct when the units on both sides match.
  • Because the formula is an equality, it can be rearranged to find any of its symbols, not just the one written on the left.

Worked examples

Reading the formula

Start by naming every symbol in lim f/g = lim f'/g'. The left-hand side, lim f/g, is the quantity you are usually asked for; the right-hand side, lim f'/g', lists everything that has to be known or measured first. Writing the units next to each symbol is the fastest way to catch a mistake before doing any arithmetic.

Solving for a hidden quantity

Most exercises give you all but one of the symbols. Rearrange lim f/g = lim f'/g' so that the unknown stands alone, substitute the known values with their units, and only then evaluate. In mathematics problems the rearrangement is worth more marks than the final number.

Sanity-checking a result

After computing a value, test an extreme case: make one input very small or very large and check that lim f/g moves in the direction the relationship predicts. Evaluates 0/0 or ∞/∞ limits by differentiating numerator and denominator. If the trend disagrees with that statement, the arithmetic or the rearrangement is wrong.

Applications

Engineering

Design calculations lean on this result whenever the underlying quantities have to be related exactly rather than estimated.

Computer science

Algorithms encode this relationship directly, from geometry libraries to numerical solvers.

Data analysis

Models and estimators are built on results like this to keep their conclusions provably valid.

Education

It is a standard exam topic and a common building block for later proofs.

Ask Teacher Smith questions about this formulaOpens your AI tutor with a question about “L'Hôpital's Rule” →

Common mistakes

  • Substituting numbers before rearranging the equation — rearrange first, then substitute, so the algebra stays visible and checkable.
  • Mixing unit systems: convert every quantity into one consistent system before evaluating.
  • Applying L'Hôpital's Rule outside the conditions it assumes, which produces a plausible-looking but meaningless number.
  • Rounding intermediate steps: keep full precision until the final answer, then round once.

20-minute study plan

  1. 1Minute 1–3: write lim f/g = lim f'/g' from memory and label every symbol with its meaning and unit.
  2. 2Minute 4–8: read the explanation above and restate L'Hôpital's Rule in one sentence of your own words.
  3. 3Minute 9–14: work through the three examples with a pen, covering the solution before you read it.
  4. 4Minute 15–18: rearrange the formula for each of its symbols in turn.
  5. 5Minute 19–20: name one real situation in mathematics where the relationship would be used, and explain why.

Frequently asked questions

What does L'Hôpital's Rule state?

Evaluates 0/0 or ∞/∞ limits by differentiating numerator and denominator. In compact form it is written lim f/g = lim f'/g'.

When can I use L'Hôpital's Rule?

Whenever the situation satisfies the assumptions of calculus that the derivation relies on. Outside those conditions a more general result — or a corrected version of this one — is needed.

How do I remember it?

Memorise the structure rather than the letters: notice which quantities appear in the numerator, which in the denominator, and which are squared. Then re-derive a simple special case from scratch; after two or three repetitions the formula stops needing memorisation.

Where does L'Hôpital's Rule fit into Mathematics?

It is one of the standard results of Calculus, and it is used both directly in calculations and indirectly as a step inside longer derivations in mathematics.

Related formulas