Ask Your Question

Zorgoth's profile - activity

2014-07-15 18:25:12 +0100 commented answer How to determine the coefficients of a polynomial when they depend on variables?

Thank you very much! This answer provides a good solution both to my general question and a simple solution to my specific problem (since in my case I'm really just dealing with a scalar linear function of one set of variables with coefficients depending on another set of variables).

2014-07-15 18:22:54 +0100 commented question How to determine the coefficients of a polynomial when they depend on variables?

Thank you!

2014-07-15 18:22:03 +0100 received badge  Scholar (source)
2014-07-14 16:21:58 +0100 received badge  Student (source)
2014-07-14 06:02:42 +0100 commented question How to determine the coefficients of a polynomial when they depend on variables?

I'm not sure how to display the asterisks as literal asterisks...

2014-07-14 05:59:24 +0100 received badge  Editor (source)
2014-07-14 05:58:46 +0100 asked a question How to determine the coefficients of a polynomial when they depend on variables?

Suppose that EXP2 is a polynomial expression in the variables X_1,X_2,...,X_n with coefficients that depend on the variables B_1,B_2,...,B_m. Suppose EXP1 is an expression equal to EXP2, but scrambled.

Given EXP1, how can I automatically obtain EXP2?

For example, if I have

a=var('a')

b=var('b')

c=var('c')

d=var('d')

e=var('e')

eqn=a==bd^2+ce^2+e(b+2c*d),

how can I automatically rewrite a as a polynomial in b and c, so that I get an equation that looks like

a==b(d^2+e)+c(e^2+2ed)?