Log Function and Exponent Precedence

Click For Summary

Homework Help Overview

The discussion revolves around the interpretation of logarithmic and trigonometric functions when written by hand versus input into calculators or computational tools like Wolfram Alpha. The original poster questions whether expressions such as ln ex, ln (ex), and ln (e)x are interpreted consistently across different platforms and formats.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants explore the ambiguity in mathematical expressions and how they may be interpreted differently by calculators and software. There is a focus on the importance of using parentheses to clarify intended meanings. The original poster also raises concerns about differing outputs from Wolfram Alpha and a TI-82 calculator for similar expressions.

Discussion Status

Some participants suggest that avoiding ambiguous expressions is crucial to prevent misunderstandings. There is acknowledgment of differing interpretations of operator precedence between tools, and a general agreement on the need for clarity in mathematical notation.

Contextual Notes

The discussion highlights the potential for confusion in mathematical expressions due to varying interpretations by different calculators and software, emphasizing the importance of clear notation in homework and problem-solving 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!
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
8K
  • · Replies 4 ·
Replies
4
Views
7K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 24 ·
Replies
24
Views
7K
  • · Replies 5 ·
Replies
5
Views
17K