# Field question Divisibility

Let f(x), g(x) be in F[x]. Show that if g(x)|f(x) and f(x)|g(x), then f(x)=kg(x) for some k in F.

Since g(x)|f(x), then f(x)=g(x)r(x) for some r(x) in F[x].
Similarily, since f(x)|g(x), then g(x)=f(x)s(x)
So f(x)=f(x)s(x)r(x)

Last edited:

I tried doing something with degrees.
deg(fsr)=deg(f)+deg(s)+deg(r)
So deg(f)=deg(f)+deg(s)+deg(r)
0=deg(s)+deg(r)
deg(s)=-deg(r)

What do you mean with F(x)? You mean polynomials or rational functions? The standard notation for polynomials is F[x]...

Now, you got that f(x)=f(x)s(x)r(x). Now apply that F[x] is an integral domain...

I mean polynomials F[x]

I haven't learned about integral domains yet

An integral domain is just a ring such that ab=0 implies a=0 and b=0.
Now, since F[x] is clearly an integral domain, what does this imply for the equation f(x)=f(x)s(x)r(x)??

Delta2
Homework Helper
Gold Member
I tried doing something with degrees.
deg(fsr)=deg(f)+deg(s)+deg(r)
So deg(f)=deg(f)+deg(s)+deg(r)
0=deg(s)+deg(r)
deg(s)=-deg(r)

you almost got it, you know that deg(s)>=0 and deg(r)>=0 and deg(s)=-deg(r) hence it should be deg(s)=deg(r)=0.

Guess I don't know what to do with that that information

I don't how to go from there to f(x)=kg(x)

Delta2
Homework Helper
Gold Member
er deg(s)=0 means there is a constant c in F such that s(x)=c.

ok so s(x)=c
g(x)=cf(x)
but we had r(x)=s(x)=0 so there is r(x)=k
f(x)=kg(x)