6÷2(1+2)=?

Discussion in 'Mathematics and Physics' started by Gobbledok, May 2, 2011.

Not open for further replies.

Joined:
Oct 30, 2010
Messages:
9,997
Likes:
1,101
When I used a simple expression like 1+1 embedded in lots of parenthesis, the BASIC interpreter replied "Expression too complicated"

2. GobbledokActive Member

Joined:
Mar 9, 2008
Messages:
452
Likes:
34
Location:
Toowoomba, Australia
Of course it can be read as having 2 results, that is the whole point.

TBH I believe there is only 1 way to solve it. I do see how it can be ambiguous though.

Here is a reply I wrote in the other forum:

I think the problem arises because people who have done lots of algebra treat it as

6÷(2(1+2)) = 1

the same way Wolfram|Alpha treats algebra.

Whereas people who are familiar with only the BODMAS method, treat it as

(6÷2)(1+2) = 9

the same way Wolfram|Alpha treats sums.

So to people who have done lots of algebra, factoring the equation first (A(B+C)=(AB+AC)) is the most natural way.

I personally have been taught that juxtaposition takes priority over other divisions/multiplications, so I use the same rule that the American Mathematical Society uses for it's submission guidelines.

Last edited: May 4, 2011
3. atferrariWell-Known Member

Joined:
Oct 8, 2003
Messages:
2,824
Likes:
121
Location:
Buenos Aires - Argentina
LOT of, is maybe too much

Have you tried with just two?

4. DaveNew Member

Joined:
Jan 12, 1997
Messages:
-
Likes:
0

Joined:
Oct 30, 2010
Messages:
9,997
Likes:
1,101

This was some 35+ years ago on a timesharing DEC PDP-11/20 or 11/50 running RSTS-11 and used Basic-Plus an intermediate code interpreter.

I wrote something like:

10 A=(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((1))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
(assume the parens are matched)
and got the error
"Expression to Complicated"

I loved to push the envelope and I could crash the machine at will for all 16 or 32 users at the time.

Hey, the breaks are artifacts of VB. They are not in my input.

Last edited: May 4, 2011

Joined:
Apr 19, 2010
Messages:
2,697
Likes:
368
Location:
Finland
In that example "a/b(c+d)" Wolfram Alpha treats 'b' as a function call. Try putting a space after the 'b' and you will get a different answer.

7. SneaKSzMember

Joined:
Jul 5, 2010
Messages:
267
Likes:
4
Location:
Belgium
There is a new math equation on FB

Joined:
Aug 9, 2010
Messages:
5,532
Likes:
511
Location:
Vermont (GMT-5:00)
I saw one of these that was asking what 2+2x2 equaled. Somebody actually started arguing with me, saying it was 8

Last edited: May 5, 2011
9. RMMMNew Member

Joined:
Jan 22, 2010
Messages:
357
Likes:
3
Location:
Maryland
If you are trying to complicate things, and write in a way that can have more than one outcome, then you are writing poorly.

Math is (supposed to be) a universal language. This should be written in a left to right order, using signs; not implied multiplication.

Also, If you were using this like:

The combination to the lock is
4+6, 15*5, and 6÷2(1+2)

We know that is unclear.

Convert the division to a fraction and re-write.

Joined:
Oct 30, 2010
Messages:
9,997
Likes:
1,101
Depends on what you mean? Multiplication is always done first. The x can be interpreted as multiply or it can be interpreted as x.

(1)
;

(2)

(3)

I would interpret it as the least one because standard form would have it that way.

This always seems to be a tough one for many -1^4 = 1

Last edited: May 5, 2011

Joined:
Aug 9, 2010
Messages:
5,532
Likes:
511
Location:
Vermont (GMT-5:00)
Yeah, sorry--that was just how I wrote it. It is actually * (multiplication).
(The answer is 6, by the way ) lol

12. Nigel GoodwinSuper ModeratorMost Helpful Member

Joined:
Nov 17, 2003
Messages:
39,384
Likes:
666
Location:
Derbyshire, UK
OK, this thread has been pointless since the first post.

It's now closed!

Moderator.