If log2 x = 5, what is the value of x?
Correct answer: 32. If log2 x = 5, then x = 2 to the power 5, which is 32.
Background: A logarithm asks to what power the base must be raised to get the number, so log2 x = 5 means 2 to the power 5 equals x.
- 5: 5 is the logarithm itself, not the value of x.
- 10: 10 is 2 times 5, but logs work by powers, not multiplication.
- 25: 25 is 5 squared, but the base here is 2, not 5.
Did you know? Logarithms to base 2 are used in computing to measure bits.
Memory trick: log2 x = 5 means x = 2 x 2 x 2 x 2 x 2.