Multiplicative inverse of a polynomial

Ninjalord

New member
Joined
Jul 13, 2008
Messages
5
Hello

I need to figure out the multiplicative inverse of a polynomial.

Quick explanation -

Let's say you want to divide a by b, i.e. a / b. Instead of using division, you can find the multiplicative inverse of b and multiply instead.

For example:

a = 20
b = 5

a / b = 20 / 5 = 4
or
a * (inverse b) = 20 * (inverse b) = 4
a * (inverse b) = 20 * 1/5 = 4

So as you can see, the inverse of b is simply changing 5/1 to 1/5.

This is straightforward.

Now let's have a polynomial example:

a = x^2
b = x

a / b = x^2 / x = 2
or
a * (inverse b) = x^2 * (inverse b) = 2
a * (inverse b) = x^2 * 1/x = 2

Again, this is fairly straightforward.

But what if a and b are more complicated?

For example:

a = x^7 + x^5 + x + 1
b = x^6 + x^2 + x

a / b = x^7 + x^5 + x + 1 / x^6 + x^2 + x = 1 remainder x^5 + x^2 + x
a * (inverse b) = x^7 + x^5 + x + 1 * (inverse b) = 1 remainder x^5 + x^2 + x

How can I figure out the inverse of b?!

Any help greatly appreciated! Especially, if someone can show me a step by step example.

Thank you very much for reading.

PS I know the Extended Euclidean Algorithm and "Repeated Square and multiply" can be used, but I'm yet to come across an example which uses polynomials. I have no problem getting the multiplicative inverse of a natural number.
 
Ninjalord said:
Now let's have a polynomial example:

a = x^2
b = x

a / b = x^2 / x = 2
Um... no: x[sup:25cy5jk5]2[/sup:25cy5jk5]/x = x, not 2.

Ninjalord said:
a * (inverse b) = x^2 * (inverse b) = 2
a * (inverse b) = x^2 * 1/x = 2

Again, this is fairly straightforward.
"Multiplicative inverse of Y" normally means "the group element which, when multiplied against Y, results in the group's identity element". This might be "0" or "1" or the identity matrix or something else, depending upon the elements, the group, and the binary operator.

But what do you mean by the "multiplicative inverse of a polynomial"? What are you trying to do here? Of what group is "2" the identity element? How is "b" the "inverse" of "a"?

Please reply with the full and exact text of the exercise, the complete instructions, the definitions being used, the context of this exercise, and a clear listing of your work and reasoning so far.

Thank you! :D

Eliz.
 
Top