partial fractions of expressions and partition problems (recreational)
In of mathematical puzzles and pastimes, one often encounters questions like the following: “If it takes 1 oz of flour to bake a cookie 3 oz of flour to make a cupcake, and 5 oz to make a roll, how many possible combinations of baked goods can one make with a pound (16 oz) of flour?”
One can, of course, approach such a problem by brute force (a tedious job best left to a computer) but there is a quick and clever way of solving such problems based on partial fractions and infinite series.
We start with the well-known formula for the infinite geometric series:
If we replace by in this series, we find that
Now take two such series and multiplied them together term by term. For example, consider the product
Let us take a few moments to understand why the coefficients are what they are. Start with the coefficient of . The reason that it is one is that the only way to obtain in the product is to multiply the in the first series by the in the second. Likewise, the coefficient of is also 1 because there is only one way to obtain an . However, when we get to , things get more complicated – we can get an either by multiplying the 1 in the first series by the in the second series or the in the first series by the 1 in the second. Therefore the coefficient of is 2. The story is even more interesting when we get to — there are three different ways to obtain — either multiply the 1 in the first series by the in the second or multiply the in the first by the in the second or multiply the in the first series by the 1 in the second series. And so on and so forth, ad infinitum.
Let us now pause for a moment to see how this pile of algebra has anything to do with our bakery problem. To keep things simple let’s simplify the problem by not baking any rolls. If we have one oz of flour, there is only one possibility – bake a cookie. With 2 oz, we still don’t have enough to make a cupcake, so there is still only one possibility – bake two cookies. With 3 oz, we have two options — either bake one cupcake or three cookies. With 6 oz, there are three possibilities — either we could make two cupcakes or we could use 3 oz for a cupcake and bake 3 cokies with the remaining 3 ounces or we could bake 6 cookies.
Comparing the last two paragraphs, we come to the interesting conclusion that the coefficient of is equal to the number of possible combinations of cookies and cupcakes that can be made from ounces of flour. The reason for this is quite simple — in both cases we are taking things and seeing how many ways we can partition them into a a multiple of three and a multiple of one. It is really no different than solving the bakery problem by taking a pile of beans, letting each bean stand for an ounce of flour, and then counting how many different ways we can make piles of 3’s and piles of ones. The only difference is that we are now using ’s as counters instead of beans. The advantage that ’s have over beans is that we can use algebraic tricks and techniques to manipulate them and simplify expressions. The disadvantage is that we don’t get a delicious pot of baked beans to go with the rolls when we are done using them. (Alphabet soup with only ’s in it isn’t all that exciting. :) )
Using the formulas for the sums of the series, we can re-express what we found as follows:
Thus, to solve our cake and cookie problem, we can take the rational function , expand it in a series and read off the coefficient of to learn how many ways there are of baking cookies and cakes with ounces of flour.
This is all well and good, but how do we find this coefficient? If there is no efficient way of computing it, then we might as well scrap the algebra and go back to counting beans. This is where partial fractions come in. If we factor , we obtain
The partial fractions expansion of this is
To compute the series expansion of the original series, all we need to do is expand each term in the partial fraction expansion as a series and add the resulting series. We recognize the latter three terms as giving rise to geometric series. As for the first term, it can be expanded using the binomial theorem with negative exponents:
Combining these expansions, we arrive at the following formula for the coefficient of :
At first blush, this formula, with all its square roots of negative numbers, may look rather formidable, but with a little examination, we can see that it is not as nasty as it seems. First, let us note that that the quantities and both cube to . This, of course, is why they are there in the first place — they arose from factoring the polynomial . Because of this fact, the last two terms of the expression involving the square roots will have the same values for as they will have for , so if we know their values for , we will know their values for all . For , we have
since anything raised to the zero power equals one. When , we have
When ,
Thus, when is a multpile of 3, we have ways of baking cookies and cupcakes, when is one more than a multiple of , we have ways, and when is two more than a multiple of , we have ways. Comparing this with the answers we obtained in the special cases a few paragraphs back, one sees that these formulas agree. Finally, if , we see that since , there are possibilities.
As further practise, the reader may wish to tackle the question when the possibility of buns as well as cookies and cupcakes is allowed. In that case, it is necessary to expand the rational function
into partial fractions. The first step, of course, is to factor the three polynomials. In the simple case we examined, we wrote out the factors explicitly in terms of square roots. However, for the sake of keeping the computations simple, it is often better not to write the roots out so explicitly. That is to say, one could write
and
where and without specifying what and are explicitly. Then the partial fractions expansion will be of the form
for suitable constants . Upon determining these constants and expanding in series, the reader will be able to write down a formula for the number of combinations which can be baked fron ounces of flour and, in particular, will be able to determine how many possibilities there are with a pound of flour.
Title | partial fractions of expressions and partition problems (recreational) |
---|---|
Canonical name | PartialFractionsOfExpressionsAndPartitionProblemsrecreational |
Date of creation | 2013-03-22 14:57:02 |
Last modified on | 2013-03-22 14:57:02 |
Owner | rspuzio (6075) |
Last modified by | rspuzio (6075) |
Numerical id | 15 |
Author | rspuzio (6075) |
Entry type | Application |
Classification | msc 26C15 |