Logarithm Calculator
3
numeric ≈ 3
The argument is a rational power of the base, so the result is exact.
Same argument, other bases
≈ 2.079441542
≈ 0.903089987
≈ 3
Step-by-step solution
- 1
The question
Find y = log_2(8): the exponent y such that 2 raised to y gives 8.
- 2
Write both numbers as products of prime powers
Prime factorizations: 2 = 2 and 8 = 2^3. The exponent vectors are proportional, so the argument is a rational power of the base and the logarithm is exact.
- 3
Match the exponents
Both sides are powers of the same prime, so the exponents must be equal.
- 4
Solve for y
Dividing both sides by the exponent of the base gives y = 3.
- 5
Check
Raising the base to this power returns the argument: 2^3 = 8.
- 6
Decimal form
As a decimal, 3 ≈ 3.
- 7
Result
log_2(8) = 3 — exact, because 8 is a rational power of 2.
About logarithms
log_b(x) is the exponent you raise b to in order to get x — the inverse of exponentiation. log_2(8) = 3 because 2³ = 8.
The logarithm laws turn products into sums, quotients into differences and powers into multiples, which is why they simplify calculations and appear in exponential growth, decibels and the Richter scale.
When base and argument are powers of the same number the answer is an exact rational — log_8(32) = 5/3 — and this calculator returns it as a fraction instead of the decimal 1.666666…