( 1 + 2 + 3 + ⋯ + A ) + ( 1 + 2 + 3 + ⋯ + B ) + ( A × 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.
S = ( 1 + 2 + 3 + . . . + A ) + ( 1 + 2 + 3 + . . . + B ) + A B = 2 A ( A + 1 ) + 2 B ( B + 1 ) + A B = 2 A 2 + 2 A + 2 B 2 + 2 B + A B = 2 1 ( A 2 + 2 A B + B 2 ) + 2 1 ( A + B ) = 2 1 ( A + B ) 2 + 2 1 ( A + B ) = 2 ( A + B ) ( A + B + 1 ) = 1 + 2 + 3 + . . . + ( A + B )
Can you tell me about 2 last lines? I don't understand it!
Log in to reply
Note that 1 + 2 + 3 + . . . + n = 2 n ( n + 1 ) . Replace n with A + B .
Log in to reply
but A and B are two numbers, instead of one so is the formula right?!
Log in to reply
@Tấn Phát Nguyễn – But we can just let n = A + B and it becomes one. The sequence 1 + 2 + 3 + . . . + A + B actually means 1 + 2 + 3 + . . . + ( A + B − 2 ) + ( A + B − 1 ) + ( A + B ) . For example, if A = 3 and B = 7 , then 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 1 0 . Because A + B = 1 0 , A + B − 1 = 9 , A + B − 2 = 8 and so on.
Log in to reply
@Chew-Seong Cheong – Oh thanks now i get it!
Problem Loading...
Note Loading...
Set Loading...
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 )
is true with a visual aid.
For simplicity sake, I let A = 6 and B = 7 .
The total number of red dots is A × B .
The total number of green dots is 1 + 2 + 3 + ⋯ + A .
The total number of blue dots is 1 + 2 + 3 + ⋯ + B .
So, the total number of dots is ( 1 + 2 + 3 + ⋯ + A ) + ( 1 + 2 + 3 + ⋯ + B ) + ( A × B ) .
By counting the total number of dots in the overall picture, we have 1 + 2 + 3 + ⋯ + ( A + B ) .
Hence, ( 1 + 2 + 3 + ⋯ + A ) + ( 1 + 2 + 3 + ⋯ + B ) + ( A × B ) = 1 + 2 + 3 + ⋯ + ( A + B ) is true!
Alternatively, here's an algebraic proof:
We apply the algebraic identity 1 + 2 + 3 + ⋯ + n = 2 1 n ( n + 1 ) .
We have
( 1 + 2 + 3 + ⋯ + A ) = 2 1 A ( A + 1 ) ,
( 1 + 2 + 3 + ⋯ + B ) = 2 1 B ( B + 1 ) , and
1 + 2 + 3 + ⋯ + ( A + B ) = 2 1 ( A + B ) ( A + B + 1 ) .
So,
( 1 + 2 + 3 + ⋯ + A ) + ( 1 + 2 + 3 + ⋯ + B ) + ( A × B ) = = = = 2 1 A ( A + 1 ) + 2 1 B ( B + 1 ) + A B 2 1 ( A 2 + A + B 2 + B + 2 A B ) 2 1 ( A + B ) ( A + B + 1 ) 1 + 2 + 3 + ⋯ + ( A + B )