### Video Transcript

π minus ππ three equals 35,904 and π plus π equals 60. Find π and π.

Weβre looking for the two unknowns π and π. So weβll need two equations. We are given two equations in the statement. Of these, π plus π equals 60 is a straightforward relationship between π and π. So our first step will be to manipulate π minus ππ three equals 35,904 into something more manageable. If π and π are nonnegative integers with π greater than or equal to one, then the notation πPπ means the number of permutations of π unique objects taken from a collection of π unique objects and can be calculated as π factorial divided by π minus π factorial.

The factorial of a positive integer π is the product of all of the integers from one to π inclusive. And so it obeys the recursive relationship π factorial is equal to π times π minus one factorial. Additionally, we define zero factorial as equal to one. Observe that we can use our expression for the factorial of a number to expand our expression for πPπ. Specifically, we can rewrite πPπ as π times π minus one factorial divided by π minus π factorial. But we can now expand this further because using this definition, π minus one factorial is π minus one times π minus two factorial.

Using the definition again, we can replace π minus two factorial with π minus two times π minus three factorial. If we repeat this process a total of π times, weβll see that the numerator is π times π minus one times π minus two times π minus three et cetera all the way to π minus π plus one times π minus π factorial. But the factor of π minus π factorial in the numerator divided by the factor of π minus π factorial in the denominator is just one. So this whole thing reduces to the product of the π consecutive integers, π times π minus one times π minus two et cetera all the way to π minus π plus one.

Now, usually we use the factorial form because it is far more compact. However, when we try to solve equations, as a general rule, we do need to expand out these factorials. So knowing that we can directly expand πPπ as these π terms is very useful. In particular, the equation that weβre given has π equals three. So we only need the three terms π minus π, π minus π minus one, and π minus π minus two. So now we have to solve π minus π times π minus π minus one times π minus π minus two equals 35,904. Itβs worth mentioning that it wouldβve been much more difficult to arrive at this equation had we had to go through the full process of evaluating the factorials.

To use this equation to help us find π and π, weβll try to solve for the term π minus π using a modified trial and error approach. Specifically, we know that the three terms on the left-hand side are consecutive integers all greater than one. Now we could just select random values for π minus π and plug the product into a calculator until we come up with the correct answer. In fact, if weβre clever about what values we choose, we can guarantee that weβll find the correct answer in a fairly short time.

However, there is a much more direct way to approximate the correct answer. Our three integers multiply to give some product. But this means that if we take the cubed root of the product, this will be very close to the average value of the three integers. In fact, this works no matter how many integers weβre multiplying. For example, the 10th root of the product of 10 consecutive integers is very close to the average value of those 10 integers. If we plug the cubed root of 35,904 into a calculator, we find that it is very close to 32.99. 32.99 is very close to the integer 33. But this means that 33 is a very good guess for π minus π minus one, the average value of our three integers.

Note that π minus π minus one is also the middle number consecutively because for a group of consecutive integers, the median and the arithmetic mean are the same. Anyway, if π minus π minus one is 33, then π minus π minus two is 32 and π minus π is 34. And in fact, if we multiply 34 times 33 times 32, we find that this product is exactly equal to 35,904. So π minus π is 34. Now we have exactly what weβre looking for. π plus π equals 60 is a simple linear relationship between π and π and so is π minus π equals 34. So now we just need to use these two equations to find the two unknowns.

If we start with π plus π equals 60 and add π minus π equals 34, we get π plus π equals two π, π minus π equals zero, and 60 plus 34 is 94. Now we divide both sides by two to find that π is 47. We now actually have three ways to determine π. We can either plug 47 in to π plus π equals 60 or into π minus π equals 34. Or we can subtract these two equations to get an expression for two π independent of the value of π. Just for demonstration, weβll use the last method and subtract π minus π equals 34 from π plus π equals 60.

π minus π is zero. π minus negative π is π plus π, which is two π. And 60 minus 34 is 26. So dividing both sides by two, we find that π is equal to 13. Note that we found this value for π without using the fact that we already knew that π was 47, which means that we couldβve used this first to find that π was 13 and then solved for π afterward. Regardless of the order we choose when performing the calculations, weβll find that π is 47 and π is 13.