Ask Your Question

Revision history [back]

In booleanpolynomialring how we can find coefficient?

Let x1 ,x2,x3, v1,v2,v3 be the variable in a booleanpolynomialring. Let F = 1+ x1v1v2 + x2v1v2 + x1v3+ x2x3+ v1

Now what is the coefficient of v1v2? In this case it will be x1+x2. How can I find this using sagemath. I try to use F.coefficient(v1v2). But it not work. Plese help.