Find the multiplicative inverse in a cubic extension of $\Bbb{F}_3$.

196 Views Asked by At

I'm trying to find the multiplicative inverse of the element $x^2 + 1$ in the ring $\Bbb{F}_3[x]/(x^3 + 2x + 2)$. I tried to use the Euclidean Algorithm, but it isn't really getting me anywhere, I never reach the point where I have a $1$ on the right hand side, which makes it impossible for me to reverse the process.

For example, I've tried:

$$x^3 + 2x + 2 = x \dot (x^2 + 1) + (x + 2) $$ $$x^2 + 1 = x \dot (x + 2) +(-2x+1) $$ $$x+2 = -1 \dot (-2x+1) +(-x+3) $$ $$-2x+1 = 1 \dot (-x+3) +(-x-2) $$ $$-x+3 = 1 \dot (-x-2) + 5 $$ $$(-x-2) = 1 \dot 5 +(-x-7) $$ ...etc. As you can see, it's not really working for me.

Any help is appreciated!

2

There are 2 best solutions below

3
On BEST ANSWER

In your second line, note that $-2x+1=x+1$, since we are doing arithmetic in $\mathbb{Z}_3$. Now can you finish?

Added: As in your first line, we have $$x^3+2x+2=x(x^2+1)+x+2.\tag{1}$$ The second line, with the arithmetic done in the field, is then $$x^2+1=x(x+2)+x+1.\tag{2}$$ Finally, $$x+2=(1)(x+1)+1.\tag{3}$$ Now work backwards. From (3) and (2) we have $$1=(x+2)-(x+1)=(x+2)-[(x^2+1)-x(x+2)]=(1+x)(x+2)-(x^2+1).$$ Finally, from (1) we have $$1=(1+x)[x^3+2x+2-x(x^2+1)]-(x^2+1)=(1+x)(x^3+2x+2)+[-x-x^2-1](1+x^2).$$ So the inverse of $x^2+1$ can be written as $-x^2-x-1$, or equivalently as $2x^2+2x+2$.

1
On

Here's another approach, by means of linear algebra. Every element of $\Bbb{F}_3[x]/(x^3+2x+2)$ is of the form $ax^2+bx+c$ for some $a,b,c\in\Bbb{F}_3$. Some modular arithmetic shows that \begin{eqnarray*} 1\cdot(x^2+1)&=&x^2+1,\\ x\cdot(x^2+1)&=&x^3+x=2x+1,\\ x^2\cdot(x^2+1)&=&x\cdot(2x+1)=2x^2+x, \end{eqnarray*} so if $(x^2+1)^{-1}=ax^2+bx+c$ with $a,b,c\in\Bbb{F}_3$ then we have $$1=(ax^2+bx+c)(x^2+1)=a(2x^2+x)+b(2x+1)+c(x^2+1).$$ This gives three linear equations is $a$, $b$ and $c$, which you should be able to solve.