Sub topic 10
GP Properties: Middle Term, Products of Equidistant Terms and Choosing Variables
This chapter assumes you can write the nth term of a GP as a·r^(n−1), solve quadratics, and handle exponents. Here you learn three properties that turn many GP problems into one short equation. They are the middle-term rule, the equidistant-product rule, and symmetric choices of variables.
The middle-term property
Three non-zero numbers a, b, c are consecutive terms of a GP when b/a = c/b. Cross-multiplying gives:
b² = a·c
The same idea works for any term and any spacing. In a GP with terms T₁, T₂, ..., each term is the geometric mean of two terms placed equally far on either side of it:
Tk² = T(k−m) · T_(k+m)
For example, T₅² = T₃·T₇ = T₂·T₈ = T₁·T₉.
Taking square roots gives b = ±√(ac), and both signs can be valid. Take 2, x, 8. Then x² = 16, so x = 4 or x = −4. The sequences 2, 4, 8 (ratio 2) and 2, −4, 8 (ratio −2) are both GPs. If the question says the terms are positive, take the positive root. Otherwise keep both and check them against the other conditions.
Also note that a and c must have the same sign, because ac = b² cannot be negative.
Worked example: a trap in the middle-term equation
Find x if x, 2x + 2, 3x + 3 are in GP.
Apply the rule: (2x + 2)² = x(3x + 3).
4(x + 1)² = 3x(x + 1)
(x + 1)[4(x + 1) − 3x] = 0
(x + 1)(x + 4) = 0
So x = −1 or x = −4.
Check x = −1: the terms are −1, 0, 0. A GP cannot contain zero, because the ratio is undefined. Reject it. Check x = −4: the terms are −4, −6, −9, with ratio 3/2. Accept it. The answer is x = −4.
Never divide both sides by (x + 1) at the start. That hides a root, and you would not see that it fails the check.
Products of equidistant terms
In a GP, the product of two terms depends only on the sum of their positions. For positions i and j:
Ti · Tj = (a·r^(i−1))(a·r^(j−1)) = a²·r^(i+j−2)
If i + j = p + q, then Ti·Tj = Tp·Tq. In a finite GP with n terms, the term at position i and the term at position n + 1 − i have position sum n + 1. So each pair equidistant from the two ends has the same product, which equals first × last:
T₁·Tₙ = T₂·T₍ₙ₋₁₎ = T₃·T₍ₙ₋₂₎ = ...
This gives a fast way to find the product of all terms.
- Even n: there are n/2 pairs, so the product is (T₁·Tₙ)^(n/2).
- Odd n: the middle term M satisfies M² = T₁·Tₙ, and the product of all terms is M^n.
The odd case holds exactly, including signs. For a 7-term GP with product 128, the fourth term satisfies M⁷ = 128 = 2⁷, so M = 2. An odd power has only one real root, so no sign ambiguity appears.
The code below checks both facts for 2, 6, 18, 54, 162, 486, 1458.
from fractions import Fraction
from math import prod
def gp_terms(a, r, n):
return [Fraction(a) * Fraction(r) ** k for k in range(n)]
terms = gp_terms(2, 3, 7)
print([int(t) for t in terms]) # [2, 6, 18, 54, 162, 486, 1458]
pair_products = [terms[i] * terms[len(terms) - 1 - i] for i in range(len(terms))]
print([int(p) for p in pair_products]) # [2916, 2916, 2916, 2916, 2916, 2916, 2916]
print(prod(terms) == terms[3] ** 7) # True: product = middle term ** 7Every pair product is 2916, which is 54², the square of the middle term. This is the rule in action.
Choosing variables to shrink the algebra
If you want three numbers in a GP, you could call them a, ar, ar². Another choice is a/r, a, ar. The second choice has a useful feature: the product of the three terms is a³, with r cancelling completely. The choice of variables decides how much algebra is left.
| Number of terms | Symmetric choice | Common ratio | Product of all terms |
|---|---|---|---|
| 3 | a/r, a, ar | r | a³ |
| 4 | a/r³, a/r, ar, ar³ | r² | a⁴ |
| 5 | a/r², a/r, a, ar, ar² | r | a⁵ |
Use the symmetric forms when the question gives the product, or gives sums of symmetric pairs. If the question gives something unsymmetrical, such as the first term and the third term, then a, ar, ar², ... is usually simpler.
Worked example: three numbers, given sum and product
Three numbers are in GP. Their sum is 26 and their product is 216. Find them.
Let the numbers be a/r, a, ar. The product is a³ = 216, so a = 6.
The sum gives 6/r + 6 + 6r = 26, so 6/r + 6r = 20. Multiply by r and divide by 2:
3r² − 10r + 3 = 0
(3r − 1)(r − 3) = 0
So r = 3 or r = 1/3. For r = 3 the numbers are 2, 6, 18. For r = 1/3 the same numbers appear in reverse order: 18, 6, 2. Check: 2 + 6 + 18 = 26 and 2 × 6 × 18 = 216.
The two roots for r are reciprocals of each other. This always happens with the symmetric form, because replacing r by 1/r reverses the order of the terms.
The even-count gotcha
For four terms, a/r³, a/r, ar, ar³ has common ratio r². A square of a real number is never negative, so this form cannot describe a GP with a negative ratio. If the problem allows a negative ratio, such as 1, −2, 4, −8, use a, ar, ar², ar³ instead.
Quick checks under time pressure
- Is it a GP? For three terms, test b² = ac. Do this before anything else, because it takes seconds.
- Does the problem give a product? Look for the symmetric form first, because the product collapses to a power of the middle term.
- Is the count odd? Then there is a true middle term, and the product is middle^n. Taking the n-th root gives the middle term at once.
- Reject zeros. Any root that makes a term zero is invalid. Also check that the ratio is the same for each step.
- Use reciprocal pairs. In the symmetric form, if r works then 1/r also works. You only need to solve once.
Exercise
The product of five positive numbers in GP is 32768, and the first number is 2. Find the five numbers.
Show answer
The product of five terms is M⁵, where M is the middle (third) term. So M⁵ = 32768 = 2¹⁵, which gives M = 2³ = 8. The first term is 2, so 2·r² = 8, giving r² = 4. The numbers are positive, so r = 2. The numbers are 2, 4, 8, 16, 32. Check: the product is 2¹⁺²⁺³⁺⁴⁺⁵ = 2¹⁵ = 32768.
Exercise
Three numbers in GP have sum 21 and product 216. Find them.
Show answer
Let the numbers be a/r, a, ar. Then a³ = 216, so a = 6. The sum gives 6/r + 6 + 6r = 21, so 6/r + 6r = 15. Multiplying by r and dividing by 3 gives 2r² − 5r + 2 = 0, so (2r − 1)(r − 2) = 0 and r = 2 or r = 1/2. The numbers are 3, 6, 12 (or the same numbers in reverse order). Check: 3 + 6 + 12 = 21 and 3 × 6 × 12 = 216.