puts terms in a sum over a common denominator, and cancels factors in the result.

Details and Options

  • Together makes a sum of terms into a single rational function.
  • The denominator of the result of Together is typically the lowest common multiple of the denominators of each of the terms in the sum.
  • Together avoids expanding out denominators unless it is necessary.
  • Together is effectively the inverse of Apart.
  • Together[expr,Modulus->p] generates a result modulo p.
  • Together[expr,Extension->Automatic] allows operations to be performed on algebraic numbers in expr.
  • Together[expr,Trig->True] treats trigonometric functions as rational functions of exponentials, and manipulates them accordingly.
  • Together automatically threads over lists, as well as equations, inequalities and logic functions.


open all close all

Basic Examples  (2)

Combine terms over a common denominator:

Click for copyable input

Cancel common factors between the numerator and the denominator:

Click for copyable input

Scope  (3)

Options  (6)

Applications  (1)

Properties & Relations  (3)

Introduced in 1988
Updated in 2007