My Math Forum  

Go Back   My Math Forum > High School Math Forum > Algebra

Algebra Pre-Algebra and Basic Algebra Math Forum

Thanks Tree1Thanks
  • 1 Post By skipjack
LinkBack Thread Tools Display Modes
April 4th, 2017, 04:56 AM   #1
Joined: Nov 2016
From: iran

Posts: 4
Thanks: 0

Hi. I'm a programmer and have just started learning math (I forgot all about it in past years).
In programming languages, multiplication and division have higher precedence than addition and subtraction. Is it the same in algebra?

For example,

$\displaystyle 5 + 8 * 3 = 29$

$\displaystyle ( 5 + 8 ) * 3 = 39$

Last edited by skipjack; April 4th, 2017 at 07:42 AM.
mohsentux is offline  
April 4th, 2017, 07:46 AM   #2
Global Moderator
Joined: Dec 2006

Posts: 17,919
Thanks: 1384

In most programming languages, what you suggested applies. That's because the same principle is applied in elementary algebra.
Thanks from Country Boy
skipjack is offline  
April 10th, 2017, 01:48 PM   #3
Math Team
Joined: Jan 2015
From: Alabama

Posts: 2,649
Thanks: 680

Indeed in basic arithmetic. This is typically taught in the United States, in fifth or sixth grade with the mnemonic "Please Excuse My Dear Aunt Sally" (inside Parentheses first, then Exponents, then Multiplication, then Division, then Addition, then Subtraction. Actually, multiplication and division have the same precedence as do addition and subtraction but we have to put one first). I believe Brits use "Bedmas": "Brackets, exponents, division, multiplication, addition, subtraction".

Last edited by Country Boy; April 10th, 2017 at 01:53 PM.
Country Boy is online now  

  My Math Forum > High School Math Forum > Algebra

addition, higher, multiplication, multlication, precedence

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Explaining Addition in Fractions... Before Multiplication... Monox D. I-Fly Math Books 2 October 22nd, 2014 07:21 AM
Modulo Definition of Addition and Multiplication jstarks4444 Number Theory 1 March 15th, 2011 05:35 PM
A multiplication and addition relationship bryce4president Algebra 2 September 9th, 2008 07:43 AM
Zero matrix addition and variable multiplication morning_mood Linear Algebra 2 October 16th, 2007 12:43 PM

Copyright © 2017 My Math Forum. All rights reserved.