Log Function and Exponent Precedence

AI Thread Summary
Handwriting log and trigonometric functions can lead to different interpretations compared to calculator inputs, as seen with expressions like ln(ex) and ln(e^x). Calculators like Wolfram Alpha and TI-82 may yield different results for similar expressions, highlighting a lack of standardized precedence rules. To avoid ambiguity, it is recommended to use parentheses liberally and structure expressions clearly. The discussion emphasizes the importance of clarity in mathematical notation to prevent misunderstandings. Overall, clear expression formatting is crucial for accurate interpretation in both handwritten and digital contexts.
eurythmistan
Messages
5
Reaction score
0

Homework Statement



This isn't really a specific problem, just a question if hand-writing log functions (or trig functions) is interpreted differently than when typing them into a calculator or something like Wolfram Alpha.

Suppose you have this on paper:

ln ex

Is this the same as both of the expressions below?

ln (ex)

ln (e)x

This is what you get, when you enter what I think are equivalent expressions to each of those, onto a calculator (or wolfram)

ln (e^x) ===> x

ln (e^1)^x ===> 1

But I guess my question is, is this really the way you'd interpret the above expressions, if you saw them written out?

I thought that if you wanted the ln function taken to a power, you'd write these, for example:

(ln e)x

lnxe

If you do something similar with sine, then wolfram and my TI-82 calculator differ in their interpretations:

sin(pi/4)^2 =

.5 (according to wolfram)

.5785... (according to ti-82)

I'm wondering if this is a case where there isn't really one specified standard, or if I'm doing something wrong?


Any insight will be appreciated, thank you!
 
Physics news on Phys.org
The short answer is: avoid ambiguous expressions. Even if you think precedence is well-established, misunderstandings can occur. Use parentheses freely, or just arrange the expression more intelligently.
 
eurythmistan said:

Homework Statement



This isn't really a specific problem, just a question if hand-writing log functions (or trig functions) is interpreted differently than when typing them into a calculator or something like Wolfram Alpha.

Suppose you have this on paper:

ln ex

Is this the same as both of the expressions below?

ln (ex)

ln (e)x
I don't see that the two expressions above are different, unless you mean the second to be (ln e)x.
eurythmistan said:
This is what you get, when you enter what I think are equivalent expressions to each of those, onto a calculator (or wolfram)

ln (e^x) ===> x

ln (e^1)^x ===> 1

But I guess my question is, is this really the way you'd interpret the above expressions, if you saw them written out?

I thought that if you wanted the ln function taken to a power, you'd write these, for example:

(ln e)x

lnxe

If you do something similar with sine, then wolfram and my TI-82 calculator differ in their interpretations:

sin(pi/4)^2 =

.5 (according to wolfram)

.5785... (according to ti-82)

I'm wondering if this is a case where there isn't really one specified standard, or if I'm doing something wrong?


Any insight will be appreciated, thank you!
It looks like wolfram and TI have different rules for determining operator precedence. As Curious3141 says, the best thing to do is to write expressions unambiguously so that there will be no confusion. For your trig example, here's what I mean:
[sin(pi/4]]2 vs. sin((pi/4)2).
 
Totally makes sense, thanks!

This was actually a question posed to me by someone else, and I tried to say something similar to what you both did, but you both said it so much better. Thanks again!
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Back
Top