Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Operand
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
===Infix and the order of operation=== {{main|Order of operations}} In a mathematical expression, the order of operation is carried out from left to right. Start with the leftmost value and seek the first operation to be carried out in accordance with the order specified above (i.e., start with parentheses and end with the addition/subtraction group). For example, in the expression :<math>4 \times 2^2 - (2 + 2^2)</math>, the first operation to be acted upon is any and all expressions found inside a parenthesis. So beginning at the left and moving to the right, find the first (and in this case, the only) parenthesis, that is, (2 + 2<sup>2</sup>). Within the parenthesis itself is found the expression 2<sup>2</sup>. The reader is required to find the value of 2<sup>2</sup> before going any further. The value of 2<sup>2</sup> is 4. Having found this value, the remaining expression looks like this: :<math>4 \times 2^2 - (2 + 4)</math> The next step is to calculate the value of expression inside the parenthesis itself, that is, (2 + 4) = 6. Our expression now looks like this: :<math>4 \times 2^2 - 6</math> Having calculated the parenthetical part of the expression, we start over again beginning with the left most value and move right. The next order of operation (according to the rules) is exponents. Start at the left most value, that is, 4, and scan your eyes to the right and search for the first exponent you come across. The first (and only) expression we come across that is expressed with an exponent is 2<sup>2</sup>. We find the value of 2<sup>2</sup>, which is 4. What we have left is the expression :<math>4 \times 4 - 6</math>. The next order of operation is multiplication. 4 Γ 4 is 16. Now our expression looks like this: :<math>16 - 6</math> The next order of operation according to the rules is division. However, there is no division operator sign (Γ·) in the expression, 16 β 6. So we move on to the next order of operation, i.e., addition and subtraction, which have the same precedence and are done left to right. :<math>16 - 6 = 10</math>. So the correct value for our original expression, 4 Γ 2<sup>2</sup> β (2 + 2<sup>2</sup>), is 10. It is important to carry out the order of operation in accordance with rules set by convention. If the reader evaluates an expression but does not follow the correct order of operation, the reader will come forth with a different value. The different value will be the incorrect value because the order of operation was not followed. The reader will arrive at the correct value for the expression if and only if each operation is carried out in the proper order.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Operand
(section)
Add topic