# What is the proper answer to this math problem (from youtube).

**URL:** <https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588>\
**Category:** Factual Questions\
**Created:** [May 12, 2016, 2:24am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588 "2016-05-12T02:24:14Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![watchwolf49](https://avatars.discourse-cdn.com/v4/letter/w/e9c0ed/32.png) [@watchwolf49](https://boards.straightdope.com/u/watchwolf49)\
**Post date:** [May 12, 2016, 12:57pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/21 "2016-05-12T12:57:28Z")

</div>

Whoa … how did Facebook bleed onto SDMB?

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [May 12, 2016, 4:25pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/22 "2016-05-12T16:25:18Z")

</div>

> [@kaylasdad99](#):
>
> I watched the video and saw how the 1/3 was formatted within the equation. It is unambiguousy intended as a fraction, and not an operator on the term (3 ÷ 1).

I agree. The way it shows up in the video is unambiguous.

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [May 12, 2016, 4:26pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/23 "2016-05-12T16:26:49Z")

</div>

> [@watchwolf49](#):
>
> Whoa … how did Facebook bleed onto SDMB?

You’d think that people would have had enough of silly math problems,  
But I look around me and I see it isn’t so.  
Some people want to fill the world with silly math problems.  
And what’s wrong with that, I’d like to know?

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [May 12, 2016, 9:08pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/24 "2016-05-12T21:08:04Z")

</div>

The proper answer is to rewrite the equation until it’s no longer ambiguous. Notation is for communication, and any notation which is ambiguous is incorrect.

Therefore, the problem is incorrect as stated.

---

<div class="post-metadata">

**Author:** ![scr4](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@scr4](https://boards.straightdope.com/u/scr4)\
**Post date:** [May 12, 2016, 9:25pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/25 "2016-05-12T21:25:35Z")

</div>

> [@kaylasdad99](#):
>
> I watched the video and saw how the 1/3 was formatted within the equation. It is unambiguousy intended as a fraction, and not an operator on the term (3 ÷ 1).

Having looked at the video, I agree. It’s pretty clear 1/3 is a fraction, and correct answer is 9 - 3 ÷ (1/3) + 1 = 1.

If it was intended to express 9 - (3 ÷ 1)/3 + 1, it should be written as

```auto

        3 ÷ 1
    9 + ----- + 1
          3

```

---

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [May 12, 2016, 10:02pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/26 "2016-05-12T22:02:24Z")

</div>

Yeah, I’m normally on the “math can be ambiguous” side of things in these debates, but the expression in the video is very unambiguous, and doesn’t throw any of the usual ambiguous notation curveballs (weird spacing, variables, multiplication by juxtaposition, etc).

---

<div class="post-metadata">

**Author:** ![Tim\_T-Bonham.net](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@Tim\_T-Bonham.net](https://boards.straightdope.com/u/Tim_T-Bonham.net)\
**Post date:** [May 12, 2016, 10:24pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/27 "2016-05-12T22:24:07Z")

</div>

> [@Palooka](#):
>
> Intentionally vague math questions to cause arguments over order of operations are a dumb internet trend. The only way to win is not to play.

> [@Great\_Antibob](#):
>
> Usually, my response is that an ambiguous math problem is just poorly written and you should send it back to the writer. I’m tempted to put this one in that category.

When I was working directing programmers for mainframe computers, that’s what we did.

The computer compilers had specific & detailed rules on this, so they would always do it correctly and the same way. But it was confusing for humans, like programmers who would have to maintain it in the future. If it came up in code reviews, I wouldn’t even permit discussion of the ‘order of operations’ – just immediately instructed the programmer change it to use parenthesis or brackets to make it unambiguous, and went on to the next item. I even told beginning programmers not to bother even learning the order of operations – just always use parenthesis & brackets and you don’t need to know that.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [May 13, 2016, 12:56am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/28 "2016-05-13T00:56:07Z")

</div>

> [@t-bonham@scc.net](#):
>
> The computer compilers had specific & detailed rules on this, so they would always do it correctly and the same way. But it was confusing for humans, like programmers who would have to maintain it in the future. If it came up in code reviews, I wouldn’t even permit discussion of the ‘order of operations’ – just immediately instructed the programmer change it to use parenthesis or brackets to make it unambiguous, and went on to the next item. I even told beginning programmers not to bother even learning the order of operations – just always use parenthesis & brackets and you don’t need to know that.

Excellent plan! I learned very early on, that FORTRAN compilers didn’t all agree on the order of operations, in particular, .AND. and .OR. – So I learned never to count on operator precedence, except possibly for simple addition and multiplication in very simple expressions.

Then C came along. OMG, what a hodge-podge of operators. I had a C textbook once that was obsessed with teaching the order. It had a whole page of exercises consisting of lengthy incomprehensible C expressions, asking the student to insert explicit parentheses.

Pascal, OTOH, sometimes forced the issue in ways that could only have been a blatantly stupid language design error. Boolean operators had greater precedence than relational operators, so an expression like:  
a \> b **and** c \> d  
would be interpreted as:  
a \> (b **and** c) \> d  
which of course produced a compile-time data-type error. WTF was Wirth thinking?

---

<div class="post-metadata">

**Author:** ![TriPolar](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tripolar/32/3008_2.png) [@TriPolar](https://boards.straightdope.com/u/TriPolar)\
**Post date:** [May 13, 2016, 2:55am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/29 "2016-05-13T02:55:22Z")

</div>

There is no proper order of operation. If the rules aren’t agreed upon ahead of time then there’s no single answer to the question.

---

<div class="post-metadata">

**Author:** ![Doug\_K](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@Doug\_K](https://boards.straightdope.com/u/Doug_K)\
**Post date:** [May 13, 2016, 11:41am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/30 "2016-05-13T11:41:59Z")

</div>

> [@TriPolar](#):
>
> There is no proper order of operation. If the rules aren’t agreed upon ahead of time then there’s no single answer to the question.

PEMDAS. Please excuse my dear Aunt Sally. It’s plastered on the walls of middle schools throughout the country. It was taught when I was a kid, it’s still taught.

---

<div class="post-metadata">

**Author:** ![UDS](https://avatars.discourse-cdn.com/v4/letter/u/ecae2f/32.png) [@UDS](https://boards.straightdope.com/u/UDS)\
**Post date:** [May 13, 2016, 1:29pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/31 "2016-05-13T13:29:49Z")

</div>

> [@Doug\_K](#):
>
> PEMDAS. Please excuse my dear Aunt Sally. It’s plastered on the walls of middle schools throughout the country. It was taught when I was a kid, it’s still taught.

But the PEMDAS convention is subordinated to the grouping convention mentioned by Senegoid. Which, obivously, the OP didn’t know, and neither did Leaffan.

So, some people are working off different conventions in this area than others. And since none of the conventions has an intrinsic validity - they are arbitrary conventions - we can’t say there’s a “proper” order of operations . There’s just the order of operations which is agreed upon by all people who agree on that particular order of operations.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [May 13, 2016, 1:37pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/32 "2016-05-13T13:37:04Z")

</div>

The proper answer is that the poser is an idiot. No mathematician would ever pose such a question without parentheses to clarify. Notice that no ambiguity is possible if you used RPN.

---

<div class="post-metadata">

**Author:** ![scr4](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@scr4](https://boards.straightdope.com/u/scr4)\
**Post date:** [May 13, 2016, 1:47pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/33 "2016-05-13T13:47:18Z")

</div>

Just so we’re all on the same page, in the video it’s written as

```auto

            1 
    9 + 3 ÷ - + 1
            3

```

In this context, the / and ÷ are not used as equivalent operators with the same order of operation. The horizontal bar denotes a fraction, i.e. 1/3 is a number, not an operation.

---

<div class="post-metadata">

**Author:** ![Saint\_Cad](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/saint_cad/32/18907_2.png) [@Saint\_Cad](https://boards.straightdope.com/u/Saint_Cad)\
**Post date:** [May 13, 2016, 1:52pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/34 "2016-05-13T13:52:13Z")

</div>

The correct answer is not 999. it is 9^9^9

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [May 13, 2016, 4:41pm UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/35 "2016-05-13T16:41:36Z")

</div>

> [@scr4](#):
>
> Just so we’re all on the same page, in the video it’s written as
> 
> ```auto
> 
> 1 
> 9 + 3 ÷ - + 1
> 3
> 
> ```
> 
> In this context, the / and ÷ are not used as equivalent operators with the same order of operation. The horizontal bar denotes a fraction, i.e. 1/3 is a number, not an operation.

This is correct as I learned it, _even if you interpret 1 over 3 (with horizontal bar) as a division operation_ because the horizontal bar does double-duty as a division symbol _and_ as a grouping symbol.

I never heard of the PEMDAS mnemonic (nor any of its several variations) until I saw them mentioned in the various SDMB threads like this one. It wasn’t taught in my grammar school! But I _did_ learn in first-semester algebra (circa 1966) about the horizontal fraction bar serving as a grouping symbol as well.

---

<div class="post-metadata">

**Author:** ![Horatius](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/horatius/32/3572_2.png) [@Horatius](https://boards.straightdope.com/u/Horatius)\
**Post date:** [May 15, 2016, 3:50am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/36 "2016-05-15T03:50:25Z")

</div>

> [@Senegoid](#):
>
> This is correct as I learned it, _even if you interpret 1 over 3 (with horizontal bar) as a division operation_ because the horizontal bar does double-duty as a division symbol _and_ as a grouping symbol.

Yeah, this. Some people seem to want to make a fundamental distinction between “a fraction” and “a division operation”, but that is wrong. A fraction \*\*\*is \*\*\*a division operation. The only distinction between the two is that the use of fractional notation contains an implied set of parentheses, which means it take precedence over the other division operator.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [May 15, 2016, 4:43am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/37 "2016-05-15T04:43:51Z")

</div>

> [@Horatius](#):
>
> Yeah, this. Some people seem to want to make a fundamental distinction between “a fraction” and “a division operation”, but that is wrong. A fraction \*\*\*is \*\*\*a division operation.

Conceptually, this can’t be entirely right. And Math is all about concepts, so let’s get the concepts right.

The symbol, say, 3/7 (preferably written with a truly horizontal bar) does have _two distinct meanings_ that are so closely related that many people (e.g., **Horatius** ) don’t see the difference.

First, it indicates a division operation. As such, “3/7” consists of _three_ separate symbols: “3”, “/”, and “7”, all together forming an arithmetic expression indicating some arithmetic to be done. This, of course, results in some _number_ as its value. This really is a particular, specific number, and you can find a point for it on a number line, somewhere between 0 and 1.

But how shall we write that number? In ancient Egypt, they used a symbol something like a tick mark for one-half and another symbol something like two tick marks for one-quarter. (I think.) But they had no general system for writing all sorts of fractions in general.

We can create all kinds of fractions by writing all kinds of arithmetic expressions, like 4/23 and 73/98 and 18/1241. But what symbols should we devise to indicate the actual _numbers_ the result from these arithmetics? We have settled upon using a single symbol that looks a whole lot like the division expression. Thus, the _single symbol_ “3/7” is the “name” (that is, the symbol) we write to represent the _number_ and results from the three-symbol arithmetic expression “3” “/” “7”. Likewise for other fractions.

Thus, 3/7 truly does have two conceptually distinct meanings: It is a three-symbol expression indicating some arithmetic to be done; and it is also a one-symbol mark that we use to name the resulting number.

When we bring algebraic variables into the picture, it’s a bit different. Something like

## a + b

c + d

can only be interpreted as an algebraic expression, and not as the name of any particular number.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [May 15, 2016, 5:00am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/38 "2016-05-15T05:00:14Z")

</div>

The above discussion comes up on some other contexts too.

Take the simpler case: The use of the “-” symbol to indicate the negative (“additive inverse”) of a number.

Applied to a variable, as in: -a  
or to an expression, as in: -(a+b)  
it is clearly a unary operator. It tells us to do a particular operation: Take a number (the operand) and negate it. Even if the operand happens to be a negative number to begin with, it still means that. (Thus producing a positive number in that case.)

So what does “-” followed by a specific number mean? As in, for example: -3

Here too, we can read it as an arithmetic expression having two symbols: “-” and “3” that tells us to take the number 3 and negate it, giving us a different number.

Now, we need a name, or symbol, for that resulting number so we will have a way to write the actual _number_ that we got. As with fractions, we have agreed to write “-3” as a single symbol representing that number. So, -3 is at the same time an arithmetic expression telling us to do some arithmetic, and also a single symbol representing the resulting number.

But note: It just might, sometimes, make a difference which of these interpretations we take, so we need to pay attention. Unlike the case with fractions, there is no implied grouping symbol here. We can’t be sure that -3 necessarily means (-3). In fact, it’s not always so:

Consider the expression -3[sup]2[/sup]. It is understood that this means -(3[sup]2[/sup])  
and not (-3)[sup]2[/sup]. Thus, the -3 in -3[sup]2[/sup] is understood to be a two-symbol expression rather than the name of a number, and the exponent only applies to the 3 and not the whole -3 expression.

There is yet another case where we have a symbol for building an expression that results in numbers that we don’t have a better way to write, so we use the whole expression as a single symbol for the resulting number: That is in writing square roots. We write √2 as an expression meaning: Start with 2 and take the square root of that. But, for lack of any better way to write the resulting _number_, we also take the entire expression √2 as a single symbol for the number thus produced.

---

<div class="post-metadata">

**Author:** ![octopus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/octopus/32/3716_2.png) [@octopus](https://boards.straightdope.com/u/octopus)\
**Post date:** [May 15, 2016, 5:10am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/39 "2016-05-15T05:10:35Z")

</div>

> [@davidm](#):
>
> The problem is 9 - 3 ÷ 1/3 + 1 = ?
> 
> I say that the answer is 9.
> 
> Using the proper order of operations:  
> [ul]  
> [li]3 ÷ 1 = 3[/li][li]3 / 3 = 1[/li][li]9 - 1 + 1 = 9[/li][/ul]
> 
> The video talks about the proper order of operations and explains it correctly but then makes the mistake (at least I think it’s a mistake) of dividing 3 by 1/3, as follows:  
> [ul]  
> [li]3 ÷ (1/3) = 9[/li][li]9 - 9 + 1 = 1[/li][/ul]He seems to think that / and ÷ are two different operations and that / takes precedence over ÷. I say he’s wrong about that. What say you?

Following algebraic order of operations I’d say 9. But then you get those who can argue the earth is flat convincingly talking about implied this and that taking some informal precedence. Octopus says 9 and wolfram alpha says 9. That’s good enough for me.

---

<div class="post-metadata">

**Author:** ![Ranger\_Jeff](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ranger_jeff/32/2065_2.png) [@Ranger\_Jeff](https://boards.straightdope.com/u/Ranger_Jeff)\
**Post date:** [May 15, 2016, 8:57am UTC](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588/40 "2016-05-15T08:57:24Z")

</div>

> [@davidm](#):
>
> [ul]  
> [li]3 ÷ (1/3) = 9[/li][li]9 - 9 + 1 = 1[/li][/ul]He seems to think that / and ÷ are two different operations and that / takes precedence over ÷. I say he’s wrong about that. What say you?

Okay, part of the issue is that on a computer, it’s a lot easier to type 1/3 than to find ⅓ on the character map and 1 over a 3 takes an extra line and then there’s the spacing to get the 3 under the 1. So, on one hand, a “/” can indicate the division operation or a fraction. On the other hand, " ÷ " NEVER indicates a fraction and always indicates the division operation. So, when I see **both** symbols used in the same equation, I figure the “/” is part of a fraction, though for clarity they still could have used parentheses.

[Previous page](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588.md?page=1)

[Next page](https://boards.straightdope.com/t/what-is-the-proper-answer-to-this-math-problem-from-youtube/754588.md?page=3)
