1. Home
  2. Blog
  3. Rule of an exponential function

How to find the rule of an exponential function from two points and an asymptote

Read k off the horizontal asymptote, subtract it from the y-coordinate of both points, and divide one equation by the other: a cancels and leaves a power of the base c. Take that root to get c, substitute back to get a, and test the finished rule f(x)=a(c)x+k on both points.

The rule you are looking for

The standard form of an exponential function has four parameters and a base:

f(x)=a(c)b(x−h)+k,c>0,c≠1

When a question gives you the asymptote and two points, it is asking for the shorter form

f(x)=a(c)x+k

Nothing is lost. The parameters b and h can always be folded into a and c: for example, 3(2)2(x−1)=3(4)x−1=34(4)x. That leaves three unknowns, and the question hands you exactly three facts.

  • k is the height of the horizontal asymptote y=k. The curve gets closer and closer to it and never reaches it.
  • c is the multiplier. Each time x goes up by 1, the vertical distance between the curve and the asymptote is multiplied by c.
  • a is that distance at x=0, with a sign: positive when the curve is above the asymptote, negative when it is below. That is why f(0)=a+k.

The method

  1. Read k from the asymptote. An asymptote y=k means the rule ends in +k.
  2. Subtract k from the y-coordinate of each point. What is left behaves like a pure power of c: y1−k=a(c)x1y2−k=a(c)x2
  3. Divide the second equation by the first. The a cancels, and the exponent law for a quotient of powers leaves a single power: y2−ky1−k=cx2−x1
  4. Take the root. c is the positive number whose (x2−x1)th power is that ratio. A base is never negative, so even an even root gives only one answer.
  5. Substitute c back into either equation to find a, then check the finished rule on both points.

Why divide rather than subtract? Subtracting the two equations leaves a in both terms. Once k is gone, each side is a product, and a factor shared by the top and the bottom of a quotient cancels.

Worked example 1: a curve above its asymptote

Find the rule of the exponential function with asymptote y=−7 that passes through (1,5) and (3,101).

  1. The asymptote gives k=−7, so f(x)=a(c)x−7.
  2. Subtracting −7 means adding 7: 5+7=12 and 101+7=108. So a(c)1=12a(c)3=108
  3. Divide the second by the first: a(c)3a(c)1=10812⇒c2=9⇒c=3
  4. Back-substitute: 3a=12, so a=4.
  5. The rule is f(x)=4(3)x−7. Check: f(1)=12−7=5 and f(3)=4(27)−7=101.

Worked example 2: reading the rule off a graph

The graph below shows an exponential function. Find its rule.

xy−2−1123456−10−6−2261014asymptote y = 10(−1, −6)(2, 8)
The asymptote is y=10, and the curve passes through (−1,−6) and (2,8).
  1. From the graph, k=10, so f(x)=a(c)x+10.
  2. Subtract 10: −6−10=−16 and 8−10=−2. So a(c)−1=−16a(c)2=−2
  3. Divide. The exponent is the horizontal distance between the points, 2−(−1)=3: a(c)2a(c)−1=−2−16⇒c3=18⇒c=12
  4. Back-substitute: a(12)−1=2a=−16, so a=−8.
  5. The rule is f(x)=−8(12)x+10. Check: f(2)=−8(14)+10=8.

Both differences were negative, so a came out negative and the curve sits below its asymptote, with range ]−∞,10[. The base is less than 1, yet the function increases: the gap between the curve and the asymptote is halved at every step, and the curve closes that gap from below.

Three checks before you trust the answer

  • The two differences y−k have the same sign. Since cx>0 for every x, the term a(c)x always has the sign of a, so both points sit on the same side of the asymptote. If your differences have opposite signs, no rule of this form passes through both points: reread the asymptote.
  • The ratio says which way the gap goes. With the points ordered so that x2>x1, a ratio greater than 1 gives c>1, and a ratio between 0 and 1 gives 0<c<1.
  • The rule reproduces both points. Substituting them takes two lines and catches a wrong root or a sign slip in k.

Subtract k before you divide. The ratio of the two y-values equals cx2−x1 only when the asymptote is the x-axis. With an asymptote at y=k, the ratio that cancels a is y2−ky1−k. The trap is dividing the raw y-values: k is added after the power is worked out, so it does not cancel, and the base that comes out is wrong even though every later step looks fine. Checking the rule against both points is what exposes it.

When the root is not a whole number

Suppose the division gives c4=5. Then c=54, which is an exact answer and a perfectly good base. If you would rather have a whole-number base, the parameter b provides one, because (54)x=(5)x/4. The rule can then be written f(x)=a(5)x/4+k, which is the standard form with b=14 and h=0.

Check your understanding

No calculator. Every rule has the form f(x)=a(c)x+k, with a≠0, c>0 and c≠1, unless the question says otherwise.

  1. The function f(x)=a(c)x has the x-axis as its asymptote and passes through (−1,2) and (2,54). Find a and c.
  2. The asymptote is y=1, and the curve passes through (0,33) and (5,2). Find the rule.
  3. Find the error. To find the rule with asymptote y=4 through (1,10) and (2,22), a student divides 22 by 10 and takes 2.2 as the base. What went wrong? Find the correct rule.
  4. True or false: some function of this form has the asymptote y=5 and passes through (0,3) and (1,8). Justify.
  5. True or false: some function of this form passes through both (1,7) and (4,7). Justify.
  6. The asymptote is y=−1, and the curve passes through (1,−7) and (3,−55). Find the rule, say whether f is increasing or decreasing, and give its range.
  7. The asymptote is y=1, and the curve passes through (3,7) and (6,19). Find the rule, then write it in the form f(x)=a(3)bx+k.
  8. News of a snow day spreads through a school of 800 students. The number of students who have heard it t hours after it breaks is modelled by N(t)=a(c)t+k, with asymptote N=800. After 1 hour, 400 students have heard; after 3 hours, 700 have. Find the rule, then find when 775 students have heard.
Show the answers
  1. a=6 and c=3, so f(x)=6(3)x. Dividing gives c2−(−1)=542, so c3=27 and c=3. Then a(3)−1=2 gives a=6.
  2. f(x)=32(12)x+1. The point at x=0 gives a+1=33, so a=32 straight away. Then 32c5=2−1=1, so c5=132 and c=12.
  3. The student divided before removing the asymptote. Subtract 4 first: 22−410−4=186=3, and the points are 1 apart, so c=3. Then 3a=6 gives a=2, and f(x)=2(3)x+4. Check: f(2)=18+4=22.
  4. False. 3−5=−2 is negative and 8−5=3 is positive, but a(c)x has the sign of a at every x. The points are on opposite sides of the asymptote, and the curve never crosses it.
  5. False. Dividing would give c3=1, so c=1, which is not an allowed base. Put another way, an exponential function is either always increasing or always decreasing, so it never takes the same value twice.
  6. f(x)=−2(3)x−1, decreasing, with range ]−∞,−1[. The differences are −6 and −54, so c2=9, c=3, and 3a=−6 gives a=−2. The gap below the asymptote triples at every step, so the curve falls away from it.
  7. f(x)=2(3)x/3+1. The differences are 6 and 18, so c3=3 and c=33, which makes cx=(3)x/3. From ac3=6: 3a=6, so a=2. Check: f(6)=2(9)+1=19.
  8. N(t)=−800(12)t+800, and 775 students have heard after 5 hours. The differences are −400 and −100, so c2=14, c=12, and a2=−400 gives a=−800. Then −800(12)t=−25 gives (12)t=132, so t=5.

For more practice, the free Secondary 4 Exponential Functions worksheet has questions on finding a rule from two points, graphing, and half-life models, with each method explained on the page. When the unknown is the exponent rather than the base, the tool you need is the logarithm, and the Logarithmic Functions worksheet picks up from there.

Want one-on-one help with this? I offer Secondary 4 and 5 math tutoring in Montreal, in person or online. Sessions start with a short written diagnostic, and a written recap goes to whoever books after every session.

Practise with a free worksheet

Ready to improve your grades?

WhatsApp is the way to reach me — tell me the course you're taking and what you're stuck on, and we'll sort out a first session from there.

Message Me on WhatsApp

or send a message

I reply within a day, usually sooner. Your details are used only to answer you — see the Privacy Policy.

Private math & science tutoring in Montreal, QC — Westmount · Outremont · Town of Mount Royal · Hampstead · Côte-Saint-Luc · NDG · Nuns' Island · West Island — and online across Quebec.

Chat with Marius