Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Best sites for teachers
Sites for teachers
Sites for parents
Terms of use
Awards

Interactive Activities
CTK Exchange
CTK Insights - a blog

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Reciprocal links
Privacy Policy

Guest book
News sites

Recommend this site

Best sites for teachers
Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

Identities in the Multiplication Table

There are many patterns in the common multiplication table. Some are suggested by the applet below.


This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet

Just move the mouse over.

Discussion


Copyright © 1996-2008 Alexander Bogomolny

 

 

 

 

 

 

 

 

Identities in the Multiplication Table

The applet points to four identities:

(1)(1 + 2 + 3 + ... + n)2 = [n(n+1)/2]2
(2)2n(1 + 2 + 3 + ... + n) - n2 = n3
(3)12 + 22 + 32 + ... + n2 = n(n + 1)(2n + 1)/6
(4)n·1 + (n - 1)·2 + (n - 2)·3 + ... + 2·(n - 1) + 1·n = n(n + 1)(n + 2)/6

The sum of all entries in an n×n multiplication table equals [n(n+1)/2]2. Indeed, the sum of the entries in the first row is 1 + 2 + ... + n = n(n + 1)/2. Then grouping the entries by rows be get

Row   Sum
11 + 2 + ... + n = 1·n(n + 1)/2
22 + 4 + ... + 2n = 2·n(n + 1)/2
33 + 6 + ... + 3n = 3·n(n + 1)/2
 ...
nn + 2n + ... + n·n = n·n(n + 1)/2
Total(1 + 2 + ... + n)·n(n + 1)/2 = [n(n+1)/2]2

This settles (1).


(2) arises as the sum of entries in the nth column and in the nth row, the diagonal term n2 being counted only once. The entries in both the nth row and the nth column add up to

 n·(1 + 2 + ... + n) = n2(n + 1)/2.

Together, but with the exclusion of the diagonal entry, we get

 2·n2(n + 1)/2 - n2 = (n3 + n2) - n2 = n3.

As a bonus, a combination of (1) and (2) leads to the following curious identity:

  (1 + 2 + ... + n)2 = 13 + 23 + ... + n3 .

(3) is the sum of the diagonal entries, i.e., the sum of the first n squares. The formula is well known and is easily proven by induction. Mathematical induction, however, though a powerful tool, is limited to the cases when the formula to be proven is known (or has been guessed) up front. But how does one get those formulas in the first place? Here is one possible approach based on the theory of generating functions.

Denote qn = 12 + 22 + 32 + ... + n2. Then obviously the sequence {qn} satisfies the recurrence relation

 qn = qn-1 + n2, q0 = 0.

Multiply the relation by xn-1 and add up the first n:

 Q(x)/x = Q(x) + nn2xn-1,

where Q(x) is the generating function of the sequence {qn}. This would be determined from

(5)Q(x)(1 - x)/x = nn2xn-1

if we could express the sum on the right in terms of x. Let's try,

  nn2xn = nn(n + 1)xn-1 - nnxn-1

The sum nnxn-1 has been found to equal 1/(1 - x)2 as the formal derivative of the sum of the geometric series 1/(1 - x) = 1 + x + x2 + ... We shall apply the same idea to the series nn(n + 1)xn-1.

 
nn(n + 1)xn-1= [1/(1 - x)]''
 = [1/(1 - x)2]'
 = 2/(1 - x)3.

From (5) then

 
Q(x)= x/(1 - x)·(2/(1 - x)3 - 1/(1 - x)2)
 = x/(1 - x)·(1 + x)/(1 - x)3
 = x(1 + x)/(1 - x)4.

We know that nC(n,k)xn = xk/(1-x)k+1, which implies

 
[xn]Q(x)= [xn]x/(1 - x)4 + [xn]x2/(1 - x)4
 = C(n+2,3) + C(n+1,3)
 = (n + 2)(n + 1)n/6 + (n + 1)n(n - 1)/6
 = n(n + 1)(2n + 1)/6.

In (4), the coefficients are obtained by convolution of the terms of the plain sequence {n}. Convolutions arise when power series are multiplied term by term according to the definition. Let t0 = 0 and t1 = 0 and, for n = 2, 3, ...,, define tn = (n - 1)·1 + (n - 2)·2 + (n - 3)·3 + ... + 2·(n - 2) + 1·(n - 1). Introduce the generating function T(x) = ntnxn.

 
T(x)= (x + 2x2 + 3x3 + ...)·(x + 2x2 + 3x3 + ...)
 = x/(1 - x)2·x/(1 - x)2
 = x2/(1 - x)4.

Using the same identity as above,

  [xn]T(x) = [xn]x2/(1 - x)4 = C(n+1,3) = (n + 1)n(n - 1)/6.

Thus tn = (n + 1)n(n - 1)/6, which corresponds to the sum of terms in the (n - 1)st diagonal.

Generating Functions

  1. A Property of the Powers of 2
  2. An USAMTS problem with light switches
  3. Euler's derivation of the binary representation
  4. Examples with series of figurate numbers
  5. Examples with finite sums with binomial coefficients
  6. Fast Power Indices and Coin Change
  7. Number of elements of various dimensions in a tesseract
  8. Straight Tromino on a Chessboard
  9. Ways To Count

Copyright © 1996-2008 Alexander Bogomolny

28739430Page copy protected against web site content infringement by Copyscape


Search:
Keywords:


Latest on CTK Exchange
Math
Posted by Laura
2 messages
06:56 AM, Apr-15-08

Divisibility rules - Jargon buste ...
Posted by Carolyn
2 messages
08:35 AM, Apr-04-08

drawing puzzle
Posted by martin gran
31 messages
06:53 PM, May-09-08

conway's game of life
Posted by frequency
0 messages
11:52 PM, May-12-08

Mistake on the page (an aside, Be ...
Posted by Max
4 messages
10:28 AM, Feb-28-08

Deriving functions based on diffe ...
Posted by ke_45
1 messages
12:47 PM, May-10-08

Josephus Flavius (correction)
Posted by David Turner
1 messages
09:42 AM, May-14-08