← Cheat Sheets
Algebra Formulas
Identities and equations you use often.
# Algebra Formulas
Identities and equations you use often.
| Rule | Formula |
|---|---|
| Square of a sum | (a + b)² = a² + 2ab + b² |
| Square of a difference | (a − b)² = a² − 2ab + b² |
| Difference of squares | a² − b² = (a + b)(a − b) |
| Quadratic formula | x = (−b ± √(b² − 4ac)) / 2a |
| Discriminant | b² − 4ac: >0 two roots, 0 one root, <0 none (real) |
| Line | y = mx + c, slope m = (y₂ − y₁)/(x₂ − x₁) |
| Distance | d = √((x₂ − x₁)² + (y₂ − y₁)²) |
| Midpoint | ((x₁ + x₂)/2, (y₁ + y₂)/2) |