argue this for me please!


annewandering

Recommended Posts

This puzzle and the almost infinite variations of them are all about operator precedence. Since multiplication has precedence over addition and subtraction, we can rewrite the equation as:

‎5 + 5 + 5 - 5 + 5 + 5 - 5 + (5 x 0)

...which resolves to:

‎5 + 5 + 5 - 5 + 5 + 5 - 5 + (0)

10 + 5 - 5 + 5 + 5 - 5 + (0)

15 - 5 + 5 + 5 - 5 + (0)

10 + 5 + 5 - 5 + (0)

15 + 5 - 5 + (0)

20 - 5 + (0)

15 + (0)

15

Since addition and subtraction have the same precedence it doesn't matter what order we do them in, so I just did them left to right for simplicity.

EDIT: to be technically correct, we can do them in any order as long as we don't assume the subtraction operator is associative.

Edited by LittleWyvern
Link to comment
Share on other sites

According to a google search:

Since there are no brackets, the answer is 15, applying the rule that you multiply first, then add and subtract.

The x 0 only applies to the last 5 making it equal 0

It is 15 - 5 + 10 - 5 + 0 = 15

The multiplication MUST be done first, so it is NOT zero.

Link to comment
Share on other sites

so do you know why the multiplying must be done first? the reason behind the rule is what i am looking for.

Somebody already linked to Order of Operations, but in general when you define any formal language (this form of math being one of them) you have to specify what operations mean. Establishing precedence is one way that a formal language has meaning. Perhaps the choice was a bit arbitrary but it's for good reason. If you want to delve deeper into how formal languages have meaning and how you define meaning, I'd look up formal grammars. They're fun: it's like grammar, but for math. :P

Link to comment
Share on other sites

Somebody already linked to Order of Operations, but in general when you define any formal language (this form of math being one of them) you have to specify what operations mean. Establishing precedence is one way that a formal language has meaning. Perhaps the choice was a bit arbitrary but it's for good reason. If you want to delve deeper into how formal languages have meaning and how you define meaning, I'd look up formal grammars. They're fun: it's like grammar, but for math. :P

To use English as an example think of how written words have precedence from left to right. Why? Because that's how we've set the language up , they (meaning the folks using the language) could make the order of operations anything they wanted just as Arabic works right to left and everything would be okay. Giving no order of operations though would be like having people pick words randomly out of a sentence.

Edited by Dravin
Link to comment
Share on other sites

We follow order of operations to be obediant. Of course there are blessings (getting the right answer being one of them), some of us have a testimony of the order of operations, but if you don't and you continue to be obedient to the rule eventually you too can have a testimony that it works and that it is good and proper.

Sorry couldn't resist. :-)

-RM

Link to comment
Share on other sites

We follow order of operations to be obediant. Of course there are blessings (getting the right answer being one of them), some of us have a testimony of the order of operations, but if you don't and you continue to be obedient to the rule eventually you too can have a testimony that it works and that it is good and proper.

Sorry couldn't resist. :-)

-RM

:P:p:p

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...