Math Wiki
(→‎Properties: Have math jax?)
Line 12: Line 12:
 
==Properties==
 
==Properties==
 
* Generally, subtraction is '''not''' [[commutativity|commutative]] nor [[associativity|associative]].
 
* Generally, subtraction is '''not''' [[commutativity|commutative]] nor [[associativity|associative]].
  +
* [[3]] - [[6]] <span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16px;font-size:small;">≠</span>  6 - 3
* \(3 - 6 = -3 \not= 6 - 3\)
 
   
 
==In real life.==
 
==In real life.==

Revision as of 02:44, 18 April 2013

In arithmetic and higher mathematics, subtraction is the inverse operation of addition.

In lower-level elementary mathematics and when using signed integers in programming languages, subtracting a number from a number with lower value is undefined.

Subtraction in different fields

  • Integer subtraction: a - b is equivalent to a + -b, where -b is the additive inverse of b.
    • Example: 9 - 8 = 1
  • Real number and complex number subtraction:
    • Example: 8.2 - (5 + 2i) = 3.2 - 2i
  • Matrix subtraction: A - B = A + -B

Properties

In real life.

Subtraction is used in real life like addition like in computing change, calculating the amount remaining from a bank account, and many others.

Estimation

This can be done in the same way as addition.

See also