Simon's Favorite Factoring Trick
Contents
Applications
This factorization frequently shows up on contest problems, especially those heavy on algebraic manipulation. Usually and are variables and are known constants. Sometimes, you have to notice that the variables are not in the form and Additionally, you almost always have to subtract or add the and terms to one side so you can isolate the constant and make the equation factorable. It can be used to solve more than algebra problems, sometimes going into other topics such as number theory.
Fun Practice Problems
Introductory
- Two different prime numbers between and are chosen. When their sum is subtracted from their product, which of the following numbers could be obtained?
(Source)
Intermediate
Problem 1
- If has a remainder of when divided by , and has a remainder of when divided by , find the value of the remainder when is divided by .
- icecreamrolls8
Solution
We have solution . Note that can be factored into using Simon's Favorite Factoring Trick. Now, look at n. Then, since the problem tells us that has a remainder of when divided by 5, we see that the factor in the expression has a remainder of when divided by 5. Now, the must have a remainder of when divided by as well [3(mod5) x 1(mod5) = 3(mod5)] matching the main expression which has a remainder of when divided by . Therefore, since 54 has a remainder of when divided by , must have a remainder of , so that the entire factor has a remainder of when divided by .
- icecreamrolls8
Problem 2
- are integers such that . Find .
(Source)
Solution
Problem 3
(Source) A rectangular floor measures by feet, where and are positive integers with . An artist paints a rectangle on the floor with the sides of the rectangle parallel to the sides of the floor. The unpainted part of the floor forms a border of width foot around the painted rectangle and occupies half of the area of the entire floor. How many possibilities are there for the ordered pair ?
Solution:
By Simon's Favorite Factoring Trick:
Since and are the only positive factorings of .
or yielding solutions. Notice that because , the reversed pairs are invalid.
Olympiad
- The integer is positive. There are exactly ordered pairs of positive integers satisfying:
Prove that is a perfect square.
Source: British Mathematical Olympiad Round 2 #1 https://bmos.ukmt.org.uk/home/bmo2-2005.pdf