Logarithms

🏆Practice rules of logarithms

What Are Logarithmic Laws?

There are a few logarithmic laws worth knowing to make solving problems easier. The following laws are the main rules you will use. It should be noted that the letters a, m, n must be positive real numbers for these laws to be valid.

Logarithmic Laws

Constant Values:

It can be automatically determined that:

  • loga(1)=0 log_a\left(1\right)=0
  • loga(a)=1 log_a\left(a\right)=1

Basic Arithmetic Operations

Multiplication, division, subtraction, and addition operations between logarithms:

  • logaMN=logaM+logaN log_aMN=log_aM+log_aN
  • logaM/N=logaMlogaN log_aM/N=log_aM-log_aN
  • Loga(M)×Logn(D)=Logn(M)×Loga(D) Log_a\left(M\right)\times Log_n\left(D\right)=Log_n\left(M\right)\times Log_a\left(D\right)
  • LogaMn=nLogaM Log_aM^n=nLog_aM

Changing the Base of a Logarithm:

  • logb(x)=logc(x)/logc(b) log_b\left(x\right)=log_c\left(x\right)/log_c\left(b\right)
  • logb(c)=1/logc(b) log_b\left(c\right)=1/log_c\left(b\right)

Derivative of the Logarithm:

fx=logb(x)fx=1/xln(b) fx=log_b\left(x\right)⇒f^{\prime}x=1/xln(b)

Integral of the Logarithm:

logb(x)dx=x×logb(x)1/ln(b)+C ∫log_b\left(x\right)dx=x\times log_b\left(x\right)-1/ln\left(b\right)+C

Start practice

Test yourself on rules of logarithms!

einstein

\( 2\log_38= \)

Practice more now

These are the rules

Constant Values:

It can be automatically determined that:

  • loga(1)=0 log_a\left(1\right)=0
  • loga(a)=1 log_a\left(a\right)=1

Basic Arithmetic Operations

Multiplication, division, subtraction, and addition operations between logarithms:

  • logaMN=logaM+logaN log_aMN=log_aM+log_aN
  • logaM/N=logaMlogaN log_aM/N=log_aM-log_aN
  • Loga(M)×Logn(D)=Logn(M)×Loga(D) Log_a\left(M\right)\times Log_n\left(D\right)=Log_n\left(M\right)\times Log_a\left(D\right)
  • LogaMn=nLogaM Log_aM^n=nLog_aM

Changing the Base of a Logarithm:

It should be noted that on calculators the default value is a logarithm based on 10 10 . But sometimes we want to calculate a logarithm with a base other than 10 10 . For example, what if we want to know to what power we must raise 2 2 to get the number 4 4 ? (The answer is, of course, 2 2 , because 2 2 raised to the power of 2 2 equals 4 4 ). To perform this change, the base change of the algorithm must be used. There are two ways to do this:

  • logb(x)=logc(x)/logc(b) log_b\left(x\right)=log_c\left(x\right)/log_c\left(b\right)
  • logb(c)=1/logc(b) log_b\left(c\right)=1/log_c\left(b\right)

Derivative of the Logarithm:

fx=logb(x)fx=1/xln(b) fx=log_b\left(x\right)⇒f^{\prime}x=1/xln(b)


Integral of the Logarithm:

logb(x)dx=x×logb(x)1/ln(b)+C ∫log_b\left(x\right)dx=x\times log_b\left(x\right)-1/ln\left(b\right)+C



Methods for Calculating Logarithms

There's a main method for calculating logarithms in high school, based on the definition of the log term. As mentioned, log is actually an inverse operation to a normal power. Therefore, if we want to find out what log39 \log_39 is, we have to ask ourselves, "What power of three would be equal to nine?" And we'll find that the answer is two. In other words, we can mark the answer with an X X and create an equation:

log39=X \log_39=X

We can say that: 3X=9 3^X=9

And create a simple exponential equation for the solution.

In more complicated exercises, previous logarithmic laws should be used to simplify the solution.

For example: take the logarithm

logX125=3 \log_X125=3

According to the Logarithmic Law we can say that:

X3=125 X^3=125 And so we can know that X=5 X=5

With a bit of practice, you'll see that solving logarithms isn't as scary or daunting as it seems, and like everything in math, practice and understanding are the name of the game!


Join Over 30,000 Students Excelling in Math!
Endless Practice, Expert Guidance - Elevate Your Math Skills Today
Test your knowledge

Exponential Functions

First, to understand what logarithms are, one must understand what an exponential function is. An exponential function is one of the most useful functions in the language of mathematics. Due to the great importance of the exponential function, it is one of the important topics in the study of mathematics. An exponential function is actually a function of the type aXa ^ X, where a is the base of the function.

A well-known exponential function is one based on the number e, which is a mathematical constant equal to the value 2.718282.71828. This function is special for several reasons, one of which is that its derivative is equal to itself.

A logarithmic function is the opposite of an exponential function, and it actually answers the question: "To what power do we need to raise a given number to obtain another given number?" For example, if I want to know to what power I need to raise 1010 to get the number 100100, on the calculator, I would enter: log100100. The result will be 22, since 1010 raised to the power of 22 is 100100.


a logarithms

Natural Logarithm

So far we have only seen what a common logarithm is, but there is another type of logarithm, which is known as the natural logarithm, and this logarithm is the inverse function of the exponential. That is, the natural logarithm has a base e e , this base is an irrational number which is a constant and its value is:

e=2.71828182 e=2.71828182\ldots

And the natural logarithm can be represented as:

lnx=y \ln x=y

Properties of the natural logarithm

  • ln1=0 \ln1=0

Although the logarithm does not have a base as such, it is understood that its base is e e , so we must raise e e to the power of zero to get the result 1 1 .

e0=1 e^0=1

  • lne=1 \ln e=1

We can see this as: e1=e e^1=e

  • lnex=x \ln e^x=x
  • elnx=x e^{\ln x}=x

These two properties are because they are inverse operations.


Do you know what the answer is?

Cheat Sheets, Logarithmic Rules

A-Cheat Sheets, Logarithmic Rules

Logarithmic Laws Exercises

Exercise 1

Assignment

log7x+log(x+1)log7=log2xlogx \log7x+\log(x+1)-\log7=\log2x-\log x

How much is X X ?

Solution

Definition domain

x>0 x>0

x+1>0 x+1>0

x>1 x>-1

log7x+log(x+1)log7=log2xlogx \log7x+\log\left(x+1\right)-\log7=\log2x-\log x

log7x(x+1)7=log2xx \log\frac{7x\cdot\left(x+1\right)}{7}=\log\frac{2x}{x}

We reduce by: 7 7 and by X X

x(x+1)=2 x\left(x+1\right)=2

x2+x2=0 x^2+x-2=0

(x+2)(x1)=0 \left(x+2\right)\left(x-1\right)=0

x+2=0 x+2=0

x=2 x=-2

Not in the definition domain x>0 x>0

x1=0 x-1=0

x=1 x=1

Definition domain

Answer

1 1


Check your understanding

Exercise 2

Assignment

3log49+8log413= 3\log_49+8\log_4\frac{1}{3}=

Solution

Where:

3log49=log493=log4729 3\log_49=\log_49^3=\log_4729

and

8log413=log4(13)8= 8\log_4\frac{1}{3}=\log_4\left(\frac{1}{3}\right)^8=

log4138=log416561 \log_4\frac{1}{3^8}=\log_4\frac{1}{6561}

Therefore

3log49+8log413= 3\log_49+8\log_4\frac{1}{3}=

log4729+log416561 \log_4729+\log_4\frac{1}{6561}

logax+logay=logaxy \log_ax+\log_ay=\log_axy

(72916561)=log419 \left(729\cdot\frac{1}{6561}\right)=\log_4\frac{1}{9}

log491=log49 \log_49^{-1}=-\log_49

Answer

log49 -\log_49


Exercise 3

Task

2log82+log83= 2\log_82+\log_83=

Solution

2log82=log822=log84 2\log_82=\log_82^2=\log_84

2log82+log83=log84+log83= 2\log_82+\log_83=\log_84+\log_83=

log843=log812 \log_84\cdot3=\log_812

Answer

log812 \log_812


Do you think you will be able to solve it?

Exercise 4

Assignment

12log24×log38+log39×log37= \frac{1}{2}\log_24\times\log_38+\log_39\times\log_37=

Solution

Let's break it down into parts

log24=x \log_24=x

2x=4 2^x=4

x=2 x=2

log39=x \log_39=x

3x=9 3^x=9

x=2 x=2

We substitute back into the equation

122log38+2log37= \frac{1}{2}\cdot2\log_38+2\log_37=

1log38+2log37= 1\cdot\log_38+2\log_37=

log38+log372= \log_38+\log_37^2=

log38+log349= \log_38+\log_349=

log3(849)=log3392 \log_3\left(8\cdot49\right)=\log_3392

Answer

log3392 \log_3392


Exercise 5

Assignment

14log61296log612log63= \frac{1}{4}\cdot\log_61296\cdot\log_6\frac{1}{2}-\log_63=

Solution

Let's break it down into parts

log61296=x \log_61296=x

6x=1296 6^x=1296

x=4 x=4

144log612log63= \frac{1}{4}\cdot4\cdot\log_6\frac{1}{2}-\log_63=

log612log63= \log_6\frac{1}{2}-\log_63=

log6(12:3)=log616 \log_6\left(\frac{1}{2}:3\right)=\log_6\frac{1}{6}

log616=x \log_6\frac{1}{6}=x

6x=16 6^x=\frac{1}{6}

x=1 x=-1

Answer

1 -1


Test your knowledge

Exercise 6

Assignment

log7x4log72x2=3 \log_7x^4-\log_72x^2=3

Find X X

Solution

logaxlogay=logaxy \log_ax-\log_ay=\log_a\frac{x}{y}

log7x4log72x2= \log_7x^4-\log_72x^2=

log7x42x2=3 \log_7\frac{x^4}{2x^2}=3

73=x22 7^3=\frac{x^2}{2}

Multiply by: 2 2

273=x2 2\cdot7^3=x^2

Extract the square root

x=680=714 x=\sqrt{680}=7\sqrt{14}

x=680=714 x=-\sqrt{680}=-7\sqrt{14}

Answer

714  , 714 -7\sqrt{14\text{ }}\text{ , }7\sqrt{14}


Review Questions

What are the elements of a logarithm?

The logarithm function has four elements:

logax=b \log_ax=b

Where:

log \log is its symbol

x x is the argument of the logarithm

a a is the base of the logarithm

b b is the result of the logarithm

It reads: "The logarithm base a a of x x equals b b


What is the relationship between the exponential function and the logarithmic function and some examples?

A logarithm is the inverse operation of the exponential function, it is important to remember that all operations have an inverse operation, in this case, every logarithmic function can be related to an exponential one.

Example 1:

Calculate

log416= \log_416=

We must find a number which will be the exponent that the base 4 4 must have to obtain the logarithm's argument, which is 1616, in this case the result will be 2 2 , since

42=16 4^2=16

Result

2 2

Example 2:

Calculate

log8512= \log_8512=

Now we must find the exponent that the base 8 8 must have to obtain as a result the argument of the logarithm, in this case the result is 3 3 , because:

83=512 8^3=512

Result

3 3

From these examples, we can conclude the very close relationship that exists between the logarithmic function and the exponential function.


What is a logarithm used for?

A logarithm is used to determine what number the base of the logarithm must be raised to in order to obtain the argument.


What is a logarithm and examples?

As we have already said, a logarithm is the inverse operation of an exponential. Therefore, the logarithmic function is the one where we must calculate the exponent's number that the base must have so that it gives us the number of the argument; here we will present some examples:

Examples:

  • log72401=4 \log_72401=4

Since, 74=2401 7^4=2401

  • log232=5 \log_232=5

As 25=32 2^5=32

  • log9729=3 \log_9729=3

This is because: 93=729 9^3=729

  • log100=2 \log_{}100=2

In this last example, the logarithm does not have an explicit base, but when a logarithm does not have a base as such, we must assume that it is a base 10 10 logarithm, therefore the answer to this logarithm is 2 2 , since 102=100 10^2=100 .


What are the laws of logarithms, examples?

Let's look at some of the laws of logarithms:

  • loga1=0 \log_a1=0
  • logaa=1 \log_aa=1
  • alogax=x a^{\log_ax}=x , this being because they are inverse functions.
  • logam+logan=loga(m×n) \log_am+\log_an=\log_a\left(m\times n\right)
  • logamlogan=loga(mn) \log_am-\log_an=\log_a\left(\frac{m}{n}\right)
  • logaxr=rlogax \log_ax^r=r\log_ax

It should be mentioned that there are no logarithms of negative numbers, nor of negative bases, and neither does the logarithm of zero exist.

Examples where we can apply these laws

Example 1:

log88=1 \log_88=1

And this law is too obvious since 81=8 8^1=8 , therefore the exponent must be 1 1 , to obtain the argument of the logarithmic function. And that is why law 2 2 mentioned above means that if you have a logarithm with the same base and argument, the result will always be 1 1 .

Example 2:

Find the value of x x , in the following logarithmic equation

log3x+log327=5 \log_3x+\log_327=5

We can use the sum of logarithms and obtain:

log327x=5 \log_327x=5

We use the third law mentioned above:

3log327x=35 3^{\log_327x}=3^5

We have:

27x=243 27x=243

From here we solve for x x

x=24327=9 x=\frac{243}{27}=9

Therefore, the value of x=9 x=9

And we can verify:

log3x+log327=5 \log_3x+\log_327=5 , here we substitute the value we have found for x=9 x=9

log39+log327=5 \log_39+\log_327=5 and as we well know:

log39=2 \log_39=2 and

log327=3 \log_327=3 , then;

log3x+log327=2+3=5 \log_3x+\log_327=2+3=5

Result

x=9 x=9

Another way to solve this exercise is as follows:

log3x+log327=5 \log_3x+\log_327=5

From here we can calculate the second logarithm:

log327=3 \log_327=3 , then we substitute this value

(log3x)+3=5 \left(\log_3x\right)+3=5

From here we solve for the logarithm:

log3x=53 \log_3x=5-3

log3x=2 \log_3x=2

Then here we already have the exponent that the base 3 3 must have, which should be 2 2 , therefore 32=9 3^2=9 , and from here we obtain the argument of the algorithm, that is the value of x x

Or using law 3 3 we have

3log3x=32 3^{\log_3x}=3^2

x=9 x=9

Result

x=9 x=9


What is the difference between a common logarithm and a natural logarithm?

The difference is only the base, as the common logarithm has base 10 10 : log10 \log_{10} and the natural logarithm has base e e

lne \ln_e

Although in reality both logarithms do not have their bases implicit, each of the bases should be understood.


Do you know what the answer is?

Examples with solutions for Rules of Logarithms

Exercise #1

2log82+log83= 2\log_82+\log_83=

Video Solution

Step-by-Step Solution

2log82=log822=log84 2\log_82=\log_82^2=\log_84

2log82+log83=log84+log83= 2\log_82+\log_83=\log_84+\log_83=

log843=log812 \log_84\cdot3=\log_812

Answer

log812 \log_812

Exercise #2

3log49+8log413= 3\log_49+8\log_4\frac{1}{3}=

Video Solution

Step-by-Step Solution

Where:

3log49=log493=log4729 3\log_49=\log_49^3=\log_4729

y

8log413=log4(13)8= 8\log_4\frac{1}{3}=\log_4\left(\frac{1}{3}\right)^8=

log4138=log416561 \log_4\frac{1}{3^8}=\log_4\frac{1}{6561}

Therefore

3log49+8log413= 3\log_49+8\log_4\frac{1}{3}=

log4729+log416561 \log_4729+\log_4\frac{1}{6561}

logax+logay=logaxy \log_ax+\log_ay=\log_axy

(72916561)=log419 \left(729\cdot\frac{1}{6561}\right)=\log_4\frac{1}{9}

log491=log49 \log_49^{-1}=-\log_49

Answer

log49 -\log_49

Exercise #3

12log24×log38+log39×log37= \frac{1}{2}\log_24\times\log_38+\log_39\times\log_37=

Video Solution

Step-by-Step Solution

We break it down into parts

log24=x \log_24=x

2x=4 2^x=4

x=2 x=2

log39=x \log_39=x

3x=9 3^x=9

x=2 x=2

We substitute into the equation

122log38+2log37= \frac{1}{2}\cdot2\log_38+2\log_37=

1log38+2log37= 1\cdot\log_38+2\log_37=

log38+log372= \log_38+\log_37^2=

log38+log349= \log_38+\log_349=

log3(849)=log3392 \log_3\left(8\cdot49\right)=\log_3392 x=2 x=2

Answer

log3392 \log_3392

Exercise #4

14log61296log612log63= \frac{1}{4}\cdot\log_61296\cdot\log_6\frac{1}{2}-\log_63=

Video Solution

Step-by-Step Solution

We break it down into parts

log61296=x \log_61296=x

6x=1296 6^x=1296

x=4 x=4

144log612log63= \frac{1}{4}\cdot4\cdot\log_6\frac{1}{2}-\log_63=

log612log63= \log_6\frac{1}{2}-\log_63=

log6(12:3)=log616 \log_6\left(\frac{1}{2}:3\right)=\log_6\frac{1}{6}

log616=x \log_6\frac{1}{6}=x

6x=16 6^x=\frac{1}{6}

x=1 x=-1

Answer

1 -1

Exercise #5

log7x4log72x2=3 \log_7x^4-\log_72x^2=3

?=x

Video Solution

Step-by-Step Solution

logaxlogay=logaxy \log_ax-\log_ay=\log_a\frac{x}{y}

log7x4log72x2= \log_7x^4-\log_72x^2=

log7x42x2=3 \log_7\frac{x^4}{2x^2}=3

73=x22 7^3=\frac{x^2}{2}

We multiply by: 2 2

273=x2 2\cdot7^3=x^2

Extract the root

x=680=714 x=\sqrt{680}=7\sqrt{14}

x=680=714 x=-\sqrt{680}=-7\sqrt{14}

Answer

714  , 714 -7\sqrt{14\text{ }}\text{ , }7\sqrt{14}

Start practice