Wednesday, July 3, 2024
HomeData ModellingData Structure & AlgorithmProof: Why the Root Mean Square of two positive numbers is always...

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.

Problem Statement:
The root-mean-square of two positive numbers is always greater than the geometric mean for the same two numbers.

Solution:
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.

Feeling lost in the world of random DSA topics, wasting time without progress? It’s time for a change! Join our DSA course, where we’ll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 neveropen!

Ted Musemwa
As a software developer I’m interested in the intersection of computational thinking and design thinking when solving human problems. As a professional I am guided by the principles of experiential learning; experience, reflect, conceptualise and experiment.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments