Frightening function
Excerpt: Students have to decide how to manipulate algebraic fractions in order to simplify a frightening looking function. This can be used as an introduction to partial fractions.
Problem
Simplify the function
f(x)=(x−1)(x−2)(x−1)−(x−2)+(x−2)(x−3)(x−2)−(x−3)+(x−3)(x−4)(x−3)−(x−4)+(x−4)(x−5)(x−4)−(x−5).
Taking it further
Is it possible to split each of the following fractions up into the sum of two fractions?
-
(x−2)(x−3)1
-
(x−1)(x−8)7
-
(x−2)(x−8)1
Suggestion
Think about the following questions. Some may be more helpful than others.
-
Can a common denominator be found?
-
What happens if we simplify the numerator? What might the next step be?
-
Look at the individual fractions, e.g. (x−1)(x−2)(x−1)−(x−2). Can it be split into simpler fractions?
How does the fraction (x−2)(x−3)(x−2)−(x−3) help?
Do you think all these fractions can be written in the form (x−p)A+(x−q)B?
Solution
We will explore the possible starting points given in the suggestion:
Common denominator
When we add fractions we need a common denominator. In this case it would be (x−1)(x−2)(x−3)(x−4)(x−5). The first term would become (x−1)(x−2)(x−3)(x−4)(x−5)((x−1)−(x−2))(x−3)(x−4)(x−5).
Writing out the whole function would be very long, so we will introduce notation that will help us write f(x) in a shorter way, and should make it easier to spot any structure or symmetry that occurs. (x−a1)(x−a2)...(x−an)=[a1a2...an] So (x−1)(x−2)(x−3) would be written [123].
f(x)=[12345]([1]−[2])[345]+([2]−[3])[145]+([3]−[4])[125]+([4]−[5])[123]
Possible next steps
Multiplying out the brackets gives us
f(x)=[12345][1345]−[2345]+[1245]−[1345]+[1235]−[1245]+[1234]−[1235],
which has terms in the numerator that cancel, leaving us with
f(x)=[12345][1234]−[2345].
Did you spot that the terms were going to cancel before expanding the brackets?
Written in our ordinary algebraic notation we have (x−1)(x−2)(x−3)(x−4)(x−5)(x−1)(x−2)(x−3)(x−4)−(x−2)(x−3)(x−4)(x−5), so we can simplify the common factors leaving us with f(x)=(x−1)(x−5)(x−1)−(x−5) or f(x)=(x−1)(x−5)4.
Simplifying the numerator
It turns out that the numerator for each fraction simplifies to 1. This seems helpful but then we are left with f(x)=(x−1)(x−2)1+(x−2)(x−3)1+(x−3)(x−4)1+(x−4)(x−5)1. Where might we go from here?
Possible next steps
It seems sensible to think about creating a common denominator for the terms as we did above. Written in our new notation we can write f(x)=[12345][345]+[145]+[125]+[123].
There don’t seem to be any terms that cancel in the numerator, or any common factors that would allow the fraction to be simplified.
What happens if we create a common denominator for a pair of fractions instead? E.g. (x−1)(x−2)1+(x−2)(x−3)1.
Simplifying terms
Each term can be split into two fractions, e.g. (x−1)(x−2)(x−1)−(x−2)=(x−1)(x−2)(x−1)−(x−1)(x−2)(x−2), which gives us fractions with common factors that can be simplified.
f(x)=(x−1)(x−2)(x−1)−(x−1)(x−2)(x−2)+⋯+(x−4)(x−5)(x−4)−(x−4)(x−5)(x−5)=(x−2)1−(x−1)1+(x−3)1−(x−2)1+(x−4)1−(x−3)1+(x−5)1−(x−4)1
We can see that many of the terms appear twice, in fact most terms have a pair with which they will cancel. We call this a telescoping sum. This leaves us with
f(x)=x−51−x−11.
This method is based around the idea of splitting a fraction up into the sum of simpler fractions which is called partial fraction decomposition.
We ended up with f(x) written in two different forms, let’s call them f1 and f2: f1(x)=x−51−x−11 and f2(x)=(x−1)(x−5)4.
-
How would we show that f1 can be rewritten as f2?
-
Starting with f2, how would we show it can be rewritten as f1?
Depending on the approach taken to simplify f(x), we may have already noticed that (x−2)(x−3)1=(x−2)(x−3)(x−2)−(x−3).
Therefore we can use the simplifying terms approach from above and split this into two fractions:
(x−2)(x−3)1=(x−2)(x−3)(x−2)−(x−3)=(x−2)(x−3)(x−2)−(x−2)(x−3)(x−3)=(x−3)1−(x−2)1
How are the examples below different from this? How are they the same?
This is the same in that
(x−1)−(x−8)=7
and so the same technique can be applied to split the fraction in two.
(x−1)(x−8)7=(x−1)(x−8)(x−1)−(x−8)=(x−8)1−(x−1)1
This is different in that we can’t just rewrite the numerator in terms of the brackets that appear in the denominator. Or can we? What if we have multiples of each bracket? (x−2)(x−8)1=(x−2)(x−8)A(x−2)−B(x−8)
This would give us Ax−2A−Bx+8B=1 and so we can write down two equations, A−B=0 and −2A+8B=1, which solve to give A=61 and B=61.
(x−2)(x−8)1=(x−8)1/6−(x−2)1/6
Could we have worked this out in a different way if we thought about what (x−2)(x−8)6 could be rewritten as?
Is it possible to write all fractions in the form (x−q)(x−r)p as (x−q)A+(x−r)B, where p,q,r,A and B are constants? What happens if q=r?