Skip to content

Algebraic fractions: simplify, calculate and solve

An algebraic fraction is a fraction containing a variable, such as

3xx+2orx29x2+x6.\frac{3x}{x+2} \quad\text{or}\quad \frac{x^2-9}{x^2+x-6}.

The same fraction rules used in arithmetic still apply. The extra challenge is algebraic structure: denominators may need factorising, cancelled factors must multiply the whole numerator and denominator, and some values of the variable are forbidden.

You should be able to:

  • find numerical common denominators
  • expand and factorise linear and quadratic expressions
  • use index laws
  • solve linear and quadratic equations

Review algebraic manipulation and factorisation or quadratic equations if those skills are uncertain.

Division by zero is undefined. Every denominator must therefore be non-zero.

For

5x3,\frac{5}{x-3},

the restriction is x3x\ne3. For

x+1x(x4),\frac{x+1}{x(x-4)},

the restrictions are x0x\ne0 and x4x\ne4.

State restrictions from the original expression, before simplifying. Cancellation does not restore an excluded value.

Simplify

x24x2.\frac{x^2-4}{x-2}.

The original denominator gives x2x\ne2. Factorise the difference of two squares:

x24x2=(x2)(x+2)x2=x+2,x2.\frac{x^2-4}{x-2} =\frac{(x-2)(x+2)}{x-2} =x+2,\qquad x\ne2.

Although x+2x+2 itself can be evaluated at x=2x=2, the original fraction cannot. The simplified expression and the original have equal values only on the original domain.

Cancellation is division of numerator and denominator by the same non-zero factor:

acbc=ab,b0, c0.\frac{ac}{bc}=\frac ab,\qquad b\ne0,\ c\ne0.

You may cancel factors, not terms joined by addition or subtraction.

Simplify

x2+5x+6x24.\frac{x^2+5x+6}{x^2-4}.

Factorise both parts:

x2+5x+6=(x+2)(x+3),x^2+5x+6=(x+2)(x+3), x24=(x+2)(x2).x^2-4=(x+2)(x-2).

Hence

(x+2)(x+3)(x+2)(x2)=x+3x2,x2,2.\frac{(x+2)(x+3)}{(x+2)(x-2)} =\boxed{\frac{x+3}{x-2}}, \qquad x\ne-2,2.

The restriction x2x\ne-2 remains even though the factor x+2x+2 cancels.

Simplify

63xx24.\frac{6-3x}{x^2-4}.

Write the numerator in a form that matches a denominator factor:

63x=3(x2),6-3x=-3(x-2),

and factorise the denominator:

x24=(x2)(x+2).x^2-4=(x-2)(x+2).

Therefore

3(x2)(x2)(x+2)=3x+2,x2,2.\frac{-3(x-2)}{(x-2)(x+2)} =\boxed{-\frac3{x+2}}, \qquad x\ne-2,2.

The minus sign belongs to the remaining numerator.

The step

x+3x3\frac{x+3}{x}\ne3

is invalid. The xx in the numerator is a term in a sum, not a factor of the whole numerator. Instead,

x+3x=xx+3x=1+3x,x0.\frac{x+3}{x}=\frac xx+\frac3x=1+\frac3x, \qquad x\ne0.

A useful test is this: if you cannot place brackets around the whole part being cancelled, it is probably not a common factor.

Multiply numerators together and denominators together. Factorise first so that common factors can be cancelled before expansion:

ab×cd=acbd.\frac ab\times\frac cd=\frac{ac}{bd}.

Simplify

x29x2+2x×xx3.\frac{x^2-9}{x^2+2x}\times\frac{x}{x-3}.

From the original denominators, x0,2,3x\ne0,-2,3. Factorise:

(x3)(x+3)x(x+2)×xx3.\frac{(x-3)(x+3)}{x(x+2)}\times\frac{x}{x-3}.

Cancel the common factors xx and x3x-3:

x+3x+2,x0,2,3.\boxed{\frac{x+3}{x+2}}, \qquad x\ne0,-2,3.

Expanding first would hide the factors and create unnecessary work.

To divide by a fraction, multiply by its reciprocal:

ab÷cd=ab×dc.\frac ab\div\frac cd =\frac ab\times\frac dc.

The divisor itself must not equal zero. This may create an additional restriction from its numerator.

Simplify

x24x2x6÷x+2x3.\frac{x^2-4}{x^2-x-6}\div\frac{x+2}{x-3}.

The displayed denominators require

x2x6=(x3)(x+2)0,x^2-x-6=(x-3)(x+2)\ne0,

so x3,2x\ne3,-2. The divisor must also be non-zero. Since its numerator is x+2x+2, this confirms x2x\ne-2.

Now invert the second fraction and multiply:

(x2)(x+2)(x3)(x+2)×x3x+2.\frac{(x-2)(x+2)}{(x-3)(x+2)} \times\frac{x-3}{x+2}.

Cancelling gives

x2x+2,x2,3.\boxed{\frac{x-2}{x+2}}, \qquad x\ne-2,3.

Do not invert the first fraction, and do not invert both fractions.

Adding and subtracting algebraic fractions

Section titled “Adding and subtracting algebraic fractions”

Fractions can be added or subtracted only after they have a common denominator:

ab+cd=ad+bcbd.\frac ab+\frac cd=\frac{ad+bc}{bd}.

This formula is reliable, but using the lowest common denominator often gives shorter algebra.

Simplify

2x+3x+1.\frac{2}{x}+\frac{3}{x+1}.

The common denominator is x(x+1)x(x+1):

2(x+1)x(x+1)+3xx(x+1)=2x+2+3xx(x+1).\frac{2(x+1)}{x(x+1)}+\frac{3x}{x(x+1)} =\frac{2x+2+3x}{x(x+1)}.

Therefore

5x+2x(x+1),x0,1.\boxed{\frac{5x+2}{x(x+1)}}, \qquad x\ne0,-1.

Notice that the numerator is 2(x+1)+3x2(x+1)+3x, not merely 2+32+3.

Simplify

4x21x+3.\frac{4}{x-2}-\frac{1}{x+3}.

Use the common denominator (x2)(x+3)(x-2)(x+3):

4(x+3)(x2)(x2)(x+3).\frac{4(x+3)-(x-2)}{(x-2)(x+3)}.

The subtraction applies to the whole second numerator:

4(x+3)(x2)=4x+12x+2=3x+14.4(x+3)-(x-2)=4x+12-x+2=3x+14.

Thus

3x+14(x2)(x+3),x2,3.\boxed{\frac{3x+14}{(x-2)(x+3)}}, \qquad x\ne2,-3.

Example 8: denominators with a shared factor

Section titled “Example 8: denominators with a shared factor”

Simplify

3x24+1x+2.\frac{3}{x^2-4}+\frac{1}{x+2}.

Since x24=(x2)(x+2)x^2-4=(x-2)(x+2), the lowest common denominator is already x24x^2-4. Rewrite only the second fraction:

3(x2)(x+2)+x2(x+2)(x2).\frac{3}{(x-2)(x+2)} +\frac{x-2}{(x+2)(x-2)}.

Hence

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

So the result is

x+1x24,x2,2.\boxed{\frac{x+1}{x^2-4}}, \qquad x\ne-2,2.

Using the product of the original denominators would work, but it would introduce a repeated factor that later has to be cancelled.

A fraction whose numerator or denominator contains fractions is sometimes called a complex fraction. Multiply every term in the large numerator and denominator by the lowest common denominator of the smaller fractions.

Simplify

2x+13x1.\frac{\dfrac2x+1}{\dfrac3x-1}.

The small denominators have common denominator xx, so multiply the entire top and bottom by xx:

x(2x+1)x(3x1)=2+x3x.\frac{x\left(\dfrac2x+1\right)}{x\left(\dfrac3x-1\right)} =\frac{2+x}{3-x}.

The original expression requires x0x\ne0. Its large denominator must also be non-zero:

3x10x3.\frac3x-1\ne0 \quad\Longrightarrow\quad x\ne3.

Therefore

x+23x,x0,3.\boxed{\frac{x+2}{3-x}}, \qquad x\ne0,3.

Multiplying only one term by xx changes the value. The multiplier must apply to every term in both parts of the large fraction.

Solving equations containing algebraic fractions

Section titled “Solving equations containing algebraic fractions”

The safest method is:

  1. Record values excluded by the original denominators.
  2. Find the lowest common denominator.
  3. Multiply every term of the equation by it.
  4. Solve the resulting equation.
  5. Reject any excluded value and check valid solutions in the original equation.

Solve

3x+2=5x,x0.\frac{3}{x}+2=\frac{5}{x}, \qquad x\ne0.

Multiply every term by xx:

3+2x=5.3+2x=5.

Thus 2x=22x=2, so

x=1.\boxed{x=1}.

Checking gives 3+2=53+2=5, so the solution is valid.

Example 11: an equation producing a quadratic

Section titled “Example 11: an equation producing a quadratic”

Solve

2x1+1x+1=1.\frac{2}{x-1}+\frac{1}{x+1}=1.

The restrictions are x1,1x\ne1,-1. Multiply every term by (x1)(x+1)(x-1)(x+1):

2(x+1)+(x1)=(x1)(x+1).2(x+1)+(x-1)=(x-1)(x+1).

Expand and simplify:

2x+2+x1=x21,2x+2+x-1=x^2-1, x23x2=0.x^2-3x-2=0.

Using the quadratic formula,

x=3±(3)24(1)(2)2=3±172.x=\frac{3\pm\sqrt{(-3)^2-4(1)(-2)}}2 =\frac{3\pm\sqrt{17}}2.

Neither value is excluded, so

x=3+172orx=3172.\boxed{x=\frac{3+\sqrt{17}}2\quad\text{or}\quad x=\frac{3-\sqrt{17}}2}.

Solve

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

The restriction is x2x\ne2. Multiplying by x2x-2 gives

x+1=3,x+1=3,

so the algebra suggests x=2x=2. But x=2x=2 is excluded from the original equation. Therefore the equation has

no solution.\boxed{\text{no solution}}.

Clearing denominators can produce a value at which the multiplication was not reversible. Domain checking is essential.

An equation asks for particular values of xx. An identity is true for every xx in its domain. To prove an identity, transform one side into the other or simplify both sides to the same expression.

Show that

1x11x+12x21.\frac1{x-1}-\frac1{x+1}\equiv\frac2{x^2-1}.

Starting from the left,

1x11x+1=x+1(x1)(x1)(x+1)=2x21.\frac1{x-1}-\frac1{x+1} =\frac{x+1-(x-1)}{(x-1)(x+1)} =\frac2{x^2-1}.

Hence the identity is true for x1,1x\ne-1,1.

Checking one numerical value may expose an error, but it cannot prove an identity for all permitted values.

  • Cancelling terms instead of factors: factorise first, then cancel common multiplicative factors.
  • Adding denominators: 1a+1b\frac1a+\frac1b is not 2a+b\frac2{a+b}. Use a common denominator.
  • Losing brackets in subtraction: write ABA-B before expanding the second numerator.
  • Inverting the wrong fraction: in A÷BA\div B, replace only BB by its reciprocal.
  • Expanding too early: factorised form reveals cancellation and common denominators.
  • Forgetting restrictions: obtain them from the original expression, not only the simplified answer.
  • Clearing only some denominators: multiply every term on both sides of an equation.

Try these without looking at the answers.

  1. State the restrictions and simplify x27x+12x216.\frac{x^2-7x+12}{x^2-16}.
  2. Simplify 2xx29×x+34x.\frac{2x}{x^2-9}\times\frac{x+3}{4x}.
  3. Simplify x21x2+3x+2÷x1x+2.\frac{x^2-1}{x^2+3x+2}\div\frac{x-1}{x+2}.
  4. Write as a single fraction 3x2x1.\frac3x-\frac2{x-1}.
  5. Write as a single simplified fraction 2x2x+3x.\frac2{x^2-x}+\frac3x.
  6. Simplify 1x+1y1x1y.\frac{\dfrac1x+\dfrac1y}{\dfrac1x-\dfrac1y}.
  7. Solve 4x1=2x.\frac4x-1=\frac2x.
  8. Solve 1x2+1x+2=13.\frac1{x-2}+\frac1{x+2}=\frac13.
  9. Explain why x21x1=x+1\frac{x^2-1}{x-1}=x+1 is not valid at every real value of xx.
  1. Factorising gives (x3)(x4)(x4)(x+4)=x3x+4,x4,4.\frac{(x-3)(x-4)}{(x-4)(x+4)} =\boxed{\frac{x-3}{x+4}}, \qquad x\ne-4,4.
  2. Cancel 2x2x, x+3x+3 and the matching factors: 12(x3),x3,0,3.\boxed{\frac1{2(x-3)}}, \qquad x\ne-3,0,3.
  3. Factorising first gives (x1)(x+1)(x+1)(x+2)×x+2x1=1,\frac{(x-1)(x+1)}{(x+1)(x+2)} \times\frac{x+2}{x-1}=\boxed1, with x2,1,1x\ne-2,-1,1. The restriction x1x\ne1 is required because the divisor would be zero.
  4. Using x(x1)x(x-1) as the common denominator, x3x(x1),x0,1.\boxed{\frac{x-3}{x(x-1)}}, \qquad x\ne0,1.
  5. Since x2x=x(x1)x^2-x=x(x-1), 2x(x1)+3(x1)x(x1)=3x1x(x1),x0,1.\frac2{x(x-1)}+\frac{3(x-1)}{x(x-1)} =\boxed{\frac{3x-1}{x(x-1)}}, \qquad x\ne0,1.
  6. Multiply top and bottom by xyxy: x+yyx,\boxed{\frac{x+y}{y-x}}, where x0x\ne0, y0y\ne0 and xyx\ne y.
  7. Multiply by xx, where x0x\ne0: 4x=2,4-x=2, so x=2\boxed{x=2}.
  8. Here x2,2x\ne2,-2. Multiplying by 3(x2)(x+2)3(x-2)(x+2) gives 3(x+2)+3(x2)=x24,3(x+2)+3(x-2)=x^2-4, so x26x4=0x^2-6x-4=0. Therefore x=3±13.\boxed{x=3\pm\sqrt{13}}. Neither solution is excluded.
  9. The original denominator is zero at x=1x=1. Cancellation shows equality only when x1x\ne1.

These techniques support much of A-level algebra. Next, use them when:

The central habit is simple: factorise, record restrictions, then operate.