Cal11 calculator

How to Put A Different Base for Log in Calculator

Reviewed by Calculator Editorial Team

Logarithms are fundamental in mathematics and science, but sometimes you need to work with different bases. This guide explains how to change the base of a logarithm in a calculator and provides practical examples.

What is a logarithm?

A logarithm is the inverse operation of exponentiation. It answers the question: "To what power must a base be raised to obtain a given number?" The general form is:

logb(a) = c means bc = a

For example, log2(8) = 3 because 23 = 8. The base (b) and the argument (a) must be positive numbers, and the base cannot be 1.

Common logarithm bases

  • Common logarithm (base 10): Used in many scientific and engineering applications
  • Natural logarithm (base e ≈ 2.71828): Used in calculus and probability
  • Binary logarithm (base 2): Used in computer science and information theory

How to change the base of a logarithm

When you need to evaluate a logarithm with a different base than your calculator supports, you can use the change of base formula:

logb(a) = logk(a) / logk(b)

This formula allows you to convert any logarithm to a different base using a common base k. The most common choices for k are 10 (common logarithm) or e (natural logarithm).

Steps to change the base

  1. Identify the original logarithm: logb(a)
  2. Choose a common base k (typically 10 or e)
  3. Calculate logk(a)
  4. Calculate logk(b)
  5. Divide the results: logk(a) / logk(b)

Note: The change of base formula works for any positive real numbers a, b, and k where b ≠ 1 and k ≠ 1.

Using a calculator to change bases

Most scientific calculators have built-in functions for common logarithms (log) and natural logarithms (ln). Here's how to use them to change bases:

Step-by-step calculator method

  1. Enter the argument (a) of the logarithm
  2. Press the appropriate logarithm function:
    • For base 10: use the LOG button
    • For natural log: use the LN button
  3. Store this result in memory (M+)
  4. Clear the calculator (AC)
  5. Enter the base (b) of the logarithm
  6. Press the same logarithm function as before
  7. Divide the stored result by this new result (MR ÷)

Tip: If your calculator doesn't have memory functions, you can use the change of base formula directly in the calculator's display.

Examples of changing bases

Let's look at some practical examples of changing logarithm bases.

Example 1: Convert log2(16) to base 10

Using the change of base formula with k=10:

log2(16) = log10(16) / log10(2)

= 1.2041 / 0.3010 ≈ 4

This matches our expectation since 24 = 16.

Example 2: Convert loge(7.389) to base 10

Using the change of base formula with k=10:

loge(7.389) = log10(7.389) / log10(e)

= 0.8681 / 0.4343 ≈ 2

This is correct because e2 ≈ 7.389.

FAQ

Why do I need to change the base of a logarithm?

Different fields use different logarithm bases. For example, common logarithms (base 10) are used in many scientific calculations, while natural logarithms (base e) are common in calculus. Changing bases allows you to work with the most convenient base for your specific problem.

What happens if I try to calculate log1(a)?

The logarithm with base 1 is undefined because 1 raised to any power is always 1, and there's no solution to the equation 1x = a for a ≠ 1. This is why the base of a logarithm must be a positive number not equal to 1.

Can I change the base of a logarithm to any number?

Yes, you can change the base of a logarithm to any positive real number except 1. The change of base formula works for any valid base, allowing you to convert between any two logarithm bases.

Is there a difference between log and ln?

Yes, log typically refers to the common logarithm (base 10), while ln refers to the natural logarithm (base e ≈ 2.71828). The choice between them depends on the context and the conventions of the field you're working in.