Allday Education

Writing Exponential Functions

Writing an exponential function means filling in two blanks: y=abxy = a \cdot b^x. The number aa is the starting value — the output when x=0x = 0 — and bb is the constant ratio, the factor every output gets multiplied by when xx goes up by 11.

Most of these problems hand you a table. The whole job is two reads: pull aa from the row where x=0x = 0, then divide any output by the output before it to get bb. Once you have both numbers, write them into the form and you are done.

Step 1: find aa, the initial value

Look for the row where x=0x = 0. Whatever yy is there, that is aa, because b0=1b^0 = 1 leaves y=ay = a. If the table starts at x=0x = 0 with y=4y = 4, then a=4a = 4 — no work required.

If the table does not include x=0x = 0, work backwards: divide by bb to step left one column at a time until you reach x=0x = 0.

Step 2: find bb, the common ratio

Divide any output by the previous output. If the table reads 4,12,36,1084, 12, 36, 108, then 124=3\dfrac{12}{4} = 3, and checking another pair, 3612=3\dfrac{36}{12} = 3. The ratio is constant, so b=3b = 3.

That constant-ratio check is also how you confirm the data is exponential at all. A constant difference between outputs means linear; a constant ratio means exponential. If neither is constant, it is neither type.

In the table below, each output is the previous one times 22: 63=2\dfrac{6}{3} = 2, 126=2\dfrac{12}{6} = 2, 2412=2\dfrac{24}{12} = 2. The constant ratio is b=2b = 2, and the value at x=0x = 0 is a=3a = 3.

xxyy
0033
1166
221212
332424

Step 3: write the rule

Substitute your two numbers into y=abxy = a \cdot b^x. With a=4a = 4 and b=3b = 3, the function is y=43xy = 4 \cdot 3^x. Test it against a table row you did not use: x=2x = 2 gives 49=364 \cdot 9 = 36, which matches — so the rule is right.

Worked examples

Example 1: a growth table

Write the exponential function for the table x:0,1,2,3x: 0, 1, 2, 3 and y:4,12,36,108y: 4, 12, 36, 108.

Read the value at x=0x = 0a=4a = 4
Divide consecutive outputs124=3\dfrac{12}{4} = 3
Confirm the ratio holds3612=3\dfrac{36}{12} = 3
Write the ruley=43xy = 4 \cdot 3^x

Answer: y=43xy = 4 \cdot 3^x

Example 2: a decay table

Write the exponential function for the table x:0,1,2,3x: 0, 1, 2, 3 and y:80,40,20,10y: 80, 40, 20, 10.

Read the value at x=0x = 0a=80a = 80
Divide consecutive outputs4080=12\dfrac{40}{80} = \dfrac{1}{2}
A ratio between 00 and 11 means decayb=12b = \dfrac{1}{2}
Write the ruley=80(12)xy = 80 \cdot \left(\dfrac{1}{2}\right)^x

Answer: y=80(12)xy = 80 \cdot \left(\dfrac{1}{2}\right)^x

Example 3: from aa and bb directly

A function has initial value a=2a = 2 and common ratio b=6b = 6. Write it.

Start with the formy=abxy = a \cdot b^x
Substitute both valuesy=26xy = 2 \cdot 6^x

Answer: y=26xy = 2 \cdot 6^x

Try one yourself

Common questions

How do I know a table is exponential and not linear?

Check the outputs as xx increases by 11. A constant difference (add the same amount) means linear. A constant ratio (multiply by the same amount) means exponential. Divide consecutive outputs — if you get the same number every time, it is exponential.

What if the table skips x=0x = 0?

Find bb first from any consecutive pair, then divide backwards. If y=18y = 18 at x=1x = 1 and b=3b = 3, then at x=0x = 0 the value was 18÷3=618 \div 3 = 6, so a=6a = 6.

Can bb be a fraction?

Yes — that is exactly what decay looks like. A table like 80,40,20,1080, 40, 20, 10 has b=12b = \dfrac{1}{2}. The base just has to be positive and not equal to 11.

How do I check my function?

Plug in an xx-value from a row you did not use to build the rule. If the output matches the table, your aa and bb are correct.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1