Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Difference of two squares
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Algebraic proof === The [[mathematical proof|proof]] of the factorization identity is straightforward. Starting from the [[Sides of an equation|right-hand side]], apply the [[distributive law]] to get <math display=block>(a+b)(a-b) = a^2+ba-ab-b^2.</math> By the [[commutative law]], the middle two terms cancel: <math display=block>ba - ab = 0</math> leaving<ref name="bbc-bitesize">{{cite web |title=Difference of two squares - Factorising an algebraic expression - National 5 Maths Revision |url=https://www.bbc.co.uk/bitesize/guides/zmvrd2p/revision/2 |website=BBC Bitesize |access-date=9 April 2025}}</ref> <math display=block>(a+b)(a-b) = a^2-b^2.</math> The resulting identity is one of the most commonly used in mathematics. Among many uses, it gives a simple proof of the [[AMβGM inequality]] in two variables. The proof holds not only for numbers, but for elements of any [[commutative ring]]. Conversely, if this identity holds in a [[ring (mathematics)|ring]] {{mvar|R}} for all pairs of elements {{mvar|a}} and {{mvar|b}}, then {{mvar|R}} is commutative. To see this, apply the distributive law to the right-hand side of the equation and get <math display=block>a^2 + ba - ab - b^2.</math> For this to be equal to {{tmath|\textstyle a^2 - b^2}}, we must have <math display=block>ba - ab = 0</math> for all pairs {{mvar|a}}, {{mvar|b}}, so {{mvar|R}} is commutative.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)