Combine known limits
A graph or a table suggests a limit, but it cannot prove one. Most functions are built from simpler ones by arithmetic and by composition. This topic finds the limit of such a function from the limits of its parts, and shows when the parts cannot decide it.
Suppose that as \(x\) approaches a number \(a\), \(f(x)\) approaches a number \(\cy{L}\) and \(g(x)\) approaches a number \(\cy{M}\):
By the definition in topic 1.2, for every distance \(d>0\), however small, \(f(x)\) is within \(d\) of \(L\) for every \(x\ne a\) close enough to \(a\). The same is true of \(g(x)\) and \(M\).
Sums, products and quotients
Three rising curves with no numbers: f, g below it, and a dashed curve f plus g above both. Each curve has an open ring above the input a on the horizontal axis, and dashed orange lines run from the left edge to the rings at the heights L, M and L plus M. At an input x, an orange dot sits on each curve, and a red segment runs from each dot to the height of the orange line of its curve. A button lowers the part of g to the right of a, and a second button raises the part of f to the right of a by the same amount, so that f plus g is whole again.
In Figure 1, the red segments at \(x\) show how far \(f(x)\), \(g(x)\) and their sum are from \(L\), \(M\) and \(L+M\). The third distance is at most the sum of the first two:
The left side is the absolute value, or size, of \(\big(f(x)-L\big)+\big(g(x)-M\big)\). The size of a sum of two numbers is at most the sum of their sizes, which is the triangle inequality. The two distances add when \(f(x)\) and \(g(x)\) lie on the same side of their limits, as in Figure 1. On opposite sides, they cancel at least in part.
Move \(x\) toward \(a\). The red segments on \(f\) and \(g\) shrink, so the one on \(f+g\) shrinks too. To prove that \(f(x)+g(x)\) approaches \(L+M\), choose any distance \(d>0\). For every \(x\ne a\) close enough to \(a\), \(f(x)\) is within \(d/2\) of \(L\) and \(g(x)\) is within \(d/2\) of \(M\). By the inequality, \(f(x)+g(x)\) is then within \(d\) of \(L+M\). This holds for every \(d\), so \(f(x)+g(x)\) approaches \(L+M\). This result is the sum law, one of the limit laws.
For a constant \(k\), the distance from \(k\,f(x)\) to \(kL\) is \(|k|\) times the distance from \(f(x)\) to \(L\), so \(k\,f(x)\) approaches \(kL\). This is the constant multiple law. With \(k=-1\), it shows that \(-g(x)\) approaches \(-M\), and the sum law then gives the difference law: \(f(x)-g(x)\) approaches \(L-M\).
For a product, write the difference from \(LM\) in two parts:
For every \(x\ne a\) close enough to \(a\), \(g(x)\) is within 1 of \(M\), so its size is less than \(|M|+1\). The first part is then within \(d\) of 0 whenever \(f(x)\) is within \(d/\big(|M|+1\big)\) of \(L\), so it approaches 0. By the constant multiple law, the second part approaches \(L\cdot0=0\). By the sum law, the two parts together approach 0, so \(f(x)\,g(x)\) approaches \(LM\). This is the product law.
For a quotient, suppose that \(M\ne0\). For every \(x\ne a\) close enough to \(a\), \(g(x)\) is within \(|M|/2\) of \(M\), so the size of \(g(x)\) is more than \(|M|/2\), and \(g(x)\ne0\). The distance from \(1/g(x)\) to \(1/M\) is then
which is less than \(d\) whenever \(g(x)\) is within \(dM^2/2\) of \(M\). The reciprocal \(1/g(x)\) therefore approaches \(1/M\), and the product law applied to \(f(x)\cdot\frac{1}{g(x)}\) gives the quotient law: \(f(x)/g(x)\) approaches \(L/M\).
If \(M=0\), the quotient law does not apply. If in addition \(L\ne0\), the quotient \(f(x)/g(x)\) has no limit. If it had a limit, the product law would give \(f(x)\), the quotient times \(g(x)\), the limit 0, not \(L\).
A constant \(k\) approaches \(k\), because its distance from \(k\) is 0. The expression \(x\) approaches \(a\), because its value is the input itself. By the product law, \(x^2=x\cdot x\) approaches \(a^2\), and in the same way each power \(x^n\) approaches \(a^n\). The sum and constant multiple laws then show that every polynomial \(p\) approaches its value \(p(a)\). If \(q\) is another polynomial and \(q(a)\ne0\), then \(p(x)/q(x)\) approaches \(p(a)/q(a)\) by the quotient law. Some books call this the direct substitution property.
Each law also holds for one-sided limits, because its argument uses only inputs close to \(a\), which can all lie on one side.
The laws need both limits to exist. Use the first button under Figure 1 to put a jump in \(g\) at \(a\). To the right of \(a\), the values \(g(x)\) now approach a number less than \(M\), so \(g\) has no limit at \(a\). The red segment on \(g\) no longer shrinks there, and \(f+g\) jumps as well. The sum has no limit either, because if it had one, the difference law would give \(g=(f+g)-f\) a limit.
Continuous functions and compositions
A function \(h\) is continuous at a number \(b\) if its limit at \(b\) is its value there:
By the results above, every polynomial is continuous at every number, and a quotient of polynomials is continuous wherever its denominator is not 0.
The square root is continuous at every \(b>0\). The product of \(\sqrt u-\sqrt b\) and \(\sqrt u+\sqrt b\) is \(u-b\), so for \(u\ge0\)
Hence \(\sqrt u\) is within \(d\) of \(\sqrt b\) whenever \(u\ge0\) is within \(d\sqrt b\) of \(b\).
If \(g(x)\) approaches \(M\) as \(x\) approaches \(a\) and \(h\) is continuous at \(M\), then \(h\big(g(x)\big)\) approaches \(h(M)\). To see why, choose a distance \(d>0\). Because \(h\) is continuous at \(M\), \(h(u)\) is within \(d\) of \(h(M)\) for every \(u\) close enough to \(M\), including \(u=M\). Because \(g(x)\) approaches \(M\), \(g(x)\) is that close to \(M\) for every \(x\ne a\) close enough to \(a\), so \(h\big(g(x)\big)\) is within \(d\) of \(h(M)\). This result is the composition law, which some books call the limit of a composite function: the limit passes through \(h\).
Powers and square roots are compositions. The polynomial \(u^n\) is continuous at every number, so \(\big(f(x)\big)^n\) approaches \(L^n\) for every positive integer \(n\). If \(L>0\), the square root is continuous at \(L\), so \(\sqrt{f(x)}\) approaches \(\sqrt L\). These are the power law and the root law.
Before you pass a limit through a function, check that the function is continuous at the limit it receives. For \(\sqrt{f(x)}\) with \(L<0\), \(f(x)\) is negative for every \(x\ne a\) close enough to \(a\), so the root has no value there and no limit.
When a law gives no answer
Each law is an if-then statement. When a condition fails, the law gives no answer, and the limit may exist or may not.
The most common case is a quotient whose numerator and denominator both approach 0, as in these three quotients at 0. For every \(x\ne0\),
A limit at 0 uses only inputs \(x\ne0\), so the first quotient approaches 3 and the second approaches 0. The third has no limit, because the size of \(1/x\) grows without bound. Topic 1.6 calls this an indeterminate form and shows how to rewrite it.
A law for a sum or a product also gives no answer when \(f\) or \(g\) has no limit. In Figure 1, with the jump in \(g\) in place, use the second button to give \(f\) the opposite jump. Neither \(f\) nor \(g\) has a limit at \(a\), but the jumps cancel in \(f+g\), so it has the limit \(L+M\). Its red segment shrinks again on both sides of \(a\).
When \(f\) or \(g\) jumps at \(a\), the laws for one-sided limits may still decide the limit, as Example 4 shows.
Example 1
Combine limits using arithmetic
Suppose that \(\displaystyle\lim_{x\to1}f(x)=6\) and \(\displaystyle\lim_{x\to1}g(x)=-2\). Find \(\displaystyle\lim_{x\to1}\big(3f(x)-5g(x)+x\big)\).
Solution
Each term has a limit: the limits of \(f\) and \(g\) are given, and \(x\) approaches 1. The sum and difference laws therefore split the limit into three limits, and the constant multiple law moves each constant in front:
Example 2
Use product and quotient laws
Suppose that \(\displaystyle\lim_{x\to3}g(x)=-5\). Find \(\displaystyle\lim_{x\to3}\frac{x\,g(x)}{x^2+g(x)}\) and \(\displaystyle\lim_{x\to3}\frac{x}{g(x)+5}\), if they exist.
Solution
The quotient law needs a denominator whose limit is not 0, so find that limit first. By the sum and product laws, the first quotient's denominator approaches \(3^2+(-5)=4\), which is not 0, and the numerator approaches \(3(-5)=-15\). The quotient law gives
In the second quotient, the denominator approaches \(-5+5=0\), so the quotient law does not apply. The numerator approaches 3, which is not 0, so the second quotient has no limit. If it had a limit, the product law would give \(x\), the quotient times \(g(x)+5\), the limit 0, not 3.
Example 3
Pass a limit through a continuous function
Let \(h(u)=\sqrt{25-u^2}\), and suppose that \(\displaystyle\lim_{x\to2}g(x)=3\). Find \(\displaystyle\lim_{x\to2}h\big(g(x)\big)\).
Solution
The composition law needs \(h\) to be continuous at 3, the limit of \(g(x)\). The function \(h\) is defined only for \(-5\le u\le5\), where \(25-u^2\ge0\), and 3 lies inside this interval. As \(u\) approaches 3, the polynomial \(25-u^2\) approaches \(25-9=16\), which is positive, so by the root law
Hence \(h\) is continuous at 3, and the composition law gives
Example 4
Recognize when a limit law is inconclusive
Figure 2 shows the graphs of \(f\) and \(g\). Find \(\displaystyle\lim_{x\to3}\big(f(x)+g(x)\big)\) and \(\displaystyle\lim_{x\to3}f(x)\,g(x)\), if they exist.
The graphs of f and g for x from 1 to 5, with the inputs 2 to 5 and the heights −4, −2, 2 and 4 numbered. The graph of f is a segment that rises from (1, 2) to an open ring at (3, 4), then a second segment that falls from a filled dot at (3, −2) to (5, −3). The graph of g is the line from (1, −4) through (3, 0) to (5, 4).
Solution
From the left of 3, the graph of \(f\) approaches 4, and from the right it approaches \(-2\). The one-sided limits differ, so \(f\) has no limit at 3, and neither the sum law nor the product law applies. The line \(g\) approaches 0 from both sides, so the laws for one-sided limits apply on each side of 3:
The sum has different one-sided limits, so it has no limit at 3. The product approaches 0 from both sides, so its limit at 3 is 0.
Each example is one of the four skills of topic 1.5 in Which & Why: AP Calculus.