Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do you calculate \[{\log _2}128\]?

Answer
VerifiedVerified
522k+ views
Hint: In the given question, we have been given an expression. This expression contains a function, which is the logarithm function. We have to solve the logarithm, when we have been given the base and the argument of the logarithm. We do that by expressing the argument in terms of the given base and solving it by using the appropriate formula.

Formula used:
We are going to use the formula of logarithm, which is:
\[{\log _b}a = n \Rightarrow {b^n} = a\]

Complete step by step solution:
The given expression is \[{\log _2}128\]. We have to solve for the value of \[p\].
The basic formula of logarithm says,
If \[{\log _b}a = n\]
then, \[{b^n} = a\]
Hence, putting \[b = 2\], \[a = 128\], we get,
\[{2^p} = 128\]
We know, \[128 = {2^7}\].
Hence, \[{2^p} = {2^7}\]
Since the bases are equal, we can equate the powers,
\[p = 7\]
or \[p = \dfrac{1}{3}\]
Hence, \[{\log _2}128 = 7\]

Additional Information: The \[\log \] function has other basic properties too:
\[{\log _x}{x^n} = n\]
\[{\log _a}b = \dfrac{1}{{{{\log }_b}a}}\]

Note: In the given question, we had been given a logarithmic expression. We had to solve the logarithm, when we were given the base and the argument of the logarithm. We do that by expressing the argument in terms of the given base and solving it by using the appropriate formula. So, it is really important that we know the formulae and where, when and how to use them so that we can get the correct result.