Skip to main content
GameDev.net gamedev.net
🔒 Locked

Factoring Question

Started by Gink Sep 3, 2005 at 12:09 PM 2 replies 550+ views
Original Post
Gink
Gink
How does factoring x(x+1)(2x+1) + 6(x+1)^2 end up as (x+1)[x(2x+1) + 6(x+1)]? Is there some shortcut for this that i'm not seeing?
stormrunner
stormrunner
Note the common term, (x + 1).
stormrunner
Gink
Gink
Should I multiply the first x into the (x+1) then try to factor it? Ive noted the x+1 but am not sure how to get to that second form
jjd
jjd
Quote:
Original post by Gink
Should I multiply the first x into the (x+1) then try to factor it? Ive noted the x+1 but am not sure how to get to that second form


Try thinking of it like this,

a = x
b = x+1
c = 2*x+1

Then your original equation is

a*b*c + 6*b*b

Both terms are multiplied by b so you can factor it out

b*(a*c + 6*b)

And if you substitute for a, b, and c you get

(x+1)*(x*(2*x+1) + 6*(x+1))



-Josh

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.