DEV Community

Calcrio
Calcrio

Posted on

Exponents, Explained: The Math Behind Powers, Negative Exponents, and the Harvard 3^x = x^9 Question

Exponents are the most useful shortcut in school mathematics, and the most misunderstood. A single raised number — 2^10, 3^27, 2^-3 — hides a whole multiplication, and the rules for combining powers are just three lines. This post works through them with exact numbers, including the viral Harvard question 3^x = x^9, whose answer is x = 27.

What an exponent actually means

An exponent tells you how many times to multiply a number by itself. In 2^5, the base is 2 and the exponent is 5, so 2^5 = 2 × 2 × 2 × 2 × 2 = 32. That is the whole definition. Everything else in this post follows from it.

Two powers are worth knowing by heart. 2^10 = 1024 — the kilobyte, the doubling pattern every programmer meets first: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024. And 3^4 = 81, because 3 × 3 × 3 × 3 pairs up neatly as 9 × 9.

The most common mistake is also the simplest: 2^3 is not 2 × 3 = 6. It is 2 × 2 × 2 = 8. The exponent counts multiplications; it is never a multiplier. If you want a quick check on any power, Calcrio's free exponent calculator shows the full expansion.

The three power rules

When the exponent gets large, expansion stops being practical — nobody writes out 27 threes to find 3^27. The power rules do the same work in one line, and all three follow from the definition above.

Product rule: a^m × a^n = a^(m+n). Multiply powers with the same base by adding the exponents. Example: 2^3 × 2^7 = 2^10 = 1024. Check: 8 × 128 = 1024.

Quotient rule: a^m / a^n = a^(m−n). Divide powers with the same base by subtracting the exponents. Example: 2^7 / 2^4 = 2^3 = 8. Check: 128 / 16 = 8.

Power of a power: (a^m)^n = a^(m×n). Raise a power to another power by multiplying the exponents. Example: (2^3)^2 = 2^6 = 64. Check: 8^2 = 64.

That third rule is the one that cracks the Harvard question, as we will see in a moment.

Negative exponents: flip, don't panic

A negative exponent means "one over" the positive power: a^(−n) = 1 / a^n. So 2^-3 = 1 / 2^3 = 1/8 = 0.125. The minus sign never makes the answer negative — it only moves the power into a fraction.

The rule follows from the quotient rule. 2^3 / 2^6 = 2^(3−6) = 2^-3 by the rule, and 8 / 64 = 1/8 by direct division. Both routes agree, so 2^-3 = 1/8. Negative exponents are what make the quotient rule work when the bottom power is bigger than the top one.

More examples: 10^-2 = 1/100 = 0.01, 5^-2 = 1/25 = 0.04, 10^-3 = 0.001. This is why scientists write tiny numbers with negative exponents — 0.000000001 metres is 10^-9 metres, one nanometre. The flip also works in reverse: 1 / 2^-3 = 2^3 = 8.

Fractional exponents are roots

A fractional exponent is a root. The denominator of the fraction tells you which root: a^(1/2) is the square root, a^(1/3) is the cube root. So 8^(1/3) = 2, because 2^3 = 8. And 2^(1/2) = √2 ≈ 1.4142. When the numerator is bigger than 1, take the root first, then the power: 27^(2/3) = (∛27)^2 = 3^2 = 9.

If you are learning this from scratch, our step-by-step guide on how to calculate exponents works through the expansion method, the three rules, and the special cases with full worked examples.

The Harvard question: 3^x = x^9

The question that went viral as a Harvard challenge asks for x in 3^x = x^9. The answer is x = 27, and it is a pure power-rules problem.

Since 27 = 3^3, the right side becomes 27^9 = (3^3)^9. The power-of-a-power rule gives (3^3)^9 = 3^(3×9) = 3^27. Both sides are the same power: 3^27 = 27^9 = 7,625,597,484,987. That exact equality is the whole trick — once you see 27 as 3^3, the equation solves itself.

There is also a second real solution, x ≈ 1.1508, found by taking natural logarithms: x · ln 3 = 9 · ln x. Both sides then equal about 3.54. It is a good reminder that the neat integer answer is not always the only answer.

Where exponents actually show up

Exponents model anything that grows by a constant factor. The clearest example is compound interest: $1,000 at 5% annual interest becomes 1000 × 1.05^10 = $1,628.89 after 10 years. Population growth, radioactive decay, and viral spread all follow the same pattern — a base raised to the number of periods.

In computing, 2^10 = 1024 is the kilobyte, and 2^-10 = 1/1024 ≈ 0.0009766 is its reciprocal. The same three rules power the numbers in a bank statement, a science textbook, and a computer's memory map.

Try it yourself

Pick a power and work it out by hand, then check it. 2^10 = 1024 by doubling. 3^4 = 81 by pairing. 2^-3 = 0.125 by flipping. 8^(1/3) = 2 by cubing 2. And if you want the full steps shown — the expansion, the rule, the verification — the free exponent calculator on Calcrio does exactly that, with no sign-up.

The rules are three lines long. The examples are exact. Once they click, exponents stop being a topic to memorise and start being a tool you reach for.

Top comments (0)