Operations with algebraic fractions

Sum and subtraction

In order to compute the sum or subtraction of algebraic fractions, first we have to convert the fractions to a common denominator, and then we can compute the sum or subtraction as if it was a fraction.

Once the denominator is computed, the numerator is just the sum or subtraction of the different terms.

Example

Compute the sum of the following algebraic fractions x1x+4 and x2+2x+4

In this case, both fractions have the same denominator, and we can then compute straight away: x1x+4+x2+2x+4=x1+(x2+2)x+4=x2+x+1x+4

Example

Compute the subtraction of the following algebraic fractions x2+1x2 and x+1x1

First, we have to convert the algebraic fractions into fractions with common denominator:

lcm{x2,x1}=(x2)(x1)

(x2)(x1)(x2)=x1(x1)(x2+1)=x(x2+1)1(x2+1)=

=x3x2+x1x3x2+x1(x2)(x1)

(x2)(x1)(x1)=x2(x1)(x+1)=x21x21(x2)(x1)

Now we compute:

x3x2+x1(x2)(x1)+x21(x2)(x1)=x3x2+x1+(x21)(x2)(x1)=

=x3+x2(x2)(x1)

Example

Compute the subtraction of the following algebraic fractions x2x+3 and x1(x+1)2

First, we have to convert the algebraic fractions into fractions with common denominator:

lcm{x+3,(x+1)2}=(x+3)(x+1)2

(x+3)(x+1)2x+3=(x+1)2(x2)(x+1)2=x(x+1)2+1(x+1)2=

=x(x2+2x+1)+1(x2+2x+1)=x3+3x2+3x+1

x3+3x2+3x+1(x+3)(x+1)2

(x+3)(x+1)2(x+1)2=x+3(x1)(x+3)=x2+2x3

x2+2x3(x+3)(x+1)2

Now we compute:

x3+3x2+3x+1(x+3)(x+1)2x2+2x3(x+3)(x+1)2=x3+3x2+3x+1(x2+2x3)(x+3)(x+1)2=

=x3+2x2x+4(x+3)(x+1)2

Product

To compute the product of two algebraic fractions, the numerator of the product will be the numerators' product and the denominator of the product will be the denominators' product.

Example

Compute the product of the following algebraic fractions x1x+4 and x2+2x2.

We multiply numerators and denominators, and obtain the desired result:

x1x+4x2+2x2=(x1)(x2+2)(x+4)(x2)=x(x2+2)1(x2+2)x(x2)+4(x2)=

=x3x2+2x2x2+2x8

Example

Compute the product of the following algebraic fractions x+5x and x21x+3.

We multiply numerators and denominators, and obtain the desired result:

x+5xx21x+3=(x+5)(x21)x(x+3)=x(x21)+5(x21)x(x+3)=

=x3+5x2x5x2+3x

Division

In order to compute the division of two algebraic fractions, it is enough to multiply the algebraic fraction of the dividend by the inverted algebraic fraction of the divisor, that is, the numerator instead of the denominator, and vice versa.

Example

Compute the division of the following algebraic fractions x1x+4 and x2+2x2.

We multiply the first fraction by the second inverted, and obtain the desired result:

x1x+4x2x2+2=(x1)(x2)(x+4)(x2+2)=x(x2)1(x2)x(x2+2)+4(x2+2)=

=x23x+2x3+4x2+2x+8

Example

Compute the division of the following algebraic fractions x+5x and x21x+3.

We multiply the first fraction by the second inverted, and obtain the desired result:

x+5xx+3x21=(x+5)(x+3)x(x21)=x(x+3)+5(x+3)x(x21)=

=x2+8x+15x3x