Exponents
Definition: The exponent of a number says how many times to use the number in a multiplication.
- Notation: means .
- means multiply by times.
- is called the base.
- is called the exponent.
note
Negative exponent example:
could be calculated like:
info
What if the Exponent is 0?
If the exponent is 0, then the answer is 1. (example )
Laws of Exponents
- (when )
- (when )
Important Exponents (powers of 2)
We often see a lot of powers of 2 in computer science. For example, Here are some prefixes:
Prefix | Multiply By | Number |
---|---|---|
kilo- | 1,024 | |
mega- | 1,048,576 | |
giga- | 1,073,741,824 | |
tera- | 1,099,511,627,776 | |
peta- | 1,125,899,906,842,624 | |
exa- | 1,152,921,504,606,847,000 |
Exponent Examples
- is the number of bytes in a kilobyte.
- is the number of bits in a byte.
- is the number of bits in a kilobyte.