Exponential Function Calculator

Enter two points to find the exponential function through them.

A whole number from -200 to 200.

More than 0.

A whole number, different from the first x.

More than 0.

Try

Result

You entered(0,2),  (3,16)\left(0, 2\right),\; \left(3, 16\right)

y=2×2x\displaystyle y = 2 \times 2^{x}

Growth factor b

2\displaystyle 2

Change for each step of x

100%\displaystyle 100\%
Show the work
  1. Exponential function through two points

    An exponential function has the form y=abxy = ab^x, where aa is the starting value (at x=0x = 0) and bb is the growth factor, the number y is multiplied by each time x goes up by 1. Putting each point into the formula gives two equations in aa and bb.

    ab0=2ab3=16\begin{gathered} a b^{0} = 2 \\ a b^{3} = 16 \end{gathered}
  2. Dividing the equations to find b

    Dividing the second equation by the first cancels aa and leaves bb raised to the difference of the x-values, 3. Then take that root of the ratio of the y-values.

    b3=162=8b=2\begin{gathered} b^{3} = \frac{16}{2} = 8 \\ b = 2 \end{gathered}
  3. Finding a from one point

    Put bb back into the first equation and solve for aa.

    a=220=2\begin{aligned} a &= \frac{2}{2^{0}} \\ &= 2 \end{aligned}
  4. Check both points

    Put each x-value into the finished function; each must give back its y-value.

    x=0:  y=2x=3:  y=16\begin{gathered} x = 0: \; y = 2 \\ x = 3: \; y = 16 \end{gathered}
  5. Result

    The function is y=2×2xy = 2 \times 2^{x}.

Worked examples