Multiplication precedes Negation

  1. Hi,

    Does the author mean that [itex]−3 × 4 = 0 − 3 × 4 = −(3 × 4)[/itex] or else?

    I consider the minus-sign to be a unary operator, which is preceded by multiplication and division. Am I thinking right?
     
  2. jcsd
  3. arildno

    arildno 12,015
    Science Advisor
    Homework Helper
    Gold Member

    It won't matter if you, with the unary operator of negation choose to regard -3*4 as (-3)*4 or as -(3*4). That is, the order of the unary operator and multiplication need not be formally agreed upon.
     
  4. verty

    verty 1,817
    Homework Helper

    I think it is safe to assume that a unary operator without parentheses is meant to bind more tightly than any operator near it. So unary negation you may assume applies to the term directly in front of it.
     
  5. Office_Shredder

    Office_Shredder 4,500
    Staff Emeritus
    Science Advisor
    Gold Member

    When he says precedence over the minus signs he's referring to doing the 3*4 calculation before the -5 +(-3) calculation. As arildno says it doesn't matter whether you calculate (-3)*4 or -(3*4) as those are the same thing
     
  6. arildno

    arildno 12,015
    Science Advisor
    Homework Helper
    Gold Member

    That is my gut feeling as well, but since the unary negation -x always can be replaced with the binary operator (-1)*x, it cannot possibly matter multiplicationwise whatever you choose to read it as.
     
  7. D H

    Staff: Mentor

    There is no consensus on the precedence of the unary + and - versus multiplication/division. Some place it higher (but almost always lower than exponentiation), others lower (and at the same level as addition and subtraction). It doesn't matter for the kinds of numbers with which you are accustomed. The end result will be the same regardless of whether you treat unary minus as being higher or lower than multiplication.
     
  8. arildno

    arildno 12,015
    Science Advisor
    Homework Helper
    Gold Member

    The really fun thing about the negation, though, is how it can jump over a bundle of factors to find one to its liking, even take a step down to the denominator if it wants to, and then rush back again, or stay put. It doesn't matter.

    (It should not push its luck down a continued fraction, though...)
     
  9. Thank you for your response. I'm thinking to stick with the precedence level above that of multiplication.

    Instead of starting a new thread: I consider a value to be a computed or assigned number or quantity. What's the difference between number and quantity? What exactly are number, quantity and value?

    Thanks for help.
     
    Last edited: Sep 21, 2013
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?

0
Draft saved Draft deleted