# 洛必达法则

**洛必达法则**（L'Hôpital's rule）是微积分中的一条定理，它通过对分子与分母分别求导，来计算两个函数之商的极限：若该商趋于未定式 \( \frac{0}{0} \) 或 \( \frac{\infty}{\infty} \)，且导数之商的极限存在（为实数、\( +\infty \) 或 \( -\infty \)），则原极限就等于这个导数之商。<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup> 此法则以纪尧姆·弗朗索瓦·安托万（Guillaume François Antoine）、洛必达侯爵（Marquis de l'Hôpital）命名。他是一位法国贵族、数学家，1696年在一部微分学教科书中发表了这条法则——那是史上第一部微分学教科书；不过这一结果通常被归功于他的老师约翰·伯努利（Johann Bernoulli）。<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup>

| 关键事实 | 详情 |
|---|---|
| 陈述 | 若 \( \lim f(x) = \lim g(x) = 0 \)（或两者皆为无穷），且 \( \lim \frac{f'(x)}{g'(x)} = L \)，则 \( \lim \frac{f(x)}{g(x)} = L \)；当导数之商趋于 \( \pm\infty \) 时同样成立<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup> |
| 首次发表 | 《用于理解曲线的无穷小分析》（*Analyse des infiniment petits pour l'intelligence des lignes courbes*），1696年，第一部微分学教科书；该法则见于第9章，讨论的是分子与分母都趋于零的商<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup> |
| 真正的作者 | 源自约翰·伯努利1691—1692年间为洛必达讲授的课程；20世纪20年代在巴塞尔发现的一份伯努利课程手抄本证实，该书与之高度一致<sup>[3](https://mathshistory.st-andrews.ac.uk/Biographies//Bernoulli_Johann/)</sup> |
| 直接处理的未定式 | \( \frac{0}{0} \) 与 \( \frac{\infty}{\infty} \)<sup>[4](https://www.math.ucdavis.edu/~kouba/CalcOneDIRECTORY/lhopitaldirectory/LHopital.html)</sup> |
| 变形后处理的类型 | \( 0 \cdot \infty \)、\( \infty - \infty \)、\( 1^{\infty} \)、\( \infty^{0} \) 与 \( 0^{0} \)，用代数方法化为商的形式<sup>[5](https://openstax.org/books/calculus-volume-1/pages/4-8-lhopitals-rule)</sup> |
| 关键限制 | 每次使用之前，商必须是未定式；对确定形式使用该法则会得出错误答案<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup> |
| 单向的工具 | 若 \( \lim f'(x)/g'(x) \) 不存在，原极限仍可能存在；导数之商的极限不存在，并不能说明原极限的任何情况<sup>[6](https://www.calclearn.org/theorems/lhopitals-rule-counterexamples)</sup> |

## 陈述与用法

这条法则填补的是极限算术中的一个特定空白。若 \( \lim_{x \to a} f(x) = F \)，\( \lim_{x \to a} g(x) = G \)，且 \( G \ne 0 \)，则商的极限就是 \( F/G \)。然而当 \( F \) 与 \( G \) 都为零时，几乎什么情况都可能发生：\( x/x^2 \)、\( x^2/x \)、\( x/x \) 与 \( 7x^2/3x^2 \) 在 \( x = 0 \) 处都趋于 \( 0/0 \)，可它们的极限却分别是不存在、等于0、等于1、等于 \( 7/3 \)。<sup>[7](https://clp.math.uky.edu/clp1/sec_4_7.html)</sup> 处于这种情形的商称为未定式，因为极限的值无法从两个单侧值直接读出。<sup>[5](https://openstax.org/books/calculus-volume-1/pages/4-8-lhopitals-rule)</sup>

在其 \( \frac{0}{0} \) 形式中，法则说的是：设 \( \lim f(x) = \lim g(x) = 0 \)。若 \( \lim \frac{f'(x)}{g'(x)} = L \)，则 \( \lim \frac{f(x)}{g(x)} \) 也等于 \( L \)；若导数之商趋于 \( +\infty \) 或 \( -\infty \)，原商亦然。<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup> 当 \( f(x) \) 与 \( g(x) \) 都趋于无穷时，即 \( \frac{\infty}{\infty} \) 情形，同样的陈述成立，但它的证明需要更深入的分析。<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup> 求导是对分子与分母分别施行的；这条法则不是导数的商法则。<sup>[4](https://www.math.ucdavis.edu/~kouba/CalcOneDIRECTORY/lhopitaldirectory/LHopital.html)</sup>

一个标准的例子是

\[ \lim_{x \to 0} \frac{\sin x}{x} = \lim_{x \to 0} \frac{\cos x}{1} = 1. \]

只要每一步所得的商仍是未定式，多次使用该法则就是合法的：\( \lim_{x \to 0} \frac{1 - \cos x}{x^2} \) 可以先处理成 \( \lim_{x \to 0} \frac{\sin x}{2x} \)，再处理一次，得到 \( \lim_{x \to 0} \frac{\cos x}{2} = \frac{1}{2} \)。<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup> 每次使用之前都必须重新检查形式，包括连锁使用中的第二次、第三次。<sup>[8](https://locusmath.org/books/openstax-calculus-1/4-8)</sup>

## 其他未定式

另有五种表达式在极限中表现出未定行为：\( 0 \cdot \infty \)、\( \infty - \infty \)、\( 1^{\infty} \)、\( \infty^{0} \) 与 \( 0^{0} \)。它们不是实数，而是极限计算可能呈现的形态；策略是把每一种都改写为 \( \frac{0}{0} \) 或 \( \frac{\infty}{\infty} \) 形式的商。<sup>[5](https://openstax.org/books/calculus-volume-1/pages/4-8-lhopitals-rule)</sup>

**乘积与差。** 趋于 \( 0 \cdot \infty \) 的乘积 \( f(x) g(x) \)，可把其中一个因子取倒数移入分母来改写，例如当 \( x \to 0^+ \) 时 \( x \ln x = \frac{\ln x}{1/x} \)，由此得 \( \lim_{x \to 0^+} x \ln x = 0 \)。<sup>[9](https://tutorial.math.lamar.edu/classes/calci/lhospitalsrule.aspx)</sup> 选择对哪个因子取倒数是有讲究的：有时两种可能的改写中只有一种能得到可用的商。<sup>[9](https://tutorial.math.lamar.edu/classes/calci/lhospitalsrule.aspx)</sup> 趋于 \( \infty - \infty \) 的差 \( f(x) - g(x) \)，则先合并为单个分式（往往通过通分），再使用法则。<sup>[5](https://openstax.org/books/calculus-volume-1/pages/4-8-lhopitals-rule)</sup>

**幂。** 对于呈 \( \infty^0 \) 之类形式的 \( \lim f(x)^{g(x)} \)，令 \( y = f(x)^{g(x)} \)，于是 \( \ln y = g(x) \ln f(x) \)，这是一个 \( 0 \cdot \infty \) 型的乘积。求出 \( \lim \ln y = L \) 之后，由对数的连续性便得 \( \lim f(x)^{g(x)} = e^L \)。<sup>[5](https://openstax.org/books/calculus-volume-1/pages/4-8-lhopitals-rule)</sup> 这条路径可以说明 \( \lim_{x \to 0^+} x^x = 1 \)。<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup>

## 法则失效或误导之时

这条法则有两个前提，两者都必须检验：商在该点必须是未定式，且导数之商必须有极限。<sup>[6](https://www.calclearn.org/theorems/lhopitals-rule-counterexamples)</sup> 对确定形式的商使用法则，会得出一个看似完全合理的错误答案；在某份教程的例子里，错误的使用对一个真实值并非如此的极限得出了6。<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup>

第二个前提更为微妙。若 \( \lim f'(x)/g'(x) \) 不存在，法则就根本不能用，而这并不意味着原极限不存在。<sup>[6](https://www.calclearn.org/theorems/lhopitals-rule-counterexamples)</sup> 因此这条法则是单向的工具：它能确认极限，却永远不能否定极限。<sup>[6](https://www.calclearn.org/theorems/lhopitals-rule-counterexamples)</sup> 反复机械地使用，还可能原地打转。对 \( \lim_{x \to \infty} \frac{e^x + e^{-x}}{e^x - e^{-x}} \)，求导后得到的是分子分母互换的同一个商，再求导又回到原式；这个极限得靠提出 \( e^x \) 并化简来求得。<sup>[7](https://clp.math.uky.edu/clp1/sec_4_7.html)</sup>

与此相关的一重告诫是循环论证。用该法则计算 \( \lim_{x \to 0} \frac{\sin x}{x} \)，需要知道 \( \sin x \) 的导数是 \( \cos x \)，而这个导数本身正是用同一个极限建立的；同样，对 \( \lim_{x \to a} \frac{x^n - a^n}{x - a} \) 使用法则，等于用幂法则来证明幂法则。<sup>[7](https://clp.math.uky.edu/clp1/sec_4_7.html)</sup>

## 为什么成立

\( \frac{0}{0} \) 情形可由广义（柯西）中值定理推出，该定理比较两个函数在一段区间上的变化率；证明必须设法绕开导数在极限点本身不连续的可能。<sup>[7](https://clp.math.uky.edu/clp1/sec_4_7.html)</sup> 一个非正式的几何图像把 \( f \) 与 \( g \) 看作参数化了一条过原点的曲线：原点处切线的斜率就是比值 \( y'(t)/x'(t) \)，而这正是法则所用的导数之商。<sup>[1](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)</sup> 泰勒级数的视角则把同一结果讲得清清楚楚：把分子与分母在极限点附近展开，约去共同的零因子，剩下的就是一阶系数之比 \( f'(a)/g'(a) \)；若这个商仍是未定式，更高阶的导数便登场了。<sup>[10](https://patrickstowell.github.io/PHY129-Lectures-2024/Topic6A_MD.html)</sup>

## 历史

这条法则冠的是纪尧姆·弗朗索瓦·安托万之名，即洛必达侯爵（1661—1704），他同时是圣梅姆侯爵与昂特勒蒙伯爵，出身法国显赫的贵族世家，早年任骑兵上尉，后来转向数学。<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup> 1691年末，他结识了年轻的约翰·伯努利（1667—1748）——当时巴黎最精通莱布尼茨新微分学的人——并先后聘他讲课、到乌克的庄园做私人授课。<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup> 伯努利返回巴塞尔后，洛必达以通信方式继续受教，并为此付给他相当于教授一半薪水的报酬。<sup>[3](https://mathshistory.st-andrews.ac.uk/Biographies//Bernoulli_Johann/)</sup> 1694年3月17日的一封信提出，自该年1月1日起支付300镑聘金，以换取伯努利定时的劳动以及他的发现，明确的条件是：伯努利不得向任何人透露这些发现，连数学家皮埃尔·德·瓦里尼翁也不行。<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup>

1696年，洛必达出版了《用于理解曲线的无穷小分析》（*Analyse des infiniment petits pour l'intelligence des lignes courbes*），这是第一部微分学教科书。<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup> 序言中申明受益于伯努利兄弟，尤其是“小伯努利，他如今是格罗宁根的教授”，并声明自己自由地使用了他们的成果与莱布尼茨的成果，凡他们愿意认领的，一概奉还。<sup>[11](https://mathshistory.st-andrews.ac.uk/Extras/LHopital_Preface/)</sup> 第9章载有这条法则，形式是针对分子与分母在某点都趋于零的商。<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup> 此书长期为人使用，直到1781年仍有新版，并成为后来诸多微积分教材的范本。<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup>

1704年洛必达去世后，伯努利强烈抗议，说自己才是该书的真正作者，但当时信者寥寥——那份付酬协议使他必须缄口，而他又有屡次争夺优先权的记录。<sup>[3](https://mathshistory.st-andrews.ac.uk/Biographies//Bernoulli_Johann/)</sup> 证实要等到20世纪20年代：伯努利1691—1692年课程的一份手抄本（由其侄子尼古拉（一世）·伯努利抄录）在巴塞尔被发现，该课程与已出版的书几乎一模一样，只是洛必达改正了伯努利的一些错误，例如他误以为 \( 1/x \) 的积分是有限的。<sup>[3](https://mathshistory.st-andrews.ac.uk/Biographies//Bernoulli_Johann/)</sup> 施普林格（Springer）出版了《无穷小分析》的现代英文译注本，附有伯努利的讲课笔记与部分通信；编者指出，除了这些惊人的相似之处，洛必达书中还有许多原创与创新。<sup>[12](https://link.springer.com/book/10.1007/978-3-319-17115-9)</sup>

## 名字与拼写

这个名字的拼写随时代而变。较早的写法是 l'Hospital 或 Lhospital，其中的 s 不发音；l'Hôpital 是相对晚近的拼法，许多旧文献，以及巴黎洛必达大道（Boulevard de l'Hôpital）上一些较旧的路牌，仍沿用早先的写法。<sup>[2](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)</sup><sup> • </sup><sup>[7](https://clp.math.uky.edu/clp1/sec_4_7.html)</sup> 两种拼写指的是同一个人、同一条法则。<sup>[9](https://tutorial.math.lamar.edu/classes/calci/lhospitalsrule.aspx)</sup>

## 推广

经典法则讨论的是单变量函数，此外还存在许多形式，其验证需要更高级的技巧。<sup>[4](https://www.math.ucdavis.edu/~kouba/CalcOneDIRECTORY/lhopitaldirectory/LHopital.html)</sup> 针对多变量函数的推广已有发展，不过对某些二元未定极限，法则会变得不实用，例如在孤立奇点处，或当反复求导十分繁琐时；在这种情况下，有人提出以有限差分法与理查森外推法作为替代。<sup>[13](https://dergipark.org.tr/en/pub/nase/article/1601607)</sup> 向有单侧极限的函数以及高维复值函数的推广，也有人研究。<sup>[14](https://arxiv.org/abs/2305.17572)</sup><sup> • </sup><sup>[15](https://arxiv.org/abs/2602.09958)</sup>

## References

1. [L'Hôpital's Rule, HMC Calculus Tutorial](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/lhopitals-rule/)
2. [Guillaume de l'Hôpital (1661–1704), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk//Biographies/De_LHopital/)
3. [Johann Bernoulli (1667–1748), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies//Bernoulli_Johann/)
4. [L'Hopital's Rule, University of California, Davis](https://www.math.ucdavis.edu/~kouba/CalcOneDIRECTORY/lhopitaldirectory/LHopital.html)
5. [4.8 L'Hôpital's Rule, Calculus Volume 1, OpenStax](https://openstax.org/books/calculus-volume-1/pages/4-8-lhopitals-rule)
6. [When L'Hopital's Rule Fails: Two Counterexamples, CalcLearn](https://www.calclearn.org/theorems/lhopitals-rule-counterexamples)
7. [L'Hôpital's Rule, Indeterminate Forms, CLP-1 Differential Calculus, University of Kentucky](https://clp.math.uky.edu/clp1/sec_4_7.html)
8. [Strang 4.8 L'Hopital's Rule study guide, Locus](https://locusmath.org/books/openstax-calculus-1/4-8)
9. [Calculus I – L'Hospital's Rule and Indeterminate Forms, Paul's Online Math Notes, Lamar University](https://tutorial.math.lamar.edu/classes/calci/lhospitalsrule.aspx)
10. [Taylor Series, L'Hopital's rule and approximation errors, PHY129 Mathematics for Physicists](https://patrickstowell.github.io/PHY129-Lectures-2024/Topic6A_MD.html)
11. [L'Hôpital: Analyse des infiniment petits Preface, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Extras/LHopital_Preface/)
12. [L'Hôpital's Analyse des infiniment petits: An Annotated Translation with Source Material by Johann Bernoulli, Springer](https://link.springer.com/book/10.1007/978-3-319-17115-9)
13. [New Approaches for Evaluation Indeterminate Limits for Multivariable Functions in Undergraduate Mathematics Courses, Natural Sciences and Engineering Bulletin](https://dergipark.org.tr/en/pub/nase/article/1601607)
14. [L'Hospital's Rule for Regulated Functions, arXiv](https://arxiv.org/abs/2305.17572)
15. [L'Hopital rules for complex-valued functions in higher dimensions, arXiv](https://arxiv.org/abs/2602.09958)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Differential calculus and derivatives

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/lhopitals-rule

English original: https://www.edgepedia.org/lhopitals-rule
