# Find the equation of an exponential function

In the previous examples, we were given an exponential function, which we then evaluated for a given input. Sometimes we are given information about an exponential function without knowing the function explicitly. We must use the information to first write the form of the function, then determine the constants *a* and *b*, and evaluate the function.

### How To: Given two data points, write an exponential model.

- If one of the data points has the form $\left(0,a\right)$, then
*a*is the initial value. Using*a*, substitute the second point into the equation$f\left(x\right)=a{\left(b\right)}^{x}$, and solve for*b*. - If neither of the data points have the form $\left(0,a\right)$, substitute both points into two equations with the form$f\left(x\right)=a{\left(b\right)}^{x}$. Solve the resulting system of two equations in two unknowns to find
*a*and*b*. - Using the
*a*and*b*found in the steps above, write the exponential function in the form$f\left(x\right)=a{\left(b\right)}^{x}$.

### Example 3: Writing an Exponential Model When the Initial Value Is Known

In 2006, 80 deer were introduced into a wildlife refuge. By 2012, the population had grown to 180 deer. The population was growing exponentially. Write an algebraic function *N*(*t*) representing the population *N* of deer over time *t*.

### Solution

We let our independent variable *t* be the number of years after 2006. Thus, the information given in the problem can be written as input-output pairs: (0, 80) and (6, 180). Notice that by choosing our input variable to be measured as years after 2006, we have given ourselves the initial value for the function, *a *= 80. We can now substitute the second point into the equation

*b*:

**NOTE:** *Unless otherwise stated, do not round any intermediate calculations. Then round the final answer to four places for the remainder of this section.*

The exponential model for the population of deer is

**Figure 3. **Graph showing the population of deer over time,

*t*years after 2006

### Try It 3

A wolf population is growing exponentially. In 2011, 129 wolves were counted. By 2013 the population had reached 236 wolves. What two points can be used to derive an exponential equation modeling this situation? Write the equation representing the population *N* of wolves over time *t*.

### Example 4: Writing an Exponential Model When the Initial Value is Not Known

Find an exponential function that passes through the points

### Solution

Because we don’t have the initial value, we substitute both points into an equation of the form

*a*and

*b*.

- Substituting $\left(-2,6\right)$gives$6=a{b}^{-2}$
- Substituting $\left(2,1\right)$gives$1=a{b}^{2}$

Use the first equation to solve for *a* in terms of *b*:

Substitute *a* in the second equation, and solve for *b*:

Use the value of *b* in the first equation to solve for the value of *a*:

Thus, the equation is

**exponential decay**function.

**Figure 4. **The graph of

### Try It 4

Given the two points

### Q & A

**Do two points always determine a unique exponential function?**

*Yes, provided the two points are either both above the x-axis or both below the x-axis and have different x-coordinates. But keep in mind that we also need to know that the graph is, in fact, an exponential function. Not every graph that looks exponential really is exponential. We need to know the graph is based on a model that shows the same percent growth with each unit increase in x**, which in many real world cases involves time.*

### How To: Given the graph of an exponential function, write its equation.

- First, identify two points on the graph. Choose the
*y*-intercept as one of the two points whenever possible. Try to choose points that are as far apart as possible to reduce round-off error. - If one of the data points is the
*y-*intercept$\left(0,a\right)$, then*a*is the initial value. Using*a*, substitute the second point into the equation$f\left(x\right)=a{\left(b\right)}^{x}$, and solve for*b*. - If neither of the data points have the form $\left(0,a\right)$, substitute both points into two equations with the form$f\left(x\right)=a{\left(b\right)}^{x}$. Solve the resulting system of two equations in two unknowns to find
*a*and*b*. - Write the exponential function, $f\left(x\right)=a{\left(b\right)}^{x}$.

### Example 5: Writing an Exponential Function Given Its Graph

Find an equation for the exponential function graphed in Figure 5.

### Solution

We can choose the *y*-intercept of the graph,

Because we restrict ourselves to positive values of *b*, we will use *b *= 2. Substitute *a* and *b* into the standard form to yield the equation

### Try It 5

Find an equation for the exponential function graphed in Figure 6.

Solution

### How To: Given two points on the curve of an exponential function, use a graphing calculator to find the equation.

- Press
**[STAT].** - Clear any existing entries in columns
**L1**or**L2.** - In
**L1**, enter the*x*-coordinates given. - In
**L2**, enter the corresponding*y*-coordinates. - Press
**[STAT]**again. Cursor right to**CALC**, scroll down to**ExpReg (Exponential Regression)**, and press**[ENTER].** - The screen displays the values of
*a*and*b*in the exponential equation$y=a\cdot {b}^{x}$.

### Example 6: Using a Graphing Calculator to Find an Exponential Function

Use a graphing calculator to find the exponential equation that includes the points

### Solution

Follow the guidelines above. First press **[STAT]**, **[EDIT]**, **[1: Edit…], **and clear the lists **L1** and **L2**. Next, in the **L1** column, enter the *x*-coordinates, 2 and 5. Do the same in the **L2** column for the *y*-coordinates, 24.8 and 198.4.

Now press **[STAT]**, **[CALC]**, **[0: ExpReg] **and press **[ENTER]**. The values *a *= 6.2 and *b *= 2 will be displayed. The exponential equation is

### Try It 6

Use a graphing calculator to find the exponential equation that includes the points (3, 75.98) and (6, 481.07).

Solution