- 3,201
- 3,822
gary350 said:My calculator shows -3² = 9
Put your calculator away and try ##-3^2## on your old slide rule.I have been out of college 50 years.
I can't believe this thread has 30 posts. Oops, 31.
gary350 said:My calculator shows -3² = 9
Put your calculator away and try ##-3^2## on your old slide rule.I have been out of college 50 years.
As a historical note…. RPN calculators were developed and brought to market back in the old days when no calculators supported parentheses or understood PEMDAS, which made them far less useful for scientific and technical work. The internal logic of an RPN calculator is appreciably simpler than that of a PEMDAS-aware calculator, which mattered when designing a palm-sized device using 1970s technology.jedishrfu said:What is your calculator?
The only one I know that has no parentheses are HP Reverse Polish Notation calculators. They use RPN style notation which means you input your equations differently than with a TI-83 calculator as an example.
My take on this as always been: Never trust to a machine what you can do for yourself.Nugatory said:As a historical note…. RPN calculators were developed and brought to market back in the old days when no calculators supported parentheses or understood PEMDAS, which made them far less useful for scientific and technical work. The internal logic of an RPN calculator is appreciably simpler than that of a PEMDAS-aware calculator, which mattered when designing a palm-sized device using 1970s technology.
I still prefer the RPN style, as it matches the way we would do the problem unassisted: calculate the highest-precedence intermediate results first and work out the final lowest-precedence step. The ambiguity in ##-3^2## discussed in this thread doesn’t happen in RPN.
The first time I met with RPN was when I found a really cool looking, 'vintage, for collectors' calculator (with that classic LED display: the kind with the magnifying lenses, and with the numbers scurrying and rolling while it's sweating with the job) and noticed that I cannot do any calculations with it...Nugatory said:The internal logic of an RPN calculator is appreciably simpler than that of a PEMDAS-aware calculator, which mattered when designing a palm-sized device using 1970s technology.
Gee, I never knew that!jedishrfu said:my iPhone simple arithmetic calculator doesn't [have parentheses] either (ie in portrait mode) However switching to landscape mode and you get a full blown scientific calculator complete with parentheses.
I want to learn why -3²=9 ???FactChecker said:Then you will have to do the calculation in two steps in the correct order yourself and not count on the calculator. You will have to calculate ##3^2 = 9## first, and then reverse the sign to get ##-3^2 = -9##.
If you are going to get into this in a significant way, use the more advanced calculator.
Was this already settled several posts ago at least a few times?gary350 said:I want to learn why -3²=9 ???
-x-=+
Square means a number times itself.
-3² should be -3 x-3= +9
I need to understand why the correct answer is -9 ???
PEMDAS, You must learn it and make it second nature before proceeding to anything else in math.gary350 said:I want to learn why -3²=9 ???
-x-=+
Square means a number times itself.
-3² should be -3 x-3= +9
I need to understand why the correct answer is -9 ???
*sigh* Because of PEMDAS.gary350 said:I want to learn why -3²=9 ???
Erm.DaveC426913 said:The minus sign ( - ) in front is an operator
Also, if the '-3' is produced by a calculation then it'll mean a negative value and will be processed so.Rive said:If your enter is something like 'minus, three, square' then (if it's anything decent) it'll do the square part first and the 'minus' last
If your enter is 'three, +/-, square' then it'll take it as a (minus-three) on square
Negative value of what? Nothing should be evaluated until the input is complete. Apparently, some calculators do not allow that. IMO, PEMDAS makes ##-3^2## unambiguous no matter how it is entered.Rive said:Erm.
Depending on the exact input sequence a '-' can be either an operator or mean a negative value.
Because, as mentioned several times, the convention is that ##-3^2## is to be read as minus the square of three and not as the square of minus three. As others have commented this is part of a more general system often called PEMDAS (you may have learned BIDMAS or BODMAS and some other mnemonic, but they're all the same) which is a convention for the order in which operations are done.gary350 said:I want to learn why -3²=9 ???
-x-=+
Square means a number times itself.
-3² should be -3 x-3= +9
I need to understand why the correct answer is -9 ???
Basic calculators has their own logic (due lack of parentheses), and if you don't understand them then it'll be ambiguous no matter how many PEMDAS got referenced.FactChecker said:IMO, PEMDAS makes unambiguous no matter how it is entered.
Rive said:Erm.
Depending on the exact input sequence a '-' can be either an operator or mean a negative value.
He was the one bringing in calculators and expressing his confusion about them:DaveC426913 said:I'm answering gary's question.
Guess not attending his calculator properly might be the reason he does not feel even this many answers satisfactory. I don't know.gary350 said:My calculator shows -3² = 9
My calculator also shows 3²=9
Both make sense because -x-=+
-x-=- makes no sense.
If there is nothing left on the left side of zero but only the right side with a mirror then I'm out of this 'precalculus mathematics homework help' topic.DaveC426913 said:I'm clarifying, by pointing out that - while the minus sign does apply to the value to its right - it is an operation (it is not simply intrinsic), and that operation has to wait for order of precedence.
Perhaps. But 'calculators' is not 'the reason why'; it is still a side quest, even for the OP.Rive said:He was the one bringing in calculators and expressing his confusion about them:
Possibly. It is a bad carpenter that blames his tools.Rive said:Guess not attending his calculator properly might be the reason he does not feel even this many answers satisfactory. I don't know.
?Rive said:If there is nothing left on the left side of zero but only the right side with a mirror then I'm out of this 'precalculus mathematics homework help' topic.
I think I understand what you think you meant, but that's different from what you actually wrote. No calculator will display either -n or n if the input is -n^2. IOW, squaring a number won't produce that number except if the number is 1.DeBangis21 said:Thanks. I am getting something in here. I use to wonder and always asked myself, and others, why -n^2 in my calculator gives -n instead of n.
PEMDAS doesn't really cover it, as the minus sign is really the (unary) negation operator rather than the (binary) subtraction operator.DaveC426913 said:*sigh* Because of PEMDAS.
Parentheses
Exponents
Multiplication and Division
Addition and Subtraction
Programming languages generally do a much better job of specifying the order of operator precedence than does mathematics. In addition, many languages also specify the associativity; i.e., how operators at the same precedence level are evaluated, whether left-to-right or right-to-left.DaveC426913 said:The minus sign ( - ) in front is an operator, just like addition, multiplication or exponentiation. It operates on what is immediately to its right (i.e. 32 AKA +9 ) to turn it into its operative inverse. That is what that minus sign means. And so, it gets processed in PEMDAS order - i.e. last.
I think PEMDAS covers it implicitly, if not explicitly.Mark44 said:PEMDAS doesn't really cover it, as the minus sign is really the (unary) negation operator rather than the (binary) subtraction operator.
Mathematics manages with its convention. You gotta know how to math.Mark44 said:Programming languages generally do a much better job of specifying the order of operator precedence than does mathematics.
This was answered in posts 4, 14, 19, 41, plus a couple more that I might have missed. Please go back and reread them.gary350 said:I want to learn why -3²=9 ???
-x-=+
Square means a number times itself.
-3² should be -3 x-3= +9
I need to understand why the correct answer is -9 ???
Not good enough if it isn't explicit. That's why I said that programming language do a much better job of explaining how expressions are evaluated. All of the descriptions of PEMDAS (or BIDMAS) I've ever seen were concise, which is the problem. And none of the letters in either acronym covers negation.DaveC426913 said:I think PEMDAS covers it implicitly, if not explicitly.
IOW, if one were to find a concise description of PEMDAS it might cover negation operators under subtraction operators.
Yeah, I think I know "how to math."DaveC426913 said:Mathematics manages with its convention. You gotta know how to math.
One last time: ##-3^2## means "take the negative of the result of 3 squared".Mark44 said:This was answered in posts 4, 14, 19, 41, plus a couple more that I might have missed. Please go back and reread them.