What is the accepted syntax for a negative number with an exponent?












24












$begingroup$


A friend is taking a college algebra class and they are teaching him that



$$-3^2 = -9$$



Their explanation is:



$$-3^2 = -(3^2) = -9.$$



It has been a long time for me but I thought that in the absence of any parenthesis that:



$$-3^2 = (-3) times (-3) = 9.$$



They are even contradicting themselves because they teach the odd/even shortcut for exponents in another part of the book. i.e.:



if the exponent is even, the result it positive, and if
the exponent is odd the result is negative.


This is an actual picture of the book where they contradict themselves on the $-3^2 = -9$:



table from math book



edit
OK, since this has generated way more attention then I ever imagined I've updated here to respond to some of the comments.



1) I understand why the book is not contradicting itself in the picture specifically, or even in the "odd/even" exponent context, due to the fact that variable substitution always implies parens. The book and the teacher, from what my friend has said, do not do a good job of explaining that distinction though.



2) Yes, I understand why the answer is that $-3^2$ is NOT ambiguous is due to order of operations.



3) I made a comment about Khan Academy teaching it incorrectly, I realized I was wrong once I re-watched the video.










share|cite|improve this question











$endgroup$








  • 39




    $begingroup$
    Generally, exponent is executed before minus sign. In your photo, if x = -3, then you'd write $x^2= (-3)^2$, so no contradiction. Even works in software -3^2 returns -9, and x=-3; x^2 returns 9. For definitive word, let's wait for an algebra teacher (that was 60 yrs ago for me).
    $endgroup$
    – BruceET
    Aug 3 '15 at 4:13








  • 3




    $begingroup$
    @Beartech Don't forget the order of operations. Exponents go first, and the negative sign is equivalent to writing $-1$, so we have $-3^2 = -1 cdot 3^2 = -1 cdot 9 = -9$.
    $endgroup$
    – Clarinetist
    Aug 3 '15 at 4:25






  • 6




    $begingroup$
    @Beartech Can you cite one example of Khan or an authoritative algebra source taking $-a^2$ to mean $(-a)^2$? I am very skeptical of your indication that big sites like Khan, or that even the source of your picture, are suggesting this interpretation. As a disclaimer, I teach college algebra, and I make sure my students know $-a^2$ is to be interpreted as $-(a^2)$.
    $endgroup$
    – anon
    Aug 3 '15 at 5:44








  • 12




    $begingroup$
    @Beartech NO, $−3^2$ is truly UNambiguous, as well as $2+3cdot 4$ is unambiguous – you just need to remember the convention of operation precedence.
    $endgroup$
    – CiaPan
    Aug 3 '15 at 6:12






  • 5




    $begingroup$
    Can you give us the title and author of the book? Maybe also year and publisher?
    $endgroup$
    – David R.
    Aug 4 '15 at 16:25
















24












$begingroup$


A friend is taking a college algebra class and they are teaching him that



$$-3^2 = -9$$



Their explanation is:



$$-3^2 = -(3^2) = -9.$$



It has been a long time for me but I thought that in the absence of any parenthesis that:



$$-3^2 = (-3) times (-3) = 9.$$



They are even contradicting themselves because they teach the odd/even shortcut for exponents in another part of the book. i.e.:



if the exponent is even, the result it positive, and if
the exponent is odd the result is negative.


This is an actual picture of the book where they contradict themselves on the $-3^2 = -9$:



table from math book



edit
OK, since this has generated way more attention then I ever imagined I've updated here to respond to some of the comments.



1) I understand why the book is not contradicting itself in the picture specifically, or even in the "odd/even" exponent context, due to the fact that variable substitution always implies parens. The book and the teacher, from what my friend has said, do not do a good job of explaining that distinction though.



2) Yes, I understand why the answer is that $-3^2$ is NOT ambiguous is due to order of operations.



3) I made a comment about Khan Academy teaching it incorrectly, I realized I was wrong once I re-watched the video.










share|cite|improve this question











$endgroup$








  • 39




    $begingroup$
    Generally, exponent is executed before minus sign. In your photo, if x = -3, then you'd write $x^2= (-3)^2$, so no contradiction. Even works in software -3^2 returns -9, and x=-3; x^2 returns 9. For definitive word, let's wait for an algebra teacher (that was 60 yrs ago for me).
    $endgroup$
    – BruceET
    Aug 3 '15 at 4:13








  • 3




    $begingroup$
    @Beartech Don't forget the order of operations. Exponents go first, and the negative sign is equivalent to writing $-1$, so we have $-3^2 = -1 cdot 3^2 = -1 cdot 9 = -9$.
    $endgroup$
    – Clarinetist
    Aug 3 '15 at 4:25






  • 6




    $begingroup$
    @Beartech Can you cite one example of Khan or an authoritative algebra source taking $-a^2$ to mean $(-a)^2$? I am very skeptical of your indication that big sites like Khan, or that even the source of your picture, are suggesting this interpretation. As a disclaimer, I teach college algebra, and I make sure my students know $-a^2$ is to be interpreted as $-(a^2)$.
    $endgroup$
    – anon
    Aug 3 '15 at 5:44








  • 12




    $begingroup$
    @Beartech NO, $−3^2$ is truly UNambiguous, as well as $2+3cdot 4$ is unambiguous – you just need to remember the convention of operation precedence.
    $endgroup$
    – CiaPan
    Aug 3 '15 at 6:12






  • 5




    $begingroup$
    Can you give us the title and author of the book? Maybe also year and publisher?
    $endgroup$
    – David R.
    Aug 4 '15 at 16:25














24












24








24


2



$begingroup$


A friend is taking a college algebra class and they are teaching him that



$$-3^2 = -9$$



Their explanation is:



$$-3^2 = -(3^2) = -9.$$



It has been a long time for me but I thought that in the absence of any parenthesis that:



$$-3^2 = (-3) times (-3) = 9.$$



They are even contradicting themselves because they teach the odd/even shortcut for exponents in another part of the book. i.e.:



if the exponent is even, the result it positive, and if
the exponent is odd the result is negative.


This is an actual picture of the book where they contradict themselves on the $-3^2 = -9$:



table from math book



edit
OK, since this has generated way more attention then I ever imagined I've updated here to respond to some of the comments.



1) I understand why the book is not contradicting itself in the picture specifically, or even in the "odd/even" exponent context, due to the fact that variable substitution always implies parens. The book and the teacher, from what my friend has said, do not do a good job of explaining that distinction though.



2) Yes, I understand why the answer is that $-3^2$ is NOT ambiguous is due to order of operations.



3) I made a comment about Khan Academy teaching it incorrectly, I realized I was wrong once I re-watched the video.










share|cite|improve this question











$endgroup$




A friend is taking a college algebra class and they are teaching him that



$$-3^2 = -9$$



Their explanation is:



$$-3^2 = -(3^2) = -9.$$



It has been a long time for me but I thought that in the absence of any parenthesis that:



$$-3^2 = (-3) times (-3) = 9.$$



They are even contradicting themselves because they teach the odd/even shortcut for exponents in another part of the book. i.e.:



if the exponent is even, the result it positive, and if
the exponent is odd the result is negative.


This is an actual picture of the book where they contradict themselves on the $-3^2 = -9$:



table from math book



edit
OK, since this has generated way more attention then I ever imagined I've updated here to respond to some of the comments.



1) I understand why the book is not contradicting itself in the picture specifically, or even in the "odd/even" exponent context, due to the fact that variable substitution always implies parens. The book and the teacher, from what my friend has said, do not do a good job of explaining that distinction though.



2) Yes, I understand why the answer is that $-3^2$ is NOT ambiguous is due to order of operations.



3) I made a comment about Khan Academy teaching it incorrectly, I realized I was wrong once I re-watched the video.







notation arithmetic exponentiation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jul 3 '16 at 17:03









Martin Sleziak

44.9k10122276




44.9k10122276










asked Aug 3 '15 at 4:04









BeartechBeartech

25037




25037








  • 39




    $begingroup$
    Generally, exponent is executed before minus sign. In your photo, if x = -3, then you'd write $x^2= (-3)^2$, so no contradiction. Even works in software -3^2 returns -9, and x=-3; x^2 returns 9. For definitive word, let's wait for an algebra teacher (that was 60 yrs ago for me).
    $endgroup$
    – BruceET
    Aug 3 '15 at 4:13








  • 3




    $begingroup$
    @Beartech Don't forget the order of operations. Exponents go first, and the negative sign is equivalent to writing $-1$, so we have $-3^2 = -1 cdot 3^2 = -1 cdot 9 = -9$.
    $endgroup$
    – Clarinetist
    Aug 3 '15 at 4:25






  • 6




    $begingroup$
    @Beartech Can you cite one example of Khan or an authoritative algebra source taking $-a^2$ to mean $(-a)^2$? I am very skeptical of your indication that big sites like Khan, or that even the source of your picture, are suggesting this interpretation. As a disclaimer, I teach college algebra, and I make sure my students know $-a^2$ is to be interpreted as $-(a^2)$.
    $endgroup$
    – anon
    Aug 3 '15 at 5:44








  • 12




    $begingroup$
    @Beartech NO, $−3^2$ is truly UNambiguous, as well as $2+3cdot 4$ is unambiguous – you just need to remember the convention of operation precedence.
    $endgroup$
    – CiaPan
    Aug 3 '15 at 6:12






  • 5




    $begingroup$
    Can you give us the title and author of the book? Maybe also year and publisher?
    $endgroup$
    – David R.
    Aug 4 '15 at 16:25














  • 39




    $begingroup$
    Generally, exponent is executed before minus sign. In your photo, if x = -3, then you'd write $x^2= (-3)^2$, so no contradiction. Even works in software -3^2 returns -9, and x=-3; x^2 returns 9. For definitive word, let's wait for an algebra teacher (that was 60 yrs ago for me).
    $endgroup$
    – BruceET
    Aug 3 '15 at 4:13








  • 3




    $begingroup$
    @Beartech Don't forget the order of operations. Exponents go first, and the negative sign is equivalent to writing $-1$, so we have $-3^2 = -1 cdot 3^2 = -1 cdot 9 = -9$.
    $endgroup$
    – Clarinetist
    Aug 3 '15 at 4:25






  • 6




    $begingroup$
    @Beartech Can you cite one example of Khan or an authoritative algebra source taking $-a^2$ to mean $(-a)^2$? I am very skeptical of your indication that big sites like Khan, or that even the source of your picture, are suggesting this interpretation. As a disclaimer, I teach college algebra, and I make sure my students know $-a^2$ is to be interpreted as $-(a^2)$.
    $endgroup$
    – anon
    Aug 3 '15 at 5:44








  • 12




    $begingroup$
    @Beartech NO, $−3^2$ is truly UNambiguous, as well as $2+3cdot 4$ is unambiguous – you just need to remember the convention of operation precedence.
    $endgroup$
    – CiaPan
    Aug 3 '15 at 6:12






  • 5




    $begingroup$
    Can you give us the title and author of the book? Maybe also year and publisher?
    $endgroup$
    – David R.
    Aug 4 '15 at 16:25








39




39




$begingroup$
Generally, exponent is executed before minus sign. In your photo, if x = -3, then you'd write $x^2= (-3)^2$, so no contradiction. Even works in software -3^2 returns -9, and x=-3; x^2 returns 9. For definitive word, let's wait for an algebra teacher (that was 60 yrs ago for me).
$endgroup$
– BruceET
Aug 3 '15 at 4:13






$begingroup$
Generally, exponent is executed before minus sign. In your photo, if x = -3, then you'd write $x^2= (-3)^2$, so no contradiction. Even works in software -3^2 returns -9, and x=-3; x^2 returns 9. For definitive word, let's wait for an algebra teacher (that was 60 yrs ago for me).
$endgroup$
– BruceET
Aug 3 '15 at 4:13






3




3




$begingroup$
@Beartech Don't forget the order of operations. Exponents go first, and the negative sign is equivalent to writing $-1$, so we have $-3^2 = -1 cdot 3^2 = -1 cdot 9 = -9$.
$endgroup$
– Clarinetist
Aug 3 '15 at 4:25




$begingroup$
@Beartech Don't forget the order of operations. Exponents go first, and the negative sign is equivalent to writing $-1$, so we have $-3^2 = -1 cdot 3^2 = -1 cdot 9 = -9$.
$endgroup$
– Clarinetist
Aug 3 '15 at 4:25




6




6




$begingroup$
@Beartech Can you cite one example of Khan or an authoritative algebra source taking $-a^2$ to mean $(-a)^2$? I am very skeptical of your indication that big sites like Khan, or that even the source of your picture, are suggesting this interpretation. As a disclaimer, I teach college algebra, and I make sure my students know $-a^2$ is to be interpreted as $-(a^2)$.
$endgroup$
– anon
Aug 3 '15 at 5:44






$begingroup$
@Beartech Can you cite one example of Khan or an authoritative algebra source taking $-a^2$ to mean $(-a)^2$? I am very skeptical of your indication that big sites like Khan, or that even the source of your picture, are suggesting this interpretation. As a disclaimer, I teach college algebra, and I make sure my students know $-a^2$ is to be interpreted as $-(a^2)$.
$endgroup$
– anon
Aug 3 '15 at 5:44






12




12




$begingroup$
@Beartech NO, $−3^2$ is truly UNambiguous, as well as $2+3cdot 4$ is unambiguous – you just need to remember the convention of operation precedence.
$endgroup$
– CiaPan
Aug 3 '15 at 6:12




$begingroup$
@Beartech NO, $−3^2$ is truly UNambiguous, as well as $2+3cdot 4$ is unambiguous – you just need to remember the convention of operation precedence.
$endgroup$
– CiaPan
Aug 3 '15 at 6:12




5




5




$begingroup$
Can you give us the title and author of the book? Maybe also year and publisher?
$endgroup$
– David R.
Aug 4 '15 at 16:25




$begingroup$
Can you give us the title and author of the book? Maybe also year and publisher?
$endgroup$
– David R.
Aug 4 '15 at 16:25










10 Answers
10






active

oldest

votes


















91












$begingroup$

$-x^2$, in every mathematical context I have seen, always means $-(x^2)$.
So $-3^2 = -9$.



On the other hand, when you plug in a value to an expression you don't just plug the symbols in directly, you add parentheses first. For example, if you plug in $x = y + 3$ to the expression $7x$, you get $7(y + 3) = 7y + 21$, not $7y + 3$. Similarly, plugging in $x = -3$ to the expression $x^2$ gives $(-3)^2 = 9$, not $-3^2 = -9$. So the book does not contradict itself.






share|cite|improve this answer











$endgroup$









  • 3




    $begingroup$
    In English we just call it PEMDAS (Parentheses->Exponents->Multiplication/Division->Addition/Subtraction) aka Order of Operations
    $endgroup$
    – MichaelChirico
    Aug 4 '15 at 15:02






  • 5




    $begingroup$
    @MichaelChirico Except there's no explicit mention in that list of the unary negation sign. Now, if it were $10 - x^2$, that would be covered by the order since it would be subtraction, but in the absence of a preceding value, that list is not explicit. (Probably the general rule to go by is consider unary negative as the same as $0 - x$, but that's an additional rule.)
    $endgroup$
    – jpmc26
    Aug 4 '15 at 21:41








  • 4




    $begingroup$
    @MichaelChirico You're saying that PEMDAS covers the details in this answer; I'm saying it doesn't.
    $endgroup$
    – jpmc26
    Aug 4 '15 at 21:50






  • 4




    $begingroup$
    Note, that unary minus (and regular minus) actually come before exponentiation when it's in the exponent! $3^{-2}$ means $3^{(-2)} = frac{1}{9}$. So sometimes it's before exponentiation, sometimes after. Ultimately, mathematical conventions have to be stated in a case-by-case way, and the cases can be complicated.
    $endgroup$
    – 6005
    Aug 4 '15 at 22:58








  • 6




    $begingroup$
    @MichaelChirico Because you brought up PEMDAS and said it was relevant to this answer. Which it isn't really.
    $endgroup$
    – 6005
    Aug 4 '15 at 22:59





















23












$begingroup$

$-3^2$ is always $-9$. There's no ambiguity. And the odd/even rule is also true! $x^n$ is always nonnegative when $n$ is even, and $x^n$ is the same sign as $x$ when $n$ is odd (when $x$ is real).



There's no contradiction, because "$-3^2$" isn't actually of the form $x^n$. See, $x^n$, when you substitute $x=-3$ and $n=2$, gives you "$(-3)^2$," not "$-3^2$." Remember, when you substitute in, you always need parentheses.





Why do we need parentheses? I'll give an example.




  • What is $7-x$, when $x=2$?


The answer is $7-2=5$.



And now, the same question, reworded:




  • What is $7-x$, when $x=4-2$?


Why is this the same question? Because $4-2$ is the same thing as $2$. That means that we should get the same answer. And yet:
$$7-4-2=3-2=1,$$
a different answer! The only way to get the answers to agree is to write $7-(4-2)=7-2=5$. So we see that, in this example, we needed parentheses.



It turns out that when we put in the parentheses, we always get the right answer, and we've just seen that leaving them out can get you the wrong answer. This means that you need to put in the parentheses.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    (So your book is correct. Despite the fact that $-3^2ne9$.)
    $endgroup$
    – Akiva Weinberger
    Aug 3 '15 at 6:15






  • 3




    $begingroup$
    "always" is a little strong. Try -3^2 in MSExcel
    $endgroup$
    – Henry
    Aug 5 '15 at 14:57










  • $begingroup$
    @Henry In google spreadsheets, too....
    $endgroup$
    – 6005
    Sep 2 '16 at 18:02



















15












$begingroup$

6005 already explained why they don't contradict themselves. As an alternative answer to the first part of the question, "higher order" operators usually take precedence: exponentiation is applied before multiplication, which again is applied before subtraction. Whether you interpret unary minus in $-x$ to be $0-x$ or $(0-1)∙x$ it then follows that $-x^2$ should be calculated as $-(x^2)$.






share|cite|improve this answer











$endgroup$









  • 4




    $begingroup$
    Finally someone mentioning operator precedence!
    $endgroup$
    – fuenfundachtzig
    Aug 3 '15 at 18:30



















8












$begingroup$

It's not a matter of syntax, it's a matter of operator precedence. In the absence of parentheses, exponentiation is executed first, then negation. Try this in Wolfram Alpha: -3^2. Then try (-3)^2. We have long agreed on these rules so that computers deliver consistent results on calculations involving various different arithmetic operations.



As for the odd-negative/even-positive thing, that only applies if the base is negative. Observe for example:




  • $(-2)^2 = (-2) times (-2) = 4$

  • $(-2)^3 = (-2) times (-2) times (-2) = -8$

  • $(-2)^4 = (-2) times (-2) times (-2) times (-2) = 16$

  • $(-2)^5 = (-2) times (-2) times (-2) times (-2) times (-2) = -32$


See also this Sloane's A122803.






share|cite|improve this answer









$endgroup$





















    5












    $begingroup$

    The accepted syntax is one that goes by the standard rules of operator precedence and associativity that most mathematicians, scientists and computer programmers have followed for decades if not centuries.



    Then, given $$-3^2 = -9$$ the squaring is done first, giving us $9$, and the negation is done second, resulting in $-9$. If instead you have $$(-3)^2 = 9$$ then it's clear that you multiply $3$ by $-1$ first and then you square it, giving $9$ as expected.



    Of course computer programmers are human and they make mistakes. Sometimes you might find that your C++ program is not giving you the right results. (It doesn't help that the C++ operator ^ does something else anyway).



    There are mistakes in your algebra book but the one you quote is not one of them. You failed to give a complete quotation. With a complete quote, we'd see that they're talking about negative numbers raised to odd or even exponents.






    share|cite|improve this answer









    $endgroup$





















      4












      $begingroup$

      The best answer I can give is that there is no accepted syntax because it creates sufficient ambiguity to cause problems. Thus the rule should be: only use $-3^2$ if it is completely unambiguous what is meant due to context, otherwise use $(-3)^2$ or $-(3^2)$ to provide readers with unambiguous resolution.



      I have seen, in typesetting, the use of a smaller negative sign when doing unary negation of numbers, such as $^-3^2$. If rendered this way, it would be reasonable to assume $^-3^2 equiv (^-3)^2$.



      A similarly confusing case could be $1 + -3^2$, which is hard to convert into a a form that PEMDAS will help with. In that particular syntax, I would be more likely to assume they intended $(-3)^2$, due to context.



      One other approach could be to look at related disciplines. When I look at the syntaxes in MATLAB, Mathmatica, and R, all of them have exponentiation before negation (meaning $-3^2 equiv -(3^2)$). If one were to take those languages as "definitive" for mathematics, one could assume the syntax is unambiguous. Personally, I would not try. I've seen enough "what does $6 / 3(2)$ equal" memes going around Facebook. I don't want to make more.






      share|cite|improve this answer









      $endgroup$





















        4












        $begingroup$

        To round out the answers, one might wonder why we chose to order operations so that $-3^2$ means $-(3^2)$ rather than $(-3)^2$.



        A very simple reason is that if we mean to say $(-3)^2$, we have an alternate — and simpler — way to express the same value that we would prefer to use in most circumstances: $3^2$



        However, if we mean to say $-(3^2)$, we don't have a correspond alternative.



        Thus, the convention where $-3^2$ means $-(3^2)$ is simply more useful than the alternative.






        share|cite|improve this answer









        $endgroup$





















          3












          $begingroup$

          If you want a definitive answer then why not try seeing what Excel (sic) does with it....



          As other answers have indicated, the problem comes with the distintion between the unary minus and the two term minus operator, along with how the minus operator should be attached (i.e. the implied parentheses/brackets) to a symbol, versus what to do with a (positive without a + sign) numeric value.



          Ultimately it's a matter of local convention, and corresponding confusion.



          Excel thinks it's -9; And there are many web pages about this problem causing confusion in spreadsheet results (other Excel issues are available;-).






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Don't forget to read it all before down voting ;-) An extra issue that in half the cases the minus sign is in fact part of the number, rather than being an operator...
            $endgroup$
            – Philip Oakley
            Aug 7 '15 at 20:09






          • 1




            $begingroup$
            I'm upvoting, but I'm kind of rare in that I don't downvote just because there is one tiny flaw in the answer, or in some cases some people downvote because of very minor philosophical disagreements.
            $endgroup$
            – Robert Soupe
            Aug 8 '15 at 2:01










          • $begingroup$
            @RobertSoupe Thanks. I'd suspected that was the likely reason - maybe I shouldn't have started by mentioning Excel as if it is a mathematician's point of reference;-)
            $endgroup$
            – Philip Oakley
            Aug 8 '15 at 20:16










          • $begingroup$
            Indeed. You can't take that kind of pettiness personally, life's too short.
            $endgroup$
            – Robert Soupe
            Aug 9 '15 at 1:27










          • $begingroup$
            Actually, for Excel, =-3^2 results in positive 9, which is mathematically wrong according usual conventions.
            $endgroup$
            – Rodolfo Oviedo
            Dec 20 '18 at 14:14



















          3












          $begingroup$

          In the context of an algebra class I believe an algebraic proof will suffice:
          $$-1a=-a$$this property is given before exponents are introduced.



          Now making the substitution $a=b^n$ gives the algebraic result needed $$-1b^n=-b^n$$



          For your example $b=3$ and $n=2$ gives $-1•3^2=-3^2$



          The left hand side being $-1•9=-9$



          The right hand side must be interpreted as $-(3•3) =-9$



          Thus the rule:




          The product of an even number of negative numbers is positive.



          The product of an odd number of negative numbers is negative.




          is not contradictory.



          To test your friend's understanding ask him to simplify:
          $$-3^{-2}$$






          share|cite|improve this answer











          $endgroup$









          • 7




            $begingroup$
            I was not one of the downvoters but I sympathize: this is an excellent answer to a very different question.
            $endgroup$
            – Eric Stucky
            Aug 3 '15 at 6:35



















          2












          $begingroup$

          So the Bible isn't the only book that can be completely misunderstood when passages are taken out of context. Nor is it the only book to contain contradictions. At least if you find a genuine contradiction in an algebra textbook you won't be accused of being a devil worshiper. However, you have not spotted a genuine contradiction here.



          I'm not bringing up biblical errancy just to be sensationalist. The Bible actually predates algebra, and our modern rules of operator precedence developed from an understanding of equations from words. Consider Fermat's famous conjecture, only recently proven:




          It is impossible for a cube to be the sum of two cubes, a fourth power to be the sum of two fourth powers, or in general for any number that is a power greater than the second to be the sum of two like powers.




          That's exactly how he wrote, though in Latin.



          Nowadays we say $x^3 + y^3 = z^3$ has no solutions. And we understand that you cube $x$ and you cube $y$ before adding them up and comparing them to $z^3$. You don't do $(x^3 + y)^3$ unless there are explicit parentheses actually placed like that, or if you're unaware of operator precedence.



          So when you see $0 - 3^2$, that's different from $(0 - 3)^2$. By our modern rules of operator precedence, $-3^2$ is the same as $0 - 3^2$ and therefore different from $(0 - 3)^2$.



          Lastly, you need to look at the context for that "if the exponent is even, the result it positive, and if the exponent is odd the result is negative." You will probably see something about the number to which the exponent is attached being negative. Then $(-3)^3 = -27$ but $3^3 = 27$.






          share|cite|improve this answer











          $endgroup$









          • 10




            $begingroup$
            This is an odd place for your Bible rant…
            $endgroup$
            – Akiva Weinberger
            Aug 4 '15 at 5:26










          • $begingroup$
            I will concede that the stuff about Zerubabbel is unnecessary.
            $endgroup$
            – Robert Soupe
            Aug 4 '15 at 12:28






          • 5




            $begingroup$
            We could also say it's an odd place to bring up Fermat's last theorem. But maybe Robert is detecting an attitude in the OP similar to how some atheists treat the Bible.
            $endgroup$
            – David R.
            Aug 4 '15 at 16:31










          • $begingroup$
            I think that what's really offended people here isn't the Bible stuff, but my failing to clearly defend the algebra textbook against the accusation of inconsistency.
            $endgroup$
            – Robert Soupe
            Aug 5 '15 at 4:12










          protected by Thomas Jul 4 '16 at 0:09



          Thank you for your interest in this question.
          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



          Would you like to answer one of these unanswered questions instead?














          10 Answers
          10






          active

          oldest

          votes








          10 Answers
          10






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          91












          $begingroup$

          $-x^2$, in every mathematical context I have seen, always means $-(x^2)$.
          So $-3^2 = -9$.



          On the other hand, when you plug in a value to an expression you don't just plug the symbols in directly, you add parentheses first. For example, if you plug in $x = y + 3$ to the expression $7x$, you get $7(y + 3) = 7y + 21$, not $7y + 3$. Similarly, plugging in $x = -3$ to the expression $x^2$ gives $(-3)^2 = 9$, not $-3^2 = -9$. So the book does not contradict itself.






          share|cite|improve this answer











          $endgroup$









          • 3




            $begingroup$
            In English we just call it PEMDAS (Parentheses->Exponents->Multiplication/Division->Addition/Subtraction) aka Order of Operations
            $endgroup$
            – MichaelChirico
            Aug 4 '15 at 15:02






          • 5




            $begingroup$
            @MichaelChirico Except there's no explicit mention in that list of the unary negation sign. Now, if it were $10 - x^2$, that would be covered by the order since it would be subtraction, but in the absence of a preceding value, that list is not explicit. (Probably the general rule to go by is consider unary negative as the same as $0 - x$, but that's an additional rule.)
            $endgroup$
            – jpmc26
            Aug 4 '15 at 21:41








          • 4




            $begingroup$
            @MichaelChirico You're saying that PEMDAS covers the details in this answer; I'm saying it doesn't.
            $endgroup$
            – jpmc26
            Aug 4 '15 at 21:50






          • 4




            $begingroup$
            Note, that unary minus (and regular minus) actually come before exponentiation when it's in the exponent! $3^{-2}$ means $3^{(-2)} = frac{1}{9}$. So sometimes it's before exponentiation, sometimes after. Ultimately, mathematical conventions have to be stated in a case-by-case way, and the cases can be complicated.
            $endgroup$
            – 6005
            Aug 4 '15 at 22:58








          • 6




            $begingroup$
            @MichaelChirico Because you brought up PEMDAS and said it was relevant to this answer. Which it isn't really.
            $endgroup$
            – 6005
            Aug 4 '15 at 22:59


















          91












          $begingroup$

          $-x^2$, in every mathematical context I have seen, always means $-(x^2)$.
          So $-3^2 = -9$.



          On the other hand, when you plug in a value to an expression you don't just plug the symbols in directly, you add parentheses first. For example, if you plug in $x = y + 3$ to the expression $7x$, you get $7(y + 3) = 7y + 21$, not $7y + 3$. Similarly, plugging in $x = -3$ to the expression $x^2$ gives $(-3)^2 = 9$, not $-3^2 = -9$. So the book does not contradict itself.






          share|cite|improve this answer











          $endgroup$









          • 3




            $begingroup$
            In English we just call it PEMDAS (Parentheses->Exponents->Multiplication/Division->Addition/Subtraction) aka Order of Operations
            $endgroup$
            – MichaelChirico
            Aug 4 '15 at 15:02






          • 5




            $begingroup$
            @MichaelChirico Except there's no explicit mention in that list of the unary negation sign. Now, if it were $10 - x^2$, that would be covered by the order since it would be subtraction, but in the absence of a preceding value, that list is not explicit. (Probably the general rule to go by is consider unary negative as the same as $0 - x$, but that's an additional rule.)
            $endgroup$
            – jpmc26
            Aug 4 '15 at 21:41








          • 4




            $begingroup$
            @MichaelChirico You're saying that PEMDAS covers the details in this answer; I'm saying it doesn't.
            $endgroup$
            – jpmc26
            Aug 4 '15 at 21:50






          • 4




            $begingroup$
            Note, that unary minus (and regular minus) actually come before exponentiation when it's in the exponent! $3^{-2}$ means $3^{(-2)} = frac{1}{9}$. So sometimes it's before exponentiation, sometimes after. Ultimately, mathematical conventions have to be stated in a case-by-case way, and the cases can be complicated.
            $endgroup$
            – 6005
            Aug 4 '15 at 22:58








          • 6




            $begingroup$
            @MichaelChirico Because you brought up PEMDAS and said it was relevant to this answer. Which it isn't really.
            $endgroup$
            – 6005
            Aug 4 '15 at 22:59
















          91












          91








          91





          $begingroup$

          $-x^2$, in every mathematical context I have seen, always means $-(x^2)$.
          So $-3^2 = -9$.



          On the other hand, when you plug in a value to an expression you don't just plug the symbols in directly, you add parentheses first. For example, if you plug in $x = y + 3$ to the expression $7x$, you get $7(y + 3) = 7y + 21$, not $7y + 3$. Similarly, plugging in $x = -3$ to the expression $x^2$ gives $(-3)^2 = 9$, not $-3^2 = -9$. So the book does not contradict itself.






          share|cite|improve this answer











          $endgroup$



          $-x^2$, in every mathematical context I have seen, always means $-(x^2)$.
          So $-3^2 = -9$.



          On the other hand, when you plug in a value to an expression you don't just plug the symbols in directly, you add parentheses first. For example, if you plug in $x = y + 3$ to the expression $7x$, you get $7(y + 3) = 7y + 21$, not $7y + 3$. Similarly, plugging in $x = -3$ to the expression $x^2$ gives $(-3)^2 = 9$, not $-3^2 = -9$. So the book does not contradict itself.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 20 '18 at 15:26









          Rodolfo Oviedo

          1034




          1034










          answered Aug 3 '15 at 4:27









          60056005

          37k752127




          37k752127








          • 3




            $begingroup$
            In English we just call it PEMDAS (Parentheses->Exponents->Multiplication/Division->Addition/Subtraction) aka Order of Operations
            $endgroup$
            – MichaelChirico
            Aug 4 '15 at 15:02






          • 5




            $begingroup$
            @MichaelChirico Except there's no explicit mention in that list of the unary negation sign. Now, if it were $10 - x^2$, that would be covered by the order since it would be subtraction, but in the absence of a preceding value, that list is not explicit. (Probably the general rule to go by is consider unary negative as the same as $0 - x$, but that's an additional rule.)
            $endgroup$
            – jpmc26
            Aug 4 '15 at 21:41








          • 4




            $begingroup$
            @MichaelChirico You're saying that PEMDAS covers the details in this answer; I'm saying it doesn't.
            $endgroup$
            – jpmc26
            Aug 4 '15 at 21:50






          • 4




            $begingroup$
            Note, that unary minus (and regular minus) actually come before exponentiation when it's in the exponent! $3^{-2}$ means $3^{(-2)} = frac{1}{9}$. So sometimes it's before exponentiation, sometimes after. Ultimately, mathematical conventions have to be stated in a case-by-case way, and the cases can be complicated.
            $endgroup$
            – 6005
            Aug 4 '15 at 22:58








          • 6




            $begingroup$
            @MichaelChirico Because you brought up PEMDAS and said it was relevant to this answer. Which it isn't really.
            $endgroup$
            – 6005
            Aug 4 '15 at 22:59
















          • 3




            $begingroup$
            In English we just call it PEMDAS (Parentheses->Exponents->Multiplication/Division->Addition/Subtraction) aka Order of Operations
            $endgroup$
            – MichaelChirico
            Aug 4 '15 at 15:02






          • 5




            $begingroup$
            @MichaelChirico Except there's no explicit mention in that list of the unary negation sign. Now, if it were $10 - x^2$, that would be covered by the order since it would be subtraction, but in the absence of a preceding value, that list is not explicit. (Probably the general rule to go by is consider unary negative as the same as $0 - x$, but that's an additional rule.)
            $endgroup$
            – jpmc26
            Aug 4 '15 at 21:41








          • 4




            $begingroup$
            @MichaelChirico You're saying that PEMDAS covers the details in this answer; I'm saying it doesn't.
            $endgroup$
            – jpmc26
            Aug 4 '15 at 21:50






          • 4




            $begingroup$
            Note, that unary minus (and regular minus) actually come before exponentiation when it's in the exponent! $3^{-2}$ means $3^{(-2)} = frac{1}{9}$. So sometimes it's before exponentiation, sometimes after. Ultimately, mathematical conventions have to be stated in a case-by-case way, and the cases can be complicated.
            $endgroup$
            – 6005
            Aug 4 '15 at 22:58








          • 6




            $begingroup$
            @MichaelChirico Because you brought up PEMDAS and said it was relevant to this answer. Which it isn't really.
            $endgroup$
            – 6005
            Aug 4 '15 at 22:59










          3




          3




          $begingroup$
          In English we just call it PEMDAS (Parentheses->Exponents->Multiplication/Division->Addition/Subtraction) aka Order of Operations
          $endgroup$
          – MichaelChirico
          Aug 4 '15 at 15:02




          $begingroup$
          In English we just call it PEMDAS (Parentheses->Exponents->Multiplication/Division->Addition/Subtraction) aka Order of Operations
          $endgroup$
          – MichaelChirico
          Aug 4 '15 at 15:02




          5




          5




          $begingroup$
          @MichaelChirico Except there's no explicit mention in that list of the unary negation sign. Now, if it were $10 - x^2$, that would be covered by the order since it would be subtraction, but in the absence of a preceding value, that list is not explicit. (Probably the general rule to go by is consider unary negative as the same as $0 - x$, but that's an additional rule.)
          $endgroup$
          – jpmc26
          Aug 4 '15 at 21:41






          $begingroup$
          @MichaelChirico Except there's no explicit mention in that list of the unary negation sign. Now, if it were $10 - x^2$, that would be covered by the order since it would be subtraction, but in the absence of a preceding value, that list is not explicit. (Probably the general rule to go by is consider unary negative as the same as $0 - x$, but that's an additional rule.)
          $endgroup$
          – jpmc26
          Aug 4 '15 at 21:41






          4




          4




          $begingroup$
          @MichaelChirico You're saying that PEMDAS covers the details in this answer; I'm saying it doesn't.
          $endgroup$
          – jpmc26
          Aug 4 '15 at 21:50




          $begingroup$
          @MichaelChirico You're saying that PEMDAS covers the details in this answer; I'm saying it doesn't.
          $endgroup$
          – jpmc26
          Aug 4 '15 at 21:50




          4




          4




          $begingroup$
          Note, that unary minus (and regular minus) actually come before exponentiation when it's in the exponent! $3^{-2}$ means $3^{(-2)} = frac{1}{9}$. So sometimes it's before exponentiation, sometimes after. Ultimately, mathematical conventions have to be stated in a case-by-case way, and the cases can be complicated.
          $endgroup$
          – 6005
          Aug 4 '15 at 22:58






          $begingroup$
          Note, that unary minus (and regular minus) actually come before exponentiation when it's in the exponent! $3^{-2}$ means $3^{(-2)} = frac{1}{9}$. So sometimes it's before exponentiation, sometimes after. Ultimately, mathematical conventions have to be stated in a case-by-case way, and the cases can be complicated.
          $endgroup$
          – 6005
          Aug 4 '15 at 22:58






          6




          6




          $begingroup$
          @MichaelChirico Because you brought up PEMDAS and said it was relevant to this answer. Which it isn't really.
          $endgroup$
          – 6005
          Aug 4 '15 at 22:59






          $begingroup$
          @MichaelChirico Because you brought up PEMDAS and said it was relevant to this answer. Which it isn't really.
          $endgroup$
          – 6005
          Aug 4 '15 at 22:59













          23












          $begingroup$

          $-3^2$ is always $-9$. There's no ambiguity. And the odd/even rule is also true! $x^n$ is always nonnegative when $n$ is even, and $x^n$ is the same sign as $x$ when $n$ is odd (when $x$ is real).



          There's no contradiction, because "$-3^2$" isn't actually of the form $x^n$. See, $x^n$, when you substitute $x=-3$ and $n=2$, gives you "$(-3)^2$," not "$-3^2$." Remember, when you substitute in, you always need parentheses.





          Why do we need parentheses? I'll give an example.




          • What is $7-x$, when $x=2$?


          The answer is $7-2=5$.



          And now, the same question, reworded:




          • What is $7-x$, when $x=4-2$?


          Why is this the same question? Because $4-2$ is the same thing as $2$. That means that we should get the same answer. And yet:
          $$7-4-2=3-2=1,$$
          a different answer! The only way to get the answers to agree is to write $7-(4-2)=7-2=5$. So we see that, in this example, we needed parentheses.



          It turns out that when we put in the parentheses, we always get the right answer, and we've just seen that leaving them out can get you the wrong answer. This means that you need to put in the parentheses.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            (So your book is correct. Despite the fact that $-3^2ne9$.)
            $endgroup$
            – Akiva Weinberger
            Aug 3 '15 at 6:15






          • 3




            $begingroup$
            "always" is a little strong. Try -3^2 in MSExcel
            $endgroup$
            – Henry
            Aug 5 '15 at 14:57










          • $begingroup$
            @Henry In google spreadsheets, too....
            $endgroup$
            – 6005
            Sep 2 '16 at 18:02
















          23












          $begingroup$

          $-3^2$ is always $-9$. There's no ambiguity. And the odd/even rule is also true! $x^n$ is always nonnegative when $n$ is even, and $x^n$ is the same sign as $x$ when $n$ is odd (when $x$ is real).



          There's no contradiction, because "$-3^2$" isn't actually of the form $x^n$. See, $x^n$, when you substitute $x=-3$ and $n=2$, gives you "$(-3)^2$," not "$-3^2$." Remember, when you substitute in, you always need parentheses.





          Why do we need parentheses? I'll give an example.




          • What is $7-x$, when $x=2$?


          The answer is $7-2=5$.



          And now, the same question, reworded:




          • What is $7-x$, when $x=4-2$?


          Why is this the same question? Because $4-2$ is the same thing as $2$. That means that we should get the same answer. And yet:
          $$7-4-2=3-2=1,$$
          a different answer! The only way to get the answers to agree is to write $7-(4-2)=7-2=5$. So we see that, in this example, we needed parentheses.



          It turns out that when we put in the parentheses, we always get the right answer, and we've just seen that leaving them out can get you the wrong answer. This means that you need to put in the parentheses.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            (So your book is correct. Despite the fact that $-3^2ne9$.)
            $endgroup$
            – Akiva Weinberger
            Aug 3 '15 at 6:15






          • 3




            $begingroup$
            "always" is a little strong. Try -3^2 in MSExcel
            $endgroup$
            – Henry
            Aug 5 '15 at 14:57










          • $begingroup$
            @Henry In google spreadsheets, too....
            $endgroup$
            – 6005
            Sep 2 '16 at 18:02














          23












          23








          23





          $begingroup$

          $-3^2$ is always $-9$. There's no ambiguity. And the odd/even rule is also true! $x^n$ is always nonnegative when $n$ is even, and $x^n$ is the same sign as $x$ when $n$ is odd (when $x$ is real).



          There's no contradiction, because "$-3^2$" isn't actually of the form $x^n$. See, $x^n$, when you substitute $x=-3$ and $n=2$, gives you "$(-3)^2$," not "$-3^2$." Remember, when you substitute in, you always need parentheses.





          Why do we need parentheses? I'll give an example.




          • What is $7-x$, when $x=2$?


          The answer is $7-2=5$.



          And now, the same question, reworded:




          • What is $7-x$, when $x=4-2$?


          Why is this the same question? Because $4-2$ is the same thing as $2$. That means that we should get the same answer. And yet:
          $$7-4-2=3-2=1,$$
          a different answer! The only way to get the answers to agree is to write $7-(4-2)=7-2=5$. So we see that, in this example, we needed parentheses.



          It turns out that when we put in the parentheses, we always get the right answer, and we've just seen that leaving them out can get you the wrong answer. This means that you need to put in the parentheses.






          share|cite|improve this answer









          $endgroup$



          $-3^2$ is always $-9$. There's no ambiguity. And the odd/even rule is also true! $x^n$ is always nonnegative when $n$ is even, and $x^n$ is the same sign as $x$ when $n$ is odd (when $x$ is real).



          There's no contradiction, because "$-3^2$" isn't actually of the form $x^n$. See, $x^n$, when you substitute $x=-3$ and $n=2$, gives you "$(-3)^2$," not "$-3^2$." Remember, when you substitute in, you always need parentheses.





          Why do we need parentheses? I'll give an example.




          • What is $7-x$, when $x=2$?


          The answer is $7-2=5$.



          And now, the same question, reworded:




          • What is $7-x$, when $x=4-2$?


          Why is this the same question? Because $4-2$ is the same thing as $2$. That means that we should get the same answer. And yet:
          $$7-4-2=3-2=1,$$
          a different answer! The only way to get the answers to agree is to write $7-(4-2)=7-2=5$. So we see that, in this example, we needed parentheses.



          It turns out that when we put in the parentheses, we always get the right answer, and we've just seen that leaving them out can get you the wrong answer. This means that you need to put in the parentheses.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 3 '15 at 6:11









          Akiva WeinbergerAkiva Weinberger

          13.9k12268




          13.9k12268












          • $begingroup$
            (So your book is correct. Despite the fact that $-3^2ne9$.)
            $endgroup$
            – Akiva Weinberger
            Aug 3 '15 at 6:15






          • 3




            $begingroup$
            "always" is a little strong. Try -3^2 in MSExcel
            $endgroup$
            – Henry
            Aug 5 '15 at 14:57










          • $begingroup$
            @Henry In google spreadsheets, too....
            $endgroup$
            – 6005
            Sep 2 '16 at 18:02


















          • $begingroup$
            (So your book is correct. Despite the fact that $-3^2ne9$.)
            $endgroup$
            – Akiva Weinberger
            Aug 3 '15 at 6:15






          • 3




            $begingroup$
            "always" is a little strong. Try -3^2 in MSExcel
            $endgroup$
            – Henry
            Aug 5 '15 at 14:57










          • $begingroup$
            @Henry In google spreadsheets, too....
            $endgroup$
            – 6005
            Sep 2 '16 at 18:02
















          $begingroup$
          (So your book is correct. Despite the fact that $-3^2ne9$.)
          $endgroup$
          – Akiva Weinberger
          Aug 3 '15 at 6:15




          $begingroup$
          (So your book is correct. Despite the fact that $-3^2ne9$.)
          $endgroup$
          – Akiva Weinberger
          Aug 3 '15 at 6:15




          3




          3




          $begingroup$
          "always" is a little strong. Try -3^2 in MSExcel
          $endgroup$
          – Henry
          Aug 5 '15 at 14:57




          $begingroup$
          "always" is a little strong. Try -3^2 in MSExcel
          $endgroup$
          – Henry
          Aug 5 '15 at 14:57












          $begingroup$
          @Henry In google spreadsheets, too....
          $endgroup$
          – 6005
          Sep 2 '16 at 18:02




          $begingroup$
          @Henry In google spreadsheets, too....
          $endgroup$
          – 6005
          Sep 2 '16 at 18:02











          15












          $begingroup$

          6005 already explained why they don't contradict themselves. As an alternative answer to the first part of the question, "higher order" operators usually take precedence: exponentiation is applied before multiplication, which again is applied before subtraction. Whether you interpret unary minus in $-x$ to be $0-x$ or $(0-1)∙x$ it then follows that $-x^2$ should be calculated as $-(x^2)$.






          share|cite|improve this answer











          $endgroup$









          • 4




            $begingroup$
            Finally someone mentioning operator precedence!
            $endgroup$
            – fuenfundachtzig
            Aug 3 '15 at 18:30
















          15












          $begingroup$

          6005 already explained why they don't contradict themselves. As an alternative answer to the first part of the question, "higher order" operators usually take precedence: exponentiation is applied before multiplication, which again is applied before subtraction. Whether you interpret unary minus in $-x$ to be $0-x$ or $(0-1)∙x$ it then follows that $-x^2$ should be calculated as $-(x^2)$.






          share|cite|improve this answer











          $endgroup$









          • 4




            $begingroup$
            Finally someone mentioning operator precedence!
            $endgroup$
            – fuenfundachtzig
            Aug 3 '15 at 18:30














          15












          15








          15





          $begingroup$

          6005 already explained why they don't contradict themselves. As an alternative answer to the first part of the question, "higher order" operators usually take precedence: exponentiation is applied before multiplication, which again is applied before subtraction. Whether you interpret unary minus in $-x$ to be $0-x$ or $(0-1)∙x$ it then follows that $-x^2$ should be calculated as $-(x^2)$.






          share|cite|improve this answer











          $endgroup$



          6005 already explained why they don't contradict themselves. As an alternative answer to the first part of the question, "higher order" operators usually take precedence: exponentiation is applied before multiplication, which again is applied before subtraction. Whether you interpret unary minus in $-x$ to be $0-x$ or $(0-1)∙x$ it then follows that $-x^2$ should be calculated as $-(x^2)$.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Aug 3 '15 at 9:49

























          answered Aug 3 '15 at 8:16









          l0b0l0b0

          359110




          359110








          • 4




            $begingroup$
            Finally someone mentioning operator precedence!
            $endgroup$
            – fuenfundachtzig
            Aug 3 '15 at 18:30














          • 4




            $begingroup$
            Finally someone mentioning operator precedence!
            $endgroup$
            – fuenfundachtzig
            Aug 3 '15 at 18:30








          4




          4




          $begingroup$
          Finally someone mentioning operator precedence!
          $endgroup$
          – fuenfundachtzig
          Aug 3 '15 at 18:30




          $begingroup$
          Finally someone mentioning operator precedence!
          $endgroup$
          – fuenfundachtzig
          Aug 3 '15 at 18:30











          8












          $begingroup$

          It's not a matter of syntax, it's a matter of operator precedence. In the absence of parentheses, exponentiation is executed first, then negation. Try this in Wolfram Alpha: -3^2. Then try (-3)^2. We have long agreed on these rules so that computers deliver consistent results on calculations involving various different arithmetic operations.



          As for the odd-negative/even-positive thing, that only applies if the base is negative. Observe for example:




          • $(-2)^2 = (-2) times (-2) = 4$

          • $(-2)^3 = (-2) times (-2) times (-2) = -8$

          • $(-2)^4 = (-2) times (-2) times (-2) times (-2) = 16$

          • $(-2)^5 = (-2) times (-2) times (-2) times (-2) times (-2) = -32$


          See also this Sloane's A122803.






          share|cite|improve this answer









          $endgroup$


















            8












            $begingroup$

            It's not a matter of syntax, it's a matter of operator precedence. In the absence of parentheses, exponentiation is executed first, then negation. Try this in Wolfram Alpha: -3^2. Then try (-3)^2. We have long agreed on these rules so that computers deliver consistent results on calculations involving various different arithmetic operations.



            As for the odd-negative/even-positive thing, that only applies if the base is negative. Observe for example:




            • $(-2)^2 = (-2) times (-2) = 4$

            • $(-2)^3 = (-2) times (-2) times (-2) = -8$

            • $(-2)^4 = (-2) times (-2) times (-2) times (-2) = 16$

            • $(-2)^5 = (-2) times (-2) times (-2) times (-2) times (-2) = -32$


            See also this Sloane's A122803.






            share|cite|improve this answer









            $endgroup$
















              8












              8








              8





              $begingroup$

              It's not a matter of syntax, it's a matter of operator precedence. In the absence of parentheses, exponentiation is executed first, then negation. Try this in Wolfram Alpha: -3^2. Then try (-3)^2. We have long agreed on these rules so that computers deliver consistent results on calculations involving various different arithmetic operations.



              As for the odd-negative/even-positive thing, that only applies if the base is negative. Observe for example:




              • $(-2)^2 = (-2) times (-2) = 4$

              • $(-2)^3 = (-2) times (-2) times (-2) = -8$

              • $(-2)^4 = (-2) times (-2) times (-2) times (-2) = 16$

              • $(-2)^5 = (-2) times (-2) times (-2) times (-2) times (-2) = -32$


              See also this Sloane's A122803.






              share|cite|improve this answer









              $endgroup$



              It's not a matter of syntax, it's a matter of operator precedence. In the absence of parentheses, exponentiation is executed first, then negation. Try this in Wolfram Alpha: -3^2. Then try (-3)^2. We have long agreed on these rules so that computers deliver consistent results on calculations involving various different arithmetic operations.



              As for the odd-negative/even-positive thing, that only applies if the base is negative. Observe for example:




              • $(-2)^2 = (-2) times (-2) = 4$

              • $(-2)^3 = (-2) times (-2) times (-2) = -8$

              • $(-2)^4 = (-2) times (-2) times (-2) times (-2) = 16$

              • $(-2)^5 = (-2) times (-2) times (-2) times (-2) times (-2) = -32$


              See also this Sloane's A122803.







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Aug 3 '15 at 21:13









              Bob HappBob Happ

              2941222




              2941222























                  5












                  $begingroup$

                  The accepted syntax is one that goes by the standard rules of operator precedence and associativity that most mathematicians, scientists and computer programmers have followed for decades if not centuries.



                  Then, given $$-3^2 = -9$$ the squaring is done first, giving us $9$, and the negation is done second, resulting in $-9$. If instead you have $$(-3)^2 = 9$$ then it's clear that you multiply $3$ by $-1$ first and then you square it, giving $9$ as expected.



                  Of course computer programmers are human and they make mistakes. Sometimes you might find that your C++ program is not giving you the right results. (It doesn't help that the C++ operator ^ does something else anyway).



                  There are mistakes in your algebra book but the one you quote is not one of them. You failed to give a complete quotation. With a complete quote, we'd see that they're talking about negative numbers raised to odd or even exponents.






                  share|cite|improve this answer









                  $endgroup$


















                    5












                    $begingroup$

                    The accepted syntax is one that goes by the standard rules of operator precedence and associativity that most mathematicians, scientists and computer programmers have followed for decades if not centuries.



                    Then, given $$-3^2 = -9$$ the squaring is done first, giving us $9$, and the negation is done second, resulting in $-9$. If instead you have $$(-3)^2 = 9$$ then it's clear that you multiply $3$ by $-1$ first and then you square it, giving $9$ as expected.



                    Of course computer programmers are human and they make mistakes. Sometimes you might find that your C++ program is not giving you the right results. (It doesn't help that the C++ operator ^ does something else anyway).



                    There are mistakes in your algebra book but the one you quote is not one of them. You failed to give a complete quotation. With a complete quote, we'd see that they're talking about negative numbers raised to odd or even exponents.






                    share|cite|improve this answer









                    $endgroup$
















                      5












                      5








                      5





                      $begingroup$

                      The accepted syntax is one that goes by the standard rules of operator precedence and associativity that most mathematicians, scientists and computer programmers have followed for decades if not centuries.



                      Then, given $$-3^2 = -9$$ the squaring is done first, giving us $9$, and the negation is done second, resulting in $-9$. If instead you have $$(-3)^2 = 9$$ then it's clear that you multiply $3$ by $-1$ first and then you square it, giving $9$ as expected.



                      Of course computer programmers are human and they make mistakes. Sometimes you might find that your C++ program is not giving you the right results. (It doesn't help that the C++ operator ^ does something else anyway).



                      There are mistakes in your algebra book but the one you quote is not one of them. You failed to give a complete quotation. With a complete quote, we'd see that they're talking about negative numbers raised to odd or even exponents.






                      share|cite|improve this answer









                      $endgroup$



                      The accepted syntax is one that goes by the standard rules of operator precedence and associativity that most mathematicians, scientists and computer programmers have followed for decades if not centuries.



                      Then, given $$-3^2 = -9$$ the squaring is done first, giving us $9$, and the negation is done second, resulting in $-9$. If instead you have $$(-3)^2 = 9$$ then it's clear that you multiply $3$ by $-1$ first and then you square it, giving $9$ as expected.



                      Of course computer programmers are human and they make mistakes. Sometimes you might find that your C++ program is not giving you the right results. (It doesn't help that the C++ operator ^ does something else anyway).



                      There are mistakes in your algebra book but the one you quote is not one of them. You failed to give a complete quotation. With a complete quote, we'd see that they're talking about negative numbers raised to odd or even exponents.







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Aug 4 '15 at 22:04









                      James47James47

                      256219




                      256219























                          4












                          $begingroup$

                          The best answer I can give is that there is no accepted syntax because it creates sufficient ambiguity to cause problems. Thus the rule should be: only use $-3^2$ if it is completely unambiguous what is meant due to context, otherwise use $(-3)^2$ or $-(3^2)$ to provide readers with unambiguous resolution.



                          I have seen, in typesetting, the use of a smaller negative sign when doing unary negation of numbers, such as $^-3^2$. If rendered this way, it would be reasonable to assume $^-3^2 equiv (^-3)^2$.



                          A similarly confusing case could be $1 + -3^2$, which is hard to convert into a a form that PEMDAS will help with. In that particular syntax, I would be more likely to assume they intended $(-3)^2$, due to context.



                          One other approach could be to look at related disciplines. When I look at the syntaxes in MATLAB, Mathmatica, and R, all of them have exponentiation before negation (meaning $-3^2 equiv -(3^2)$). If one were to take those languages as "definitive" for mathematics, one could assume the syntax is unambiguous. Personally, I would not try. I've seen enough "what does $6 / 3(2)$ equal" memes going around Facebook. I don't want to make more.






                          share|cite|improve this answer









                          $endgroup$


















                            4












                            $begingroup$

                            The best answer I can give is that there is no accepted syntax because it creates sufficient ambiguity to cause problems. Thus the rule should be: only use $-3^2$ if it is completely unambiguous what is meant due to context, otherwise use $(-3)^2$ or $-(3^2)$ to provide readers with unambiguous resolution.



                            I have seen, in typesetting, the use of a smaller negative sign when doing unary negation of numbers, such as $^-3^2$. If rendered this way, it would be reasonable to assume $^-3^2 equiv (^-3)^2$.



                            A similarly confusing case could be $1 + -3^2$, which is hard to convert into a a form that PEMDAS will help with. In that particular syntax, I would be more likely to assume they intended $(-3)^2$, due to context.



                            One other approach could be to look at related disciplines. When I look at the syntaxes in MATLAB, Mathmatica, and R, all of them have exponentiation before negation (meaning $-3^2 equiv -(3^2)$). If one were to take those languages as "definitive" for mathematics, one could assume the syntax is unambiguous. Personally, I would not try. I've seen enough "what does $6 / 3(2)$ equal" memes going around Facebook. I don't want to make more.






                            share|cite|improve this answer









                            $endgroup$
















                              4












                              4








                              4





                              $begingroup$

                              The best answer I can give is that there is no accepted syntax because it creates sufficient ambiguity to cause problems. Thus the rule should be: only use $-3^2$ if it is completely unambiguous what is meant due to context, otherwise use $(-3)^2$ or $-(3^2)$ to provide readers with unambiguous resolution.



                              I have seen, in typesetting, the use of a smaller negative sign when doing unary negation of numbers, such as $^-3^2$. If rendered this way, it would be reasonable to assume $^-3^2 equiv (^-3)^2$.



                              A similarly confusing case could be $1 + -3^2$, which is hard to convert into a a form that PEMDAS will help with. In that particular syntax, I would be more likely to assume they intended $(-3)^2$, due to context.



                              One other approach could be to look at related disciplines. When I look at the syntaxes in MATLAB, Mathmatica, and R, all of them have exponentiation before negation (meaning $-3^2 equiv -(3^2)$). If one were to take those languages as "definitive" for mathematics, one could assume the syntax is unambiguous. Personally, I would not try. I've seen enough "what does $6 / 3(2)$ equal" memes going around Facebook. I don't want to make more.






                              share|cite|improve this answer









                              $endgroup$



                              The best answer I can give is that there is no accepted syntax because it creates sufficient ambiguity to cause problems. Thus the rule should be: only use $-3^2$ if it is completely unambiguous what is meant due to context, otherwise use $(-3)^2$ or $-(3^2)$ to provide readers with unambiguous resolution.



                              I have seen, in typesetting, the use of a smaller negative sign when doing unary negation of numbers, such as $^-3^2$. If rendered this way, it would be reasonable to assume $^-3^2 equiv (^-3)^2$.



                              A similarly confusing case could be $1 + -3^2$, which is hard to convert into a a form that PEMDAS will help with. In that particular syntax, I would be more likely to assume they intended $(-3)^2$, due to context.



                              One other approach could be to look at related disciplines. When I look at the syntaxes in MATLAB, Mathmatica, and R, all of them have exponentiation before negation (meaning $-3^2 equiv -(3^2)$). If one were to take those languages as "definitive" for mathematics, one could assume the syntax is unambiguous. Personally, I would not try. I've seen enough "what does $6 / 3(2)$ equal" memes going around Facebook. I don't want to make more.







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered Aug 5 '15 at 0:44









                              Cort AmmonCort Ammon

                              2,451716




                              2,451716























                                  4












                                  $begingroup$

                                  To round out the answers, one might wonder why we chose to order operations so that $-3^2$ means $-(3^2)$ rather than $(-3)^2$.



                                  A very simple reason is that if we mean to say $(-3)^2$, we have an alternate — and simpler — way to express the same value that we would prefer to use in most circumstances: $3^2$



                                  However, if we mean to say $-(3^2)$, we don't have a correspond alternative.



                                  Thus, the convention where $-3^2$ means $-(3^2)$ is simply more useful than the alternative.






                                  share|cite|improve this answer









                                  $endgroup$


















                                    4












                                    $begingroup$

                                    To round out the answers, one might wonder why we chose to order operations so that $-3^2$ means $-(3^2)$ rather than $(-3)^2$.



                                    A very simple reason is that if we mean to say $(-3)^2$, we have an alternate — and simpler — way to express the same value that we would prefer to use in most circumstances: $3^2$



                                    However, if we mean to say $-(3^2)$, we don't have a correspond alternative.



                                    Thus, the convention where $-3^2$ means $-(3^2)$ is simply more useful than the alternative.






                                    share|cite|improve this answer









                                    $endgroup$
















                                      4












                                      4








                                      4





                                      $begingroup$

                                      To round out the answers, one might wonder why we chose to order operations so that $-3^2$ means $-(3^2)$ rather than $(-3)^2$.



                                      A very simple reason is that if we mean to say $(-3)^2$, we have an alternate — and simpler — way to express the same value that we would prefer to use in most circumstances: $3^2$



                                      However, if we mean to say $-(3^2)$, we don't have a correspond alternative.



                                      Thus, the convention where $-3^2$ means $-(3^2)$ is simply more useful than the alternative.






                                      share|cite|improve this answer









                                      $endgroup$



                                      To round out the answers, one might wonder why we chose to order operations so that $-3^2$ means $-(3^2)$ rather than $(-3)^2$.



                                      A very simple reason is that if we mean to say $(-3)^2$, we have an alternate — and simpler — way to express the same value that we would prefer to use in most circumstances: $3^2$



                                      However, if we mean to say $-(3^2)$, we don't have a correspond alternative.



                                      Thus, the convention where $-3^2$ means $-(3^2)$ is simply more useful than the alternative.







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Jul 4 '16 at 0:01









                                      HurkylHurkyl

                                      112k9120263




                                      112k9120263























                                          3












                                          $begingroup$

                                          If you want a definitive answer then why not try seeing what Excel (sic) does with it....



                                          As other answers have indicated, the problem comes with the distintion between the unary minus and the two term minus operator, along with how the minus operator should be attached (i.e. the implied parentheses/brackets) to a symbol, versus what to do with a (positive without a + sign) numeric value.



                                          Ultimately it's a matter of local convention, and corresponding confusion.



                                          Excel thinks it's -9; And there are many web pages about this problem causing confusion in spreadsheet results (other Excel issues are available;-).






                                          share|cite|improve this answer









                                          $endgroup$













                                          • $begingroup$
                                            Don't forget to read it all before down voting ;-) An extra issue that in half the cases the minus sign is in fact part of the number, rather than being an operator...
                                            $endgroup$
                                            – Philip Oakley
                                            Aug 7 '15 at 20:09






                                          • 1




                                            $begingroup$
                                            I'm upvoting, but I'm kind of rare in that I don't downvote just because there is one tiny flaw in the answer, or in some cases some people downvote because of very minor philosophical disagreements.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 8 '15 at 2:01










                                          • $begingroup$
                                            @RobertSoupe Thanks. I'd suspected that was the likely reason - maybe I shouldn't have started by mentioning Excel as if it is a mathematician's point of reference;-)
                                            $endgroup$
                                            – Philip Oakley
                                            Aug 8 '15 at 20:16










                                          • $begingroup$
                                            Indeed. You can't take that kind of pettiness personally, life's too short.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 9 '15 at 1:27










                                          • $begingroup$
                                            Actually, for Excel, =-3^2 results in positive 9, which is mathematically wrong according usual conventions.
                                            $endgroup$
                                            – Rodolfo Oviedo
                                            Dec 20 '18 at 14:14
















                                          3












                                          $begingroup$

                                          If you want a definitive answer then why not try seeing what Excel (sic) does with it....



                                          As other answers have indicated, the problem comes with the distintion between the unary minus and the two term minus operator, along with how the minus operator should be attached (i.e. the implied parentheses/brackets) to a symbol, versus what to do with a (positive without a + sign) numeric value.



                                          Ultimately it's a matter of local convention, and corresponding confusion.



                                          Excel thinks it's -9; And there are many web pages about this problem causing confusion in spreadsheet results (other Excel issues are available;-).






                                          share|cite|improve this answer









                                          $endgroup$













                                          • $begingroup$
                                            Don't forget to read it all before down voting ;-) An extra issue that in half the cases the minus sign is in fact part of the number, rather than being an operator...
                                            $endgroup$
                                            – Philip Oakley
                                            Aug 7 '15 at 20:09






                                          • 1




                                            $begingroup$
                                            I'm upvoting, but I'm kind of rare in that I don't downvote just because there is one tiny flaw in the answer, or in some cases some people downvote because of very minor philosophical disagreements.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 8 '15 at 2:01










                                          • $begingroup$
                                            @RobertSoupe Thanks. I'd suspected that was the likely reason - maybe I shouldn't have started by mentioning Excel as if it is a mathematician's point of reference;-)
                                            $endgroup$
                                            – Philip Oakley
                                            Aug 8 '15 at 20:16










                                          • $begingroup$
                                            Indeed. You can't take that kind of pettiness personally, life's too short.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 9 '15 at 1:27










                                          • $begingroup$
                                            Actually, for Excel, =-3^2 results in positive 9, which is mathematically wrong according usual conventions.
                                            $endgroup$
                                            – Rodolfo Oviedo
                                            Dec 20 '18 at 14:14














                                          3












                                          3








                                          3





                                          $begingroup$

                                          If you want a definitive answer then why not try seeing what Excel (sic) does with it....



                                          As other answers have indicated, the problem comes with the distintion between the unary minus and the two term minus operator, along with how the minus operator should be attached (i.e. the implied parentheses/brackets) to a symbol, versus what to do with a (positive without a + sign) numeric value.



                                          Ultimately it's a matter of local convention, and corresponding confusion.



                                          Excel thinks it's -9; And there are many web pages about this problem causing confusion in spreadsheet results (other Excel issues are available;-).






                                          share|cite|improve this answer









                                          $endgroup$



                                          If you want a definitive answer then why not try seeing what Excel (sic) does with it....



                                          As other answers have indicated, the problem comes with the distintion between the unary minus and the two term minus operator, along with how the minus operator should be attached (i.e. the implied parentheses/brackets) to a symbol, versus what to do with a (positive without a + sign) numeric value.



                                          Ultimately it's a matter of local convention, and corresponding confusion.



                                          Excel thinks it's -9; And there are many web pages about this problem causing confusion in spreadsheet results (other Excel issues are available;-).







                                          share|cite|improve this answer












                                          share|cite|improve this answer



                                          share|cite|improve this answer










                                          answered Aug 5 '15 at 14:54









                                          Philip OakleyPhilip Oakley

                                          529311




                                          529311












                                          • $begingroup$
                                            Don't forget to read it all before down voting ;-) An extra issue that in half the cases the minus sign is in fact part of the number, rather than being an operator...
                                            $endgroup$
                                            – Philip Oakley
                                            Aug 7 '15 at 20:09






                                          • 1




                                            $begingroup$
                                            I'm upvoting, but I'm kind of rare in that I don't downvote just because there is one tiny flaw in the answer, or in some cases some people downvote because of very minor philosophical disagreements.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 8 '15 at 2:01










                                          • $begingroup$
                                            @RobertSoupe Thanks. I'd suspected that was the likely reason - maybe I shouldn't have started by mentioning Excel as if it is a mathematician's point of reference;-)
                                            $endgroup$
                                            – Philip Oakley
                                            Aug 8 '15 at 20:16










                                          • $begingroup$
                                            Indeed. You can't take that kind of pettiness personally, life's too short.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 9 '15 at 1:27










                                          • $begingroup$
                                            Actually, for Excel, =-3^2 results in positive 9, which is mathematically wrong according usual conventions.
                                            $endgroup$
                                            – Rodolfo Oviedo
                                            Dec 20 '18 at 14:14


















                                          • $begingroup$
                                            Don't forget to read it all before down voting ;-) An extra issue that in half the cases the minus sign is in fact part of the number, rather than being an operator...
                                            $endgroup$
                                            – Philip Oakley
                                            Aug 7 '15 at 20:09






                                          • 1




                                            $begingroup$
                                            I'm upvoting, but I'm kind of rare in that I don't downvote just because there is one tiny flaw in the answer, or in some cases some people downvote because of very minor philosophical disagreements.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 8 '15 at 2:01










                                          • $begingroup$
                                            @RobertSoupe Thanks. I'd suspected that was the likely reason - maybe I shouldn't have started by mentioning Excel as if it is a mathematician's point of reference;-)
                                            $endgroup$
                                            – Philip Oakley
                                            Aug 8 '15 at 20:16










                                          • $begingroup$
                                            Indeed. You can't take that kind of pettiness personally, life's too short.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 9 '15 at 1:27










                                          • $begingroup$
                                            Actually, for Excel, =-3^2 results in positive 9, which is mathematically wrong according usual conventions.
                                            $endgroup$
                                            – Rodolfo Oviedo
                                            Dec 20 '18 at 14:14
















                                          $begingroup$
                                          Don't forget to read it all before down voting ;-) An extra issue that in half the cases the minus sign is in fact part of the number, rather than being an operator...
                                          $endgroup$
                                          – Philip Oakley
                                          Aug 7 '15 at 20:09




                                          $begingroup$
                                          Don't forget to read it all before down voting ;-) An extra issue that in half the cases the minus sign is in fact part of the number, rather than being an operator...
                                          $endgroup$
                                          – Philip Oakley
                                          Aug 7 '15 at 20:09




                                          1




                                          1




                                          $begingroup$
                                          I'm upvoting, but I'm kind of rare in that I don't downvote just because there is one tiny flaw in the answer, or in some cases some people downvote because of very minor philosophical disagreements.
                                          $endgroup$
                                          – Robert Soupe
                                          Aug 8 '15 at 2:01




                                          $begingroup$
                                          I'm upvoting, but I'm kind of rare in that I don't downvote just because there is one tiny flaw in the answer, or in some cases some people downvote because of very minor philosophical disagreements.
                                          $endgroup$
                                          – Robert Soupe
                                          Aug 8 '15 at 2:01












                                          $begingroup$
                                          @RobertSoupe Thanks. I'd suspected that was the likely reason - maybe I shouldn't have started by mentioning Excel as if it is a mathematician's point of reference;-)
                                          $endgroup$
                                          – Philip Oakley
                                          Aug 8 '15 at 20:16




                                          $begingroup$
                                          @RobertSoupe Thanks. I'd suspected that was the likely reason - maybe I shouldn't have started by mentioning Excel as if it is a mathematician's point of reference;-)
                                          $endgroup$
                                          – Philip Oakley
                                          Aug 8 '15 at 20:16












                                          $begingroup$
                                          Indeed. You can't take that kind of pettiness personally, life's too short.
                                          $endgroup$
                                          – Robert Soupe
                                          Aug 9 '15 at 1:27




                                          $begingroup$
                                          Indeed. You can't take that kind of pettiness personally, life's too short.
                                          $endgroup$
                                          – Robert Soupe
                                          Aug 9 '15 at 1:27












                                          $begingroup$
                                          Actually, for Excel, =-3^2 results in positive 9, which is mathematically wrong according usual conventions.
                                          $endgroup$
                                          – Rodolfo Oviedo
                                          Dec 20 '18 at 14:14




                                          $begingroup$
                                          Actually, for Excel, =-3^2 results in positive 9, which is mathematically wrong according usual conventions.
                                          $endgroup$
                                          – Rodolfo Oviedo
                                          Dec 20 '18 at 14:14











                                          3












                                          $begingroup$

                                          In the context of an algebra class I believe an algebraic proof will suffice:
                                          $$-1a=-a$$this property is given before exponents are introduced.



                                          Now making the substitution $a=b^n$ gives the algebraic result needed $$-1b^n=-b^n$$



                                          For your example $b=3$ and $n=2$ gives $-1•3^2=-3^2$



                                          The left hand side being $-1•9=-9$



                                          The right hand side must be interpreted as $-(3•3) =-9$



                                          Thus the rule:




                                          The product of an even number of negative numbers is positive.



                                          The product of an odd number of negative numbers is negative.




                                          is not contradictory.



                                          To test your friend's understanding ask him to simplify:
                                          $$-3^{-2}$$






                                          share|cite|improve this answer











                                          $endgroup$









                                          • 7




                                            $begingroup$
                                            I was not one of the downvoters but I sympathize: this is an excellent answer to a very different question.
                                            $endgroup$
                                            – Eric Stucky
                                            Aug 3 '15 at 6:35
















                                          3












                                          $begingroup$

                                          In the context of an algebra class I believe an algebraic proof will suffice:
                                          $$-1a=-a$$this property is given before exponents are introduced.



                                          Now making the substitution $a=b^n$ gives the algebraic result needed $$-1b^n=-b^n$$



                                          For your example $b=3$ and $n=2$ gives $-1•3^2=-3^2$



                                          The left hand side being $-1•9=-9$



                                          The right hand side must be interpreted as $-(3•3) =-9$



                                          Thus the rule:




                                          The product of an even number of negative numbers is positive.



                                          The product of an odd number of negative numbers is negative.




                                          is not contradictory.



                                          To test your friend's understanding ask him to simplify:
                                          $$-3^{-2}$$






                                          share|cite|improve this answer











                                          $endgroup$









                                          • 7




                                            $begingroup$
                                            I was not one of the downvoters but I sympathize: this is an excellent answer to a very different question.
                                            $endgroup$
                                            – Eric Stucky
                                            Aug 3 '15 at 6:35














                                          3












                                          3








                                          3





                                          $begingroup$

                                          In the context of an algebra class I believe an algebraic proof will suffice:
                                          $$-1a=-a$$this property is given before exponents are introduced.



                                          Now making the substitution $a=b^n$ gives the algebraic result needed $$-1b^n=-b^n$$



                                          For your example $b=3$ and $n=2$ gives $-1•3^2=-3^2$



                                          The left hand side being $-1•9=-9$



                                          The right hand side must be interpreted as $-(3•3) =-9$



                                          Thus the rule:




                                          The product of an even number of negative numbers is positive.



                                          The product of an odd number of negative numbers is negative.




                                          is not contradictory.



                                          To test your friend's understanding ask him to simplify:
                                          $$-3^{-2}$$






                                          share|cite|improve this answer











                                          $endgroup$



                                          In the context of an algebra class I believe an algebraic proof will suffice:
                                          $$-1a=-a$$this property is given before exponents are introduced.



                                          Now making the substitution $a=b^n$ gives the algebraic result needed $$-1b^n=-b^n$$



                                          For your example $b=3$ and $n=2$ gives $-1•3^2=-3^2$



                                          The left hand side being $-1•9=-9$



                                          The right hand side must be interpreted as $-(3•3) =-9$



                                          Thus the rule:




                                          The product of an even number of negative numbers is positive.



                                          The product of an odd number of negative numbers is negative.




                                          is not contradictory.



                                          To test your friend's understanding ask him to simplify:
                                          $$-3^{-2}$$







                                          share|cite|improve this answer














                                          share|cite|improve this answer



                                          share|cite|improve this answer








                                          edited Sep 7 '15 at 15:39

























                                          answered Aug 3 '15 at 5:09









                                          skullpatrolskullpatrol

                                          65141434




                                          65141434








                                          • 7




                                            $begingroup$
                                            I was not one of the downvoters but I sympathize: this is an excellent answer to a very different question.
                                            $endgroup$
                                            – Eric Stucky
                                            Aug 3 '15 at 6:35














                                          • 7




                                            $begingroup$
                                            I was not one of the downvoters but I sympathize: this is an excellent answer to a very different question.
                                            $endgroup$
                                            – Eric Stucky
                                            Aug 3 '15 at 6:35








                                          7




                                          7




                                          $begingroup$
                                          I was not one of the downvoters but I sympathize: this is an excellent answer to a very different question.
                                          $endgroup$
                                          – Eric Stucky
                                          Aug 3 '15 at 6:35




                                          $begingroup$
                                          I was not one of the downvoters but I sympathize: this is an excellent answer to a very different question.
                                          $endgroup$
                                          – Eric Stucky
                                          Aug 3 '15 at 6:35











                                          2












                                          $begingroup$

                                          So the Bible isn't the only book that can be completely misunderstood when passages are taken out of context. Nor is it the only book to contain contradictions. At least if you find a genuine contradiction in an algebra textbook you won't be accused of being a devil worshiper. However, you have not spotted a genuine contradiction here.



                                          I'm not bringing up biblical errancy just to be sensationalist. The Bible actually predates algebra, and our modern rules of operator precedence developed from an understanding of equations from words. Consider Fermat's famous conjecture, only recently proven:




                                          It is impossible for a cube to be the sum of two cubes, a fourth power to be the sum of two fourth powers, or in general for any number that is a power greater than the second to be the sum of two like powers.




                                          That's exactly how he wrote, though in Latin.



                                          Nowadays we say $x^3 + y^3 = z^3$ has no solutions. And we understand that you cube $x$ and you cube $y$ before adding them up and comparing them to $z^3$. You don't do $(x^3 + y)^3$ unless there are explicit parentheses actually placed like that, or if you're unaware of operator precedence.



                                          So when you see $0 - 3^2$, that's different from $(0 - 3)^2$. By our modern rules of operator precedence, $-3^2$ is the same as $0 - 3^2$ and therefore different from $(0 - 3)^2$.



                                          Lastly, you need to look at the context for that "if the exponent is even, the result it positive, and if the exponent is odd the result is negative." You will probably see something about the number to which the exponent is attached being negative. Then $(-3)^3 = -27$ but $3^3 = 27$.






                                          share|cite|improve this answer











                                          $endgroup$









                                          • 10




                                            $begingroup$
                                            This is an odd place for your Bible rant…
                                            $endgroup$
                                            – Akiva Weinberger
                                            Aug 4 '15 at 5:26










                                          • $begingroup$
                                            I will concede that the stuff about Zerubabbel is unnecessary.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 4 '15 at 12:28






                                          • 5




                                            $begingroup$
                                            We could also say it's an odd place to bring up Fermat's last theorem. But maybe Robert is detecting an attitude in the OP similar to how some atheists treat the Bible.
                                            $endgroup$
                                            – David R.
                                            Aug 4 '15 at 16:31










                                          • $begingroup$
                                            I think that what's really offended people here isn't the Bible stuff, but my failing to clearly defend the algebra textbook against the accusation of inconsistency.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 5 '15 at 4:12
















                                          2












                                          $begingroup$

                                          So the Bible isn't the only book that can be completely misunderstood when passages are taken out of context. Nor is it the only book to contain contradictions. At least if you find a genuine contradiction in an algebra textbook you won't be accused of being a devil worshiper. However, you have not spotted a genuine contradiction here.



                                          I'm not bringing up biblical errancy just to be sensationalist. The Bible actually predates algebra, and our modern rules of operator precedence developed from an understanding of equations from words. Consider Fermat's famous conjecture, only recently proven:




                                          It is impossible for a cube to be the sum of two cubes, a fourth power to be the sum of two fourth powers, or in general for any number that is a power greater than the second to be the sum of two like powers.




                                          That's exactly how he wrote, though in Latin.



                                          Nowadays we say $x^3 + y^3 = z^3$ has no solutions. And we understand that you cube $x$ and you cube $y$ before adding them up and comparing them to $z^3$. You don't do $(x^3 + y)^3$ unless there are explicit parentheses actually placed like that, or if you're unaware of operator precedence.



                                          So when you see $0 - 3^2$, that's different from $(0 - 3)^2$. By our modern rules of operator precedence, $-3^2$ is the same as $0 - 3^2$ and therefore different from $(0 - 3)^2$.



                                          Lastly, you need to look at the context for that "if the exponent is even, the result it positive, and if the exponent is odd the result is negative." You will probably see something about the number to which the exponent is attached being negative. Then $(-3)^3 = -27$ but $3^3 = 27$.






                                          share|cite|improve this answer











                                          $endgroup$









                                          • 10




                                            $begingroup$
                                            This is an odd place for your Bible rant…
                                            $endgroup$
                                            – Akiva Weinberger
                                            Aug 4 '15 at 5:26










                                          • $begingroup$
                                            I will concede that the stuff about Zerubabbel is unnecessary.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 4 '15 at 12:28






                                          • 5




                                            $begingroup$
                                            We could also say it's an odd place to bring up Fermat's last theorem. But maybe Robert is detecting an attitude in the OP similar to how some atheists treat the Bible.
                                            $endgroup$
                                            – David R.
                                            Aug 4 '15 at 16:31










                                          • $begingroup$
                                            I think that what's really offended people here isn't the Bible stuff, but my failing to clearly defend the algebra textbook against the accusation of inconsistency.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 5 '15 at 4:12














                                          2












                                          2








                                          2





                                          $begingroup$

                                          So the Bible isn't the only book that can be completely misunderstood when passages are taken out of context. Nor is it the only book to contain contradictions. At least if you find a genuine contradiction in an algebra textbook you won't be accused of being a devil worshiper. However, you have not spotted a genuine contradiction here.



                                          I'm not bringing up biblical errancy just to be sensationalist. The Bible actually predates algebra, and our modern rules of operator precedence developed from an understanding of equations from words. Consider Fermat's famous conjecture, only recently proven:




                                          It is impossible for a cube to be the sum of two cubes, a fourth power to be the sum of two fourth powers, or in general for any number that is a power greater than the second to be the sum of two like powers.




                                          That's exactly how he wrote, though in Latin.



                                          Nowadays we say $x^3 + y^3 = z^3$ has no solutions. And we understand that you cube $x$ and you cube $y$ before adding them up and comparing them to $z^3$. You don't do $(x^3 + y)^3$ unless there are explicit parentheses actually placed like that, or if you're unaware of operator precedence.



                                          So when you see $0 - 3^2$, that's different from $(0 - 3)^2$. By our modern rules of operator precedence, $-3^2$ is the same as $0 - 3^2$ and therefore different from $(0 - 3)^2$.



                                          Lastly, you need to look at the context for that "if the exponent is even, the result it positive, and if the exponent is odd the result is negative." You will probably see something about the number to which the exponent is attached being negative. Then $(-3)^3 = -27$ but $3^3 = 27$.






                                          share|cite|improve this answer











                                          $endgroup$



                                          So the Bible isn't the only book that can be completely misunderstood when passages are taken out of context. Nor is it the only book to contain contradictions. At least if you find a genuine contradiction in an algebra textbook you won't be accused of being a devil worshiper. However, you have not spotted a genuine contradiction here.



                                          I'm not bringing up biblical errancy just to be sensationalist. The Bible actually predates algebra, and our modern rules of operator precedence developed from an understanding of equations from words. Consider Fermat's famous conjecture, only recently proven:




                                          It is impossible for a cube to be the sum of two cubes, a fourth power to be the sum of two fourth powers, or in general for any number that is a power greater than the second to be the sum of two like powers.




                                          That's exactly how he wrote, though in Latin.



                                          Nowadays we say $x^3 + y^3 = z^3$ has no solutions. And we understand that you cube $x$ and you cube $y$ before adding them up and comparing them to $z^3$. You don't do $(x^3 + y)^3$ unless there are explicit parentheses actually placed like that, or if you're unaware of operator precedence.



                                          So when you see $0 - 3^2$, that's different from $(0 - 3)^2$. By our modern rules of operator precedence, $-3^2$ is the same as $0 - 3^2$ and therefore different from $(0 - 3)^2$.



                                          Lastly, you need to look at the context for that "if the exponent is even, the result it positive, and if the exponent is odd the result is negative." You will probably see something about the number to which the exponent is attached being negative. Then $(-3)^3 = -27$ but $3^3 = 27$.







                                          share|cite|improve this answer














                                          share|cite|improve this answer



                                          share|cite|improve this answer








                                          edited Aug 5 '15 at 4:10

























                                          answered Aug 4 '15 at 4:29









                                          Robert SoupeRobert Soupe

                                          11.4k21950




                                          11.4k21950








                                          • 10




                                            $begingroup$
                                            This is an odd place for your Bible rant…
                                            $endgroup$
                                            – Akiva Weinberger
                                            Aug 4 '15 at 5:26










                                          • $begingroup$
                                            I will concede that the stuff about Zerubabbel is unnecessary.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 4 '15 at 12:28






                                          • 5




                                            $begingroup$
                                            We could also say it's an odd place to bring up Fermat's last theorem. But maybe Robert is detecting an attitude in the OP similar to how some atheists treat the Bible.
                                            $endgroup$
                                            – David R.
                                            Aug 4 '15 at 16:31










                                          • $begingroup$
                                            I think that what's really offended people here isn't the Bible stuff, but my failing to clearly defend the algebra textbook against the accusation of inconsistency.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 5 '15 at 4:12














                                          • 10




                                            $begingroup$
                                            This is an odd place for your Bible rant…
                                            $endgroup$
                                            – Akiva Weinberger
                                            Aug 4 '15 at 5:26










                                          • $begingroup$
                                            I will concede that the stuff about Zerubabbel is unnecessary.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 4 '15 at 12:28






                                          • 5




                                            $begingroup$
                                            We could also say it's an odd place to bring up Fermat's last theorem. But maybe Robert is detecting an attitude in the OP similar to how some atheists treat the Bible.
                                            $endgroup$
                                            – David R.
                                            Aug 4 '15 at 16:31










                                          • $begingroup$
                                            I think that what's really offended people here isn't the Bible stuff, but my failing to clearly defend the algebra textbook against the accusation of inconsistency.
                                            $endgroup$
                                            – Robert Soupe
                                            Aug 5 '15 at 4:12








                                          10




                                          10




                                          $begingroup$
                                          This is an odd place for your Bible rant…
                                          $endgroup$
                                          – Akiva Weinberger
                                          Aug 4 '15 at 5:26




                                          $begingroup$
                                          This is an odd place for your Bible rant…
                                          $endgroup$
                                          – Akiva Weinberger
                                          Aug 4 '15 at 5:26












                                          $begingroup$
                                          I will concede that the stuff about Zerubabbel is unnecessary.
                                          $endgroup$
                                          – Robert Soupe
                                          Aug 4 '15 at 12:28




                                          $begingroup$
                                          I will concede that the stuff about Zerubabbel is unnecessary.
                                          $endgroup$
                                          – Robert Soupe
                                          Aug 4 '15 at 12:28




                                          5




                                          5




                                          $begingroup$
                                          We could also say it's an odd place to bring up Fermat's last theorem. But maybe Robert is detecting an attitude in the OP similar to how some atheists treat the Bible.
                                          $endgroup$
                                          – David R.
                                          Aug 4 '15 at 16:31




                                          $begingroup$
                                          We could also say it's an odd place to bring up Fermat's last theorem. But maybe Robert is detecting an attitude in the OP similar to how some atheists treat the Bible.
                                          $endgroup$
                                          – David R.
                                          Aug 4 '15 at 16:31












                                          $begingroup$
                                          I think that what's really offended people here isn't the Bible stuff, but my failing to clearly defend the algebra textbook against the accusation of inconsistency.
                                          $endgroup$
                                          – Robert Soupe
                                          Aug 5 '15 at 4:12




                                          $begingroup$
                                          I think that what's really offended people here isn't the Bible stuff, but my failing to clearly defend the algebra textbook against the accusation of inconsistency.
                                          $endgroup$
                                          – Robert Soupe
                                          Aug 5 '15 at 4:12





                                          protected by Thomas Jul 4 '16 at 0:09



                                          Thank you for your interest in this question.
                                          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                          Would you like to answer one of these unanswered questions instead?



                                          Popular posts from this blog

                                          Bundesstraße 106

                                          Le Mesnil-Réaume

                                          Ida-Boy-Ed-Garten