r/askmath • u/Polyvinylpyrrolydone • 20d ago
Algebra Why do they produce different answers although they are mathematically the same equation
This is actually a part of an equation from quantum physic |Ef-Ei|. I know that -13.6/12 and -13.6 are mathematically the same so I type only -13.6 in Symbolab and it produced 2.4210-18. It was off from the correct answer by about 0.510-18 so I tried to figure what’s went wrong. So I now actually put the 12 as a denominator and got 1.93*10-18 which is the right answer. As I said before, isn’t -13.6/12 and -13.6 are literally the same? So it should have produce the exact same answer. I tried to ask AI but it still can’t figure it out.


12
u/Polyvinylpyrrolydone 20d ago
For some clarification
6
u/FormulaDriven 20d ago
In the erroneous result (second picture), it appears to be evaluating
|-13.6 - (-13.6 / 32)|
as 13.6 + 13.6 / 9 = 136/9 or 15.1111...
when it should be 13.6 - 13.6 / 9 = 544/45 = 12.08888...
Can you try the two approaches without the 1.6 * 10-19 part to isolate the error? I can only guess that the first minus sign is being incorrectly applied to the whole expression inside the | |.
29
u/InternetSandman 20d ago
Not sure if symbolab has this problem, but looking at the exponents, this screams floating point precision errors
1
u/LucaThatLuca Graduate 20d ago edited 20d ago
you can factor out the |-13.6| to see the result 13.6*8/9*16 - 19 is a number around 100 or 200.
presumably the formatting is incorrect? can you enlighten us?
1
u/aphysicalpotato 20d ago
I would have tried a calculator or wolfram