Intersection of an exponential function and a line

An intersection of an exponential function and a horizontal line amounts to solving an exponential equation. We find where y=2xy = 2^x meets the line y=4y = 4.

Matching the bases

At an intersection 2x=42^x = 4. Writing the right side as a power of the same base, 4=224 = 2^2, gives the following.

2x=222^x = 2^2

Once the bases match, the exponents must be equal, so x=2x = 2 and the intersection is the single point (2,4)(2, 4).

Solving with logarithms

When the right side is not a neat power, use logarithms. Taking log2\log_2 of both sides of 2x=k2^x = k gives x=log2kx = \log_2 k. Since a logarithm answers the question of what power of 22 produces kk, this is just the solution of the exponential equation rewritten. Here x=log24=2x = \log_2 4 = 2.

At most one point with a horizontal line

The exponential y=2xy = 2^x has a base greater than 11, so it is always strictly increasing. Its intersections with a horizontal line y=ky = k are therefore as follows.

kkIntersectionsReason
k>0k > 0exactly 11monotonic, so it never repeats a height
k0k \leq 0nonethe range is y>0y > 0

With a base smaller than 11 the graph is strictly decreasing instead. The curve y=(12)x=2xy = \left( \dfrac{1}{2} \right)^x = 2^{-x} falls to the right, but it too never repeats a height, so it also meets a horizontal line with k>0k > 0 at exactly one point. Monotonicity, whether increasing or decreasing, is what pins the intersection to a single point.

When the line is sloped

For 2x=x+12^x = x + 1, the value x=0x = 0 gives 1=11 = 1 and x=1x = 1 gives 2=22 = 2, so there are two intersections. The exponential curve is convex, so a line can cut it at up to two points. Equations like this generally cannot be solved by algebraic rearrangement at all, and their roots have to be found numerically; a case with such tidy answers is a lucky one.

Applications

Exponential equations appear whenever you ask when a growing quantity reaches a given level. The number of years for a principal to double at 33 percent compound interest solves 1.03t=21.03^t = 2.

t=log2log1.0323.4t = \frac{\log 2}{\log 1.03} \approx 23.4

The time for a doubling population of bacteria to reach a given count, and the time for a radioactive substance to decay to half its mass, are equations of the same shape. The large dot on the graph is the intersection (2,4)(2, 4).