A Simple Equation, a Huge Power, and a Surprising Shortcut

Can a simple algebraic identity help us calculate an enormous power without first solving for the unknown?

A puzzle with a large exponent

Suppose a nonzero number x satisfies

x+\frac1x=3.

Can we calculate

x^{100}+\frac1{x^{100}}\,?

Of course, we could solve the quadratic equation x^2-3x+1=0, obtaining x=(3\pm\sqrt5)/2. But raising either expression to the hundredth power is hardly appealing. There is a much better way.

Find the pattern

More generally, suppose

x+\frac1x=a,

and define S_n=x^n+x^{-n}. Our starting values are S_0=2 and S_1=a. Squaring the original equation gives

S_2=x^2+x^{-2}=a^2-2.

Multiplying S_n by a reveals the key pattern:

\begin{aligned}aS_n&=(x+x^{-1})(x^n+x^{-n})\\&=x^{n+1}+x^{-(n+1)}+x^{n-1}+x^{-(n-1)}\\&=S_{n+1}+S_{n-1}.\end{aligned}

Thus we have the recurrence

\boxed{S_{n+1}=aS_n-S_{n-1}},\qquad S_0=2,\quad S_1=a.

The first few terms are

\begin{aligned}S_2&=a^2-2,\\S_3&=a^3-3a,\\S_4&=a^4-4a^2+2,\\S_5&=a^5-5a^3+5a.\end{aligned}

Every expression is a polynomial in a. We never had to find x.

The doubling shortcut

There is an even faster identity. Since

(x^n+x^{-n})^2=x^{2n}+2+x^{-2n},

we obtain

\boxed{S_{2n}=S_n^2-2}.

So knowing S_n immediately gives S_{2n}. For example, S_4=S_2^2-2 and S_8=S_4^2-2.

From 1 to 100 in a handful of steps

For a=3, start with S_1=3. Repeated doubling gives

\begin{aligned}S_2&=3^2-2=7,\\S_4&=7^2-2=47,\\S_8&=47^2-2=2207,\\S_{16}&=2207^2-2=4\,870\,847.\end{aligned}

We could continue doubling, but 100 is not a power of two. A second shortcut handles that neatly. Expanding (u+u^{-1})^5 and collecting terms gives

\boxed{S_{5n}=S_n^5-5S_n^3+5S_n}.

Since 100=5\cdot5\cdot4, begin with S_4=47. Then

S_{20}=47^5-5(47)^3+5(47)=228\,826\,127.

Apply the same identity one more time:

\boxed{S_{100}=(228\,826\,127)^5-5(228\,826\,127)^3+5(228\,826\,127)}.

This is an exact integer answer, expressed compactly without radicals or a hundred successive recurrence steps. We could expand the integer, but the formula is more revealing than its many digits.

Why does an irrational number produce an integer?

When a=3, the two solutions of x^2-3x+1=0 are (3+\sqrt5)/2 and (3-\sqrt5)/2. They are reciprocals. Although each is irrational, the recurrence starts with integers and uses only multiplication and subtraction. Therefore every S_n is an integer.

More generally, if a is an integer, then x^n+x^{-n} is an integer for every nonnegative integer n, even when x itself is irrational or complex.

A surprising connection: Chebyshev polynomials

The polynomials we discovered are closely related to the Chebyshev polynomials of the first kind, denoted T_n. In fact,

\boxed{S_n(a)=2T_n\!\left(\frac a2\right)}.

They satisfy a beautiful composition rule:

\boxed{S_{mn}(a)=S_m\bigl(S_n(a)\bigr)}.

For example, S_{100}(a)=S_5(S_5(S_4(a))). This explains why the same fifth-power shortcut works twice in our calculation. Chebyshev polynomials also connect algebra to trigonometry and polynomial approximation—topics for a future article.

Try it yourself

If x+x^{-1}=4, find x^{10}+x^{-10} without solving for x. Hint: first compute S_2, then use the fifth-power identity.

The takeaway: Sometimes finding an unknown is less useful than finding a pattern. A recurrence can turn a forbidding expression into a short sequence of elementary calculations.

Continue exploring:
with x + 1/x = 3, the number x = (3 + √5)/2 is the square of the golden ratio, so the values 2, 3, 7, 18, 47, … are every other Lucas number, close relatives of the Fibonacci numbers. For another way to handle recurrences like this one, see
How to Find the 100th Fibonacci Number Using the Z-Transform.
And if x = eiθ, then x + 1/x = 2 cos θ, and the same recurrence produces the cosines of multiple angles; see
Which Angles Have Exact Trigonometric Values?

Leave a Reply

Your email address will not be published. Required fields are marked *