Symbolic binomial coefficients?
Publié : lun. avr. 20, 2020 1:06 am
Hello,
Does Xcas support binomial coefficients with symbolic parameters? The command "binomial(x,3)" produces the output
1/6 * x!/(x-3)!
which is true, but what I want is the polynomial x(x-1)(x-2)/6. I've tried taking the output of that binomial command and running expand, factor, collect, none of which helped. I also tried "unapply(binomial(x,3),x)" which didn't work either.
Or is there another command which will produce the output I want?
Thanks very much,
Alasdair
PS. Also, do these forum boards have the facility of including typeset mathematics?
Does Xcas support binomial coefficients with symbolic parameters? The command "binomial(x,3)" produces the output
1/6 * x!/(x-3)!
which is true, but what I want is the polynomial x(x-1)(x-2)/6. I've tried taking the output of that binomial command and running expand, factor, collect, none of which helped. I also tried "unapply(binomial(x,3),x)" which didn't work either.
Or is there another command which will produce the output I want?
Thanks very much,
Alasdair
PS. Also, do these forum boards have the facility of including typeset mathematics?