Binomial Expansion Calculator

Expand expressions of the form (ax + by)n using the binomial theorem. Enter numeric coefficients a and b and a non-negative integer exponent n to generate the expanded polynomial, plus a term-by-term table.

How this binomial expansion calculator works

Binomial expansion inputs

This is the numeric multiplier on x in (ax + by).

This is the numeric multiplier on y in (ax + by).

Use whole numbers. Negative or fractional exponents require an infinite-series version of the binomial theorem, which this calculator does not compute.

Enter coefficients and exponent.

Optional mini-game: Pascal Pulse

If you want to turn the same pattern behind the calculator into a quick reflex-and-reasoning challenge, Pascal Pulse asks you to build expansions one correct term at a time. Each round shows a binomial such as (2x − 3y)4 and tells you which index k comes next. Several drifting term cards appear on the canvas. Your job is to tap or click the one card that really matches the binomial theorem at that moment. The right answer must have the correct sign, the correct coefficient, and the correct powers of x and y, so the game rewards understanding rather than random guessing.

Runs last about 75 seconds. The opening wave is calm so you can settle into the core pattern: the power of x falls from n toward 0 while the power of y rises from 0 toward n. Later waves speed up, add sign traps, and increase the number of decoys. If your calculator inputs already contain a small integer example, the first round uses that setup so the game feels connected to the algebra you were just exploring. It is completely optional and never changes the actual calculator result.

Score0
Time75.0s
Streak0
Progress0/0
Round0

Press start to begin a term-matching run.

Pascal Pulse

Spot the next correct term in the expansion before the timer runs down.

  • Objective: choose the drifting card that matches the current k term of the displayed binomial.
  • Controls: tap or click a card. Keyboard fallback: press 1 to 5 for the visible card slot numbers.
  • Scoring: fast correct answers build streaks. Wrong picks and slow decisions cost time.

Best score: 0

Game ready. Start whenever you want a short binomial-theorem drill.

Embed this calculator

Copy and paste the HTML below to add the Binomial Expansion Calculator (ax + by)^n — Binomial Theorem Expansion to your website.