The correct equation for an exponential function is y = a^x, where a is the base and x is the exponent. This equation represents an exponential growth or decay depending on the value of the base a. If a > 1, the function represents exponential growth and if 0 < a < 1, the function represents exponential decay.