Algebra 1-2Free, no account needed
Binomial expansion calculator
Expand (ax+b)^n with exact coefficients, a current Pascal triangle and signed coefficient bars, then verify the expansion by substitution.
Try your problem
Supported inputs and limits
a and b have magnitude <=1,000 and reduced denominators <=1,000,000. Integer n from 0 through 10. Numbers use <=24 characters: signed integer, positive-denominator fraction or finite decimal <=6 places, no expressions/mixed/repeating syntax. Exact polynomial coefficients; n=0 uses the formal empty-product convention. Signed bars are approximately normalized, not counts or function values. Paste <=200 characters: binomial(2;-1;3), fields a;b;n.
Step by step
Understand the method
In (ax+b)^n each of n identical factors supplies either ax or b. Choosing b from k factors can be done in C(n,k) ways, so the coefficient of x^(n-k) is C(n,k)*a^(n-k)*b^k. Signs and powers of a and b matter as much as the counting weight.
Pascal's triangle starts with 1. Each later row has 1 at both ends, and every interior entry is the sum of its two parents. Row n supplies C(n,0) through C(n,n), but these are the final coefficients only when the required powers of a and b are also included.
This tool uses formal polynomial arithmetic: a zeroth power is the empty product 1, including the zero polynomial. That convention is not a statement about analytic limits called 0^0. Zero coefficients are retained in the coefficient table even when absent from the simplified expansion. Substitution at 1 and -1 checks the total and alternating coefficient sums.
Worked examples
Read the reasoning, or load an example into the calculator.
Nonunit coefficient and alternating signs
Pascal row 3 is 1,3,3,1. Combining powers gives (2x-1)^3=8x^3-12x^2+6x-1. At x=1 both forms give 1.
Fractional coefficient
(x/2+1)^2=(1/4)x^2+x+1. The middle coefficient is 2*(1/2)*1=1, not 2.
The identity power
(3x+4)^0=1 as a formal polynomial. Its only coefficient is 1 and substitution at 1 or -1 still gives 1.
Try it without the calculator
Three questions for practice, not a graded school assessment. Your answers stay on this page and are not saved.
Original Testinar learning content. This local preview is awaiting final review before publication.

