Proof: Why the Root Mean Square of two positive numbers is always greater than their Geometric Mean?
This article focuses on discussing the proof of why the root-mean-square of two positive numbers is always greater than their geometric mean. Before getting into the details of the proof, let’s first discuss the basic terminologies:
Root Mean Square (RMS):
Consider some numbers, A1, A2, A3, A4, …. AN, the root-mean-square of these numbers will be equal to the square root of the arithmetic mean of the squares of these numbers, i.e.
For A1, A2, A3 ... AN, the RMS value equals to- Root Mean Square (RMS) = √(((A1)2 + (A2)2 + (A3)2 +...+ (AN)2)/N) For two numbers, A and B, their RMS value equals to- Root Mean Square (RMS) = √((A2 + B2)/2)
RMS is also known as the Quadratic mean and has a very wide range of applications. In statistics, it is often used as an alternative to the term, standard deviation. It is also used in many concepts related to physics, like electricity, etc.
Geometric Mean (GM):
Consider some numbers, A1, A2, A3, A4, …. AN, the geometric mean of these numbers will be equal to the nth square root of the multiplication of all these numbers, i.e.
For A1, A2, A3 ... AN, the GM value equals to- Geometric Mean (GM) = n√(A1 * A2 * A3 * ... * AN) For two numbers, A and B, the GM value equals to- Geometric Mean (GM) = √(A * B)
It is used to find the average or mean of geometric sequences, which helps us in studying and analyzing many real-life concepts, like the growth of bacteria, investments, etc.
The root-mean-square of two positive numbers is always greater than the geometric mean for the same two numbers.
Consider two numbers, A and B, such that A, B > 0 and A ≠ B.
1. Consider the formula of the square of the difference between two positive numbers-
(A - B)2 = A2 - 2AB + B2 --- (1)
2. It is known that the square of a number is always greater than or equal to zero. But here we have A ≠ B. So, it can be written as-
(A - B)2 > 0
3. Expanding the left-hand side of the above equation using the property defined in equation 1-
A2 - 2AB + B2 > 0
4. After doing some rearrangements-
A2 + B2 > 2AB
5. Diving the above equation by 2-
((A2 + B2)/2) > (A * B)
6. Since both the sides are greater than 0, i.e. positive. After squaring both sides, the following equation is obtained-
√((A2 + B2)/2) > √(A * B)
Notice that the left-hand side is the root-mean-square and the right-hand side is equal to the geometric mean of A and B. This proves that the root-mean-square is always greater than the geometric mean for two positive numbers.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.