Perfect square |
The term perfect square is used in mathematics in two meanings:
This is not the same as a magic square.
= Using differences of squares as multiplication =
Integer multiplication can be done entirely by a difference of two squares.
Examples:
In general, the product of two numbers is equal to the square of their average minus their difference from the average squared.
A geometric constructive proof of this relation is shown the following animation:
The starting rectangle is A by B . The resulting large square is length ( A + B )/2, and the smaller gray square (remainder being subtracted) is length | A - B |/2.
Using this relation, you can multiply relatively large nearly equal numbers more quickly if you memorize a relatively small list of squares.
If you re multiplying an even by an odd, you can avoid halves by adjust one number, by requiring one more addition at the end
Example:
==See also==
[http://snafumedia.com/square.htm List of perfect square between 1-10,000]
[http://digitalfilipino.21publish.com/simoncpu/weblogEntry/13s26v4b3orbs.htm JavaScript code for finding ten-digit numbers, consisting of distinct digits, that are perfect squares]|
|