Today, I will discuss how to factor polynomials with large coefficients such as with ease. I know that this is a long note but I feel that it is worth reading everything including the generalized form at the bottom except for the proof (unless you want to)
While sitting in my math class, I discovered a trick to factoring second degree polynomial's with large or irrational second and third coefficients. For example, try factoring . It's relatively simple to factor it to but that would take a little while or at least longer than the way that I'm about to discuss.
We begin with the expression . Then, we devide the second coefficient by 10 and the third by 100 and we are left with the expression which we can easily factor to . Finally, we multiply the second term in each coefficient by 10 and we have . Looks familiar doesn't it?
--This method applies to irrational and imaginary coefficients as well. For example take . We can factor out from the second coefficient and 8 from the third and are left with
--This also works in reverse from the first coefficient. Say we have . We can factor out 5 from the middle coefficient and 25 from the first and are left with . Next, we can factor out a 6 from the second coefficient and 36 from the final coefficient and are left with . Finally, we factor back in 5 to the first coefficient and a 6 into the last one to get
--This also works for unfactorable expressions. This method will not make unfactorable equations factorable, however, it will make the quadratic formula much easier to do. This is a little tougher to do because depending upon which way you factor a number out, the formula changes.
--Case 1: . This changes the quadratic equation to
.
Thus once our answer is achieved, we must multiply our answer by the number d that we extracted at the start.
--Exg:
--Case 2: . This changes the quadratic to
.
Thus once our answer is achieved, we must divide our answer by the number d that we extracted at the start.
PROOF:
--Now, we shall prove why this works.
--Take the general expression which can be factored into . This means that a=df, b=dg+ef, and c=eg. The last step of our method requires us to multiply both second coefficients in our binomials by n (n being the number that we factored out of b). So our expression becomes which means that . This is why we factor out n and n^2 from the second and third coefficients respectively.
--IF THIS HAS BEEN POSTED ANYWHERE ONLINE (not necessarily on brilliant) please tell me because I would like to find out more about this. Because I haven't been able to find this anywhere, I'm considering myself an OG...lol
EDIT: thank you to Daniel Liu for helping me to generalize this
--This rule can actually apply to polynomials of all degree. Unfortunately, the higher the degree of the polynomial, the lower the chances are that this will work. But say we have f(x) with degree n. It can be factored into . Just not necessarily with integer or real coefficients. Next we assume that all coefficients after the second (inclusive), are divisible by where t represents the location of r relative to the second coefficient. This means that we have which is equivalent to Upon expansion, we get . As we can see, this method works whenever every coefficient after the first is divisible by .
--A useful method for seeing if this works is by prime factoring every coefficient after the second and looking for a common term. That has multiple powers throughout. Say we have . First we prime factor the numbers to get 3:3 | 63:3^2,7 | 27:3^3 | 486: 3^5,2. As we can see, they share 3 in increasing powers. Therefore, we can eliminate 3 in increasing powers from each coefficient and are left with
.
--Finally, we factor back in the three that we took out at the start and are left with
Daniel Liu posted a great generalization for cubics below.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Nice find Trevor!
Example for cubics:
Factor x3−9x+63
We divide the x2 term by 3, the x term by 32=3, and the constant by 33=33 to get this polynomial:
x3−3x+2
This factors easily as (x−1)2(x+2)
Now put the 3 back in to get the final answer of (x−3)2(x+23)
EDIT:
I have a feeling that your find is basically equivalent to this problem solving trick:
Factor x3−9x+63
Plug in x=3u to get 33u3−93u+63.
Now factor out a 33 to get 33(u3−3u+2) which factors as 33(u−1)2(u+2).
Now replace the u with 3x to get 33(3x−1)2(3x+2)=(x−3)2(x+23) and we're done.
Log in to reply
In general:
A cubic can always be represented by the form a(x−r1)(x−r2)(x−r3) (this is its factored form). Let's also say that the general form for the above factored cubic is ax3+bx2+cx+d.
Let's say that a certain cubic can be represented as a(x−kr1)(x−kr2)(x−kr3) for some constant k. Then, when you expand its factored form to get its general form, you get ax3+kbx2+k2cx+k3d and we're done.
This easily generalizes to all polynomials.
Log in to reply
Nice, I was thinking something similar to that as well. But the only thing that confused me at first was if the equation can only be represented by (ax+b)(cx2+dx+e). Which isn't simplifyable (nicely) if the equation is something like x3−8). But then I realized that it can be written as a(x−r1)(x−r2)(x−r3), Even though it may be very ugly and not factorable unless you use wolframalpha, it follows the same principle that you talk about, so it would be a(x+kr1)(x2+xkr2+xkr3+k2r2r3). Thanks for the tip, I will add it to my note shortly.
I think I remember seeing this on one of your other problems, did you find this as well?
Log in to reply
Yea, I also remember a problem of mine like this, although I can't find it anymore. It had to do with cubics. The intended solution for that problem was the alternate solution I wrote after the EDIT in my first post above.
Nice Note, @Trevor Arashiro
I admire that a method is found by Trevor Arashiro . This is a particular application of "Method of Substitution." First let us take its application to say Eq.(X,Y), equation in X and Y . Say aX4+bX3Y+cX2Y2+dXY3+fY4=0. If m is greatest common factor of the coefficients a to d, and n of b to f substitute p=mX for X, q=nY for Y and solve the simplified equation and for p and q. Get back by using the result X=m∗Pi, Y=n∗Qi, where Pi, Qi are the solutions.Note, for an equation of single variable, as we are talking of, put Y=1. "Method of Substitution" is used in many area. Say we want to solve 16∗(X+14)=(X+2)4Substitute t=X+2. ⟹ 16∗(t+12)=t4 ∴ f(t)=t4−16t−192=0. f(4)=0.∴ t=4,X=t−2=2. (X+2)4 would be long.We use it much in calculus, specialy in integrations.I invite others to give more examples so that it becomes a reference for all
Log in to reply
I noticed this similarly a while ago and was thinking about including this in the note. When I learned about graphical transformations, it occurred to me that this method was a horizontal stretch of the graph. You could of course perform a shift as well if you like.
What is the factoring trick for the second degree equation , if the coefficient of second term in the equation is a prime number ?
Log in to reply
Yeah. How to do it @Trevor Arashiro ?
As I have mentioned in my comment, in this case , there has to be a common factor of second and the third term or second and first term. It apply if the coefficient of second term in the equation is a prime number and first or third term is a multiple of that prime.
Thanks A TON..!! u r genius (y)
Can we apply this to a cubic polynomial ?
Log in to reply
Yes, Daniel Liu posted a very good generalization for cubics. And at the bottom of my note I discuss a general form that works for polynomials of all degree and give a fourth degree example.
I think this trick may not be applied to the product of Quartics .
Log in to reply
It can be applied to functions of all degree. Assuming it's a polynomial with coefficients, real or imaginary or trancendental.
How to find factors of cubical equation??
So, essentially, you used a common technique known to the world of didactic Calculus as "u-substitution" to compute values for imaginary numbers and excessively large exponents in the process of factoring. As much as I'd hate to burst your bubble, the concept is simple enough for others to derive it as well as you did. But the process of thought you used is, to the average human, brilliant, and to the intelligent human, a practice that should be kept private, a neat trick you can use for yourself when calculating quickly. People will marvel most when you solve a problem with a mysterious technique (the application) than if you taught it to others (revealing the technique).
Wonder how you're doing these days? I want to keep you as a personal statistic, so kudos...what college are you attending, and what are you majoring in?
Great way to use sum of roots and product of roots...you derived it using that or anything else....because I proved it using that...as you divide sum of roots by a number the product is automatically divided by that no. Squared...how did you came to this.....??
Log in to reply
I just randomly stumbled upon it. Like, I wasn't looking for any thing special, just kinda made it up.