Math Lab

Binomial Expansion

Algebra

Full expansion of (a + b)ⁿ with each term and coefficient.

Inputs

Expanding (a + b)^n via the binomial theorem.

Summary

(1 + 1)^532
Number of terms6
Algebraic expansiona^5 + 5 a^4 b + 10 a^3 b^2 + 10 a^2 b^3 + 5 a b^4 + b^5

Term-by-term table

kC(n, k)a^(n−k)b^kTerm value
01111
15115
2101110
3101110
45115
51111

Pascal's triangle (row 5 highlighted)

1
11
121
1331
14641
15101051

Frequently asked questions

What does the Binomial Expansion do?

The Binomial Expansion is an interactive algebra lab where you change inputs and the answers update live, helping you build intuition without doing the arithmetic by hand.

Who should use the Binomial Expansion?

Students from primary to senior secondary classes, parents helping with homework, and anyone revising algebra can use this lab to check answers and explore "what-if" scenarios.

Is the Binomial Expansion free to use?

Yes. Every lab on math.suparnpatra.com is free and runs entirely in your browser : nothing is sent to a server.

Does the Binomial Expansion work offline?

Once the page is loaded, all calculations run locally in JavaScript, so you can keep using it even on a flaky connection.

How accurate are the results?

Results use standard JavaScript double-precision arithmetic and the textbook formula for algebra. We never display scientific notation : numbers are shown as ordinary decimals you can read at a glance.