What this calculator does
Evaluate and factor a² − b².
How it works
The calculator evaluates a² − b² = (a − b)(a + b). 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
2-
?a=aNumber · Required · Default: 10
-
?b=bNumber · Required · Default: 6
Outputs
3-
differencea² − b²Number · Primary output
-
factoredFormFactored formText
-
factorsNumeric factorsText
Inputs and results
The inputs are a, b. Results include a² − b², Factored form, Numeric factors.