Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Order of operations
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Examples=== Multiplication before addition: : <math>1 + 2 \times 3 = 1 + 6 = 7 .</math> Parenthetical subexpressions are evaluated first: : <math>(1 + 2) \times 3 = 3 \times 3 = 9 .</math> Exponentiation before multiplication, multiplication before subtraction: : <math>1 - 2 \times 3 ^ 4 = 1 - 2 \times 81 = 1 - 162 = -161 .</math> When an expression is written as a superscript, the superscript is considered to be grouped by its position above its base: : <math>1+2^{3+4} = 1+2^7 = 1+128 = 129 .</math> The operand of a root symbol is determined by the overbar: : <math>\sqrt{1 + 3} + 5 = \sqrt 4 + 5 = 2 + 5 = 7.</math> A horizontal fractional line forms two grouped subexpressions, one above divided by another below: : <math>\frac{1 + 2}{3 + 4} + 5 = \frac{3}{7} + 5.</math> Parentheses can be nested, and should be evaluated from the inside outward. For legibility, outer parentheses can be made larger than inner parentheses. Alternately, other grouping symbols, such as curly braces {{nowrap|{ }}} or square brackets {{nowrap|[ ]}}, are sometimes used along with parentheses {{nowrap|( )}}. For example: : <math>\bigl[ (1 + 2) \div (3 + 4) \bigr] + 5 = (3 \div 7) + 5 </math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)