may be any possible value from −∞ to +∞, depending on the particular process
Details
A polytropic process is the second of two classes of problems defined here at the bottom. The polytropic process is a process where the relationship between the pressureP and volumeV makes it possible to fit an analytical relationship between them. Then it may be integrated directly.
In Eq1 and Eq2 it was not stated that the work is equal to the expressions given in these equations. These expressions give the value of a certain integral, that is, a mathematical result. Whether or not that integral equals the work in a particular process depends on the result of a thermodynamic analysis of that process. It is important to keep the mathematical result separate from the thermodynamic analysis, for there are many situations in which work is not given by Eq2 from the lesson Work at the Moving Boundary of a Simple Compressible System.
The polytropic process as described demonstrates one special functional relationship between P and V during a process. There are many other possible relations.