Count To A & Count To B

Algebra Level 2

( 1 + 2 + 3 + + A ) + ( 1 + 2 + 3 + + B ) + ( A × B ) = ? (1+2+3+\cdots+ A) + (1+2+3+\cdots + B) + (A \times B )= \, ?

1 + 2 + 3 + + ( A + B ) 1 + 2 + 3 + \cdots + (A+ B) 1 + 2 + 3 + + ( A × B ) 1 + 2 + 3 + \cdots + (A\times B)

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Relevant wiki: Sum of n, n², or n³

It's much simpler to explain to show that

( 1 + 2 + 3 + + A ) + ( 1 + 2 + 3 + + B ) + ( A × B ) = 1 + 2 + 3 + + ( A + B ) (1+2+3+\cdots+ A) + (1+2+3+\cdots + B) + (A \times B )= 1 + 2 + 3 + \cdots + (A+ B)

is true with a visual aid.

For simplicity sake, I let A = 6 A = 6 and B = 7 B = 7 .

The total number of red dots is A × B A \times B .
The total number of green dots is 1 + 2 + 3 + + A 1 + 2 + 3 + \cdots + A .
The total number of blue dots is 1 + 2 + 3 + + B 1 + 2 + 3 + \cdots + B .

So, the total number of dots is ( 1 + 2 + 3 + + A ) + ( 1 + 2 + 3 + + B ) + ( A × B ) (1+2+3+\cdots+ A) + (1+2+3+\cdots + B) + (A \times B ) .

By counting the total number of dots in the overall picture, we have 1 + 2 + 3 + + ( A + B ) 1 + 2 + 3 + \cdots + (A+B) .

Hence, ( 1 + 2 + 3 + + A ) + ( 1 + 2 + 3 + + B ) + ( A × B ) = 1 + 2 + 3 + + ( A + B ) (1+2+3+\cdots+ A) + (1+2+3+\cdots + B) + (A \times B )= 1 + 2 + 3 + \cdots + (A+ B) is true!


Alternatively, here's an algebraic proof:

We apply the algebraic identity 1 + 2 + 3 + + n = 1 2 n ( n + 1 ) 1 + 2 + 3 + \cdots + n = \dfrac12 n(n+1) .

We have
( 1 + 2 + 3 + + A ) = 1 2 A ( A + 1 ) (1+2+3+\cdots+ A) = \dfrac12 A(A+1) ,
( 1 + 2 + 3 + + B ) = 1 2 B ( B + 1 ) (1+2+3+\cdots + B) = \dfrac12B(B+1) , and
1 + 2 + 3 + + ( A + B ) = 1 2 ( A + B ) ( A + B + 1 ) 1 + 2 + 3 + \cdots + (A+ B) = \dfrac12 (A+B)(A+B+1) .
So,

( 1 + 2 + 3 + + A ) + ( 1 + 2 + 3 + + B ) + ( A × B ) = 1 2 A ( A + 1 ) + 1 2 B ( B + 1 ) + A B = 1 2 ( A 2 + A + B 2 + B + 2 A B ) = 1 2 ( A + B ) ( A + B + 1 ) = 1 + 2 + 3 + + ( A + B ) \begin{aligned} (1+2+3+\cdots+ A) + (1+2+3+\cdots + B) + (A \times B ) &=& \dfrac12 A(A+1) + \dfrac12B(B+1) + AB \\ &=& \dfrac12 ( A^2 + A + B^2 + B + 2AB) \\ &=& \dfrac12 (A+B)(A+B+1) \\ &=& 1 + 2 + 3 + \cdots + (A+ B) \\ \end{aligned}

S = ( 1 + 2 + 3 + . . . + A ) + ( 1 + 2 + 3 + . . . + B ) + A B = A ( A + 1 ) 2 + B ( B + 1 ) 2 + A B = A 2 2 + A 2 + B 2 2 + B 2 + A B = 1 2 ( A 2 + 2 A B + B 2 ) + 1 2 ( A + B ) = 1 2 ( A + B ) 2 + 1 2 ( A + B ) = ( A + B ) ( A + B + 1 ) 2 = 1 + 2 + 3 + . . . + ( A + B ) \begin{aligned} S & = \color{#3D99F6}{(1+2+3+...+A)} + \color{#D61F06}{(1+2+3+...+B)} + AB \\ & = \color{#3D99F6}{\frac {A(A+1)}2} + \color{#D61F06}{\frac {B(B+1)}2} + AB \\ & = \frac {A^2}2 + \frac A2 + \frac {B^2}2 + \frac B2 + AB \\ & = \frac 12 \left(A^2 + 2AB + B^2\right) + \frac 12 (A+B) \\ & = \frac 12 \left(A+B\right)^2 + \frac 12 (A+B) \\ & = \frac {(\color{#3D99F6}{A+B})(\color{#3D99F6}{A+B}+1)}2 \\ & = \boxed{1 + 2 + 3 +...+ (\color{#3D99F6}{A+B})} \end{aligned}

Can you tell me about 2 last lines? I don't understand it!

Tấn Phát Nguyễn - 4 years, 9 months ago

Log in to reply

Note that 1 + 2 + 3 + . . . + n = n ( n + 1 ) 2 1+2+3+...+n = \dfrac {n(n+1)}2 . Replace n n with A + B A+B .

Chew-Seong Cheong - 4 years, 9 months ago

Log in to reply

but A and B are two numbers, instead of one so is the formula right?!

Tấn Phát Nguyễn - 4 years, 9 months ago

Log in to reply

@Tấn Phát Nguyễn But we can just let n = A + B n=A+B and it becomes one. The sequence 1 + 2 + 3 + . . . + A + B 1+2+3+...+A+B actually means 1 + 2 + 3 + . . . + ( A + B 2 ) + ( A + B 1 ) + ( A + B ) 1+2+3+...+(A+B-2)+(A+B-1)+(A+B) . For example, if A = 3 A=3 and B = 7 B=7 , then 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 1+2+3+4+5+6+7+8+9+10 . Because A + B = 10 A+B=10 , A + B 1 = 9 A+B-1=9 , A + B 2 = 8 A+B-2=8 and so on.

Chew-Seong Cheong - 4 years, 9 months ago

Log in to reply

@Chew-Seong Cheong Oh thanks now i get it!

Tấn Phát Nguyễn - 4 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...