Subtract

x-y

is equivalent to x+(-1*y).

Details

  • x-y is converted to x+(-1*y) on input.

Examples

open allclose all

Basic Examples  (3)

Subtract numbers:

In[1]:=
Click for copyable input
Out[1]=

Subtract expressions:

In[1]:=
Click for copyable input
Out[1]=

Subtract evaluates to Plus:

In[1]:=
Click for copyable input
Out[1]//FullForm=

Scope  (3)

Applications  (1)

See Also

Minus  Decrement  Plus  Differences  SubtractFrom

Tutorials

Introduced in 1988
(1.0)