To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
3 Responses
Start with the fact that a square is never negative: (a − b)^2 ≥ 0 for any real a and b. Expanding gives a^2 − 2ab + b^2 ≥ 0. Now add 2ab to both sides to get a^2 + b^2 ≥ 2ab. Equality holds exactly when a = b, since then (a − b)^2 = 0.
Another way is to apply AM–GM to a and b: (a + b)/2 ≥ √(ab). Squaring and simplifying, (a + b)^2/4 ≥ ab becomes a^2 + 2ab + b^2 ≥ 4ab, so a^2 + b^2 ≥ 2ab. This argument does not need any special cases and works for any real a and b. Do you prefer the direct expansion from the square, or the AM–GM route? Which step felt least obvious?
For any real a and b, (a − b)^2 is a square, so it’s always ≥ 0. Expanding gives a^2 − 2ab + b^2 ≥ 0. Now add 2ab to both sides (which keeps the inequality direction the same), and you get a^2 + b^2 ≥ 2ab. That’s the entire logical step: expand, then rearrange. Equality happens exactly when a = b, since then (a − b)^2 = 0. Simple example: with a = 3 and b = 5, (3 − 5)^2 = 4 ≥ 0, and the rearranged form says 3^2 + 5^2 = 9 + 25 = 34 ≥ 2·3·5 = 30. If a = b = 4, then 16 + 16 = 32 equals 2·4·4 = 32, so we get equality.
Great question! The key is that for any real numbers a and b, the square (a − b)^2 is always nonnegative, because squaring never gives a negative result. Now expand that square: (a − b)^2 = a^2 − 2ab + b^2, so (a^2 − 2ab + b^2) ≥ 0. From here, just add 2ab to both sides (which preserves the inequality) to get a^2 + b^2 ≥ 2ab. That’s the whole logical step: expand, then rearrange. In fact, these two statements are equivalent-you can go backward by subtracting 2ab to recover (a − b)^2 ≥ 0. Equality happens exactly when a = b. Analogy time: think of a and b as two points on a number line; the squared distance between them can’t be negative, and expanding (a − b)^2 is just expressing that same distance in a more “algebra-unpacked” way.