After setting up the vector equation from the test for linear dependence/independence, you are solving for the scalars not for On the right-hand side, the zero represents the zero vector, which in this space is the zero polynomial. What are the coefficients on powers of in the zero polynomial? The left-hand side, being equal, must have the same coefficients.