✦ScienexySCIENCE KNOWLEDGE LIBRARY
General science · SCI-FORM-MTH-002

Square of a Difference

The square of a difference identity expresses the square of the difference between two terms as the first square minus twice the product plus the second square.

\((a - b)^2 = a^2 - 2ab + b^2\)

What this formula means

Definition

The square of a difference identity expresses the square of the difference between two terms as the first square minus twice the product plus the second square.

Interpretation

The negative cross-term results because each cross-product contains one factor of −b.

Mathematical Significance

Distributive law and multiplication of signed terms

Scientific principle

Principle

Distributive law and multiplication of signed terms

Derivation

StepExplanationExpression

1

Write the square as a product.

(a-b)^2 = (a-b)(a-b)

2

Distribute.

= a(a-b) - b(a-b)

3

Multiply each term.

= a^2 - ab - ab + b^2

4

Combine the two equal cross-terms.

= a^2 - 2ab + b^2

Result

Therefore, square of a difference is expressed by (a - b)^2 = a^2 - 2ab + b^2.

Variables and their meanings

SymbolMeaningDescription

a

First term

The minuend or first algebraic term.

b

Second term

The term subtracted from a.

SI units and conversions

Si Unit

Dimensionless (1)

Dimensional Formula

[1]

Unit Explanation

This is a pure algebraic identity involving quantities of the same algebraic type; when variables represent physical quantities, each term must have consistent dimensions.

Unit Conversions

No items supplied.

Conditions of use

  • The expression must be interpreted with the parentheses retained.

  • The identity is valid in ordinary commutative algebra.

Limitations and assumptions

  • It is not equal to a² − b²; that expression is the difference of two squares.

  • For non-commuting quantities, the cross-terms must be retained in their ordered form.

Step-by-step worked examples

ProblemGivenSolutionAnswer

Expand (x − 4)².

  • a = x

  • b = 4

StepExplanationCalculation

1

Apply the identity.

(x−4)² = x² − 2(x)(4) + 4²

2

Simplify.

= x² − 8x + 16

x² − 8x + 16.

Evaluate 98².

  • 98 = 100 − 2

StepExplanationCalculation

1

Express 98 as a difference.

98² = (100−2)²

2

Substitute.

= 100² − 2(100)(2) + 2²

3

Evaluate.

= 10000 − 400 + 4 = 9604

98² = 9,604.

Real-world applications

ApplicationExplanation

Mental arithmetic

Useful for squaring numbers slightly below a convenient base such as 100 or 1,000.

Completing the square

The identity helps rewrite quadratic expressions into vertex form.

Error estimation

Differences of nearby quantities can be expanded to analyse small corrections.

Formula Meaning

Definition

The square of a difference identity expresses the square of the difference between two terms as the first square minus twice the product plus the second square.

Interpretation

The negative cross-term results because each cross-product contains one factor of −b.

Mathematical Significance

Distributive law and multiplication of signed terms

Sources and further reading

No source has been supplied for this item yet. Treat the claim as needing editorial verification.

← Back to Formula Hub · Suggest a correction or source