Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Mathematics
  • Number System and Arithmetic
  • Algebra
  • Trigonometry
  • Statistics
  • Probability
  • Geometry
  • Mensuration
  • Calculus
  • Logarithms
Open In App
Next Article:
Logarithm Formulas
Next article icon

Log Rules

Last Updated : 20 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Logarithm rules are used to simplify and work with logarithmic expressions. They help relate logarithms to exponents and make complex calculations easier.
A logarithm is the inverse of an exponent. It answers the question: "To what power must a base be raised to get a certain number?"

Out of all these log rules, three of the most common are product rule, quotient rule, and power rule.

Log Rules

These laws are crucial in many mathematical and scientific applications, making logarithms a valuable tool for solving equations, modeling exponential growth, and analyzing large amounts of data.

List of Logarithm Rules

Product Rule of Log

According to the product rule, the logarithm of a product is the sum of the logarithms of its elements.

Formula: loga(XY) = logaX + logaY

Example: log2(3 × 5) = log2(3) + log2(5)

Quotient Rule of Log

The quotient rule asserts that the logarithm of a quotient equals the difference between the numerator and denominator logarithms.

Formula: loga(X/Y) = logaX - logaY

Example: log3(9 / 3) = log3(9) - log3(3)

Zero Rule of Log

According to the zero rule, the logarithm of 1 to any base is always 0.

Formula: loga(1) = 0

Example: log4(1) = 0

Identity Rule of Log

According to the identity rule, the logarithm of a base to itself is always 1.

Formula: loga(a) = 1

Example: log7(7) = 1

Reciprocal Rule

According to the reciprocal rule of logarithms, the logarithm of a number's reciprocal (1 divided by that number) is equal to the negative of the logarithm of the original number. In mathematical notation:

​Formula: loga(1/X) = - loga(X)

Example: loga(1/2) = - loga(2)

Power Rule or Exponential Rule of Log

According to the power rule, the logarithm of a number raised to an exponent equals the exponent multiplied by the logarithm of the base.

Formula: loga(Xn) = n × logaX

Example: log5(92) = 2 × log5(9)

Change of Base Rule of Log

The change of base rule enables you to calculate the logarithm of a number in a different base by employing a common logarithm (typically base 10 or base e). The change of Base Rule is also called the Base Switch Rule.

Formula: loga(X) = logᵦ(X) / logᵦ(a)

Example: log3(7) = log10(7) / log10(3)

Logarithm Inverse Property

The logarithm inverse property asserts that calculating the logarithm of an exponentiated value yields the original exponent.

Formula: loga(aⁿ) = n

Example: log₄(4²) = 2

Derivative of Log

The derivative of a function's natural logarithm is the reciprocal of the function multiplied by the derivative of the function.

Formula: d/dx [ln(f(x))] = f'(x) / f(x)

Example: If y = ln(x2), then dy/dx = 2x / x2 = 2/x

Integration of Log

Other than differentiation, we can also calculate the integral of the logarithm. The integral of the Log function is given as follows:

Formula: ∫ln(x) dx = x · ln(x) - x + C = x · (ln(x) - 1) + C

Note: As natural log and common both logs have only a difference of base, thus the rules for natural logs are the same as common log.

Also Read: Laws of Logarithms

Log Values from 1 to 10

The logarithmic values from 1 to 10 to the base 10 are:

Log

Value

Log 1

0

Log 2

0.3010

Log 3

0.4771

Log 4

0.6020

Log 5

0.6989

Log 6

0.7781

Log 7

0.8450

Log 8

0.9030

Log 9

0.9542

Log 10

1

Applications of Logarithms

Let us look at some of the applications of logs.

  • We utilize logarithms to calculate the acidity and alkalinity of chemical solutions.
  • The Richter scale is used to calculate earthquake intensity.
  • The amount of noise is measured in decibels (dB) on a logarithmic scale.
  • Logarithms are used to analyze exponential processes such as the decay of radioactive isotopes, bacterial development, the spread of an epidemic in a population, and the cooling of a corpse.
  • A logarithm is used to compute the repayment time of a loan.
  • The logarithm is used in calculus to differentiate difficult equations and calculate the area under curves.

Related Topics:

  • Applications of logs
  • Antilog Table
  • Log Calculator
  • Log Table

Solved examples of Log Rules

Example 1: Simplify log2(4 × 8).
Solution:

Using the product rule, we split the product into a sum of logarithms:

log2(4 × 8) = log2(4) + log2(8) = 2 + 3 = 5.

Example 2: Simplify log4(16 / 2).
Solution:

Using the quotient rule, we divide the quotient into a difference of logarithms:

log4(16 / 2) = log4(16) - log4(2) = 2 - 0.5 = 1.5.

Example 3: Simplify log5(253).
Solution:

Using the power rule, we can bring down the exponent as a coefficient:

log5(253) = 3 × log5(25) = 3 × 2 = 6.

Example 4: Convert log3(7) into an expression with base 10.
Solution:

Using the base switch rule, we divide by the logarithm of the new base:

log3(7) = log₁₀(7) / log₁₀(3) ≈ 1.7712

Example 5: Evaluate log7(49) using the change of base rule with base 2.
Solution:

Using the change of base rule with base 2:

log7(49) = log2(49) / log2(7) = 5 / 1.807 = 2.77 (approx).


Next Article
Logarithm Formulas

C

chetanpahwa
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Math-Concepts
  • Logarithms

Similar Reads

    Logarithm
    In mathematics, a logarithm is the inverse operation of exponentiation. It is defined as the power to which the base number must be raised to get the given number.Logarithms serve as mathematical tools that help simplify complex calculations involving exponential relationships. If you know that bx =
    3 min read
    Laws of Logarithms
    The logarithm is the exponent or power to which a base is raised to get a particular number. For example, 'a' is the logarithm of 'm' to the base of 'x' if xm = a, then we can write it as m = logxa. Logarithms are invented to speed up the calculations and time will be reduced when we are multiplying
    4 min read
    Log Rules
    Logarithm rules are used to simplify and work with logarithmic expressions. They help relate logarithms to exponents and make complex calculations easier.A logarithm is the inverse of an exponent. It answers the question: "To what power must a base be raised to get a certain number?"Out of all these
    7 min read
    Logarithm Formula
    Logarithm is defined as the power to which a number is raised to yield some other values. Logarithms are the inverse of exponents. There is a unique way of reading the logarithm expression. For example, bx = n is called as 'x is the logarithm of n to the base b.There are two parts of the logarithm:
    6 min read
    Continuity and Differentiability of Logarithmic Function
    The word continuity means something which is continuous in nature. The flow of water is continuous, time in real life is continuous, and many more instances show the continuity in real life. In mathematics, the Continuous function is the one which when drawn on a graph does not show any breaks and i
    5 min read
    Derivative of Logarithmic Functions
    Derivative or Differentiation of Logarithmic Function as the name suggests, explores the derivatives of log functions with respect to some variable. As we know, derivatives are the backbone of Calculus and help us solve various real-life problems. Derivatives of the log functions are used to solve v
    10 min read
    Logarithmic Differentiation
    Method of finding a function's derivative by first taking the logarithm and then differentiating is called logarithmic differentiation. This method is specially used when the function is type y = f(x)g(x). In this type of problem where y is a composite function, we first need to take a logarithm, ma
    8 min read
    Log Table
    A Log Table in math is a reference tool to ease computations using logarithmic functions. It usually provides pre-computed logarithm values for various integers, commonly in a base like 10 or the natural logarithm base (e.g., ≈ 2.71828). Log tables allow users to obtain the logarithm of a given numb
    9 min read
    Antilog Table
    Antilog Table in math is a refrence tool used to reverse logarithmic computation and retrieve the original number from its logarithmic value.It typically provides a pre-computed antilogarithm value for various logarithmic inputs, commonly in base 1o or natural logarithm base( e.g ≅ 2.71828)Antilog t
    7 min read
    Change of Base in Logarithim
    The change of base formula is a useful concept in mathematics. That allows you to convert a logarithm from one base to another. Change of base formula in logarithm allows us to rewrite a logarithm with a different base. It allows us to compute logarithms using calculators or computational tools that
    4 min read
    Difference Between Log and Ln
    Logarithms(log) and natural logarithms(ln) are fundamental mathematical concepts that simplify complex calculations involving exponential relationships Logarithms are essential for solving equations where an unknown variable appears as the exponent of some other quantity. A logarithm can have any po
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences