Log Base 2

Log base 2, also known as binary logarithm which is the inverse function of the power of two functions. The general logarithm states that for every real number n, can be expressed in exponential form as

n = ax

Here, ‘ a ‘ is a positive real number called as a base and ‘ x ‘ is an exponent, the logarithm form is written as

Loga n = x

Log base 2 is the power to which the number 2 must be raised to obtain the value of n. For any real number x, log base 2 functions are written as

x = log2 n

Which is equal to

2x = n

Note that the logarithm of base 0 does not exist and logarithms of negative values are not defined in the real number system.

The formula for Change of Base

The logarithm is in the form of log base 10 or log base e or any other bases. Here is a formula to calculate logarithms to base 2 or log base 2. The formula is stated by

\(\begin{array}{l}\log _{2}x=\frac{\log_{10}x}{\log_{10}2}\end{array} \)

Since the general formula for change of base is given by

\(\begin{array}{l}\log _{a}x=\frac{\log_{b}x}{\log_{b}a}\end{array} \)

To find the value of log base 2, first, convert it into common logarithmic functions, i.e. log base 10 or log10 by using the change of base formula.

Properties of Log Base 2

Some of the logarithmic function properties with base 2 are given as follows :

    • Product Rule : log2 MN = log2 M + log2 N

Multiply two numbers with base 2, then add the exponents.

Example : log 30 + log 2 = log 60

    • Quotient Rule : log2 M/N = log2 M – log2 N

Divide two numbers with the base 2, subtract the exponents.

Example : log2 56 – log2 7 = log2(56/7)=log28

    • Power Rule: Raise an exponential expression to power and multiply the exponents.

Log2 Mp = P log2 M

  • Zero Exponent Rule : loga 1 = 0.
  • Change of Base Rule : logb (x) = ln x / ln b or logb (x) = log10 x / log10 b
  • Logb b = 1 Example : log22 = 1
  • Logb bx = x Example : log22x = x

Sample Example

Question 1 :

Find the value of log2 36.

Solution :

Given x=36

Using the change of base formula,

\(\begin{array}{l}= \log _{2}x=\frac{\log_{10}x}{\log_{10}2}\end{array} \)
\(\begin{array}{l}= \log _{2}36=\frac{\log_{10}36}{\log_{10}2}\end{array} \)

= 1.556303 / 0.301030

= 5.1699 ( corrected to 4 decimal points )

Therefore, the value of log2 36 is 5.1699.

Question 2 :

Find the value of log2 64.

Solution :

Given x=64

Using the change of base formula,

\(\begin{array}{l}=\log _{2}x=\frac{\log_{10}x}{\log_{10}2}\end{array} \)
\(\begin{array}{l}= \log _{2}64=\frac{\log_{10}64}{\log_{10}2}\end{array} \)

= 1.806180 / 0.301030

= 6

Therefore, the value of log2 64 is 6.

For more information and articles on a log base 2, logarithmic function and their inverse function, register with BYJU’S – The Learning app and watch interactive videos.

Related Links
Difference Between In and log Exponential Function – Logarithmic Function
Logarithm Formula Logarithm Calculator
Quiz on Log base 2

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*