# Combine fractions over a common denominator (together)

Combine fractions into one over a common denominator.

With this function, the solver shows the steps whenever it finds them.

## How to write it

### together(expr)

**expr**

Any expression: a number, a formula, a list or a matrix. Takes an expression.

## Examples

- $\displaystyle \frac{1}{x}+\frac{1}{y} = \frac{x+y}{x y}$

  `together(1/x + 1/y)`

  In the solver, `together(1/x + 1/y)` gives `(x + y)/x/y`.

  [Open in the solver](https://hilberon.com/?q=together%281%2Fx%20%2B%201%2Fy%29)

## Related functions

- [apart](https://hilberon.com/library/apart)

  Split a rational expression into partial fractions.
- [to_radicals](https://hilberon.com/library/to_radicals)

  Write algebraic numbers, given as roots of polynomials, with radicals.
- [cancel](https://hilberon.com/library/cancel)

  Cancel the common factors of a fraction.
- [subs](https://hilberon.com/library/subs)

  Substitute a rule, or a list of rules, in an expression.
- [coefficients](https://hilberon.com/library/coefficients)

  List the coefficients of a polynomial, constant term first.
- [simplify](https://hilberon.com/library/simplify)

  Simplify an expression, optionally under assumptions.

---
Source: https://hilberon.com/library/together
