Simon's Favorite Factoring Trick

by aoum, Mar 13, 2025, 11:34 PM

Simon's Favorite Factoring Trick: A Clever Algebraic Technique

Simon's Favorite Factoring Trick (SFFT) is a useful algebraic manipulation method to factor certain expressions by adding and subtracting strategically. This trick is particularly useful in problem-solving competitions like the AMC (American Mathematics Competitions) and is named after Simon Rubinstein-Salzedo, who popularized it on the Art of Problem Solving (AoPS) forums.

1. Understanding Simon’s Favorite Factoring Trick

The trick is based on the observation that you can transform an expression of the form:

\[
xy + ax + by + ab
\]
into a factored form:

\[
(x + b)(y + a).
\]
The key step is to identify missing terms and add/subtract them to complete the factorization.

2. The General Form of SFFT

Given an expression of the form:

\[
xy + ax + by + c,
\]
you aim to rewrite it as:

\[
(x + b)(y + a),
\]
by cleverly adding and subtracting the correct constant. Specifically:

\[
xy + ax + by + c = (x + b)(y + a) - ab + c,
\]
where you choose \( a \) and \( b \) such that:

\[
c = ab.
\]
3. Example 1: Solving a Classic SFFT Problem

Solve for the integer solutions of the equation:

\[
xy + 4x + 5y = 20.
\]
  • Step 1: Rearrange the equation:

    \[
xy + 4x + 5y - 20 = 0.
\]
  • Step 2: Identify the "missing term" for factoring.

    We want to rewrite this expression to match the form:

    \[
(x + a)(y + b) - ab,
\]
    So, we add and subtract 20:

    \[
xy + 4x + 5y + 20 - 20 = 0,
\]
    \[
(x + 5)(y + 4) = 36.
\]
  • Step 3: Find all factor pairs of 36:

    \[
(x + 5, y + 4) = (1, 36), (36, 1), (2, 18), (18, 2), (3, 12), (12, 3), (4, 9), (9, 4), (6, 6), (-1, -36), (-2, -18), \dots
\]
  • Step 4: Solve for \(x\) and \(y\):

    \[
x = f - 5, \quad y = g - 4,
\]
    For example:

    \[
(x + 5 = 1) \Rightarrow x = -4, \quad (y + 4 = 36) \Rightarrow y = 32,
\]
    Thus, one solution is \( (x, y) = (-4, 32) \).

4. Example 2: Factoring a Quadratic Expression

Factor the expression:

\[
xy + 7x + 3y + 21.
\]
  • Step 1: Rearrange the terms:

    \[
xy + 7x + 3y + 21 = (x + 3)(y + 7).
\]

5. Python Code: Implementing SFFT for Factoring

Here's a simple Python program to apply Simon’s Favorite Factoring Trick:

def sfft(x, y, a, b, c):
    print(f"Original expression: {x}y + {a}x + {b}y + {c}")
    missing_term = a * b
    print(f"Adding and subtracting {missing_term}")
    print(f"Factored form: ({x} + {b})({y} + {a}) - {missing_term} + {c}")

sfft('x', 'y', 4, 5, 20)


6. Why Does Simon’s Favorite Factoring Trick Work?

The trick relies on "completing the product." We transform a linear combination into a product by adding and subtracting a strategically chosen term:

\[
xy + ax + by + c = (x + b)(y + a) - ab + c.
\]
By controlling \( a \) and \( b \), you can rewrite the expression in factored form.

7. Applications of Simon’s Favorite Factoring Trick
  • Competition Math: Appears frequently in the AMC, AIME, and other math competitions.
  • Number Theory: Useful for solving Diophantine equations and integer solutions.
  • Algebraic Manipulation: Helps transform complex expressions into simpler factored forms.

8. Variations and Extensions of SFFT
  • Higher Degree Polynomials: Can be extended to factor cubic and quartic expressions with similar techniques.
  • Negative Coefficients: Works even when coefficients are negative by adjusting the sign of the added term.
  • Geometric Interpretation: Visualize SFFT as rearranging areas of rectangles to form perfect squares.

9. Fun Facts About Simon’s Favorite Factoring Trick
  • Simon Rubinstein-Salzedo introduced the trick on the AoPS forums.
  • It simplifies many otherwise tricky algebraic problems.
  • The trick generalizes ancient methods used by mathematicians like Diophantus.

10. Conclusion

Simon’s Favorite Factoring Trick is a powerful and elegant technique for transforming and factoring algebraic expressions. By adding and subtracting the right terms, you can unlock new approaches to solving equations efficiently.

References

Comment

0 Comments

Fun with math!

avatar

aoum
Archives
+ March 2025
Shouts
Submit
  • Any unfounded allegations regarding AI-generated content violate Pi in the Sky blog standards. Continued infractions will result in disciplinary action, including bans, in accordance with platform guidelines. This is a formal warning.

    by aoum, Apr 27, 2025, 11:19 PM

  • It would be rude to call this AI-generated if it was not. But I find the title (in blog post), organization, and general word choices very suspicious

    by RubixMaster21, Apr 27, 2025, 1:25 AM

  • um this does seem slightly similar to ai

    by electric_pi, Apr 21, 2025, 11:24 PM

  • 100 posts!

    by aoum, Apr 21, 2025, 9:11 PM

  • Very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very cool (The maximum of the factorial machine is 7228!

    by Coin1, Apr 21, 2025, 4:44 AM

  • cool blog and good content but it looks eerily similar to chatgpt

    by SirAppel, Apr 17, 2025, 1:28 AM

  • 1,000 views!

    by aoum, Apr 17, 2025, 12:25 AM

  • Excellent blog. Contribute?

    by zhenghua, Apr 10, 2025, 1:27 AM

  • Are you asking to contribute or to be notified whenever a post is published?

    by aoum, Apr 10, 2025, 12:20 AM

  • nice blog! love the dedication c:
    can i have contrib to be notified whenever you post?

    by akliu, Apr 10, 2025, 12:08 AM

  • WOAH I JUST CAME HERE, CSS IS CRAZY

    by HacheB2031, Apr 8, 2025, 5:05 AM

  • Thanks! I'm happy to hear that! How is the new CSS? If you don't like it, I can go back.

    by aoum, Apr 8, 2025, 12:42 AM

  • This is such a cool blog! Just a suggestion, but I feel like it would look a bit better if the entries were wider. They're really skinny right now, which makes the posts seem a lot longer.

    by Catcumber, Apr 4, 2025, 11:16 PM

  • The first few posts for April are out!

    by aoum, Apr 1, 2025, 11:51 PM

  • Sure! I understand that it would be quite a bit to take in.

    by aoum, Apr 1, 2025, 11:08 PM

61 shouts
Contributors
Tags
Problem of the Day
Fractals
combinatorics
geometry
Millennium Prize Problems
poll
Riemann Hypothesis
Collatz Conjecture
Factorials
graph theory
infinity
pi
Sir Issac Newton
AMC
Bernoulli numbers
calculus
Chudnovsky Algorithm
Exponents
Gauss-Legendre Algorithm
Goldbach Conjecture
Koch snowflake
MAA
Mandelbrot Set
Mastering AMC 1012
MATHCOUNTS
Matroids
Nilakantha Series
number theory
P vs NP Problem
P-adic Analysis
paradoxes
Polynomials
probability
Ramsey Theory
algebra
Algorithmic Applications
AMC 10
AMC 8
angle bisector theorem
Angle trisection
Applications in Various Fields
Arc Sine Formula
Archimedes Method
Banach-Tarski Paradox
Basel Problem
Basic Reproduction Number
Bayes Theorem
Bell Curve
Bertrand s Box Paradox
binomial theorem
Birthday Attack
Birthday Problem
buffon s needle
Cantor s Infinite Sets
cardinality
catalan numbers
Chicken McNugget Theorem
Circumference
Coin Rotation Paradox
computer science
conditional probability
conic sections
Conjectures
Cryptography
Cyclic Numbers
Cyclic Sieving Phenomenon
Different Sizes of Infinity
Diophantine Equations
Diophantinve Approximation
Dirichlets Approximation
Diseases
Double Factorials
Drake Equation
epidemiology
euclidean geometry
Euler s Formula for Polyhedra
Euler s Identity
Euler s totient function
Euler-Lagrange Equation
Fermat s Factoring Method
fermat s last theorem
Fibonacci sequence
finite
four color theorem
Fractals and Chaos Theory
free books
Gamma function
Golden Ratio
Graham s Number
Graph Minor Theorem
gravity
Greedoids
Gregory-Liebniz Series
Hailstone Problem
Heron s Formula
Hilbert s Hotel
Hilberts Hotel
Hodge Conjecture
ideal gas law
Inclusion-exclusion
infinite
Irrational numbers
Kruskals Tree Theorem
Law of Force and Acceleration
legendre s theorem
Leibniz Formula
logarithms
logic
Mastering AMC 8
Matrices
Menger Sponge
Minkowskis Theorem
modular arithmetic
Multinomial Theorem
Multiples of 24
National Science Bowl
Newton s First Law of Motion
Newton s Second Law of Motion
Newton s Third Law of Motion
normal distribution
Parabolas
Paradox
Penrose Tilings
physical chemistry
pie
pigeonhole principle
Price s Equation
prime numbers
primes
Ptolemys Theorem
Pythagorean Theorem
Python
Ramsey s Theorem
recursion
Reproduction Rate of Diseases
Riemann Zeta Function
Sequences
Sequences of Binomial Type
Sets
Sierpinski Triangle
Sierpiski Carpet
Sierpiski Triangle
Simon s Factoring Trick
statistics
The Birthday Problem
The Book of Formulas
The HalesJewett Theorem
The Law of Action and Reaction
The Law of Inertia
The Lost Boarding Pass Problem
thermodynamics
Topological Insights
triangle inequality
trigonometry
twin prime conjecture
Umbral Calculus
Van der Waerdens Theorem
venn diagram
Wallis Product
Zeno s Paradoxes
About Owner
  • Posts: 0
  • Joined: Nov 2, 2024
Blog Stats
  • Blog created: Mar 1, 2025
  • Total entries: 102
  • Total visits: 1093
  • Total comments: 32
Search Blog
a