Math Visualization — AI chat that plots functions for you

Example chat · read-only previewBack

Show and explain me the difference between linear and exponential growth. Give a concrete example and visualize both functions on the same plot so I can see where they diverge.

GPT-5.4

Here's the key idea:

A linear function changes by a constant amount each step. An exponential function changes by a constant factor each step.

Example

FunctionFormulaHow it grows
LinearL(x)=2x+1L(x) = 2x + 1+2 for every step of xx
ExponentialE(x)=2xE(x) = 2^{x}×2 for every step of xx

At first, the linear function is ahead — but once xx is large enough, exponential growth always overtakes linear growth, no matter how steep the line is.

Linear vs Exponential Growth

When to use which

  • Linear — models a fixed rate (e.g. saving the same amount every month).
  • Exponential — models a rate proportional to the current value (e.g. compound interest, viral growth, bacterial populations).

Tip: if you double xx and the output doubles too, you have a linear relationship. If doubling xx squares the output, you're looking at exponential behaviour.

Input disabled in example. Start your own chat to try it yourself.