Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Mathematical Functions > Arithmetic Functions >

Subtract (-)

x-y
is equivalent to x+(-1*y).
  • x-y is converted to x+(-1*y) on input.
Subtract numbers:
Subtract expressions:
Subtract evaluates to Plus:
If any number is approximate, the whole result will be:
Subtracting complex numbers subtracts their components:
Subtract threads element-wise over lists:
Find pairs of numbers that differ by an integer:
Verify that their differences are integers:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team