Ask your own question, for FREE!
Mathematics 18 Online
Parth (parthkohli):

Continuing what I left off yesterday.

Parth (parthkohli):

@ganeshie8 urgent...

Parth (parthkohli):

\[x_1 + x_2 + x_3 = 20\]where\[-3 \le x_1 , x_2 , x_3 \]

Parth (parthkohli):

That reduces to the coefficient of \(x^{20}\) in\[(x^{-3} + x^{-2} + \cdots + x^{20})^3\]

Parth (parthkohli):

How do I calculate the above?

Parth (parthkohli):

@dan815 use elementary techniques please

OpenStudy (compassionate):

When it comes to these, it really depends on what exactly you want to do with it. There's a few different ways I can play around. Be more precise

Parth (parthkohli):

\[=\left( x^{-3}\cdot\dfrac{1-x^{30}}{1-x}\right)^3\]

Parth (parthkohli):

\[= x^{-9}(1-x^{30})^3(1-x)^{-3 }\]

Parth (parthkohli):

\[x^{-9} (1 - x^{90} - 3x^{30} + 3x^{60})(1-x)^{-3}\]

Parth (parthkohli):

\[= (x^{-9} - x^{81}-3x^{21} + 3x^{51} )(1-x)^{-3}\]

Parth (parthkohli):

now the coefficient of \(x^r\) in \((1 - x)^{-n}\) is\[\binom{n+r-1}{r-1}\]

ganeshie8 (ganeshie8):

you could also simply use stars and bars

ganeshie8 (ganeshie8):

\[x_1 + x_2 + x_3 = 20\]where\[-3 \le x_1 , x_2 , x_3 \] is same as solving \[(y_1+3) + (y_2+3) + (y_3+3) = 20\]where\[0 \le y_1 , y_2 , y_3 \]

Parth (parthkohli):

hmm, yeah. is it \(y_1 + 3\) or \(y_1 - 3\)?

ganeshie8 (ganeshie8):

\(y_i=x_i+3\) so yeah it should be \(y_i-3\)

Parth (parthkohli):

ok, that's nice.\[\binom{n-1}{k-1}\]

OpenStudy (dan815):

watcha doing?

OpenStudy (dan815):

u want int solutions?

Parth (parthkohli):

\[\binom{19}{2}\]

Parth (parthkohli):

I really wasn't trying to solve the problem ... I just want to know the approach to calculate the coefficient of \(x^k\) in huge expressions like the above one.

OpenStudy (dan815):

id just use stars and bars

OpenStudy (dan815):

but sure ill bite, how does it come out to be the coeff of x^k again

Parth (parthkohli):

oh sorry, I missed all the threes.

Parth (parthkohli):

\[y_1 + y_2 + y_3 = 29\]

Parth (parthkohli):

should the number of nonnegative solutions be\[\binom{29-1}{3-1}\]

OpenStudy (dan815):

oh nvm i get whwy its the coeff of x^20 in that expansion kinda neat trick

Parth (parthkohli):

yeah, it is.

OpenStudy (dan815):

you would still use stars and bars to solve for the coeff i guess now, since theres no real nice way of expanding that

OpenStudy (dan815):

the way to think about this problem is the same as x1+x2+x3=k x1,x2,x3 >= 0

OpenStudy (dan815):

do you know how to solve that problem

OpenStudy (dan815):

allowed -3 what u basicaaly did is just allow more 1s in each place

OpenStudy (dan815):

by introducing -3 you just shifted your number index

Parth (parthkohli):

ik, ik. there are various tricks to find the coefficient.

OpenStudy (dan815):

ok so watcha looking for now

OpenStudy (dan815):

ya x1+x2+x3=29 is right

OpenStudy (dan815):

for x1,x2,x3 non negative solutions

Parth (parthkohli):

ok, so nonnegative solutions|dw:1444026999220:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!