I'm having some difficulties understanding how I'm supposed to construct a field of order $p^r$(where p is a prime number and $r\geq1$) using an irreducible polynomial of degree $r$ in $Z_p[x]$.
(All the $Z$ symbols denote the symbol for the ring of integers.).
The theory states the following
"Let $k(x)$ be an irreducible polynomial of degree $r$ in $Z_p[x]$ and let ~ be the equivalence relation on $Z_p[x]$ defined by
$a(x)$ ~ $b(x) \Leftrightarrow a(x) - b(x)$ is divisible by $k(x)$.
Then the set of equivalence classes of ~ in $Z_p[x]$ is a field of order $p^r$
An example using this is the following:
Construct a field of order 4 by using the irreducible polynomial $x^2 + x + 1$ in $Z_2$.
The solution states that the field consists of the following 4 elements:
{0, 1, x, x+1}
But exactly how have they deduced that from the theory? I understand why the order is 4. But I'm not understanding how they deduced that the elements of the field should be those mentioned above.
The equivalence relation you gave is precisely the equivalence relation which defines the coset space of $Z_p[x]/(f(x))$, which is a field because $f(x)$ is irreducible, and hence $(f(x))$ is a maximal ideal. You can use one of the isomorphism theorems (the "lattice one?") to show that a quotient of a ring by a maximal ideal has no nonzero proper ideals, and thus is a field.