r/MathHelp • u/berklee • Jan 12 '21
Factorization help
Hi all, just hoping for a clarification from a machine learning video I was watching:
With a problem of : x^2 + 6x + 9
It gets restated as : (x + 3) (x + 3)
When I look at that, I see x*x as the x^2, and 9 as 3*3.
Maybe I have it wrong, but I can't see how the 6x fits in here. Little help?
Thanks.
10
Upvotes
1
u/[deleted] Jan 12 '21
(a+b)=a(a+b)+b(a+b)=a^2+ab+ba+b^2=a^2+2ab+b^2