Equivalent fractions

An algebraic fraction is a division of the polynomial quotient.

Let's see some examples:

Example

x23x+1

x4+x3+x1x3+2x+3

x6x2

In a similar way as with fractions, we can define two algebraic fractions as equivalent if its cross product is equal. That is, if we have: p(x)q(x) and r(x)s(x) two pairs of algebraic fractions, they will be equivalent if, and only if: p(x)s(x)=r(x)q(x)

Example

Let's see if this pair of algebraic fractions is equivalent: x21x and (x1)2x To verify, we will compute the cross products: (x21)x=x3x x(x1)2=x(x22x+1)=x32x2+x They obviously are not equal. Therefore, the previous fractions are not equivalent.

Example

Let's see if this pair of algebraic fractions is equivalent: x1x+1 and (x1)2x21 To verify, we will operate the cross products: (x1)(x21)=x(x21)1(x21)= =x3xx2+1=x3x2x+1

(x+1)(x1)2=(x+1)(x22x+1)= x(x22x+1)+1(x22x+1)=x32x2+x+x22x+1= =x3x2x+1 We can see that they are equal, and therefore, the previous fractions are equivalent.