What this calculator does
Expand two linear binomials using the FOIL method.
How it works
The calculator evaluates (ax + b)(cx + d) = acx² + (ad + bc)x + bd. Inputs are checked before calculation, and invalid values such as zero denominators or out-of-range selections produce a clear error instead of a misleading result.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
4-
?a=a in (ax + b)Number · Required · Default: 2
-
?b=b in (ax + b)Number · Required · Default: 3
-
?c=c in (cx + d)Number · Required · Default: 4
-
?d=d in (cx + d)Number · Required · Default: -5
Outputs
5-
expandedExpanded polynomialText · Primary output
-
xSquaredCoefficientx² coefficientNumber
-
xCoefficientx coefficientNumber
-
constantConstantNumber
-
stepsFOIL termsText
Inputs and results
The inputs are a in (ax + b), b in (ax + b), c in (cx + d), d in (cx + d). Results include Expanded polynomial, x² coefficient, x coefficient, Constant, FOIL terms.