Skip to main content

L’Hôpital’s rule and average cash holding at zero interest rate

Author
Affiliation

Department of Economics, University of Houston

Published

November 30, 2026

Part of Math Camp: An Introduction to Mathematics and Statistics with Applications in Economics.
Main Stam4Econ site | View this section in the book | Author: Fan Wang | DOI: 10.5281/zenodo.24696926
Date: 2026-11-30 | HTML | PDF | QMD

1 L’Hôpital’s rule and average cash holding at zero interest rate

1.1 L’Hôpital’s rule

The L’Hôpital’s rule states that:

Suppose \(f(x)\) and \(g(x)\) are functions differentiable on an open interval containing \(a\) (except possibly at \(a\) itself), and \(g'(x) \neq 0\) near \(a\). If

\[ \lim_{x \to a} f(x) = 0 \quad \text{and} \quad \lim_{x \to a} g(x) = 0 \]

or

\[ \lim_{x \to a} |f(x)| = \infty \quad \text{and} \quad \lim_{x \to a} |g(x)| = \infty, \]

and the limit

\[ \lim_{x \to a} \frac{f'(x)}{g'(x)} \]

exists (or is \(\pm\infty\)), then

\[ \lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}. \]

For L’Hôpital’s rule to be applicable, both the numerator and denominator must approach \(0\) (“0/0” form) or both must approach infinity (“\(\infty/\infty\)” form) as \(x \to a\). If only the denominator approaches zero and the numerator does not, the limit typically diverges to infinity or does not exist, and L’Hôpital’s rule cannot be used.

1.2 Example application of L’Hôpital’s rule

Consider the limit: \[ \lim_{x \to 0} \frac{\sin x}{x} \] As \(x \to 0\), both the numerator \(\sin x \to 0\) and the denominator \(x \to 0\), so the limit is of the indeterminate form \(0/0\). We can apply L’Hôpital’s rule:

Take derivatives of the numerator and denominator with respect to \(x\): - Numerator:\(\frac{d}{dx} \sin x = \cos x\) - Denominator:\(\frac{d}{dx} x = 1\)

Apply L’Hôpital’s rule: \[ \lim_{x \to 0} \frac{\sin x}{x} = \lim_{x \to 0} \frac{\cos x}{1} = \cos 0 = 1 \]

Therefore, \[ \lim_{x \to 0} \frac{\sin x}{x} = 1 \]

1.3 Interest rate at zero and applying L’Hôpital’s rule twice

Consider the following equation, which comes a continuous time cash accounting problem. In the problem, an individual has \(x_{\tau}\) dollars in pocket to support flow consumption \(c\).\(x_{\tau}\) decreases towards zero, and we want to know the average level of \(x_{\tau}\) between withdrawals. We start at time \(t=0\), and know that at \(\tau=t\), \(x_{\tau} = 0\) (next withdraw happens).

There is an interest rate on cash, \(r\). If this is negative, that means as money stays in pocket, it loses value due to “leakage”. If the interest rate is positive, money in your pocket grows (maybe you are lending continuously to others to earn interests the cash you have before it’s needed for consumption).

The average cash in pocket between withdrawals is:

\[ \frac{c \left(r t + \exp(-r t) - 1\right)}{r^2 t} \]

We need to know the average cash holding value at zero interest rate, \(r=0\). This is useful for several reasons:

  1. Check if our formula is correct, if it is, we should not have jump at zero, but average cash holding should be smooth across levels of interest rate negative to zero to positive.
  2. Maybe the interest rate is zero, so we need to have value at zero.
  3. Value at zero might have simple algebraic form that is easy to interpret, and help understand results deviating away from zero.

But we can not evaluate the function at \(r=0\) directly. To see why L’Hôpital’s rule applies, let’s check the numerator and denominator as \(r \to 0\):

  • Numerator: As \(r \to 0\), \(r t \to 0\) and \(\exp(-r t) \to 1\), so \(r t + \exp(-r t) - 1 \to 0 + 1 - 1 = 0\).
  • Denominator:\(r^2 t \to 0\) as \(r \to 0\).

Both numerator and denominator approach zero, so the limit is of the indeterminate form \(0/0\) and L’Hôpital’s rule can be applied.

So we proceed to evaluate the limit as \(r \to 0\), using L’Hôpital’s rule. Note that we will be using derivative, not to find the marginal effect of interest rate on average cash holding, but to evaluate the level of average cash holding at zero interest rate. The average formula we have is the solution to an integral, so we are using derivatives to help evaluate an integral at a particular point.

Below, we actually apply L’Hôpital’s rule twice, because the first application still gives us a \(0/0\) form.

\[\begin{align} & \lim_{r \to 0} \frac{c \cdot r \cdot t + (c ) \cdot (\exp(-r \cdot t) - 1)}{(r)^2 \cdot t} \\ =& \lim_{r \to 0} \frac{c \cdot t - (c ) \cdot \exp(-r \cdot t) \cdot t}{2 \cdot (r) \cdot t} \\ =& \lim_{r \to 0} \frac{(c ) \cdot \exp(-r \cdot t) \cdot t^2}{2 \cdot t} \\ =& \lim_{r \to 0} \frac{(c ) \cdot \exp(-r \cdot t) \cdot t}{2} \\ =& (c ) \cdot \frac{t}{2} \end{align}\]

We arrive at a very simple formulation. When the interest rate is zero, average cash holding is consumption multiplied by the time between withdrawals and divided by two. This is a standard Baumol-Tobin cash-inventory result (Baumol 1952; Tobin 1956).

References

Baumol, William J. 1952. “The Transactions Demand for Cash: An Inventory Theoretic Approach.” The Quarterly Journal of Economics 66 (4): 545–56. https://doi.org/10.2307/1882104.
Tobin, James. 1956. “The Interest-Elasticity of Transactions Demand for Cash.” The Review of Economics and Statistics 38 (3): 241–47. https://doi.org/10.2307/1925776.