Determining rules for graphs of exponential andlogarithmic functions
In Year 12 Mathematical Methods (Queensland, QCAA), determining the rule of an exponential function \(y=a\,b^x\ (+c)\) or a logarithmic function \(y=a\log_b(x-h)+c\) from a graph, a table or two or three points means solving for the unknown parameters. Read any asymptote first, use the \(y\)-intercept or a point for \(a\), and use a ratio of two points (exponential) or the point where the log is \(0\) for the remaining parameter.
An exponential function \(y=a\,b^x\) (with \(b>0\)) has two unknowns: the coefficient \(a\) (its \(y\)-intercept, since \(b^0=1\)) and the base \(b\) (the growth or decay factor). Add a constant to get \(y=a\,b^x+c\), whose graph has the horizontal asymptote \(y=c\). A logarithmic function \(y=a\log_b(x-h)+c\) has a vertical asymptote at \(x=h\).
To determine the rule is to find those parameters from what the graph shows. Each parameter is tied to one readable feature: an asymptote fixes the shift (\(c\) or \(h\)); the \(y\)-intercept or a substituted point fixes \(a\); and a ratio of two points (for \(y=a\,b^x\)) or a logarithm law (for the log form) fixes the base or rate.
The same idea uses base \(e\): for \(y=A\,e^{kx}\) the \(y\)-intercept gives \(A\), and a second point with the natural logarithm gives \(k\). This is the “find the equation” counterpart to sketching a graph from a known rule.
An exponential rule from two points (divide to cancel \(a\)):
An exponential with a vertical shift (the asymptote gives \(c\)):
A logarithmic rule (the vertical asymptote gives \(h\)):
How to determine the rule from a graph or points
- Asymptote first. A horizontal asymptote \(y=c\) gives the vertical shift of an exponential; a vertical asymptote \(x=h\) gives the horizontal shift of a logarithm.
- Use the \(y\)-intercept or an easy point. For \(y=a\,b^x\) the \(y\)-intercept is \(a\) (since \(b^0=1\)); for a log, the point where \(x-h=1\) makes \(\log_b(1)=0\), giving \(c\).
- Ratio for the base. With two points on \(y=a\,b^x\), divide the equations so \(a\) cancels: \(\dfrac{y_2}{y_1}=b^{\,x_2-x_1}\); solve for \(b>0\). For base \(e\), take \(\ln\) to find \(k\).
- Back-substitute and check. Put the values back and verify the rule reproduces every given point.
Substitute both points, then divide to cancel \(a\).
| \(4\) | \(=\) | \(a\,b^{1}\) |
| \(16\) | \(=\) | \(a\,b^{3}\) |
| \(\dfrac{16}{4}\) | \(=\) | \(b^{2}\Rightarrow b=2\) |
Then \(4=a(2)\), so \(a=2\). Rule: \(y=2\,(2^{x})\).
Read \(c\) from the asymptote, then use the point.
| \(\text{asymptote } y=c\) | \(\Rightarrow\) | \(c=3\) |
| \(5\) | \(=\) | \(a(2^{0})+3\) |
| \(a\) | \(=\) | \(2\) |
Rule: \(y=2\,(2^{x})+3\).
Asymptote gives \(b\); the point where the log is \(0\) gives \(c\).
| \(\text{asymptote } x=b\) | \(\Rightarrow\) | \(b=1\) |
| \((2,3):\ \log_2(1)\) | \(=\) | \(0\Rightarrow c=3\) |
| \((5,7):\ 7\) | \(=\) | \(2a+3\Rightarrow a=2\) |
Rule: \(y=2\log_2(x-1)+3\).
The \(y\)-intercept gives \(A\); a ratio then gives \(k\) via \(\ln\).
| \((0,20):\ A\) | \(=\) | \(20\) |
| \((5,60):\ e^{5k}\) | \(=\) | \(3\) |
| \(k\) | \(=\) | \(\dfrac{\ln 3}{5}\approx 0.22\) |
Rule: \(y=20\,e^{0.22x}\) (to \(2\) d.p.).
Common pitfalls
Frequently asked questions
How do you find the rule y = a b^x from two points?
Substitute both points, then divide so \(a\) cancels: \(\dfrac{y_2}{y_1}=b^{\,x_2-x_1}\). Solve for \(b>0\), then back-substitute for \(a\).
How does a horizontal asymptote help find the rule?
For \(y=a\,b^x+c\) the asymptote is \(y=c\), so it gives \(c\) directly. Then a point gives \(a\) (and a second point gives \(b\)).
How do you find A and k for y = A e^(kx)?
The \(y\)-intercept gives \(A\) (since \(e^0=1\)). A second point gives \(e^{kx}\); take \(\ln\), e.g. \(e^{5k}=3\Rightarrow k=\dfrac{\ln 3}{5}\).
How do you determine a logarithmic rule?
The vertical asymptote is \(x=h\), so read \(h\) first. The point where \(x-h=1\) makes \(\log_b(1)=0\), giving \(c\); another point gives \(a\).
Why divide instead of subtracting?
\(a\) is a factor, not a term. Dividing cancels the common factor and leaves a pure power of \(b\) to solve; subtracting does not isolate \(b\).
What do you read off the graph first?
Any asymptote: \(y=c\) fixes an exponential's vertical shift, \(x=h\) fixes a logarithm's horizontal shift. Then use points for \(a\) and the base.