In $\mathbb Z_3[x]$, find all polynomials and classify reducible or irreducible for all polynomials of degree less than 4.
Here is what I am thinking
Def of Irreducible Let F be a field. A nonconstant Polynomial $p(x) \in F[x]$ is irreducible if its only divisors are its associates and th nonzero constanct polnomials (units)
polynomicals of degree 1 are irreducible. times those irreducible to find reducible of higher degree .
Listing all polynomials for fun
Deg 0 $$[0], [1], [2]$$
Deg 1 $$ \begin{matrix} [0+x] & [1+x] & [2+x]\\ [0+2x] & [1+2x] & [2+2x] \end{matrix} $$
Deg2 $$ \begin{matrix} [0+x^2] & [1+x^2] & [2+x^2]\\ [0+x+x^2] & [1+x+x^2] & [2+x+x^2]\\ [0+2x+x^2] & [1+2x+x^2] & [2+2x+x^2] \end{matrix} $$ $$ \begin{matrix} [0+2x^2] & [1+2x^2] & [2+2x^2]\\ [0+x+2x^2] & [1+x+2x^2] & [2+x+2x^2]\\ [0+2x+2x^2] & [1+2x+2x^2] & [2+2x+2x^2] \end{matrix} $$ Deg 3 $$ \begin{matrix} [0+x^3] & [1+x^3] & [2+x^3] \\ [0+x+x^3] & [1+x+x^3] & [2+x+x^3]\\ [0+2x+x^3] & [1+2x+x^3] & [2+2x+x^3] \end{matrix} $$
$$ \begin{matrix} [0+x^2+x^3] & [1+x^2+x^3] & [2+x^2+x^3]\\ [0+x+x^2+x^3] & [1+x+x^2+x^3] & [2+x+x^2+x^3]\\ [0+2x+x^2+x^3] & [1+2x+x^2+x^3] & [2+2x+x^2+x^3] \end{matrix} $$
$$ \begin{matrix}
[0+2x^2+x^3] & [1+2x^2+x^3] & [2+2x^2+x^3]\\
[0+x+2x^2+x^3] & [1+x+2x^2+x^3] & [2+x+2x^2+x^3]\\
[0+2x+2x^2+x^3] & [1+2x+2x^2+x^3] & [2+2x+2x^2+x^3] \end{matrix}
$$
$$
\begin{matrix}
[0+2x^3] & [1+2x^3] & [2+2x^3] \\
[0+x+2x^3] & [1+x+2x^3] & [2+x+2x^3]\\
[0+2x+2x^3] & [1+2x+2x^3] & [2+2x+2x^3] \end{matrix} $$
$$ \begin{matrix} [0+x^2+2x^3] & [1+x^2+2x^3] & [2+x^2+2x^3]\\ [0+x+x^2+2x^3] & [1+x+x^2+2x^3] & [2+x+x^2+2x^3]\\ [0+2x+x^2+2x^3] & [1+2x+x^2+2x^3] & [2+2x+x^2+2x^3] \end{matrix} $$
$$ \begin{matrix} [0+2x^2+2x^3] & [1+2x^2+2x^3] & [2+2x^2+2x^3]\\ [0+x+2x^2+2x^3] & [1+x+2x^2+2x^3] & [2+x+2x^2+2x^3]\\ [0+2x+2x^2+2x^3] & [1+2x+2x^2+2x^3] & [2+2x+2x^2+2x^3] \end{matrix} $$
Need to sort to see if its irreducible or reducible ... trying to see a pattern
Deg 1 In terms of irreducible Monics of degree 1 being $[x],[1+x],[2+x]$ $$ \begin{matrix} [x] & [1+x] & [2+x]\\ [2][x] & [2][2+x] & [2][1+x] \end{matrix} $$ Deg 2 In terms of irreducible Monics of degree 2 being $[1+x^2],[2+x+x^2],[2+2x+x^2]$
$$ \begin{matrix} [x][x] & [1+x^2] & [2+x][1+x]\\ [x][x+1] & ([2+x])^2 & [2+x+x^2] & \\ [x][2+x] & ([1+x])^2 & [2+2x+x^2] \end{matrix} $$ $$ \begin{matrix} [2][x][x] & [2][2+x][1+x] & [2][1+x^2] \\ [2][x][2+x] & [2][2+2x+x^2] & [2]([1+x])^2\\ [2][x][1+x] & [2]([1+x])^2 & [2][1+x+x^2] \end{matrix} $$ Deg 3 starting not to be fun listing evrything. So far there are 6 irreducibles of degree smaller than 3. We can combile them to make 16 combinations which are reducible. Also there are 27 monic possble of degree 3. Now that should mean there are 11 irruducible monics of degree 3. Making 14 irreducible monics to of deg 1,2,3. Meaning there are 28 irreducible of deg of def 1,2,3.Add the 2 nonzero constants and that makes 30 irreducible polynomials.
There is a very nice way of counting monic irreducible polynomials of each degree, using the fact that if a field has $q$ elements, then they are precisely the roots of $X^q-X$. If you call $N_d$ the number of irreducible monics of degree $d$, then there will be, in your case where the base field has three elements, $2N_d$ irreducibles in all, of degree $d$. Note that invertible elements are conventionally not considered to be irreducible.
I’ll call the field with $q$ elements $\Bbb F_q$, and I’ll call the three elements of $\Bbb F_3$ simply $0$, $1$, and $-1$. There are, of course, three irreducible monics of degree one, namely $X$, $X-1$, and $X+1$.
Now for degree $2$, if $\alpha$ is any root of such an irreducible $f$, it generates a (the) quadratic extension $\Bbb F_9$, and of course there’s another root of $f$. Since there are $6$ elements $\alpha$ of $\Bbb F_9$ not in $\Bbb F_3$, they fall into conjugate pairs $(\alpha,\alpha')$, each such pair giving you an irreducible monic $f$. So there are three irreducible monic quadratics. You’ve seen that these are $X^2+1$, $X^2-X-1$, and $X^2+X-1$.
I’ll let you do the same computation for monic irreducible cubics, to show that there are eight of them.