Polynomial products with term of even degree x being non-zero is in NP

  • Context: Comp Sci 
  • Thread starter Thread starter CGandC
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the complexity of polynomial products, specifically focusing on the conditions under which a polynomial verifier can be constructed for polynomials with even degree terms. Participants explore the formulation of a verifier and the implications of polynomial multiplication in this context.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant proposes defining a polynomial verifier based on a specific input structure, questioning how to incorporate conditions involving coefficients into the verifier's construction.
  • Another participant suggests a formula for the product of multiple polynomials, indicating how to express the product in terms of subsets of indices and their corresponding coefficients.
  • A participant reiterates the need for certain conditions on coefficients, stating that for the product to hold, coefficients must be non-zero under specific circumstances.
  • One participant expresses curiosity about the derivation of the sum used in the polynomial product formulation, referencing initial attempts to relate it to known polynomial multiplication formulas.
  • A later reply provides a detailed explanation of the notation and structure for multiplying more than two polynomials, emphasizing the complexity of the coefficients and their contributions to the resulting polynomial.

Areas of Agreement / Disagreement

Participants appear to be exploring the topic collaboratively, with some agreement on the formulation of polynomial products, but no consensus on the construction of the verifier or the specific conditions required for it.

Contextual Notes

There are unresolved aspects regarding the conditions that must be checked on the coefficients and the witness set for the verifier, as well as the implications of the polynomial product structure.

CGandC
Messages
326
Reaction score
34
Homework Statement
Problem: Define language ##L## s.t. a sequence of natural numbers ( zero included ) ##(t,a_1,b_1,k_1, \ldots , a_m ,b_m ,k_m ) ## is in ##L## if and only if the coefficient of ## x^{2t} ## in the expansion of ## p(x)=\left(a_1+b_1 x^{k_1}\right)\left(a_2+b_2 x^{k_2}\right) \cdots\left(a_m+b_m x^{k_m}\right) ## is non-zero. ( in other words, ## p(x)=\sum_{i=0}^d c_i x^i ## for integer coefficients ## d \geq 2 t, c_0, \ldots, c_d ##, and ## c_{2 t} \neq 0 ##).

Prove ## L \in NP ##.
Relevant Equations
Every language in NP has polynomial verifier and vice-versa.
Attempt: We'll define a polynomial verifier such that for input ## \left\langle\left(t, a_1, b_1, k_1, \ldots, a_m, b_m, k_m\right), I\right\rangle ## it accepts if and only if ## I ## is an encoding of a set ## I \subseteq \{ 1 , \ldots , m \} ## such that ## \sum_{i \in I} k_i=2 t ## [ I don't know how to continue from here ]

How do I continue the verifier construction? I don't see what conditions ( which involve the coefficients ## b_i , a_i , i\in I## ) one can check on the witness ## I ## in order to create a correct verifier, any ideas?
 
Physics news on Phys.org
Define M = \{1, \dots, m\} for convenience. Do we not have <br /> \prod_{i \in M}(a_i + b_ix^{k_i}) = \sum_{I \in 2^{M}} \left(\prod_{i\in M \setminus I} a_i\right)\left( \prod_{i \in I}b_i\right) x^{\sum_{i \in I} k_i } by taking the a_i term from bracket i if i \in M \setminus I and the b_ix^{k_i} term if i \in I?
 
  • Like
Likes   Reactions: CGandC
pasmith said:
Define M = \{1, \dots, m\} for convenience. Do we not have <br /> \prod_{i \in M}(a_i + b_ix^{k_i}) = \sum_{I \in 2^{M}} \left(\prod_{i\in M \setminus I} a_i\right)\left( \prod_{i \in I}b_i\right) x^{\sum_{i \in I} k_i } by taking the a_i term from bracket i if i \in M \setminus I and the b_ix^{k_i} term if i \in I?
So we must have ## \forall i\in I. b_i \neq 0 ## and ## \forall i \notin I. a_i \neq 0 ## , thanks for your help!!
 
The notation for more than two polynomial factors is less straightforward, but the product of n polynomials of degrees n_i \geq 0 can be written as \begin{split}<br /> P(x) &amp;= \prod_{i=1}^n \left(\sum_{j=0}^{n_i} a_{ij}x^{j}\right) \\<br /> &amp;= \left(\sum_{j_1=0}^{n_1} a_{1j_1}x^{j_1}\right)<br /> \cdots \left( \sum_{j_n=0}^{n_n} a_{nj_n} x^{j_n}\right) \\<br /> &amp;= \sum_{J \in S} a_{1j_1} \cdots a_{nj_n} x^{j_1+\cdots + j_n}<br /> \end{split} on expanding the product, where \begin{split}<br /> J &amp;= (j_1, j_2, \dots, j_n) \\ &amp;\in <br /> \{0, 1, \dots, n_1 \} \times \{0, 1, \dots n_2\} \times \dots \times \{0, 1, \dots, n_n\}<br /> = S \subset \{0, 1, \dots, \max n_i\}^n. \end{split} The coefficient of x^k is then found by restricting the sum to <br /> S_k = \{ J \in S: j_1 + \dots + j_n = k \} \subset S.
 
  • Like
Likes   Reactions: CGandC
Thank you very much, very good info!
 

Similar threads

  • · Replies 71 ·
3
Replies
71
Views
14K
  • · Replies 175 ·
6
Replies
175
Views
27K
  • · Replies 42 ·
2
Replies
42
Views
11K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 48 ·
2
Replies
48
Views
12K
  • · Replies 16 ·
Replies
16
Views
7K
  • · Replies 28 ·
Replies
28
Views
7K