Arithmetic Functions

The Wolfram Language immediately allows you to do arithmetic not only with individual numbers, but also with arbitrary lists or arrays—as well as symbolic and algebraic forms. The Wolfram Language uses the latest platform-optimized algorithms to work with exact and approximate numbers up to billions of digits, as well as polynomials with millions of terms.

(RefLink[Plus, paclet:ref/Plus]) ((RefLink[+, paclet:ref/Plus])) — addition of numbers, lists, arrays, or symbolic expressions

(RefLink[Subtract, paclet:ref/Subtract]) ((RefLink[-, paclet:ref/Subtract])) — subtraction

(RefLink[Times, paclet:ref/Times]) ((RefLink[×, paclet:ref/Times])) — multiplication, entered as a space, * or × ((Key0[esc]) * (Key0[esc]))

(RefLink[Divide, paclet:ref/Divide]) ((RefLink[/, paclet:ref/Divide])) — division, also entered as ÷ ((Key0[esc]) div (Key0[esc]))

(RefLink[Power, paclet:ref/Power]) ((RefLink[^, paclet:ref/Power])) — power, entered as a superscript using (Key1[ctrl, ^])

(RefLink[Sqrt, paclet:ref/Sqrt]) — square root, entered as (Sqrt[□]) using (Key1[ctrl, @])

(RefLink[Total, paclet:ref/Total]) — total of elements in a list

(RefLink[Mean, paclet:ref/Mean]) — mean of a list

(RefLink[Accumulate, paclet:ref/Accumulate]) — cumulative sums in a list

(RefLink[Differences, paclet:ref/Differences]) — successive differences in a list

(RefLink[Ratios, paclet:ref/Ratios]) — successive ratios in a list