Expanding A Cubic

Algebra Level 4

From

( x + y ) 3 = x 3 + 3 x 2 y + 3 x y 2 + y 3 (x + y)^3 = x^3 + 3x^2y + 3xy^2 + y^3

we see that a two-term polynomial that is cubed has four terms in its expansion.

Find the number of terms of a polynomial that when cubed has 100 times more terms in its expansion.

(Assume each term in the polynomial being cubed doesn't share any variables.)


The answer is 23.

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

Chris Lewis
Sep 11, 2019

Consider the expansion of ( x 1 + x 2 + + x n ) 3 (x_1+x_2+\ldots+x_n)^3 . There are terms of the form x i 3 x_i^3 , terms of the form 3 x i 2 x j 3x_i^2 x_j (with i j i \neq j ) and terms of the form 6 x i x j x k 6x_i x_j x_k ( i , j , k i,j,k distinct). Respectively, there are n n , n ( n 1 ) n(n-1) , 1 6 n ( n 1 ) ( n 2 ) \frac16 n(n-1)(n-2) of these terms; so we need to solve

100 n = n + n ( n 1 ) + 1 6 n ( n 1 ) ( n 2 ) 100n=n+n(n-1)+\frac16 n(n-1)(n-2)

This simplifies to n 2 + 3 n 598 = 0 n^2+3n-598=0 , which has the unique positive root n = 23 n=\boxed{23} .

However, this is only guaranteed to work when the terms of the cubed polynomial don't share any variables. For instance, ( x + y + z ) 3 (x+y+z)^3 has 10 10 terms in its expanded form, but ( x 2 + x + 1 ) 3 (x^2+x+1)^3 only has 7 7 . I'm not sure if this means there's another solution.

Nice solution! I added a note to say the cubed polynomial doesn't share any variables, although that might make a good follow-up question!

David Vreken - 1 year, 9 months ago

"However, this only works when the terms of the cubed polynomial don't share any variables."

Well, it might work even if the terms share variables. As long as it's impossible to combine terms. ( x 10 + x 3 + 1 ) 3 (x^{10} + x^3 + 1)^3 would expand fully to a polynomial with 10 10 terms, for example.

Richard Desper - 1 year, 9 months ago

Log in to reply

Good point, I've amended that comment.

Chris Lewis - 1 year, 9 months ago
Chew-Seong Cheong
Sep 11, 2019

For n 3 n \ge 3 The only possible different terms of the cubed polynomial are a 3 a^3 , a b 2 ab^2 , and a b c abc , where a a , b b , and c c are distinct terms of the polynomial x 1 , x 2 , x 3 , x n x_1, x_2, x_3, \cdots x_n . For n n -term polynomial:

  • The number of a 3 a^3 terms is N a 3 = n N_{a^3} = n
  • The number of a 2 b a^2b terms is N a 2 b = 2 ( n 2 ) N_{a^2b} = 2\dbinom n2
  • The number of a b c abc terms is N a b c = ( n 3 ) N_{abc} = \dbinom n3

Therefore, the number of distinct terms in the cubed n n -term polynomial is:

N = N a 3 + N a 2 b + N a b c = n + 2 ( n 2 ) + ( n 3 ) = n + 2 ( n ( n 1 ) 2 ) + n ( n 1 ) ( n 2 ) 6 = n ( 1 + ( n 1 ) ( 1 + n 2 6 ) ) = n ( n + 1 ) ( n + 2 ) 6 \begin{aligned} N & = N_{a^3} + N_{a^2b} + N_{abc} \\ & = n + 2\binom n2 + \binom n3 \\ & = n + 2 \left(\frac {n(n-1)}2\right) + \frac {n(n-1)(n-2)}6 \\ & = n \left(1+(n-1)\left(1+\frac {n-2}6\right)\right) \\ & = \frac {n(n+1)(n+2)}6 \end{aligned}

For N = 100 n N=100n , then:

n ( n + 1 ) ( n + 2 ) 6 = 100 n ( n + 1 ) ( n + 2 ) = 600 = 600 600 = 24 × 25 n = 23 \begin{aligned} \frac {n(n+1)(n+2)}6 & = 100n \\ (n+1)(n+2) & = 600 = \left \lfloor \sqrt{600} \right \rfloor \left \lceil \sqrt{600} \right \rceil = 24 \times 25 \\ \implies n & = \boxed{23} \end{aligned}

Nice solution!

David Vreken - 1 year, 9 months ago

Why is that the formula for the number of terms of the cube of a polynomial?

Richard Desper - 1 year, 9 months ago

Log in to reply

Thanks for asking. I have derived the formula and revised the solution.

Chew-Seong Cheong - 1 year, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...