Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Factorizing a polynomial with two variables

Hi, I would like to factorize the following polynomial in t, with an integer indeterminate n,

2n((n1)tn+1)n1nn1t(n1)(n2)(tn1+1)(t+1)n1

I expect it to have a factor of (t1)2 and hope that after division the polynomial in t would have positive coefficients. Is there any way I can verify this by Sage?

click to hide/show revision 2
No.2 Revision

Factorizing a polynomial with two variables

Hi, I would like to factorize the following polynomial in t, with an integer indeterminate n,

$2^n $f_n(t) = 2^n ((n-1)t^n+1)^{n-1} - n^{n-1} t^{(n-1)(n-2)} (t^{n-1} + 1)(t+1)^{n-1}$

I expect it to have a factor of (t1)2 and hope that after division the polynomial in t would have positive coefficients.

  1. Is there any way I can verify this by Sage?

  2. I have tried to check that fn(t) has a factor of (t1)2 by checking that fn(1)=fn(1)=0. I named my polynomial f, and let h be f.derivative(t), and try to find h(t=1). Here's what I got,

(n - 1)^22^nnn^(n - 2) - (n - 1)2^(n - 1)n^(n - 1) - 2(n - 1)2^(n - 2)n^(n - 1) - 2(n^2 - 3n + 2)2^(n - 1)n^(n - 1)

Which turns out to be 0 when I verify by hand. However it seems like Sage is unable to detect the redundance in the expression (e.g. n×nn2=nn1). Did I do the computation in the "wrong way"? If so, what's the proper way to do it?

Thanks!