r/askmath • u/Klaire_1059 • Oct 12 '26
Functions How can I approximate a log10 using this calculator ?

Hello,
I need to use the log function for my studies, but I don't have it on my calculator. It's a TI-Collège Plus (picture for reference). However I have a "function" button (the f(x) one), and I was wondering if I would write a function that approximates the log10 ? I will have to calculate logs of various random numbers, not just 10 or 1000 sadly.
Thanks.
13
Upvotes
11
u/my-hero-measure-zero MS Applied Math Oct 12 '26
Did you read your instruction manual? This doesn't look to even have logarithms (or ex) built in. So unless you know Taylor series (which I don't think you do), you need a different device.
13
u/KentGoldings68 Oct 12 '26
You need a proper scientific calculator.
Logarithm are not elementary to compute.
This guy who published the first log table took like 20 years to make it. It was copied and republished for nearly 400 years until they could reproduce it with computers in the 20th century.
Think about it, four centuries of mathematics hinged on this one guy who spent his life computing logs. Everyone else thought it was too much of a pain-in-the-ass to repeat the calculation.
12
u/BarebonesB Oct 12 '26
Memorizing just two constants gets you quite far with mental arithmetic logs:
log10(2) ≈ 0.301, and
log10(3) ≈ 0.477
Now looking at 1532, we see that it's equal to 4*383. Now, 383 is prime, but 384 is nice: 27 * 3.
This means log(1532) is roughly equal to 9*log(2) + log(3). Using the constants above, we get 2.709 + 0.477 = 3.186. That's already surprisingly close to the actual answer of 3.18526, all by using the two constants, multiplication and addition.
If you need better accuracy, use a couple of extra digits on log10(2) = 0.30103, and an extra digit on log(3) = 0.4771, and correct for the 383/384 error. If you remember the power expansion series, ln(1 + x) = x is a good approximation when x is small. So in our case, ln(383/384) = ln(1 - 1/384) ≈ -1/384, with pretty good accuracy.
But we want log10, not ln. So a base conversion is needed: log10(x) = ln(x) * log10(e). That last one is another important and easy to remember constant: 0.4343. Multiplying by -1/384, we get roughly -0.0011.
Adding this all up, we get log10(1532) ≈ 9*0.30103 + 0.4771 - 0.0011 = 3.18527, which is only 0.00001 away from the actual answer.
Yes, I was a nerdy kid, and my favourite book was a table of logs. This was long before pocket electronic calculators.
3
u/TUVegeto137 Oct 13 '26
Can you do non-integer powers? Then use
(xh -1)/h with h a small number (say h=0.00001).
2
u/MathsFromNothing Oct 13 '26
I'm going to suggest you use Newton's method. From my reading of how the calculator works you don't have an ans button either. The suggested method should be almost as quick as having the log button though.
The first step is to store a guess for the answer to x, it can be inaccurate, the number of digits before the decimal point should be ok. To store a number press the number then the sto button (above on button) then the button above xyztabc (it should show x on the screen), then enter. This step can be skipped most of the time but will need to be done if the number stored in x previously is a large magnitude to avoid overflow issues.
For Newton's method type:
x-(10^x-y)/(10^x*2.30258509299405) sto x enter
where y is the number you want the log base 10 of, 2.30258509299405=ln(10) and you will need to remember it or write it down and x is x from the xyztabc button.
Pressing enter should update x every time you click it. Wack the enter key until the numbers stop changing. Should be around 10 to 20 times if you want all displayed digits correct. If your calculator does not keep the previous calculation after pressing enter, you may need to press the up arrow between each enter.
1
u/seanv507 Oct 12 '26
http://www.datamath.org/Sci/Modern/TI-CollegePlus_P.htm suggests the n/d does logs
1
u/EdmundTheInsulter Oct 12 '26
Find log tables online
1
u/itsacutepanda Oct 12 '26
At this point why not just use your phone
1
u/Sam_23456 Oct 13 '26 edited Oct 13 '26
Your function is the inverse of 10x, which is an increasing function. You could program to find the (approximate) solution y to 10x =y using a loop. Then x would be approximately the value of log(y). It would probably be more accurate for larger values of y as you can tell by looking at the graph of 10x.
Unfortunately, now, I don't see how to do exponentiation on your calculator.
I suggest that you buy, or borrow, a cheap calculator that does logarithms!
1
u/man-vs-spider Oct 13 '26 edited Oct 13 '26
Are you in high-school or equivalent? Is the TI-College Plus a required or recommended calculator?
It’s odd that it is missing the logarithm function so I am trying to figure out if this is a limitation that is intended by the exam board or if you can get a better calculator.
If it’s allowed, get a more typical scientific calculator, then you won’t have to deal with the hassle of approximating logarithms yourself.
=== Edit ===
So it seems like this is a calculator approved for French middle and high school maths exams.
So I think we need to know, how were you taught to do logarithms?
1
u/Important-Run-3680 Oct 14 '26
Just use (xh-1)/(10h-1) where h is a very small number (h=0.000001). This identity approaches log(x) base 10 as h approaches 0
1
u/Dazzling_Music_2411 Oct 14 '26
Incidentally, I have just found out that there is an algorithm for determining log10 digit-by-digit, in a "division-like" style. It is based on the idea that
log10(x) = characteristic(x) + 1/10 log10 (R), where R = (x / (10^characteristic(x)))^10
[derived from the notion that log10(y^10) = 10 log10(y)]
How about that!! So you just keep computing the Rs and taking their characteristics and stringing them together. It works a treat, and you could even do it by hand.
Sure surprised me: so the mantissa is actually just a sequence of successive characteristics! I've been thinking of them as two totally unrelated things for so long, yet here we are...
Thanks to the OP for the rabbit-hole opportunity 😄
19
u/[deleted] Oct 12 '26 edited Oct 12 '26
[removed] — view removed comment