HOME

TheInfoList



OR:

In
calculus Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithm ...
, l'Hôpital's rule or l'Hospital's rule (, , ), also known as Bernoulli's rule, is a theorem which provides a technique to evaluate
limits Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2019 ...
of
indeterminate form In calculus and other branches of mathematical analysis, limits involving an algebraic combination of functions in an independent variable may often be evaluated by replacing these functions by their limits; if the expression obtained after this su ...
s. Application (or repeated application) of the rule often converts an indeterminate form to an expression that can be easily evaluated by substitution. The rule is named after the 17th-century French
mathematician A mathematician is someone who uses an extensive knowledge of mathematics in their work, typically to solve mathematical problems. Mathematicians are concerned with numbers, data, quantity, structure, space, models, and change. History On ...
Guillaume de l'Hôpital Guillaume François Antoine, Marquis de l'Hôpital (; sometimes spelled L'Hospital; 1661 – 2 February 1704), also known as Guillaume-François-Antoine Marquis de l'Hôpital, Marquis de Sainte-Mesme, Comte d'Entremont, and Seigneur d'Ouques-la- ...
. Although the rule is often attributed to l'Hôpital, the theorem was first introduced to him in 1694 by the Swiss mathematician
Johann Bernoulli Johann Bernoulli (also known as Jean or John; – 1 January 1748) was a Swiss mathematician and was one of the many prominent mathematicians in the Bernoulli family. He is known for his contributions to infinitesimal calculus and educating L ...
. L'Hôpital's rule states that for functions and which are
differentiable In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non-vertical tangent line at each interior point in its ...
on an open interval except possibly at a point contained in , if \lim_f(x)=\lim_g(x)=0 \text \pm\infty, and g'(x)\ne 0 for all in with , and \lim_\frac exists, then :\lim_\frac = \lim_\frac. The differentiation of the numerator and denominator often simplifies the quotient or converts it to a limit that can be evaluated directly.


History

Guillaume de l'Hôpital Guillaume François Antoine, Marquis de l'Hôpital (; sometimes spelled L'Hospital; 1661 – 2 February 1704), also known as Guillaume-François-Antoine Marquis de l'Hôpital, Marquis de Sainte-Mesme, Comte d'Entremont, and Seigneur d'Ouques-la- ...
(also written l'Hospital) published this rule in his 1696 book ''
Analyse des Infiniment Petits pour l'Intelligence des Lignes Courbes ''Analyse des Infiniment Petits pour l'Intelligence des Lignes Courbes'' (literal translation: ''Analysis of the infinitely small to understand curves''), 1696, is the first textbook published on the infinitesimal calculus of Leibniz. It was writ ...
'' (literal translation: ''Analysis of the Infinitely Small for the Understanding of Curved Lines''), the first textbook on
differential calculus In mathematics, differential calculus is a subfield of calculus that studies the rates at which quantities change. It is one of the two traditional divisions of calculus, the other being integral calculus—the study of the area beneath a curve. ...
. However, it is believed that the rule was discovered by the Swiss mathematician
Johann Bernoulli Johann Bernoulli (also known as Jean or John; – 1 January 1748) was a Swiss mathematician and was one of the many prominent mathematicians in the Bernoulli family. He is known for his contributions to infinitesimal calculus and educating L ...
.


General form

The general form of L'Hôpital's rule covers many cases. Let and be
extended real numbers In mathematics, the affinely extended real number system is obtained from the real number system \R by adding two infinity elements: +\infty and -\infty, where the infinities are treated as actual numbers. It is useful in describing the algebra on ...
(i.e., real numbers, positive infinity, or negative infinity). Let be an
open interval In mathematics, a (real) interval is a set of real numbers that contains all real numbers lying between any two numbers of the set. For example, the set of numbers satisfying is an interval which contains , , and all numbers in between. Other ...
containing (for a two-sided limit) or an open interval with endpoint (for a
one-sided limit In calculus, a one-sided limit refers to either one of the two limits of a function f(x) of a real variable x as x approaches a specified point either from the left or from the right. The limit as x decreases in value approaching a (x approaches ...
, or a
limit at infinity Although the function (sin ''x'')/''x'' is not defined at zero, as ''x'' becomes closer and closer to zero, (sin ''x'')/''x'' becomes arbitrarily close to 1. In other words, the limit of (sin ''x'')/''x'', as ''x'' approaches z ...
if is infinite). The real valued functions and are assumed to be
differentiable In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non-vertical tangent line at each interior point in its ...
on except possibly at , and additionally g'(x) \ne 0 on except possibly at . It is also assumed that \lim_ \frac = L. Thus the rule applies to situations in which the ratio of the derivatives has a finite or infinite limit, but not to situations in which that ratio fluctuates permanently as gets closer and closer to . If either \lim_f(x) = \lim_g(x) = 0 or \lim_ , f(x), = \lim_ , g(x), = \infty, then \lim_ \frac = L. Although we have written throughout, the limits may also be one-sided limits ( or ), when is a finite endpoint of . In the second case, the hypothesis that diverges to infinity is not used in the proof (see note at the end of the proof section); thus, while the conditions of the rule are normally stated as above, the second sufficient condition for the rule's procedure to be valid can be more briefly stated as \lim_ , g(x), = \infty. The hypothesis that g'(x)\ne 0 appears most commonly in the literature, but some authors sidestep this hypothesis by adding other hypotheses elsewhere. One method is to define the limit of a function with the additional requirement that the limiting function is defined everywhere on the relevant interval except possibly at . Another method is to require that both and be differentiable everywhere on an interval containing .


Cases where theorem cannot be applied (Necessity of conditions)

All four conditions for L'Hôpital's rule are necessary: # Indeterminacy of form: \lim_ f(x) = \lim_ g(x) = 0 or \pm \infty ; and # Differentiability of functions: f(x) and g(x) are
differentiable In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non-vertical tangent line at each interior point in its ...
on an open interval \mathcal except possibly at a point c contained in \mathcal (the same point from the limit) ; and # Non-zero derivative of denominator: g'(x) \ne 0 for all x in \mathcal with x \ne c ; and # Existence of limit of the quotient of the derivatives: \lim_ \frac exists. Where one of the above conditions is not satisfied, L'Hôpital's rule is not valid in general, and so it cannot always be applied.


Form is not indeterminate

The necessity of the first condition can be seen by considering the counterexample where the functions are f(x) = x +1 and g(x) = 2x +1 and the limit is x \to 1 . The first condition is not satisfied for this counterexample because \lim_ f(x) = \lim_ (x + 1) = (1) + 1 = 2 \neq 0 and \lim_ g(x) = \lim_ (2x + 1) = 2(1) + 1 = 3 \neq 0 . This means that the form is not indeterminate. The second and third conditions are satisfied by f(x) and g(x) . The fourth condition is also satisfied with \lim_ \frac = \lim_ \frac = \lim_ \frac = \frac . But, L'Hôpital's rule fails in this counterexample, since \lim_ \frac = \lim_ \frac = \frac = \frac \neq \frac = \lim_ \frac .


Differentiability of functions

Differentiability of functions is a requirement because if a function is not differentiable, then the derivative of the functions is not guaranteed to exist at each point in \mathcal . The fact that \mathcal is an open interval is grandfathered in from the hypothesis of the Cauchy Mean Value Theorem. The notable exception of the possibility of the functions being not differentiable at c exists because L'Hôpital's rule only requires the derivative to exist as the function approaches c ; the derivative does not need to be taken at c . For example, let f(x) = \begin \sin x, & x\neq0 \\ 1, & x=0 \end , g(x)=x , and c = 0 . In this case, f(x) is not differentiable at c . However, since f(x) is differentiable everywhere except c , then \lim_f'(x) still exists. Thus, since \lim_ \frac = \frac and \lim_ \frac exists, L'Hôpital's rule still holds.


Derivative of denominator is zero

The necessity of the condition that g'(x)\ne 0 near c can be seen by the following counterexample due to Otto Stolz. Let f(x)=x+\sin x \cos x and g(x)=f(x)e^. Then there is no limit for f(x)/g(x) as x\to\infty. However, :\begin \frac &= \frac \\ &= \frac e^, \end which tends to 0 as x\to\infty. Further examples of this type were found by Ralph P. Boas Jr.


Limit of derivatives does not exist

The requirement that the limit :\lim_\frac exists is essential. Without this condition, f' or g' may exhibit undamped oscillations as x approaches c, in which case L'Hôpital's rule does not apply. For example, if f(x)=x+\sin(x), g(x)=x and c=\pm\infty, then :\frac=\frac; this expression does not approach a limit as x goes to c, since the cosine function oscillates between and . But working with the original functions, \lim_\frac can be shown to exist: :\lim_\frac = \lim_\left(\frac\right) = \lim_\left(1+\frac\right) = 1+\lim_\left(\frac\right) = 1+0 = 1. In a case such as this, all that can be concluded is that : \liminf_ \frac \leq \liminf_ \frac \leq \limsup_ \frac \leq \limsup_ \frac , so that if the limit of ''f''/''g'' exists, then it must lie between the inferior and superior limits of ''f''′/''g''′. (In the example above, this is true, since 1 indeed lies between 0 and 2.)


Examples

* Here is a basic example involving the exponential function, which involves the indeterminate form at : \begin \lim_ \frac &= \lim_ \frac \\ pt &= \lim_ \frac \\ pt &= 1. \end * This is a more elaborate example involving . Applying L'Hôpital's rule a single time still results in an indeterminate form. In this case, the limit may be evaluated by applying the rule three times: \begin \lim_ & =\lim_ \\ pt& = \lim_ \\ pt& = \lim_ \\ pt& = \\ pt& =6. \end * Here is an example involving : \lim_x^n\cdot e^ =\lim_ =\lim_ =n\cdot \lim_. Repeatedly apply L'Hôpital's rule until the exponent is zero (if is an integer) or negative (if is fractional) to conclude that the limit is zero. * Here is an example involving the indeterminate form (see below), which is rewritten as the form : \lim_x \ln x =\lim_ \frac = \lim_ \frac = \lim_ -x = 0. *Here is an example involving the mortgage repayment formula and . Let be the principal (loan amount), the interest rate per period and the number of periods. When is zero, the repayment amount per period is \frac (since only principal is being repaid); this is consistent with the formula for non-zero interest rates: \begin \lim_\frac & = P \lim_ \frac \\ pt & = \frac. \end * One can also use L'Hôpital's rule to prove the following theorem. If is twice-differentiable in a neighborhood of and that its second derivative is continuous on this neighbourhood, then \begin \lim_\frac &= \lim_\frac \\ pt &= \lim_\frac \\ pt &= f''(x). \end *

Sometimes L'Hôpital's rule is invoked in a tricky way: suppose converges as and that e^x\cdot f(x) converges to positive or negative infinity. Then:

\lim_f(x) = \lim_\frac = \lim_\frac = \lim_\bigl(f(x)+f'(x)\bigr) and so, \lim_f(x) exists and \lim_f'(x) = 0.

The result remains true without the added hypothesis that e^x\cdot f(x) converges to positive or negative infinity, but the justification is then incomplete.


Complications

Sometimes L'Hôpital's rule does not lead to an answer in a finite number of steps unless some additional steps are applied. Examples include the following: * Two applications can lead to a return to the original expression that was to be evaluated: \lim_ \frac = \lim_ \frac = \lim_ \frac = \cdots . This situation can be dealt with by substituting y=e^x and noting that goes to infinity as goes to infinity; with this substitution, this problem can be solved with a single application of the rule: \lim_ \frac = \lim_ \frac = \lim_ \frac = \frac = 1. Alternatively, the numerator and denominator can both be multiplied by e^x, at which point L'Hôpital's rule can immediately be applied successfully: \lim_ \frac = \lim_ \frac = \lim_ \frac = 1. *An arbitrarily large number of applications may never lead to an answer even without repeating: \lim_ \frac = \lim_ \frac = \lim_ \frac = \cdots .This situation too can be dealt with by a transformation of variables, in this case y = \sqrt: \lim_ \frac = \lim_ \frac = \lim_ \frac = \frac1 = 1. Again, an alternative approach is to multiply numerator and denominator by x^ before applying L'Hôpital's rule: \lim_ \frac = \lim_ \frac = \lim_ \frac = 1. A common pitfall is using L'Hôpital's rule with some
circular reasoning Circular may refer to: * The shape of a circle * ''Circular'' (album), a 2006 album by Spanish singer Vega * Circular letter (disambiguation) ** Flyer (pamphlet), a form of advertisement * Circular reasoning, a type of logical fallacy * Circular ...
to compute a derivative via a
difference quotient In single-variable calculus, the difference quotient is usually the name for the expression : \frac which when taken to the limit as ''h'' approaches 0 gives the derivative of the function ''f''. The name of the expression stems from the fact ...
. For example, consider the task of proving the derivative formula for powers of ''x'': :\lim_\frac=nx^. Applying L'Hôpital's rule and finding the derivatives with respect to of the numerator and the denominator yields as expected. However, differentiating the numerator requires the use of the very fact that is being proven. This is an example of
begging the question In classical rhetoric and logic, begging the question or assuming the conclusion (Latin: ') is an informal fallacy that occurs when an argument's premises assume the truth of the conclusion, instead of supporting it. For example: * "Green is t ...
, since one may not assume the fact to be proven during the course of the proof.


Other indeterminate forms

Other indeterminate forms, such as , , , , and , can sometimes be evaluated using L'Hôpital's rule. For example, to evaluate a limit involving , convert the difference of two functions to a quotient: : \begin \lim_\left(\frac-\frac1\right) & = \lim_\frac & \quad (1) \\ pt& = \lim_\frac & \quad (2) \\ pt& = \lim_\frac & \quad (3) \\ pt& = \lim_\frac & \quad (4) \\ pt& = \lim_\frac \\ pt& = \frac, \end where L'Hôpital's rule is applied when going from (1) to (2) and again when going from (3) to (4). L'Hôpital's rule can be used on indeterminate forms involving
exponents Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to re ...
by using
logarithm In mathematics, the logarithm is the inverse function to exponentiation. That means the logarithm of a number  to the base  is the exponent to which must be raised, to produce . For example, since , the ''logarithm base'' 10 o ...
s to "move the exponent down". Here is an example involving the indeterminate form : : \lim_x^x = \lim_e^ = \lim_e^ = e^. It is valid to move the limit inside the
exponential function The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, a ...
because the exponential function is
continuous Continuity or continuous may refer to: Mathematics * Continuity (mathematics), the opposing concept to discreteness; common examples include ** Continuous probability distribution or random variable in probability and statistics ** Continuous ...
. Now the exponent x has been "moved down". The limit \lim_x\cdot\ln x is of the indeterminate form , but as shown in an example above, l'Hôpital's rule may be used to determine that :\lim_x\cdot\ln x = 0. Thus :\lim_x^x = e^0 = 1. The following table lists the most common indeterminate forms, and the transformations for applying l'Hôpital's rule:


Stolz–Cesàro theorem

The Stolz–Cesàro theorem is a similar result involving limits of sequences, but it uses finite
difference operator In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
s rather than
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. F ...
s.


Geometric interpretation

Consider the curve in the plane whose -coordinate is given by and whose -coordinate is given by , with both functions continuous, i.e., the
locus Locus (plural loci) is Latin for "place". It may refer to: Entertainment * Locus (comics), a Marvel Comics mutant villainess, a member of the Mutant Liberation Front * ''Locus'' (magazine), science fiction and fantasy magazine ** ''Locus Award' ...
of points of the form . Suppose . The limit of the ratio as is the slope of the tangent to the curve at the point . The tangent to the curve at the point is given by . L'Hôpital's rule then states that the slope of the curve when is the limit of the slope of the tangent to the curve as the curve approaches the origin, provided that this is defined.


Proof of L'Hôpital's rule


Special case

The proof of L'Hôpital's rule is simple in the case where and are continuously differentiable at the point and where a finite limit is found after the first round of differentiation. It is not a proof of the general L'Hôpital's rule because it is stricter in its definition, requiring both differentiability and that ''c'' be a real number. Since many common functions have continuous derivatives (e.g.
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
s,
sine In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side that is oppo ...
and cosine,
exponential function The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, a ...
s), it is a special case worthy of attention. Suppose that and are continuously differentiable at a real number , that f(c)=g(c)=0, and that g'(c)\neq 0. Then : \begin & \lim_\frac = \lim_\frac = \lim_\frac \\ pt= & \lim_\frac = \frac= \frac = \lim_\frac. \end This follows from the difference-quotient definition of the derivative. The last equality follows from the continuity of the derivatives at . The limit in the conclusion is not indeterminate because g'(c)\ne 0. The proof of a more general version of L'Hôpital's rule is given below.


General proof

The following proof is due to , where a unified proof for the and indeterminate forms is given. Taylor notes that different proofs may be found in and . Let ''f'' and ''g'' be functions satisfying the hypotheses in the General form section. Let \mathcal be the open interval in the hypothesis with endpoint ''c''. Considering that g'(x)\ne 0 on this interval and ''g'' is continuous, \mathcal can be chosen smaller so that ''g'' is nonzero on \mathcal. For each ''x'' in the interval, define m(x)=\inf\frac and M(x)=\sup\frac as \xi ranges over all values between ''x'' and ''c''. (The symbols inf and sup denote the
infimum In mathematics, the infimum (abbreviated inf; plural infima) of a subset S of a partially ordered set P is a greatest element in P that is less than or equal to each element of S, if such an element exists. Consequently, the term ''greatest low ...
and
supremum In mathematics, the infimum (abbreviated inf; plural infima) of a subset S of a partially ordered set P is a greatest element in P that is less than or equal to each element of S, if such an element exists. Consequently, the term ''greatest l ...
.) From the differentiability of ''f'' and ''g'' on \mathcal,
Cauchy's mean value theorem In mathematics, the mean value theorem (or Lagrange theorem) states, roughly, that for a given planar arc (geometry), arc between two endpoints, there is at least one point at which the tangent to the arc is parallel to the secant line, secant ...
ensures that for any two distinct points ''x'' and ''y'' in \mathcal there exists a \xi between ''x'' and ''y'' such that \frac=\frac. Consequently, m(x)\leq \frac \leq M(x) for all choices of distinct ''x'' and ''y'' in the interval. The value ''g''(''x'')-''g''(''y'') is always nonzero for distinct ''x'' and ''y'' in the interval, for if it was not, the mean value theorem would imply the existence of a ''p'' between ''x'' and ''y'' such that ''g' ''(''p'')=0. The definition of ''m''(''x'') and ''M''(''x'') will result in an extended real number, and so it is possible for them to take on the values ±∞. In the following two cases, ''m''(''x'') and ''M''(''x'') will establish bounds on the ratio . Case 1: \lim_f(x)=\lim_g(x)=0 For any ''x'' in the interval \mathcal, and point ''y'' between ''x'' and ''c'', :m(x)\le \frac=\frac\le M(x) and therefore as ''y'' approaches ''c'', \frac and \frac become zero, and so :m(x)\leq\frac\leq M(x). Case 2: \lim_, g(x), =\infty For every ''x'' in the interval \mathcal, define S_x=\. For every point ''y'' between ''x'' and ''c'', : m(x)\le \frac=\frac \le M(x). As ''y'' approaches ''c'', both \frac and \frac become zero, and therefore : m(x)\le \liminf_ \frac \le \limsup_ \frac \le M(x). The
limit superior In mathematics, the limit inferior and limit superior of a sequence can be thought of as limiting (that is, eventual and extreme) bounds on the sequence. They can be thought of in a similar fashion for a function (see limit of a function). For a ...
and
limit inferior In mathematics, the limit inferior and limit superior of a sequence can be thought of as limiting (that is, eventual and extreme) bounds on the sequence. They can be thought of in a similar fashion for a function (see limit of a function). For ...
are necessary since the existence of the limit of has not yet been established. It is also the case that :\lim_m(x)=\lim_M(x)=\lim_\frac=L. and :\lim_\left(\liminf_\frac\right)=\liminf_\frac and \lim_\left(\limsup_ \frac\right)=\limsup_\frac. In case 1, the
squeeze theorem In calculus, the squeeze theorem (also known as the sandwich theorem, among other names) is a theorem regarding the limit of a function that is trapped between two other functions. The squeeze theorem is used in calculus and mathematical anal ...
establishes that \lim_\frac exists and is equal to ''L''. In the case 2, and the squeeze theorem again asserts that \liminf_\frac=\limsup_\frac=L, and so the limit \lim_\frac exists and is equal to ''L''. This is the result that was to be proven. In case 2 the assumption that ''f''(''x'') diverges to infinity was not used within the proof. This means that if , ''g''(''x''), diverges to infinity as ''x'' approaches ''c'' and both ''f'' and ''g'' satisfy the hypotheses of L'Hôpital's rule, then no additional assumption is needed about the limit of ''f''(''x''): It could even be the case that the limit of ''f''(''x'') does not exist. In this case, L'Hopital's theorem is actually a consequence of Cesàro–Stolz. In the case when , ''g''(''x''), diverges to infinity as ''x'' approaches ''c'' and ''f''(''x'') converges to a finite limit at ''c'', then L'Hôpital's rule would be applicable, but not absolutely necessary, since basic limit calculus will show that the limit of ''f''(''x'')/''g''(''x'') as ''x'' approaches ''c'' must be zero.


Corollary

A simple but very useful consequence of L'Hopital's rule is a well-known criterion for differentiability. It states the following: suppose that ''f'' is continuous at ''a'', and that f'(x) exists for all ''x'' in some open interval containing ''a'', except perhaps for x = a. Suppose, moreover, that \lim_f'(x) exists. Then f'(a) also exists and :f'(a) = \lim_f'(x). In particular, ''f is also continuous at ''a''.


Proof

Consider the functions h(x) = f(x)-f(a) and g(x) = x-a. The continuity of ''f'' at ''a'' tells us that \lim_h(x) = 0. Moreover, \lim_g(x) = 0 since a polynomial function is always continuous everywhere. Applying L'Hopital's rule shows that f'(a) := \lim_\frac = \lim_\frac = \lim_f'(x).


See also

* L'Hôpital controversy


Notes


References


Sources

* * * * * {{DEFAULTSORT:Lhopital's Rule Articles containing proofs Theorems in calculus Theorems in real analysis Limits (mathematics)