Cas bugs in the evaluation of the logarithm?

  • Thread starter Thread starter ilario980
  • Start date Start date
  • Tags Tags
    Cas Logarithm
AI Thread Summary
Evaluating ln(f(x)) where x is a zero of f(x) raises concerns about the behavior of computer algebra systems (CAS). If f(x) is negative, ln(f(x)) is undefined, and the limit approaches -∞ as f(x) approaches zero. However, users report that different CAS outputs do not consistently yield -∞, leading to confusion. This inconsistency suggests potential rounding errors or misinterpretations of data when using CAS. Caution is advised when relying on computer systems for mathematical evaluations.
ilario980
Messages
36
Reaction score
3
hi,

can you evaluate ln(f(x)) in your favorite cas (where x is a zero of f(x) )? what is the result?
 
Last edited:
Mathematics news on Phys.org
Welcome to PF!

Hi ilario980! Welcome to PF! :wink:
ilario980 said:
hi,

can you evaluate ln(f(x)) in your favorite cas (where x is a zero of f(x) )? what is the result?

If f(x) < 0, then ln(f(x)) isn't defined.

Other than that, the limit of ln(f(x)) will be -∞. :smile:
 
yes, i know; but what seems to me strange is that i tryed in some cas to evaluate that value and the ouput is not -inf and is different depending on the function f(x)

after this experience i believe that trust cas may be dangerous...

I.M.
 
ilario980 said:
yes, i know; but what seems to me strange is that i tryed in some cas to evaluate that value and the ouput is not -inf and is different depending on the function f(x)

Hi I.M.! :smile:

(btw, it's case, not cas :wink:)

Did you evaluate it using a calculator?

When you get near 0 or ∞, a calculator can give rounding errors that make a lot of difference!
 
He means "computer algebra system," or CAS.

- Warren
 
chroot said:
He means "computer algebra system," or CAS.

- Warren

ah! :redface:

thanks, Warren! :biggrin:
 
hi Tiny-Tim,
i was not playing with my calculator keys :smile:
i was interpreting (superficially, i admit) some data and this behavior was leading me to an erroneous conclusion


Ilario M.
 
Another reason to not trust computers too much.
 

Similar threads

Back
Top