Precedence rules for the algebra community

posted by .

Precedence of operators

In simple algebra, there is a set of precedence (priority) of operations that should be respected in order that everyone evaluates mathematical expressions in the same way. Although these rules have been taught in elementary school or junior high school, they are often overlooked.
Here's a review of operators from highest precedence (to be evaluated firt) to lowest.

1. Brackets (parentheses)
2. Exponentiation & roots
3. Multiplication/division
4. Addition/Subtraction.

This set of rules may be abbreviated as BEDMAS for ease of memorization.

When operators of equal precedence are encountered side-by-side, they are evaluated from left to right.

For example, this is how a calculator evaluates the following expression:
=2.5+5²*7/2 ...brackets first
=2.5+25*7/2 ... exponentiation
=2.5+175/2 ... multiplication is to the left of division
=2.5+82.5 .... division before addition

Also, note that in square-roots, the expression under the horizontal bar is equivalent to a set of implicit parentheses. For example, if the whole expression 5³+4*7-1/2 were under the square-root sign, it would be interpreted as:

Another frequent oversight has to do with fractions.

Fractions in typeset expressions have the numerator and denominator separated by a horizontal line, such as:


When transcribing fractions to a single line, such as evaluating on a calculator, or posting the expression online, we have to recognize that there are implicit parentheses in both the numerator and denominator. The transcribed one-line expression must have parentheses (brackets) around each of the numerator and denominator, such as:
or else it will be incorrectly interpreted using the BEDMAS rule indicated earlier.

Thus the expression
would be correctly interpreted as (x+5)/(x+3).

A side note for logical expressions:
The precedence rule for logical expressions are:

Precedence Operator
1 ¬
2 ∧
3 ∨
4 →
5 ↔

For example:

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. math

    please help me i need help before tomorrow please help i need help on my homework Post a question and someone will try to help. Be specific about what you don't understand. i need help on greatest common factor What unit would you …
  2. Simplifly variable Expressions

    I need help on justify each step. 5(n+4)+9n=(5+20)+9n =5n+(20+9n) =5n+(9n+20) =(5n+9n)+20 =(5+9)n+20 =14n+20 PLease and Thank-You 5(n+4)+9n =(5n+20)+9n distribution =5n+(20+9n) addition =5n+(9n+20) addition =(5n+9n)+20 addition =(5+9)n+20 …
  3. English

    1. I like taking walks. 2. I like taking a walk. (Which one is OK?
  4. computers

    Using the operator precedence that excel 2007 follows,which calculation wuld be perfomed first from the following equation?
  5. history

    what event set precedence that alleviated the the problem of having on law of succession in the empire please help
  6. history

    what event set precedence that alleviated the problem of having no law of succession in the empire I have no book Please help
  7. history

    what enent set precedence that alleviated the problem of having no law of succession in the empire
  8. social studies

    What event set precedence That alleviated the problem of having no law of succession in the empire
  9. social studies

    What event set precedence that alleviated the problem of having no of succession in the empire roman
  10. literature

    I have one more confusing question regarding this. And Thank you Ms.Sue for answering the last question! Franklin's humor in Witch Trial at Mt. Holly depends upon the belief that... a)the belief that religion takes precedence over …

More Similar Questions