Logarithms look intimidating, but they are just another way of writing a power. If 10 squared is 100, then log base 10 of 100 is 2. Your TI-84 has two logarithm keys built in, log for base 10 and ln for the natural log, base e, and it can work out a logarithm in any other base with a simple change of base trick. This guide shows you where the keys are, how to use them, and how to solve the logarithm problems that show up in algebra and precalculus.
What a logarithm is, in plain English
A logarithm answers the question: what power do I need to raise this base to, to get this number? Log base 10 of 1000 is 3, because 10 to the power of 3 is 1000. Log base 2 of 8 is 3, because 2 to the power of 3 is 8. The natural log, written ln, is log base e, where e is about 2.718. Ln of e is 1, because e to the power of 1 is e. Logarithms turn multiplication into addition and powers into multiplication, which is why scientists and engineers use them, and why they show up in growth and decay problems.
You do not need to understand all of that to use the calculator. You just need to know which key to press for which kind of log, and how to read the answer. The TI-84 does the hard part. Your job is to set the problem up correctly and to check that the answer makes sense.
The log key: base 10
Press the [LOG] key, type the number you want the log of, close the bracket, and press [ENTER]. For log of 100, press [LOG], type 100, press ), and press [ENTER] to get 2. For log of 1000, press [LOG], type 1000, press ), and press [ENTER] to get 3. The LOG key is log base 10, which is the common log, and it is the one you will use for most school problems that just say log without a base.
Log of a number less than 1 is negative. Log of 0.01 is -2, because 10 to the power of -2 is 0.01. Log of 0 or of a negative number has no real answer, and the calculator will give you an error. That is not a mistake. It is a property of logarithms: you can only take the log of a positive number. If you get an error, check that the number inside the log is positive.
The ln key: the natural log
Press the [LN] key, type the number, close the bracket, and press [ENTER]. For ln of e, press [LN], press [2ND] then [÷] to get e, press ), and press [ENTER] to get 1. For ln of 10, press [LN], type 10, press ), and press [ENTER] to get about 2.302585. The natural log is used in calculus, in growth and decay problems, and in any problem where e shows up, which is a lot of them once you get to precalculus.
The LOG and LN keys are next to each other on the keyboard, and students mix them up all the time. LOG is base 10, LN is base e. If a problem says log, it usually means base 10. If it says ln, it means base e. If it says log base 2, or log base 5, you need the change of base trick below, because the calculator does not have a key for those bases.
Change of base: logs in any base
To find a log in a base the calculator does not have a key for, use the change of base formula: log base b of x is log(x) divided by log(b). You can use LOG or LN, as long as you use the same one on the top and the bottom. To find log base 2 of 32, type log(32) / log(2) and press [ENTER] to get 5, because 2 to the power of 5 is 32. To find log base 5 of 125, type log(125) / log(5) and press [ENTER] to get 3, because 5 to the power of 3 is 125.
To type that on the calculator, press [LOG], type 32, press ), press ÷, press [LOG], type 2, press ), and press [ENTER]. The brackets are important, because they tell the calculator where each log ends. If you forget a closing bracket, the calculator will divide the wrong things, and your answer will be wrong. Use the natural log instead if you prefer: ln(32) / ln(2) gives you the same answer, 5.
Solving equations with logs
Logarithms are often used to solve equations where the unknown is in the exponent, like 2^x = 16. Take the log of both sides to get x times log(2) = log(16), so x = log(16) / log(2). Type log(16) / log(2) and press [ENTER] to get 4. That is the change of base formula again, and it is the standard way to solve an exponential equation with the calculator.
Try a harder one. Solve 3^(2x) = 81. Take the log of both sides to get 2x times log(3) = log(81), so 2x = log(81) / log(3) = 4, and x = 2. On the calculator, type log(81) / log(3) / 2 and press [ENTER] to get 2. Or, use the solver. Press [MATH] and choose 0: Solver, type 3^(2X) = 81, guess a value for x, and press [ALPHA] then [ENTER] to solve. The solver is a good check on your hand work.
Graphing logs
You can graph a log function just like any other function. Press [Y=] and type log(X) into Y1, using the [LOG] key and the [X,T,θ,n] key. Press [GRAPH] and you should see a curve that goes up slowly, crossing the x-axis at x = 1, because log(1) is 0. The graph is only on the right side of the y-axis, because you cannot take the log of zero or a negative number. If you try to graph ln(X), you will see a similar curve, a bit steeper at first.
Graphing a log is a good way to understand what it does. As x gets bigger, the log grows, but more and more slowly. That is why logs are used for things that grow quickly at first and then slow down, like learning, or the spread of a rumour. If your log graph looks like a straight line, go back to Y= and check that you typed log(X) and not just X.
Common mistakes
The most common mistake is mixing up LOG and LN. If a problem says ln and you use LOG, your answer will be wrong, and it will not be obviously wrong, because it will still be a plausible number. Always check which log the problem asks for before you press a key. The second most common mistake is forgetting the brackets in the change of base formula. Log(32) / log(2) needs brackets around both logs, or the calculator will read it as log of 32 divided by log, times 2, which is nonsense.
Another mistake is taking the log of a negative number or zero and expecting an answer. There is no real answer, and the calculator will tell you that with an error. If you get a domain error, check the number inside the log. A fourth mistake is forgetting that log(1) is 0 for any base. If your answer for a log problem is 0, check whether the number inside the log is 1, because that is the only way a log can be 0.
Try it yourself
Try these on your calculator. Work out log(10000), which should be 4, and ln(e^2), which should be 2. Find log base 3 of 81, which should be 4, using the change of base formula. Solve 5^x = 125, which should give you x = 3. Graph y = log(X) and find where it crosses the x-axis, which should be at (1, 0). If you can do all of them, including the change of base ones, you have the logarithm skill down, and you can use it for exponential equations, for growth and decay, and for any class where logs show up.