Exponential Function Calculator
Choose a mode: evaluate an exponential function at any x-value, or solve for the unknown parameters by entering two points on the curve. Pick from four standard forms including the natural-base growth and decay model used in science and finance. The step-by-step panel shows every algebra move, and the chart plots the full curve so you can see the shape at a glance.
Formula
Worked example
Find the exponential function through (0, 2) and (3, 16). Using f(x) = a*b^x: at x=0, f(0) = a = 2. At x=3, 2*b^3 = 16, so b^3 = 8 and b = 2. The function is f(x) = 2*2^x. Equivalently, k = ln(2) approx 0.6931, giving f(x) = 2*e^(0.6931x).
What is an exponential function?
An exponential function is one where the independent variable x appears as the exponent, not the base. The four most common forms are b^x (pure base), a*b^x (scaled base), e^(kx) (natural-base rate), and a*e^(kx) (the full growth or decay model). The base must be positive and cannot equal 1. When the base exceeds 1 (or k > 0), the function grows: it increases faster and faster without limit. When the base is between 0 and 1 (or k < 0), it decays toward zero but never quite reaches it. This asymmetric behavior makes exponential functions fundamentally different from polynomial or linear functions, and it is the reason they appear everywhere in science, finance, and medicine.
How to find an exponential function from two points
Given two points (x1, y1) and (x2, y2) with both y-values positive, you can recover the parameters algebraically. For the form a*b^x: divide the two equations to eliminate a, giving y2/y1 = b^(x2-x1). Solve for b by raising both sides to the power 1/(x2-x1). Then substitute b back to find a = y1 / b^x1. For the natural-base form a*e^(kx): take the natural logarithm of the ratio y2/y1 to get k*(x2-x1), so k = ln(y2/y1)/(x2-x1). Then a = y1 / e^(k*x1). The solve mode in this calculator performs both sets of algebra for you and shows each step.
Doubling time, half-life, and the growth rate constant
Two quantities often reported alongside an exponential model are the doubling time (for growth) and the half-life (for decay). For any function of the form a*b^x or a*e^(kx), the effective rate constant is k = ln(b). The doubling time is ln(2)/k and the half-life is ln(0.5)/k (a positive number because k is negative for decay). For example, if a population grows at k = 0.1 per year, it doubles every ln(2)/0.1 = 6.93 years. These quantities depend only on the rate, not on the initial value a, which is why they are so useful for comparing growth or decay processes.
Real-world applications
Exponential functions model an enormous range of phenomena. In finance, compound interest follows A = P*e^(rt) when compounded continuously, or A = P*(1+r/n)^(nt) for periodic compounding. In physics, radioactive decay follows N(t) = N0*e^(-lambda*t) where lambda is the decay constant. In biology, unconstrained population growth obeys P(t) = P0*e^(kt). In medicine, drug concentration in the bloodstream often decays exponentially after a dose. In computer science, algorithm complexity can grow exponentially with input size. Understanding whether a process is linear or exponential is one of the most important distinctions in quantitative reasoning.
Common exponential function properties
| Form | Parameters | At x = 0 | Growth/Decay condition | Notes |
|---|---|---|---|---|
| b^x | base b | 1 | b > 1 grows; 0 < b < 1 decays | Simplest form; no amplitude |
| a * b^x | amplitude a, base b | a | b > 1 grows; 0 < b < 1 decays | Most common algebraic form |
| e^(kx) | rate k | 1 | k > 0 grows; k < 0 decays | Natural base, no scaling |
| a * e^(kx) | amplitude a, rate k | a | k > 0 grows; k < 0 decays | General science and finance model |
Key properties that distinguish the four standard forms.
Frequently asked questions
What is the difference between b^x and e^(kx)?
Both describe the same family of curves. Any exponential base b can be written as e^(k) where k = ln(b), so b^x = e^(k*x). The natural base e (approximately 2.71828) is preferred in calculus and science because the derivative of e^(kx) is simply k*e^(kx), which makes the math cleaner. The base form a*b^x is more common in algebra textbooks. This calculator accepts either form and converts between them.
Why must y-values be positive when solving from two points?
The standard exponential function a*b^x is always positive (assuming a > 0 and b > 0). If you supply a negative y-value, the logarithm used in the solution becomes undefined. If your data has negative values, the underlying model may be a shifted exponential such as a*b^x + c, which requires a third point and a different solving procedure.
How do I find the half-life of a radioactive substance?
Model the decay as N(t) = N0*e^(-lambda*t). If you know the count at two different times, use the Solve mode with form a*e^(kx). The calculator will find k (which will be negative for decay), and the half-life is ln(0.5)/k, displayed automatically in the doubling/halving output.
What does the amplitude parameter a represent?
The amplitude a is the value of the function when x equals zero: f(0) = a*b^0 = a, or a*e^(0) = a. It is the initial value or starting amount. In a population model it is the population at time zero; in a finance model it is the principal. A negative amplitude flips the function below the x-axis, which is valid mathematically but rare in physical models.
Can the exponential function equal zero?
No. The function a*b^x (with b > 0) approaches zero as x goes to negative infinity (for growth) or positive infinity (for decay), but it never actually reaches zero. This is the defining asymptotic property of exponential functions. The x-axis is a horizontal asymptote, not an intersection.