PRODUCTS
Products Overview
Mathematica
Mathematica for Students
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Knowledge Base
Learning Center
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Formula Manipulation
>
Algebraic Transformations
>
Together
>
BUILT-IN MATHEMATICA SYMBOL
Putting Expressions into Different Forms
Structural Operations on Rational Expressions
Tutorials »
|
Apart
Cancel
Collect
Factor
PolynomialGCD
PadeApproximant
See Also »
|
Algebraic Transformations
Formula Manipulation
Polynomial Factoring & Decomposition
Rational Functions
More About »
Together
Together
[
expr
]
puts terms in a sum over a common denominator, and cancels factors in the result.
MORE INFORMATION
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.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Combine terms over a common denominator:
Cancel common factors between the numerator and the denominator:
Combine terms over a common denominator:
In[1]:=
Out[1]=
Cancel common factors between the numerator and the denominator:
In[1]:=
Out[1]=
Scope
(3)
Combine a sum of any number of terms:
Here all factors of the denominator divide the numerator:
Together
threads over equations and inequalities:
Options
(6)
By default,
Together
treats algebraic numbers as independent variables:
With
Extension
->
Automatic
,
Together
recognizes algebraically dependent coefficients:
Computations over rational numbers:
The same computations over integers modulo 2:
By default,
Together
treats trigonometric functions as independent variables:
With
Trig
->
True
,
Together
recognizes dependencies between trigonometric functions:
Applications
(1)
Test whether a function is a rational function:
Properties & Relations
(3)
Apart
acts as a partial inverse of
Together
:
Together
combines terms over a common denominator and cancels common factors:
Cancel
only cancels common factors between numerators and denominators:
Use
Numerator
and
Denominator
to extract numerators and denominators:
SEE ALSO
Apart
Cancel
Collect
Factor
PolynomialGCD
PadeApproximant
TUTORIALS
Putting Expressions into Different Forms
Structural Operations on Rational Expressions
MORE ABOUT
Algebraic Transformations
Formula Manipulation
Polynomial Factoring & Decomposition
Rational Functions
New in 1 | Last modified in 6