How to add and subtract rational expressions

Adding algebra fractions works like adding fractions with numbers. We first rewrite them with the same denominator so we’re counting pieces of the same size. Let’s see how to build that denominator when the factors include variables.

Build the least common denominator

Factor each denominator. Use the least common multiple of the numerical coefficients, then include the highest power needed for each variable or polynomial factor. For 5x, xy2, and 5y4, the least common denominator is 5xy4.

Example: Add and subtract three fractions

y5x+axy2-c5y4

Multiply the numerator and denominator of the first fraction by y4, the second by 5y2, and the third by x. Then keep the common denominator and combine the new numerators.

y55xy4+5ay25xy4-xc5xy4=y5+5ay2-xc5xy4

The original denominators require x≠0 and y≠0. When subtracting a numerator with several terms, distribute the minus sign through the whole numerator.

Example: Use the LCM of the coefficients

a2bc2+m3c+y4bc

The least common multiple of 2, 3, and 4 is 12. The denominators also need b and c2, so use 12bc2. The missing factors are 6, 4bc, and 3c.

6a+4bcm+3cy12bc2

The restrictions are b≠0 and c≠0. Keep restrictions from the original denominators even if a factor later cancels.