It seems that wherever you go in mathematics linear algebra comes chasing you. Here is one such example where you are simply dealing with subsets and nothing more. You are probably aware that subsets of {1, …, *n*} can be represented formally using the power series

∑_{1 ≤ i1 < i2 < … < ik ≤ n}*x*_{i1}*x*_{i2}…*x*_{ik}

The above expression can be more succintly written as the following product.

(1 + *x*_{1})(1 + *x*_{2})…(1 + *x*_{n})

The sign alternating version of this is given below where subsets of even size have + 1 as their coefficient and subsets of odd size have − 1 as their coefficient.

(1 − *x*_{1})(1 − *x*_{2})…(1 − *x*_{n})

Surprisingly, this can be computed as a determinant! Recall, that a determinant of a square matrix is

det(*A*)_{1 ≤ i, j ≤ n} = ∑_{w ∈ Sn}sgn(*w*)*A*_{1w(1)}…*A*_{nw(n)}

Now, construct a matrix *A* as follows 1) *A*_{ij} = *x*_{j} if *i* ≤ *j*, 2) *A*_{ij} = 1 if *i* = *j* + 1, and 3) *A*_{ij} = 0 otherwise.

Convince yourself that the determinant of *A* is (1 − *x*_{1})(1 − *x*_{2})…(1 − *x*_{n}).