Algebra

Logarithms Explained: Rules, Properties, and Examples

A complete guide to logarithms covering what they are, all the key rules and properties, how to solve logarithmic equations, and the change of base formula with fully worked examples.

Frequently asked questions

What are the three main logarithm rules?

The product rule says log_b(MN) = log_b(M) + log_b(N). The quotient rule says log_b(M/N) = log_b(M) − log_b(N). The power rule says log_b(M^p) = p·log_b(M). All three work only when every log has the same base and every argument is positive.

Why can you not take the log of a negative number?

A logarithm asks for the exponent y in b^y = x, and a positive base raised to any real power is always positive. So x must be greater than 0. In real numbers, log(0) and log of a negative number are undefined, which is why you must check solutions to log equations.

What is the difference between log and ln?

Log usually means base 10 (the common logarithm), and ln means base e ≈ 2.718 (the natural logarithm). They are related by log(x) = ln(x)/ln(10). Algebra and science courses mostly use log, while calculus uses ln because it gives cleaner derivatives and integrals.

How do you solve an equation with a variable in the exponent?

Take the logarithm of both sides, then use the power rule to bring the exponent down. For 5^x = 200, taking ln gives x·ln(5) = ln(200), so x = ln(200)/ln(5) ≈ 3.292. If both sides share a base, you can instead set the exponents equal.

What is the change of base formula and when do you need it?

The formula is log_b(x) = log_c(x)/log_c(b), for any new base c. You need it when a calculator only has log and ln buttons. For example, log₅(37) = ln(37)/ln(5) ≈ 2.244. It also lets you combine logs that have different bases.

Try these solvers

Algebra10 min read

Exponent Rules: Complete Guide with Examples

Master every exponent rule you need for algebra and beyond. Learn the product, quotient, and power rules plus zero, negative, and fractional exponents with worked examples.

Algebra12 min read

Exponential Growth and Decay: Formulas and Real-World Examples

Learn exponential growth and decay from scratch. Covers the general formula, discrete and continuous forms, doubling time, half-life, compound interest, and real-world applications.

Algebra10 min read

Domain and Range Explained: How to Find Them for Any Function

Domain and range describe every function's inputs and outputs. Learn systematic methods to find them for polynomials, rationals, radicals, and more.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.