What an algebraic fraction is, when it is undefined, how to find its value, how to make equivalent fractions, and how to simplify a fraction by cancelling the factors its numerator and denominator have in common.
Before you start
A fraction is in its simplest form when its numerator and denominator have no common factor except 1. To get there, divide both by their highest common factor (HCF): 1812=18÷612÷6=32.
In algebra, a power is a product: x3=x×x×x and 5y2=5×y×y. This lesson cancels letters by writing them out like this.
What Is an Algebraic Fraction?
You know fractions of numbers, such as 53 and 712. An algebraic fraction has a letter in its numerator, its denominator or both:
52y (a letter in the numerator), 4h+k16 (letters in the denominator), (2x+1)(3x−1)7x and f2−13f2 (letters in both).
An algebraic fraction follows the same rules as a fraction of numbers, because the letters stand for numbers. When you replace each letter by a number, the fraction becomes an ordinary fraction with a value.
Example 1: Finding the Value of an Algebraic Fraction
(a) Find the value of x−12x+3 when x=3 and when x=−2. (b) Find the value of 2aba2−b when a=−2 and b=3.
Solution
(a) When x=3:3−12(3)+3=29=421.
When x=−2:−2−12(−2)+3=−3−1=31. A negative divided by a negative is positive.
(b) Put brackets round each negative number before you square it: a2=(−2)2=4.
2aba2−b=2×(−2)×34−3=−121=−121.
(a) 421 when x=3, and 31 when x=−2. (b) −121
When Is an Algebraic Fraction Undefined?
You cannot divide by zero: 05 has no value. So an algebraic fraction has no value for any number that makes its denominator zero. We say the fraction is undefined for that value.
For example, x−35 is undefined when x=3, because then the denominator is 3−3=0.
Undefined values
An algebraic fraction is undefined when its denominator is equal to 0.
To find these values, write the equation denominator =0 and solve it.
If the denominator is a product, it is 0 when any one of its factors is 0.
Example 2: Finding Where a Fraction Is Undefined
For what value of the letter is each fraction undefined? (a) 3x−92x+5 (b) 2x+35 (c) 3y4
Solution
(a) Solve 3x−9=0:3x=9, so x=3. Check: 3(3)−9=0.
(b) Solve 2x+3=0:2x=−3, so x=−23. The answer need not be a whole number. Check: twice −23 is −3, and −3+3=0.
(c) 3y=0 when y=0.
The numerator does not matter: only the denominator can make a fraction undefined.
(a) x=3 (b) x=−121 (c) y=0
Example 3: A Denominator That Is a Product
For what values of x is (2x+1)(3x−1)7x undefined?
Solution
The denominator is (2x+1)×(3x−1). A product of two numbers is 0 when one of them is 0.
2x+1=0 gives 2x=−1, so x=−21.
3x−1=0 gives 3x=1, so x=31.
Check x=31: the first bracket is 32+1=35 and the second is 1−1=0, so the product is 35×0=0.
The fraction is undefined when x=−21 or x=31.
Zero is not the same as undefined
A fraction is equal to zero when its numerator is 0 and its denominator is not: 50=0.
A fraction is undefined when its denominator is 0:05 has no value.
Example 4: Zero or Undefined?
Consider x+3x−2. (a) For what value of x is it equal to 0? (b) For what value of x is it undefined?
Solution
(a) The numerator is 0 when x=2. Then the denominator is 2+3=5, which is not 0. So the fraction is 50=0.
(b) The denominator is 0 when x+3=0, that is, when x=−3. Then the fraction is 0−5, which has no value.
(a) It is 0 when x=2. (b) It is undefined when x=−3.
Equivalent Algebraic Fractions
With numbers, 32=3×42×4=128. These are equivalent fractions: they have the same value. Algebraic fractions work the same way, and you may also multiply or divide by a letter or an expression, as long as it is not zero.
Equivalent fractions
The value of a fraction does not change when its numerator and denominator are both multiplied, or both divided, by the same expression C:
Example 5: Finding the Missing Numerator or Denominator
Find the missing expression in each pair of equivalent fractions. (a) 3x=15y? (b) a2=?6ab (c) 4x+1=8x?
Solution
(a) Ask what the denominator 3 was multiplied by to give 15y:3×5y=15y. Multiply the numerator by 5y too: x×5y=5xy.
(b) This time the numerators are given: 2×3ab=6ab. Multiply the denominator by 3ab too: a×3ab=3a2b.
(c) 4×2x=8x, so multiply the numerator by 2x. The whole numerator x+1 is multiplied, so it keeps its brackets: 2x(x+1).
Check (c) with x=1:41+1=21 and 82(1)(2)=84=21.
(a) 5xy (b) 3a2b (c) 2x(x+1)
Simplifying by Cancelling Common Factors
To simplify an algebraic fraction, divide the numerator and the denominator by a factor they have in common. This is called cancelling the common factor. Keep going until the only common factor left is 1: the fraction is then in its simplest form.
To see the common letters, write each power as a product. A factor that is cancelled leaves 1 behind, so if every factor of the numerator cancels, the numerator is 1.
Simplifying an algebraic fraction
1. Write the numerator and the denominator as products of numbers and letters.
2. Cancel each factor that appears in both: the HCF of the numbers, and each letter as many times as it appears in both.
3. Multiply what is left on top, and what is left below.
Example 6: Cancelling a Number and a Letter
Simplify (a) 96x (b) 15ab10a
Solution
(a) The HCF of 6 and 9 is 3:96x=3×33×2x=32x.
(b) The HCF of 10 and 15 is 5, and a is a factor of both: 15ab10a=5×3×a×b5×2×a=3b2.
Check (b) with a=1,b=1:1510=32, and 3×12=32.
(a) 32x (b) 3b2
Example 7: Cancelling Powers of a Letter
Simplify (a) x3x (b) y2y3 (c) 9x3y23xy3
Solution
(a) x3x=x×x×xx=x×x1=x21. The x on top cancels one of the three below and leaves 1 on top.
(b) y2y3=y×yy×y×y=1y=y.
(c) Write both as products, with 9=3×3:
9x3y23xy3=3×3×x×x×x×y×y3×x×y×y×y
Left on top: y. Left below: 3×x×x=3x2. So the fraction is 3x2y.
Check (c) with x=1,y=2:9×1×43×1×8=3624=32, and 3×12=32. With x=2,y=1:726=121, and 3×41=121.
(a) x21 (b) y (c) 3x2y
Example 8: Two Letters with Powers
Simplify 12x4y48x2y.
Solution
Take each part in turn.
Numbers: the HCF of 8 and 12 is 4, and 128=32.
The letter x:x×x×x×xx×x. Two factors x cancel, leaving x×x=x2 below.
The letter y:y×y×y×yy. One y cancels, leaving y3 below.
So 12x4y48x2y=3x2y32.
Check with x=2,y=1:12×168×4=19232=61, and 3×42=61.
12x4y48x2y=3x2y32
A minus sign is a factor of −1:−a=(−1)×a. It may be written on top, below or in front of the fraction: b−a=−ba=−ba, and −b−a=ba. We usually write the answer with the sign in front, and no minus in the denominator.
Example 9: Negative Coefficients
Simplify (a) 9ab3−6a2b (b) −2xy4x (c) −5mn−15m
Solution
(a) Numbers: 9−6=−32. Letters: a×b×b×ba×a×b leaves a on top and b2 below. So the answer is −3b22a.
(b) −24=−2, and the x cancels, leaving y below: −y2.
(c) −5−15=3: two negatives give a positive. The m cancels: n3.
Check (a) with a=2,b=1:9×2×1−6×4×1=18−24=−34, and −3×12×2=−34.
(a) −3b22a (b) −y2 (c) n3
A Bracket as One Factor
A bracket such as (x+2) is one factor, just like a letter. If the same bracket is a factor of the whole numerator and of the whole denominator, it cancels: (x+2)2=(x+2)×(x+2), so one (x+2) can cancel with one below.
When a letter or a bracket cancels, the simplified fraction may have a value where the first one did not: 15ab10a has no value when a=0, but 3b2 has. The two are equal only for the values where the original fraction is defined, so from here on we state those values with the answer.
Example 10: Cancelling a Common Bracket
Simplify (a) x−15(x−1) (b) 6x(x+2)4(x+2)2, stating the values of x for which each original fraction is undefined.
Solution
(a) (x−1)5(x−1)=5. The original is undefined when x=1, so the answer is 5 for every x except 1.
(b) Write the square as a product: 6x(x+2)4(x+2)(x+2).
Cancel the HCF 2 of 4 and 6, and one (x+2):3x2(x+2).
The original denominator 6x(x+2) is 0 when x=0 or x=−2.
Check (b) with x=1:6×34×9=2, and 32×3=2. With x=2:12×44×16=34, and 62×4=34.
Notice that 3x2(x+2) equals 0 at x=−2, while the original has no value there. That is why the excluded values come from the original fraction.
(a) 5, for x≠1 (b) 3x2(x+2), for x≠0 and x≠−2
Cancel Factors, Never Terms
You may cancel only a factor of the whole numerator and of the whole denominator. In x+3, the 3 is a term (something added), not a factor of x+3. So the 3s in 3x+3 do not cancel.
What you may do is divide each term of the numerator: 3x+3=3x+33=3x+1.
If you are not sure whether a step is allowed, put a number in for the letter on both sides. If the two sides give different values, the step is wrong.
Example 11: Is the Cancelling Right?
Test each statement with a number. (a) 3x+3=x+1 (b) 2+x2x=x
Solution
(a) Take x=3. Left side: 33+3=2. Right side: 3+1=4. They differ, so the statement is false. The 3 is not a factor of x+3.
(b) Take x=2. Left side: 44=1. Right side: 2. False. The 2 in 2+x is a term, not a factor, so nothing cancels. 2+x2x is already in its simplest form.
One value that agrees does not prove a statement true (in (b), x=0 gives 0 on both sides), but one value that disagrees proves it false.
Both are false. 3x+3=3x+1, and 2+x2x cannot be simplified.
Common Mistakes
Cancelling a term instead of a factor: 3x+3=x+1 is wrong. Cancel only what multiplies the whole numerator and the whole denominator.
Losing the 1:10x25x=2x1, not 2x. When every factor on top cancels, 1 is left on top.
Cancelling the wrong number of letters: x3x is x21, not x2 or x31. Write the letters out and count.
Dropping a minus sign: −2xy4x is −y2, not y2.
Thinking a fraction is undefined when its numerator is 0.50=0; only a zero denominator makes it undefined.
Reading the excluded values from the simplified fraction. They come from the original: 6x(x+2)4(x+2)2 is undefined at x=−2 although 3x2(x+2) is not.
Practice
Try each question before you open its solution. Check each simplification by putting numbers in for the letters on both sides.
Question 1
For what values is each fraction undefined? (a) 2x+87 (b) 5−2xx+1 (c) 4ab9
ShowHide solution
(a) 2x+8=0, so 2x=−8 and x=−4.
(b) 5−2x=0, so 5=2x and x=25=221.
(c) 4ab=0 when a=0 or when b=0.
(a) x=−4 (b) x=221 (c) a=0 or b=0
Question 2
For the fraction x(x−5)x+4, find (a) the values of x for which it is undefined, (b) the value of x for which it is equal to 0.
ShowHide solution
(a) The denominator x(x−5) is 0 when x=0 or x−5=0, that is, x=0 or x=5.
(b) The numerator is 0 when x=−4. The denominator is then (−4)(−9)=36, not 0, so the fraction is 360=0.
(a) x=0 or x=5 (b) x=−4
Question 3
Find the value of (a) x+23x−1 when x=−3 (b) x+23x−1 when x=21 (c) p−qp2 when p=−3 and q=6.
ShowHide solution
(a) −3+23(−3)−1=−1−10=10
(b) 21+223−1=2521=21×52=51
(c) −3−6(−3)2=−99=−1
(a) 10 (b) 51 (c) −1
Question 4
Find the missing expression. (a) 4b3=12ab2? (b) 2y5x=?15x2 (c) 3a−2=6a?
(a) 16−12=−43; one x and one y cancel, leaving x on top and y below: −4y3x.
(b) −1510=−32; one a cancels, leaving b on top and a below: −3a2b.
(c) −2−8=4; one k cancels: 4k.
Check (a) with x=2,y=1:32−48=−23, and −46=−23.
(a) −4y3x (b) −3a2b (c) 4k
Question 8
Simplify, stating the value for which the original fraction is undefined. (a) 2(x+5)8x(x+5) (b) 9(a−3)26(a−3)
ShowHide solution
(a) Cancel 2 and (x+5):14x=4x. The original is undefined when x=−5.
(b) 9(a−3)(a−3)6(a−3). Cancel 3 and one (a−3):3(a−3)2. Undefined when a=3.
Check (b) with a=4:96=32, and 3×12=32.
(a) 4x, for x≠−5 (b) 3(a−3)2, for a≠3
Question 9
Simplify 27x2y3(x−y)9x4(x−y)3, stating the values for which it is undefined.
ShowHide solution
Numbers: 279=31.
x×xx×x×x×x leaves x2 on top. y3 stays below.
(x−y)(x−y)(x−y)(x−y) leaves (x−y)2 on top.
So the fraction is 3y3x2(x−y)2. The original denominator is 0 when x=0,y=0 or x=y.
Check with x=2,y=1:27×4×1×19×16×1=108144=34, and 34×1=34.
3y3x2(x−y)2, for x≠0,y≠0 and x≠y
Question 10
Three pupils simplified a fraction. Test each with a number and say whether it is right. (a) Ali: 22x+6=x+6 (b) Mei: x+2x+5=25 (c) Ravi: 3a3ab=b
ShowHide solution
(a) x=1:28=4, but 1+6=7. Wrong: Ali divided only the first term by 2. Dividing each term: 22x+26=x+3.
(b) x=1:36=2, but 25 is not 2. Wrong: x is a term on top and below, not a factor. The fraction cannot be simplified.
(c) 3a is a factor of both 3ab and 3a:3a×13a×b=b, for a≠0. Right. (a=2,b=5:630=5.)
(a) Wrong; it is x+3. (b) Wrong; it cannot be simplified. (c) Right.
Question 11
A rectangular garden plot has an area of 6x2y m² and a length of 4xy m. (a) Find its breadth in terms of x, in its simplest form. (b) Find the breadth when x=4.
ShowHide solution
(a) Area = length × breadth, so breadth = area ÷ length =4xy6x2y.
Cancel 2, one x and y:23x.
(b) 23×4=6.
(a) 23x m (b) 6 m
Question 12
A coach travels 18x2 km in 3x hours. (a) Find its average speed in terms of x. (b) For what value of x is the fraction you wrote undefined, and why does that value not arise here?
ShowHide solution
(a) Speed =timedistance=3x18x2. Cancel 3 and one x:16x=6x.
(b) 3x18x2 is undefined when x=0. A journey takes some time, so 3x is more than 0 and x cannot be 0.
(a) 6x km/h (b) x=0; the time 3x hours is not zero.
Key Points
An algebraic fraction has a letter in its numerator, its denominator or both.
It is undefined when its denominator is 0: solve denominator =0. It is 0 when its numerator is 0 and its denominator is not.
Equivalent fractions: BA=B×CA×C, where B≠0 and C≠0.
To simplify, write powers as products, such as x3=x×x×x, and cancel the factors common to the whole numerator and the whole denominator.
A bracket is one factor and cancels like a letter. Cancel factors, never terms.
The simplified fraction equals the original only where the original is defined.
Check a simplification by putting numbers in for the letters on both sides.
Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 1.
Register free to practise and keep track of progress.
This lesson follows the Singapore Secondary 2 syllabus and was checked question by question before it was published.
Spotted a mistake? Tell us.