Proof: Difference Squared Theorem
Let's prove the following theorem:
This theorem is equivalent to:
(a - b)2 = a2 - 2⋅a⋅b + b2
Here is a visualization of the theorem:
In this graph, the side of the largest square is a. The longer side of the blue rectangle is b. Thus, the side of the orange square is a - b.
The area of the orange square is (a - b)2.
Let's now try to describe the area of the orange square in terms of the other rectangles.
The area of the orange square is:
(The area of the largest square) - 2 ⋅ (the area of the blue rectangle) - (the area of the green square)
The area of the largest square is
a2
The area of the blue rectangle is
b ⋅ (a - b)
The area of the green rectangle is
b2
Then using substitution, the area of the orange square is
a2 - 2 ⋅ (b ⋅ (a - b)) - b2
2 ⋅ (b ⋅ (a - b)) is equal to
(2 ⋅ b ⋅ a) - (2 ⋅ b ⋅ b)
Which is
(2 ⋅ b ⋅ a) - (2 ⋅ b2)
After substitution, we get:
a2 - ((2 ⋅ b ⋅ a) - (2 ⋅ b2)) - b2
Which reduces to
a2 - (2 ⋅ b ⋅ a) + b2
We can also prove this theorem using the Sum Squared Theorem, which used the distributive property, as shown below.
Proof:
# | Claim | Reason |
---|---|---|
1 | (a + (b ⋅ (-1))) ⋅ (a + (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) | (a + (b ⋅ (-1))) ⋅ (a + (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) |
2 | (a ⋅ (b ⋅ (-1))) ⋅ 2 = (a ⋅ b) ⋅ (-2) | (a ⋅ (b ⋅ (-1))) ⋅ 2 = (a ⋅ b) ⋅ (-2) |
3 | (a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2) = (a ⋅ a) + ((a ⋅ b) ⋅ (-2)) | if (a ⋅ (b ⋅ (-1))) ⋅ 2 = (a ⋅ b) ⋅ (-2), then (a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2) = (a ⋅ a) + ((a ⋅ b) ⋅ (-2)) |
4 | ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) | if (a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2) = (a ⋅ a) + ((a ⋅ b) ⋅ (-2)), then ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) |
5 | (b ⋅ (-1)) ⋅ (b ⋅ (-1)) = b ⋅ b | (b ⋅ (-1)) ⋅ (b ⋅ (-1)) = b ⋅ b |
6 | ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + (b ⋅ b) | if (b ⋅ (-1)) ⋅ (b ⋅ (-1)) = b ⋅ b, then ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + (b ⋅ b) |
7 | ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + (b ⋅ b) | if ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) and ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + (b ⋅ b), then ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + (b ⋅ b) |
8 | (a + (b ⋅ (-1))) ⋅ (a + (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + (b ⋅ b) | if (a + (b ⋅ (-1))) ⋅ (a + (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) and ((a ⋅ a) + ((a ⋅ (b ⋅ (-1))) ⋅ 2)) + ((b ⋅ (-1)) ⋅ (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + (b ⋅ b), then (a + (b ⋅ (-1))) ⋅ (a + (b ⋅ (-1))) = ((a ⋅ a) + ((a ⋅ b) ⋅ (-2))) + (b ⋅ b) |
Comments
Please log in to add comments