L'Hôpital's rule

1

[[File:Hopital sin x by -0.5x.png|thumb|upright=1.5|Example application of l'Hôpital's rule to f(x) = sin(x) and g(x) = −0.5x h(x) = f(x)/g(x) is undefined at x = 0 , but can be completed to a continuous function on all of R by defining h(0) = f′(0)/g′(0) = −2 .]] L'Hôpital's rule or L'Hospital's rule, also known as Bernoulli's rule, is a mathematical theorem that allows evaluating limits of indeterminate forms using derivatives. 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 Guillaume De l'Hôpital. Although the rule is often attributed to De l'Hôpital, the theorem was first introduced to him in 1694 by the Swiss mathematician Johann Bernoulli. L'Hôpital's rule states that for functions f and g which are defined on an open interval I and differentiable on for a (possibly infinite) accumulation point c of I, if and g'(x)\ne 0 for all x in, and exists, then The differentiation of the numerator and denominator often simplifies the quotient or converts it to a limit that can be directly evaluated by continuity.

History

Guillaume de l'Hôpital (also written l'Hospital) published this rule in his 1696 book Analyse des Infiniment Petits pour l'Intelligence des Lignes Courbes (literal translation: Analysis of the Infinitely Small for the Understanding of Curved Lines), the first textbook on differential calculus. However, it is believed that the rule was discovered by the Swiss mathematician Johann Bernoulli.

General form

The general form of L'Hôpital's rule covers many cases. Let c and L be extended real numbers: real numbers, positive or negative infinity. Let I be an open interval containing c (for a two-sided limit) or an open interval with endpoint c (for a one-sided limit, or a limit at infinity if c is infinite). On, the real-valued functions f and g are assumed differentiable with g'(x) \ne 0. It is also assumed that, a finite or infinite limit. If eitherorthenAlthough we have written x → c throughout, the limits may also be one-sided limits ( x → c+ or x → c− ), when c is a finite endpoint of I . In the second case, the hypothesis that f diverges to infinity is not necessary; in fact, it is sufficient that The hypothesis that g'(x)\ne 0 appears most commonly in the literature, but some authors sidestep this hypothesis by adding other hypotheses which imply g'(x)\ne 0. For example, one may require in the definition of the limit that the function must be defined everywhere on an interval. Another method is to require that both f and g be differentiable everywhere on an interval containing c .

Counterexamples: necessity of hypotheses

All four conditions for L'Hôpital's rule are necessary: Where one of the above conditions is not satisfied, the conclusion of L'Hôpital's rule will be false in certain cases.

1. 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 and the limit is x \to 1. The first condition is not satisfied for this counterexample because and. 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 But the conclusion fails, since

2. Differentiability of functions

Differentiability of functions is a requirement because if a function is not differentiable, then the derivative of the function is not guaranteed to exist at each point in \mathcal{I}. The fact that \mathcal{I} is an open interval is grandfathered in from the hypothesis of the Cauchy's 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, 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 still exists. Thus, since and exists, L'Hôpital's rule still holds.

3. 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 and Then there is no limit for f(x)/g(x) as x\to\infty. However, which tends to 0 as x\to\infty, although it is undefined at infinitely many points. Further examples of this type were found by Ralph P. Boas Jr.

4. Limit of derivatives does not exist

The requirement that the limit exists is essential; if it does not exist, the other limit may nevertheless exist. Indeed, as x approaches c, the functions f or g may exhibit many oscillations of small amplitude but steep slope, which do not affect but do prevent the convergence of. For example, if, g(x)=x and c=\infty, then which does not approach a limit since cosine oscillates infinitely between 1 and −1 . But the ratio of the original functions does approach a limit, since the amplitude of the oscillations of f becomes small relative to g: In a case such as this, all that can be concluded is that so that if the limit of \frac{f}{g} exists, then it must lie between the inferior and superior limits of. In the example, 1 does indeed lie between 0 and 2.) Note also that by the contrapositive form of the Rule, if does not exist, then also does not exist.

Examples

In the following computations, we indicate each application of L'Hopital's rule by the symbol. x = 0 0 · ∞ (see below), which is rewritten as the form ∞⁄∞: P be the principal (loan amount), r the interest rate per period and n the number of periods. When r is zero, the repayment amount per period is \frac{P}{n} (since only principal is being repaid); this is consistent with the formula for non-zero interest rates: f is twice-differentiable in a neighborhood of x and its second derivative is continuous on this neighborhood, then x → ∞ and that converges to positive or negative infinity. Then:and so, exists and (This result remains true without the added hypothesis that converges to positive or negative infinity, but the justification is then incomplete.)

Complications

Sometimes L'Hôpital's rule does not reduce to an obvious limit in a finite number of steps, unless some intermediate simplifications are applied. Examples include the following: y goes to infinity as x goes to infinity; with this substitution, this problem can be solved with a single application of the rule: 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: A common logical fallacy is to use L'Hôpital's rule to prove the value of a derivative by computing the limit of a difference quotient. Since applying l'Hôpital requires knowing the relevant derivatives, this amounts to circular reasoning or begging the question, assuming what is to be proved. For example, consider the proof of the derivative formula for powers of x: Applying L'Hôpital's rule and finding the derivatives with respect to h yields nxn−1 as expected, but this computation requires the use of the very formula that is being proven. Similarly, to prove, applying L'Hôpital requires knowing the derivative of \sin(x) at x=0, which amounts to calculating in the first place; a valid proof requires a different method such as the squeeze theorem.

Other indeterminate forms

Other indeterminate forms, such as 1∞ , 00 , ∞0 , 0 · ∞ , and ∞ − ∞ , can sometimes be evaluated using L'Hôpital's rule. We again indicate applications of L'Hopital's rule by. For example, to evaluate a limit involving ∞ − ∞ , convert the difference of two functions to a quotient: L'Hôpital's rule can be used on indeterminate forms involving exponents by using logarithms to "move the exponent down". Here is an example involving the indeterminate form 00 It is valid to move the limit inside the exponential function because this function is continuous. Now the exponent x has been "moved down". The limit is of the indeterminate form 0 · ∞ dealt with in an example above: L'Hôpital may be used to determine that Thus The following table lists the most common indeterminate forms and the transformations which precede 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 operators rather than derivatives.

Geometric interpretation: parametric curve and velocity vector

Consider the parametric curve in the xy-plane with coordinates given by the continuous functions g(t) and f(t), the locus of points (g(t),f(t)), and suppose. The slope of the tangent to the curve at is the limit of the ratio as t → c . The tangent to the curve at the point (g(t),f(t)) is the velocity vector with slope. L'Hôpital's rule then states that the slope of the curve at the origin ( t = c ) is the limit of the tangent slope at points approaching 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 f and g are continuously differentiable at the point c and where a finite limit is found after the first round of differentiation. This is only a special case of L'Hôpital's rule, because it only applies to functions satisfying stronger conditions than required by the general rule. However, many common functions have continuous derivatives (e.g. polynomials, sine and cosine, exponential functions), so this special case covers most applications. Suppose that f and g are continuously differentiable at a real number c , that f(c)=g(c)=0, and that g'(c)\neq 0. Then This follows from the difference quotient definition of the derivative. The last equality follows from the continuity of the derivatives at c . 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 \frac{0}{0} 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{I} be the open interval in the hypothesis with endpoint c. Considering that g'(x)\ne 0 on this interval and g is continuous, \mathcal{I} can be chosen smaller so that g is nonzero on \mathcal{I}. For each x in the interval, define and as t ranges over all values between x and c. (The symbols inf and sup denote the infimum and supremum.) From the differentiability of f and g on \mathcal{I}, Cauchy's mean value theorem ensures that for any two distinct points x and y in \mathcal{I} there exists a \xi between x and y such that. Consequently, 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 f⁄g. Case 1: For any x in the interval \mathcal{I}, and point y between x and c, and therefore as y approaches c, and become zero, and so Case 2: For every x in the interval \mathcal{I}, define. For every point y between x and c, As y approaches c, both and become zero, and therefore The limit superior and limit inferior are necessary since the existence of the limit of f⁄g has not yet been established. It is also the case that and In case 1, the squeeze theorem establishes that exists and is equal to L. In the case 2, and the squeeze theorem again asserts that, and so the limit 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 that the derivative of a function cannot have a removable discontinuity. That is, 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 exists. Then f'(a) also exists and In particular, f' is also continuous at a. Thus, if a function is not continuously differentiable near a point, the derivative must have an essential discontinuity at that point.

Proof

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

Sources

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

Edit article