Tennis Ball Pyramid

Algebra Level 2

We build triangle pyramids from N N tennis balls, each with number of layers n = n= 1, 2, 3, or ... (The base of the pyramid is also a triangle.) The trivial pyramid with a single layer consists of a single ball. Two layers require four balls, while the three-layer pyramid requires ten balls.

What is the number N N of balls required for the pyramid with n = 100 n = 100 layers?

Hint: Find a polynomial N ( n ) N (n) that describes the number of balls as a function of the edge length n n .


The answer is 171700.

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

Nick Turtle
Jan 3, 2018

The n n th layer contains the amount of tennis balls equal to the n n th triangle number, n ( n + 1 ) 2 \frac{n(n+1)}{2} . So, essentially, we're finding i = 1 100 i ( i + 1 ) 2 \displaystyle\sum_{i=1}^{100}\frac{i(i+1)}{2} = 1 2 i = 1 100 ( i 2 + i ) =\displaystyle\frac{1}{2}\sum_{i=1}^{100}(i^2+i) = 1 2 ( i = 1 100 i 2 + i = 1 100 i ) =\displaystyle\frac{1}{2}\left(\sum_{i=1}^{100}i^2+\sum_{i=1}^{100}i\right)

Now, i = 1 k i = k ( k + 1 ) 2 \sum_{i=1}^ki=\frac{k(k+1)}{2} and i = 1 k i 2 = k ( k + 1 ) ( 2 k + 1 ) 6 \sum_{i=1}^ki^2=\frac{k(k+1)(2k+1)}{6} , so the above expression equals = 1 2 ( 100 ( 100 + 1 ) ( 2 100 + 1 ) 6 + 100 ( 100 + 1 ) 2 ) =\frac{1}{2}\left(\frac{100(100+1)(2\cdot100+1)}{6}+\frac{100(100+1)}{2}\right) = 171700 =171700

If you number the layers of the pyramid from top to bottom, the l l -th layer consists of a triangle with the edge length l l . The triangle consists of l l rows with a total number of m m balls in each row, which ranges from 1 to l l . The total number of balls thus results from the sum of all layers and rows N ( n ) = l = 1 n m = 1 l m N(n) = \sum_{l = 1}^n \sum_{m = 1}^{l} m In the case n 1 n \ggg 1 we can approximate the double sum by an double integral: N ( n ) 0 n ( 0 l d m ) d l = n 3 6 N(n) \approx \int_{0}^n \left(\int_{0}^{l} dm \right) dl = \frac{n^3}{6} In general, the function N ( n ) N(n) is a polynomial with degree three: N ( n ) = n 3 6 + b n 2 + c n N(n) = \frac{n^3}{6} + b \cdot n^2 + c \cdot n The coefficient of the n 3 n^3 term could already be determined by the integral estimation. The coefficients b b and c c can be determined by cases n = 1 n = 1 and n = 2 n = 2 : N ( 1 ) = 1 6 + b + c = 1 N ( 2 ) = 4 3 + 4 b + 2 c = 4 ( 1 1 4 2 ) ( b c ) = ( 5 / 6 8 / 3 ) ( b c ) = 1 2 ( 2 1 4 1 ) ( 5 / 6 8 / 3 ) = ( 1 / 2 1 / 3 ) N ( n ) = n 3 6 + n 2 2 + n 3 \begin{aligned} & & N(1) = \frac{1}{6} + b + c &= 1 \\ & & N(2) = \frac{4}{3} + 4b + 2c &= 4 \\ \Rightarrow & & \left(\begin{array}{cc} 1 & 1 \\ 4 & 2 \end{array} \right) \cdot \left(\begin{array}{c} b \\ c \end{array} \right) &= \left(\begin{array}{c} ^5/_6 \\ ^8/_3 \end{array} \right) \\ \Rightarrow & & \left(\begin{array}{c} b \\ c \end{array} \right) &= -\frac{1}{2} \left(\begin{array}{cc} 2 & -1 \\ -4 & 1 \end{array} \right) \cdot \left(\begin{array}{c} ^5/_6 \\ ^8/_3 \end{array} \right) = \left(\begin{array}{c} ^1/_2 \\ ^1/_3 \end{array} \right)\\ \Rightarrow & & \boxed{N(n) = \dfrac{n^3}{6} + \dfrac{n^2}{2} + \dfrac{n}{3}} \end{aligned} That this formula holds for all n N n \in \mathbb{N} , can be proved by complete induction. Suppose we have proved the validity of the formula for all numbers ranging from 1 to n n . Now we calculate N ( n + 1 ) N (n + 1) : N ( n + 1 ) = N ( n ) + m = 1 n + 1 m = ( n 3 6 + n 2 2 + n 3 ) + ( ( n + 2 ) ( n + 1 ) 2 ) = n 3 6 + n 2 + 11 6 n + 1 = n 3 + 3 n 2 + 3 n + 1 6 + n 2 + 2 n + 1 2 + n + 1 3 = ( n + 1 ) 3 6 + ( n + 1 ) 2 2 + ( n + 1 ) 3 \begin{aligned} N(n+1) &= N(n) + \sum_{m = 1}^{n + 1} m \\ &= \left(\frac{n^3}{6} + \frac{n^2}{2} + \frac{n}{3} \right) + \left(\frac{(n+2)(n + 1)}{2} \right) \\ &= \frac{n^3}{6} + n^2+ \frac{11}{6} n + 1 \\ &= \frac{n^3 + 3n^2 + 3n + 1}{6}+ \frac{n^2 + 2n + 1}{2} + \frac{n+1}{3} \\ &= \frac{(n+1)^3}{6} + \frac{(n+1)^2}{2} + \frac{(n+1)}{3} & \square \end{aligned} Thereby, we used the sum formulo of Gauss: m = 1 n m = 1 2 ( n + 1 ) n \sum_{m = 1}^{n} m = \frac{1}{2} (n+ 1) n

Can't you just evaluate N ( n ) = l = 1 n m = 1 l m = l = 1 n l ( l + 1 ) 2 = \displaystyle N(n) = \sum_{l=1}^n \sum_{m=1}^l m = \sum_{l=1}^n \dfrac {l(l+1)}2 = \cdots using 1 + 2 + + n = n ( n + 1 ) / 2 1+2+\cdots+n = n(n+1)/2 and 1 2 + 2 2 + + n 2 = n ( n + 1 ) ( 2 n + 1 ) / 6 1^2+2^2+\cdots+n^2= n(n+1)(2n+1)/6 ?

Pi Han Goh - 3 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...