Difference of two squares

From Wikipedia, the free encyclopedia

In mathematics, the difference of two squares refers to the identity

a2b2 = (a + b)(ab)

from elementary algebra. The proof is straightforward, starting from the RHS: apply the distributive law to get a sum of four terms, and set

baab = 0

as an application of the commutative law. The resulting identity is one of the most commonly used in all of mathematics.

The proof just given indicates the scope of the identity in abstract algebra: it will hold in any commutative ring R.

Also, conversely, if this identity holds in a ring R for all pairs of elements a and b of the ring, then R is commutative. To see this, we apply the distributive law to the right-hand side of the original equation and get

a2ab + bab2

and if this is equal to a2b2, then we have

a2ab + bab2 − (a2b2) = 0

and by associativity and the rule that rr = 0, we can rewrite this as

baab = 0

If the original identity holds, then, we have baab = 0 for all pairs a, b of elements of R, so the ring R is commutative.

A geometric illustration of the difference of two squares. The sum of the shaded parts simplifies to (a − b)(a + b).
A geometric illustration of the difference of two squares. The sum of the shaded parts simplifies to (ab)(a + b).

The difference of two squares can also be illustrated geometrically as the difference of two squares in a plane. The sum of the difference area equals the RHS

2b(ab) + (ab)2
2b(ab) + (ab)(ab)
(2b + ab)(ab)
(a + b)(ab)
Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.