DocumentationCalculationCenterFunctionsAlgebra
Together
Together[expr] puts terms in a sum over a common denominator and cancels factors in the result.
Example: Together[1/x + 1/(1 - x)] .
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.
See also: Apart, Factor.
Examples
Using InstantCalculators
Here is the InstantCalculator for the Together function. Enter the parameters for your calculation and click Calculate to see the result.
In[1]:=
Out[1]=
Entering Commands Directly
You can paste a template for this command via the Text Input button on the Together Function Controller.
Here is a simple example.
In[2]:=
Out[2]=
Here is another example.
In[3]:=
Out[3]=
Together explicitly makes it clear that this expression is indeterminate.
In[4]:=
Out[4]=
Together simplifies this complicated expression.
In[5]:=
Out[5]=
No cancellation is done here.
In[6]:=
Out[6]=
|