Coefficient rotation is a process of shifting the entire coefficients of a polynomial (either to the left or right) in a polynomial ring. In order to rotate the entire coefficients of a polynomial by positions to the left, we multiply to the polynomial.
For example, suppose we have a polynomial as follows:
To shift the entire coefficients of to the left by positions (i.e., shift ’s -th coefficient to the constant term), we compute , which is:
Summary A-5.2 Polynomial Rotation
Give the -degree polynomial:
The coefficients of can be rotated to the left by positions by multiplying to by as follows:
Note that multiplying the two polynomials and will have a congruent polynomial in . Therefore, the rotated polynomial, which is the result of , will also have a congruent polynomial in .
Note that the coefficient signs change when they rotate around the boundary of , as the computation is done in the polynomial ring .
Suppose we have a polynomial as follows:
The polynomial ring has the following 4 congruence relationships:
Then, based on the coefficient rotation technique in Summary A-5.2.1, rotating 1 position to the left is equivalent to computing as follows:
As another example, rotating 3 positions to the left is equivalent to computing as follows: