Exponential Function, Really

Write An Exponential Function Given Two Points: Uses & How It Works

PL
idmbestpractices.ca
5 min read
Write An Exponential Function Given Two Points: Uses & How It Works
Write An Exponential Function Given Two Points: Uses & How It Works

Okay, let’s say you’re staring at two points on a graph. On top of that, maybe it’s the balance in a savings account after two different years. Maybe it’s the early case counts of a new virus. Maybe it’s just a problem from your math homework that’s feeling stubborn.

You know it’s exponential. The curve is unmistakable. But how do you actually write the stupid function? Not just sketch it—write the precise equation, y = ab^x, with real numbers for a and b.

That’s the puzzle. Consider this: you can answer the “what if? And it’s a good one. Even so, ” questions. Because once you can do this, you stop guessing and start predicting. Let’s walk through it, step by messy step.

What Is an Exponential Function, Really?

Forget the textbook definition for a second. At its heart, an exponential function describes a process where the change is proportional to the current amount. It’s the math of relentless growth or decay.

The classic form is y = ab^x.

  • a is the starting value. Where you begin. The initial infection count. The first deposit.
  • b is the growth factor. If b > 1, you have growth (each step multiplies by b). If 0 < b < 1, you have decay (each step multiplies by a fraction, so you shrink).
  • x is usually time, but it can be any independent variable.

The magic—and the frustration—is that a and b are hidden. You have to extract them from clues. Two points are the minimum clues you need. In real terms, one point? Infinite possibilities. Two points? Usually one unique exponential curve (unless they’re vertically aligned, which is a degenerate case we’ll ignore).

Why Bother? Because Everything Grows Exponentially (Or Decays)

This isn’t just math class nonsense. Understanding this is how you:

  • Fight a pandemic: Early case numbers are exponential. If you only have Week 1 and Week 3 data, you need the function to predict Week 5 and see if your hospital will overflow.
  • Invest wisely: Compound interest is exponential. Knowing the function from two account statements tells you the true annual return.
  • Debunk bad science: Someone claims a “miracle cure” shows “rapid decline” in tumors. Is it really exponential decay, or just linear? The function tells the truth.
  • Just pass the test: Yeah, okay, that’s a practical reason too.

What goes wrong when you don’t get this? That's why you guess. And in an exponential world, linear guessing is catastrophically wrong. You extrapolate linearly. It’s the difference between “we’re fine” and “we have 10,000 cases in two weeks.

How to Actually Write the Thing: The Meat

Here’s the plan. We have two points: (x₁, y₁) and (x₂, y₂). We need to find a and b.

Step 1: Plug both points into y = ab^x. You get two equations:

  1. y₁ = a * b^(x₁)
  2. y₂ = a * b^(x₂)

Step 2: Divide to eliminate a. This is the key move. Divide equation 2 by equation 1: (y₂ / y₁) = [a * b^(x₂)] / [a * b^(x₁)]

Continue exploring with our guides on which table represents a linear function edgenuity and why are frogs said to have 2 lives.

The a's cancel. Sweet relief. (y₂ / y₁) = b^(x₂ - x₁)

Why? On top of that, because b^(x₂) / b^(x₁) = b^(x₂ - x₁). Exponent rules, baby.

Step 3: Solve for b. You have: (y₂ / y₁) = b^(Δx), where Δx = x₂ - x₁. To get b alone, you need to undo the exponent. You take the Δx-th root. Or, more practically, you raise both sides to the (1/Δx) power. b = (y₂ / y₁)^(1 / (x₂ - x₁))

This is your golden formula. The growth factor is the ratio of the y-values, raised to the power of one over the difference in x-values.

Step 4: Solve for a. Now that you have b, just plug it back into either original equation. Usually the simpler one. a = y₁ / (b^(x₁)) Or a = y₂ / (b^(x₂)). They should give the same answer.

Step 5: Write your final function. y = a * b^x, with your calculated a and b.

Let’s See It Live: A Concrete Example

Points: (1, 6) and (3, 24). Find the exponential function.

  1. Plug in: 6 = a * b^1 → 6 = a*b 24 = a * b^3

  2. Divide: 24/6 = (ab^3) / (ab) → 4 = b^2

  3. Solve for b: b = √4 = 2. (We take the positive root because an exponential base must be positive and not 1. b = -2 would give wild oscillations, not a clean curve).

  4. Solve for a: From 6 = ab, 6 = a2, so a = 3.

  5. Final function: y = 3 * 2^x

Check it: at x=1, y=32=6 ✅. At x=3, y=38=24 ✅. Perfect.

What If the x-values aren’t consecutive integers?

No problem. In real terms, the formula handles it. Let’s try (2, 10) and (7, 1210).

  1. Δx = 7 - 2 = 5.
  2. Ratio y₂/y₁ = 1210 / 10 = 121.
  3. b = 121^(1/5). What’s the fifth root of 121? 121 is 11^2. So (11^2)^(1/5) = 11^(2/5). That’s not a nice whole number. But your calculator can handle it: 121^(0.2) ≈ 2.62996 (let’s keep it as 121^(1/5) for exactness if needed).
  4. a = 10 / (b^2) = 10 / (121^(2/5)). Messy, but exact. Or numerically: a ≈ 10 / (2.62996^2) ≈ 10 / 6.916 ≈ 1.445.
  5. Function: y ≈ 1.445 * (2.630)^x. It’s fine if b isn’t a pretty integer. Real-world data rarely is.

Common Mistakes That Will Haunt You

Mistake 1: Forgetting the base must be positive. When you take a root

New

Latest Posts

Related

Related Posts

Thank you for reading about Write An Exponential Function Given Two Points: Uses & How It Works. We hope this guide was helpful.

Share This Article

X Facebook WhatsApp
← Back to Home
ID

idmbestpractices

Staff writer at idmbestpractices.ca. We publish practical guides and insights to help you stay informed and make better decisions.