Skip to main content

Exponents

Definition: The exponent of a number says how many times to use the number in a multiplication.

  • Notation: a3a^3 means a×a×aa \times a \times a.
  • ana^n means multiply aa by nn times.
  • aa is called the base.
  • nn is called the exponent.
note

Negative exponent example:

535^{-3} could be calculated like:

153=15×5×5=1125\frac{1}{5^3} = \frac{1}{5 \times 5 \times 5}=\frac{1}{125}
info

What if the Exponent is 0?

If the exponent is 0, then the answer is 1. (example 50=15^0 = 1)

Laws of Exponents

  • (ab)n=an×bn(ab)^n = a^n \times b^n
  • am×an=am+na^m \times a^n = a^{m + n}
  • amn=amana^{m - n} = \frac{a^m}{a^n} (when a0a \not= 0)
  • an=1ana^{-n} = \frac{1}{a^n} (when a0a \not= 0)
  • a0=1a^0 = 1
  • (am)n=am×n(a^m)^n = a^{m \times n}

Important Exponents (powers of 2)

We often see a lot of powers of 2 in computer science. For example, Here are some prefixes:

PrefixMultiply ByNumber
kilo-2102^{10}1,024
mega-(210)2(2^{10})^21,048,576
giga-(210)3(2^{10})^31,073,741,824
tera-(210)4(2^{10})^41,099,511,627,776
peta-(210)5(2^{10})^51,125,899,906,842,624
exa-(210)6(2^{10})^61,152,921,504,606,847,000

Exponent Examples

  • 2102^{10} is the number of bytes in a kilobyte.
  • 23=82^3 = 8 is the number of bits in a byte.
  • 210×23=210+3=81922^{10} \times 2^{3} = 2^{10 + 3} = 8192 is the number of bits in a kilobyte.

References