PERFECT SQUARE

The term '''perfect square''' is used in mathematics in two meanings:

★ an integer which is the square of some other integer, i.e. can be written in the form ''n''2 for some integer ''n'' (and because of this a square is always nonnegative). Thus a perfect square always has a square root that has no decimal expansion.


★ Examples: 0, 1, 4, 9, 16, 25, 36, 49, of which the square roots are 0, 1, 2, 3, 4, 5, 6 and 7 respectively... See square number.

★ an algebraic expression that can be factored as the square of some other expression, e.g. ''a''2 ± 2''ab'' + ''b''2 = (''a'' ± ''b'')2 (see square (algebra)).
This is not the same as a magic square.

Contents
Using differences of squares as multiplication
Last Digits of Perfect Squares in Base 10
Determining the Square Root of a Perfect Square More Than or Equal to 100 but Less Than 10000
See also
External links

Using differences of squares as multiplication


Integer multiplication can be done entirely by a difference of two squares.
Examples:

10 imes 10 = (10-0) imes (10+0) = 10^2 - 0^2 = 100 - 0 = 100

9 imes 11 = (10-1) imes (10+1) = 10^2 - 1^2 = 100 - 1 = 99

8 imes 12 = (10-2) imes (10+2) = 10^2 - 2^2 = 100 - 4 = 96

7 imes 13 = (10-3) imes (10+3) = 10^2 - 3^2 = 100 - 9 = 91
In general, the product of two numbers is equal to the square of their average minus their difference from the average squared.

A imes B = [(A+B)/2]^2 - [(A-B)/2]^2
A geometric constructive "proof" of this relation is shown in 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 adjusting one number, requiring one more addition at the end

A imes B = A imes (B-1) + A
Example:

27 imes 34 = [27 imes 33] + 27 = [30^2 - 3^2] + 27 = 900 - 9 + 27 = 918

Last Digits of Perfect Squares in Base 10


In base 10, the last digit of every perfect square is either 0, 1, 4, 5, 6, or 9. If you know a number is a perfect square then you can determine the last digit of its square root as follows:

★ If the last digit of the perfect square is 0, then the last digit of the square root is 0.

★ If the last digit of the perfect square is 1, then the last digit of the square root is either 1 or 9.

★ If the last digit of the perfect square is 4, then the last digit of the square root is either 2 or 8.

★ If the last digit of the perfect square is 5, then the last digit of the square root is 5.

★ If the last digit of the perfect square is 6, then the last digit of the square root is either 4 or 6.

★ If the last digit of the perfect square is 9, then the last digit of the square root is either 3 or 7.

Determining the Square Root of a Perfect Square More Than or Equal to 100 but Less Than 10000


Suppose you are given a perfect square that is greater than or equal 100 but less than 10,000. All of these perfect squares have two digit square roots. A simple party trick algorithm exists for determining its square root with one or two guesses.
First, separate the digits into pairs of digits starting from the right and moving to the left. For examples, consider the perfect squares 4624, 729, and 1600. Break 4624 into 46|24, or break 729 into 7|29, or 1600 into 16|00.
Second, we find the first digit of the square root. If the leftmost pair is a perfect square, find its square root. If the leftmost pair is not a perfect square, find the square root of the largest perfect square smaller than the leftmost pair. That square root will be the leftmost digit of the square root. For examples, for 46|24, the leftmost pair is 46, which is not a perfect square; but the largest perfect square less than 46 is 36 which has a square root of 6. For 7|29, 7 is not a perfect square, but 4 is the largest square less than 7, and its square root is 2. For 16|00, the square root of 16 is 4.
Third, as mentioned in an earlier section, if we know the last digit of a perfect square in base ten, then we can also know the last digit of its square root in two guesses. Thus, we know the last digit of the square root of 4624 is either 2 or 8; for 729 it is either 3 or 7; for 1600 it is 0.
Fourth, we can guess the square root by conjuncting the second and third steps. The square root of 4624 is either 62 or 68; the square root of 729 is either 23 or 27; the square root of 1600 is 40.
If you use a calculator, you will find that the square roots of 4624, 729, and 1600 are actually 68, 27, and 40.

See also



Perfect power

External links



Lists of the first 100, the first 1,000, the first 10,000, the first 100,000, and the first 1,000,000 perfect squares

JavaScript code for finding ten-digit numbers, consisting of distinct digits, that are perfect squares

This article provided by Wikipedia. To edit the contents of this article, click here for original source.

psst.. try this: add to faves