Link to home
Start Free TrialLog in
Avatar of InteractiveMind
InteractiveMindFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Expand (x-1)(x-2)...(x-n)

The solution to a problem is  P(x) = (x-1)(x-2)...(x-n)  (for some integer n).

However, I want to expand this polynomial, so as to find the coefficient of the ith power.

It's quite clear that:  a_n=1,  and  a_0=n!(-1)^n, but I've yet to figure a pattern for the others...

How would I approach this?


Thanks
Avatar of anas_aliraqi
anas_aliraqi

you can use Pascal's triangle to find any cof.
see this link
http://en.wikipedia.org/wiki/Pascal's_triangle
SOLUTION
Avatar of Talmash
Talmash
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
wow! didn't knew about these stirling triangles!
anyway, no equation compute them stright forward.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of InteractiveMind

ASKER

Wow