Skills

Rational Expressions

see every function move

3 min readfreeNot practiced

Rational expressions are fractions with polynomials on top and bottom. Topic 1.7 builds functions out of them, and their behavior depends on details of the algebra: which factors cancel and which inputs are excluded. This page is that algebra.

What a rational expression is

A rational expression is a quotient p(x)q(x)\frac{p(x)}{q(x)} of two polynomials, such as x−3x−2\frac{x - 3}{x - 2} or 2x2+3x\frac{2x^2 + 3}{x}. It is undefined wherever the denominator q(x)q(x) is 00. Find those inputs by factoring the denominator: x+2x2−4x\frac{x + 2}{x^2 - 4x}=x+2x(x−4)= \frac{x + 2}{x(x - 4)} is undefined at x=0x = 0 and x=4x = 4.

Simplifying

Factor the numerator and denominator completely, then cancel factors they share.

Worked example 1. Simplify x2−9x2+x−6\frac{x^2 - 9}{x^2 + x - 6}.

Factor: (x−3)(x+3)(x+3)(x−2)\frac{(x - 3)(x + 3)}{(x + 3)(x - 2)}.

Cancel x+3x + 3: x−3x−2\frac{x - 3}{x - 2}, with x≠−3x \ne -3 and x≠2x \ne 2.

The excluded input x=−3x = -3 does not come back when the factor cancels. The original expression has no value at x=−3x = -3, so the simplified one is equal to it only for x≠−3x \ne -3. On a graph, that shows up as a single missing point.

The graph of y = (x² − 4)/(x − 2) is the line y = x + 2 with one point missing: an open circle at (2, 4), because x = 2 is not in the domain of the original expression.
Figure 1. x2−4x−2\frac{x^2 - 4}{x - 2} agrees with x+2x + 2 everywhere except x=2x = 2. LevlPrep original diagram.

Cancel factors, never terms. In x+6x+3\frac{x + 6}{x + 3} the xx's are terms of sums; nothing cancels. In x2+xx\frac{x^2 + x}{x}=x(x+1)x= \frac{x(x + 1)}{x}, xx is a factor of the whole top, so it cancels to x+1x + 1 for x≠0x \ne 0.

Adding and subtracting

Use a common denominator, the product of the different factors.

Worked example 2. Write 1x−1+2x+1\frac{1}{x - 1} + \frac{2}{x + 1} as one fraction.

Common denominator (x−1)(x+1)(x - 1)(x + 1). Multiply each numerator by the factor its denominator lacks:

1(x+1)+2(x−1)(x−1)(x+1)\frac{1(x + 1) + 2(x - 1)}{(x - 1)(x + 1)}=3x−1x2−1= \frac{3x - 1}{x^2 - 1}.

Multiplying and dividing

Multiply numerators and denominators straight across, cancelling common factors. To divide, multiply by the reciprocal of the second fraction:

x2−1x+3÷x−1x2−9=(x−1)(x+1)x+3⋅(x−3)(x+3)x−1=(x+1)(x−3).\frac{x^2 - 1}{x + 3} \div \frac{x - 1}{x^2 - 9} = \frac{(x - 1)(x + 1)}{x + 3} \cdot \frac{(x - 3)(x + 3)}{x - 1} = (x + 1)(x - 3).

A fraction inside a fraction simplifies the same way: multiply its top and bottom by the small denominators. 1+1x1−1x\frac{1 + \frac{1}{x}}{1 - \frac{1}{x}}=x+1x−1= \frac{x + 1}{x - 1}.

Splitting a fraction

The reverse of adding: when the numerator is a sum, divide each term by the denominator. 2x2+3x=2x+3x\frac{2x^2 + 3}{x} = 2x + \frac{3}{x}. When the denominator has two terms, first write the numerator in terms of it: x2+2x+3x^2 + 2x + 3=(x+1)2+2= (x + 1)^2 + 2, so

x2+2x+3x+1=x+1+2x+1.\frac{x^2 + 2x + 3}{x + 1} = x + 1 + \frac{2}{x + 1}.

Topic 1.7 uses this form: for large xx, the small fraction 2x+1\frac{2}{x + 1} is close to 00, so the expression behaves like x+1x + 1.

Spot a mistake on this page?