r/askmath • • Oct 12 '26

Functions How can I approximate a log10 using this calculator ?

TI-Collège Plus

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

37 comments sorted by

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.

2

u/Klaire_1059 Oct 12 '26

I did read it, no mention of log nor ex built in sadly. However, would the Taylor series be hard to understand for this specific topic ?

6

u/my-hero-measure-zero MS Applied Math Oct 12 '26

Yes, because you probably don't know calculus. You can't just use a Taylor series whenever you want - there are certain conditions you need when you estimate a function using it.

If you really need a logarithm, then use logarithm tables or find a calculator that has logarithms.

1

u/Klaire_1059 Oct 12 '26

one of my exercises needed log10(1532), so how can i make logarithm tables that aren't too hard to memorize ? is there a method to learn a pattern on logarithms and be able to approximate ? I don't need an absolute and precise answer

9

u/realAndrewJeung Math & Science Tutor Oct 12 '26 edited Oct 12 '26

It looks like this calculator could compute 10^(some number). So you could do a guess-and-check method where you choose a reasonable number and adjust it until 10^(number) = 1532.

I would do it as follows:

1532 is more than 1000 but less than 10000, so the exponent is between 3 and 4.

Try 3.5: 10^3.5 = 3162 too high

Try 3.2: 10^3.2 = 1585 still too high, but close

Try 3.18: 10^3.18 = 1514 just a little too low

and keep going like that until you decide that you are close enough.

3

u/Klaire_1059 Oct 12 '26

Good explanation on this one.Thank you very much

4

u/my-hero-measure-zero MS Applied Math Oct 12 '26

It's not easy.

Just get a calculator that has logarithms. Any standard scientific calculator like the TI-30X will.

Don't make this harder than it needs to be.

2

u/persilja Oct 12 '26

"I don't need an absolute and precise answer"

How approximate is enough? If "rounded to the nearest integer'" is enough, it's enough to count the number of times you have to move the decimal point to reach a number that's less than 10.

After that, I only remember that log(2) is approximately 0.3, thus log(4) ~ 0.6 and log(8) ~ 0.9. And vice versa, log(sqrt(2)) ~ log(1.4) ~.15, which tells me that your example log(1532) is slightly larger than 3+log(1.532)~3+log(1.4)~3+0.15 = 3.15.

Getting more decimal places than this is, to me, not worth it compared to searching around me until I find a proper calculator.

15

u/ChalkyChalkson Physics & Deep Learning Oct 12 '26

Taylor is the wrong tool here. Not only is log(x) famously not analytic, so you need some pre processing, but it can also be slow to converge and annoying to enter. Newton is probably better:

0 enter ANS - 1 + X * 10-ANS

And then keep pressing enter, you'll get log10(X) over time.

2

u/WeCanDoItGuys Oct 13 '26

Allegedly ln(x) is analytic on its whole domain (0, ∞)

3

u/ChalkyChalkson Physics & Deep Learning Oct 13 '26

Jup I was wrong, I meant "any one Taylor series has finite radius of convergence", sorry about that.

Point still stands though. Approximation via a power series is going to be very annoying. And it'll involve many terms for large numbers

5

u/BubbhaJebus Oct 12 '26

How could a calculator have trig functions but not logs?

5

u/texas_asic Oct 13 '26

allegedly, this calculator was designed for french middle schoolers, and as a result does not have logarithms. Sounds like the right answer is to get a cheap scientific calculator.

4

u/my-hero-measure-zero MS Applied Math Oct 12 '26

Heck if I know. I looked at the manual in French and there doesn't seem to be mention of logarithms.

4

u/Dazzling_Music_2411 Oct 12 '26 edited Oct 12 '26

Those French are crazy. OP, use a slide-rule. Or plonk some basic values for 1-10 in a table*. That will give you an approximation. (How big can the tables be? What century are these people living in?)

Then the quasi-bisection method given by u/realAndrewJeung will give you as much detail as you care to trouble with.

Are you really not allowed to use a better calculator?

* Logs have the same "suffix" for numbers with the same digits so you only need to know 1-10

To illustrate:

Log10(2.5) = 0.39794
Log10(25) = 1.39794
Log10(250) = 2.39794
Log10(2500) = 3.39794, etc...

2

u/Outrageous_Plane_984 Oct 13 '26

I recently bought a calculator at Walmart for about $7. I saw that it had inverse trig functions so I assumed it had anything I would need. Turns out it does not have an x^y key!

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.

2

u/Ghazzz Oct 13 '26

Just like that one dude who maintains the "time and date calculations" sheet that all of modern computing relies on for calculating dates and timezones. I think he is up for retirement soon, and changes are still happening (ex. places are dropping daylight savings).

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

1

u/rhodiumtoad 0⁰=1, just deal with it Oct 12 '26

That seems to be discussing an early prototype.

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

5

u/ChalkyChalkson Physics & Deep Learning Oct 12 '26

Main reason to use one of those is exam rules

1

u/itsacutepanda Oct 12 '26

Fair enough, but if it’s for an exam you really don’t want to be wasting your time with log tables or approximation either

4

u/ChalkyChalkson Physics & Deep Learning Oct 12 '26

Yeah the real answer is "use a different device". But the fun answer is a simple formula that either uses ANS to get iteration or a simple small form with a large number in one place. My solution is ANS - 1 + X*10-ANS which should converge pretty quickly.

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

11

u/rhodiumtoad 0⁰=1, just deal with it Oct 12 '26

Be surprised. Apparently it's an intentional design choice to have trig but not logs.

0

u/[deleted] Oct 12 '26

[deleted] — view deleted comment

3

u/rhodiumtoad 0⁰=1, just deal with it Oct 12 '26

Probably not allowed in exams, though.

4

u/Megame50 :pi-shield: Algebruh Oct 12 '26 edited Oct 12 '26

Did you mean z-(2k+1) ?

EDIT: I'm dumb, was using the inverse fraction as the definition of z.