ARITHMETIC WORKSHEETS

Checking a difference of squares by factorization

The difference of two squares equals the difference of the numbers times their sum. This guide checks the identity with 11 and 9 and shows when it turns hard arithmetic into easy arithmetic.

The identity and why it holds

For any two numbers a and b, a squared minus b squared equals (a minus b) times (a plus b). You can see why by multiplying the right side out. The product gives a squared plus a times b minus b times a minus b squared, and the two cross terms cancel. What remains is a squared minus b squared. The identity is exact for integers, fractions and decimals alike, and it appears in algebra texts such as OpenStax College Algebra as one of the standard special products. Here it is tested on small integers so that both sides can be computed on a basic calculator without rounding.

Comparing 11 and 9 by both routes

Take a equal to 11 and b equal to 9. Squaring directly gives 121 and 81, and their difference is 40. The factored route computes 11 minus 9, which is 2, and 11 plus 9, which is 20. Their product is also 40. The two routes agree, as they must. The first route needs two squarings and a subtraction, while the second needs one subtraction, one addition and one multiplication with small numbers. For these inputs the savings are modest. The point of the exercise is that you now have an independent way to verify a result, which is more useful than either route alone.

Geometry behind the factorization

A picture helps when the algebra feels abstract. Start with a square of side 11 and cut a square of side 9 out of one corner. The remaining L-shaped region has area 121 minus 81, or 40. Cut the L along a diagonal join and rearrange its two arms into a single rectangle. One side of that rectangle is the sum of the two sides, 20, and the other is their difference, 2. The rectangle has area 40, matching the calculation. The same rearrangement works for any pair of positive sides, which is a quick way to remember that the factors are the sum and the difference rather than two copies of one of them.

Using it for faster mental arithmetic

The factorization is most useful when the sum or the difference is a convenient number. To compute 53 squared minus 47 squared, the difference is 6 and the sum is 100, so the answer is 600. Direct squaring gives 2809 minus 2209, which is also 600. For 101 squared minus 99 squared, the factors are 2 and 200, so the answer is 400, while 10201 minus 9801 agrees. Products of numbers equally far from a round number work the same way in reverse. 99 times 101 is 100 squared minus 1 squared, which is 9999. Numbers symmetric around a round value are where the shortcut pays off.

Keeping the order of subtraction

The two squares are not interchangeable. If you reverse them and compute 81 minus 121, the result is negative 40. The factored form must follow the same order, so the first factor becomes 9 minus 11, which is negative 2, and multiplying by 20 gives negative 40. A common slip is to write the factors as (a minus b) and (a minus b), or to forget that the second factor is a sum. Another is to write the answer as a positive number after reversing the order. The reversed-order case below exists to catch that slip. Writing the order of the original subtraction next to your factors before multiplying costs a few seconds and prevents a sign error.

What the identity does not say

The identity applies to a difference, never to a sum. A squared plus b squared has no factorization into real linear factors, so 121 plus 81, which is 202, cannot be rewritten as a product of the sum and difference of 11 and 9, since 20 times 2 is only 40. It also does not allow you to distribute the square across a subtraction. Eleven minus nine, squared, is 4, which is quite different from 121 minus 81. These near-misses cause most errors in homework on this topic. When a result looks suspicious, rerun the original squares on a calculator and compare, because the direct route is slower but cannot be wrong in sign or structure.

Choosing inputs for your own checks

Try the check with pairs where you can predict the result in your head. Consecutive integers are a good start: for 6 squared minus 5 squared the factors are 1 and 11, so the answer is 11, which equals the sum of the two numbers. In general, the difference of squares of consecutive integers is always the sum of those integers. Pairs two apart give twice the sum, as 11 and 9 did. Use the basic calculator for each step and write down the intermediate numbers, as the worksheet does. The calculator performs one operation per entry, so your written list of intermediates is the record that makes the check meaningful.

Where factoring a difference of squares is used

Beyond arithmetic tricks, the identity is used to simplify fractions with square roots, a step called rationalizing the denominator. Multiplying a denominator of the form (a plus the square root of b) by (a minus the square root of b) gives a squared minus b, which removes the root. It also appears in solving quadratic equations of the form x squared equals a constant. Every odd integer can be written as a difference of two squares, because 2k plus 1 equals (k plus 1) squared minus k squared, and Fermat used this fact in a method for factoring odd composite numbers. A small identity supports much larger methods.

Variables, fractions and decimals

Nothing in the identity depends on a and b being integers. With a equal to 2.5 and b equal to 1.5, the squares are 6.25 and 2.25, which differ by 4. The factored form gives (2.5 minus 1.5) times (2.5 plus 1.5), or 1 times 4, which is also 4. In algebra, the letters can stand for whole expressions: x squared minus 49 factors as (x minus 7) times (x plus 7), and 4y squared minus 9 factors as (2y minus 3) times (2y plus 3). Recognizing that 49 and 9 are perfect squares is the key step. When a term is not a perfect square, such as 50, the factorization needs a square root and no longer stays within integers.

Reproduce the checks

Direct square difference

Open the Basic calculator and enter:

First number
121
Operation
subtract
Second number
81

Expected output:

Result

40

The first square corresponds to eleven.

Factored product

Open the Basic calculator and enter:

First number
2
Operation
multiply
Second number
20

Expected output:

Result

40

The difference and sum reproduce the direct result.

Reversed-order control

Open the Basic calculator and enter:

First number
81
Operation
subtract
Second number
121

Expected output:

Result

-40

Changing subtraction order changes the sign.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Related tasks