Omni Calculator logo

Exponential Function Calculator

Created by Rijk de Wet
Reviewed by Anna Szczepanek, PhD and Steven Wooding
Last updated: Jan 18, 2024


Welcome to the exponential function calculator, where we'll show you how to solve exponential functions with the points on its line — or simply help you evaluate your exponential function at a specific xx or yy value.

In this article, we'll cover the following topics:

  • What exponential functions are;
  • What the formula for exponential functions is; and
  • How to solve an exponential function from two points.

🙋 Care to learn more about the algebraic concept of exponents? Then head on over to our exponent calculator!

How to use the exponential function calculator?

The exponential function calculator can help you solve your exponential function's parameters or help you pinpoint an exact point on the line. Here's how:

First, decide whether you want to solve or evaluate the function.

  • When the exponential function calculator is in "solve the function" mode:

    1. Decide the function formula shape (e.g., bxb^x or pekxp\cdot e^{kx}).

    2. Give the exponential function calculator some x,yx, y points that you know are on that line.

    3. The calculator will solve the unknowns in the equation and report back.

  • When in "evaluate the function" mode:

    1. Enter the exponential function's parameters.

    2. Enter the xx-value to find its corresponding function output.

💡 Did you know that you can enter e into a field to use Euler's number, e=2.71828...e=2.71828...? Try using it for the base bb in "evaluate" mode!

What is an exponential function?

An exponential function is a function that raises some constant to its argument. In many applications, the constant is Euler's number, e, but other constants can be used, too, depending on what you're calculating.

🙋 Euler's number has many uses — learn more about them at our ee calculator!

What is the exponential function formula?

There is no one-and-only exponential function formula — instead, a function is "exponential" if the argument (xx) is used as an exponent to some constant. The most basic exponential function looks like this:

f(x)=bx\footnotesize f(x) = b^x

We can make matters much more complicated by allowing the exponent to be scaled and shifted, as well as scaling and shifting the result of the exponential:

f(x)=abcx+p+q\footnotesize f(x) = a\cdot b^{c\cdot x + p} + q

Our exponential function calculator can solve the following exponential function formulas:

  • f(x)=bxf(x) = b^x
  • f(x)=abxf(x) = a \cdot b^x
  • f(x)=ekxf(x) = e^{kx}
  • f(x)=pekxf(x) = p \cdot e^{kx}

Other, more complex formulas (like f(x)=abcx+p+qf(x) = a \cdot b^{c\cdot x + p} + q) cannot be solved directly and often have more than one solution.

🙋 Want to learn more about probabilities? The exponential distribution calculator can help!

How do I find the exponential function from two points?

To find the exponential function from two points, plug the points' coordinate values into the equation and solve for the constants. But be aware — if your function uses too many constants, two points won't be enough!

With two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), you can easily solve for aa and bb — in other words, you can solve:

f(x)=abx\footnotesize f(x) = a\cdot b^x

To do this, we'll use our knowledge of exponents. We know the formula's rough shape is abxab^x, so we can say that:

y1=abx1y2=abx2\footnotesize \begin{split} y_1 &= a\cdot b^{x_1} \\ y_2 &= a\cdot b^{x_2} \\ \end{split}

and from there, we can determine that:

abx1abx2=y1y2b(x1x2)=y1/y2b=(y1/y2)(x1x2)1\footnotesize \begin{aligned} \frac{a \cdot b^{x_1}}{a \cdot b^{x_2}} &= \frac{y_1}{y_2} \\[0.9em] b^{(x_1-x_2)} &= y_1/y_2 \\ \end{aligned} \\[0.3em] \therefore b = (y_1/y_2)^{(x_1-x_2)^{-1}}

Now that we have bb, we can quickly determine aa:

a=y1/bx1=y2/bx2\footnotesize a = y_1/b^{x_1} = y_2/b^{x_2}

One crucial detail: x1x_1 and x2x_2 may not be equal. However, y1y_1 and y2y_2 may be the same, but it will mean that b=1b=1. Given two points, the exponential function calculator will tell you if you've broken any of these rules.

🔎 Challenge — can you figure out why that is?

What if the base is ee?

When we know that the base bb is Euler's number, i.e., that b=e=2.71828...b = e = 2.71828..., we can go a little further — using only two points, we can solve the following equation:

f(x)=aecx\footnotesize f(x) = a \cdot e ^{c \cdot x}

Here's how:

y1=aecx1y2=aecx2aecx1aecx2=y1y2ec(x1x2)=y1/y2c(x1x2)=log(y1/y2)c=log(y1/y2)/(x1x2)\footnotesize \begin{split} y_1 &= a\cdot e^{c\cdot x_1} \\ y_2 &= a\cdot e^{c\cdot x_2} \\[0.5em] \therefore \frac{a\cdot e^{c\cdot x_1}}{a\cdot e^{c\cdot x_2}} &= \frac{y_1}{y_2} \\[0.75em] e^{c(x_1 - x_2)} &= y_1 / y_2 \\ c(x_1 - x_2) &= \log(y_1 / y_2) \\ c &= \log(y_1/y_2) / (x_1-x_2) \\ \end{split}

And with cc, we can easily say that:

a=y1/ecx1=y2/ecx2\footnotesize a = y_1 / e^{c\cdot x_1} = y_2 / e^{c\cdot x_2}

✅ Psst! Given two points, the exponential function calculator will do all this math for you!

FAQ

What exponential function goes through the points (0, 2) and (1, 4)?

The exponential function these two points lie on is f(x) = 2·2x. When x = 0, we have y = 2·20 = 2, and when x = 1, we have y = 2·21 = 4. Other points on this line are (2, 8), (3, 16), and (4, 32).

If you want to learn how to find the exponential function from two points, head on over to Omni's exponential function calculator.

What exponential function goes through the points (0, 4) and (1, 12)?

The exponential function that goes through these two points is f(x) = 4·3x. Analyzing the points:

  1. When x = 0, the corresponding y-value is y = 4·30 = 1.
  2. When x = 1, we have y = 4·31 = 12.
  3. If we continue this line, we have more points: (2, 36), (3, 108), and (4, 324).

If you need to find the exponential function from two points, head on over to Omni's exponential function calculator.

Rijk de Wet
I want to...
solve the function
Function form
Solving f(x) = bx
Enter one point:
x
f(x)
Check out 16 similar exponents and logarithms calculators 🇪
AntilogChange of base formulaCondense logarithms… 13 more
People also viewed…

BMR - Harris-Benedict equation

Harris-Benedict calculator uses one of the three most popular BMR formulas. Knowing your BMR (basal metabolic weight) may help you make important decisions about your diet and lifestyle.

Flat vs. round Earth

Omni's not-flat Earth calculator helps you perform three experiments that prove the world is round.

LCM

The LCM calculatorcalculates the least common multiple of two to fifteen numbers.

Sector area

Sector area calculator can find the sector area of a circle in the blink of an eye.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service