Algebra color simplifier for like terms & distribution

Expand parentheses with distribution, color-match like terms, and watch how signs flip. Each step stays visible for quick teaching.

Teacher mode, shareable URL, LaTeX copy, and SVG export are built in. Everything runs locally in your browser.

Other languages: ja | en | es

Input

Full-width digits and × ÷ are normalized. Implicit products like 2x, (x+1)2, and xy are accepted.

How to use (3 quick steps)

  1. Type the expression (implicit products allowed) and press Calculate.
  2. See how distribution pairs with each term and how like terms are boxed together.
  3. Copy the URL, LaTeX, or SVG for notes, slides, or sharing.

All processing stays in your browser; nothing is sent to a server.

What you’ll see

  • Distribution arrows showing which factor hits which term.
  • Color-coded like terms boxed together with their coefficient sums.
  • Sign flips for -(...) and the rules for 1/-1 coefficients.
  • Shareable URL plus LaTeX and SVG exports for teaching.

Teacher mode enlarges text and contrast for projection-friendly slides.

Result

Share & export

  • Save the input and options in the URL to restore the same view.
  • Copy LaTeX for the simplified expression and paste into notes.
  • Download an SVG with the same colors and boxes for slides.

Local-only computation

Distribution mapping

Like-term boxes

Steps

    FAQ

    What counts as like terms?

    Terms with the same variable part (including exponents) are like terms. Matching colors and boxes show what can be added.

    Why does 3(x+2) become 3x+6?

    Distribution multiplies 3 by each part inside the parentheses: 3×x and 3×2, giving 3x+6.

    How do I handle -(x-5)?

    Multiplying by -1 flips every sign: -(x-5)= -x+5.

    Are 2x and 2 like terms?

    No. A term with a variable and a constant term are not like terms; they appear in different colors/boxes.

    Can I type × or full-width digits?

    Yes. × ÷ and full-width digits are normalized automatically. Implicit products like 2x, (x+1)2, and xy are accepted.

    Is anything sent to a server?

    No. Expansion and simplification run entirely in your browser.

    Comments

    Load comments only when needed. Nothing is fetched until you click.