# Math Help - No idea how to do this

1. ## No idea how to do this

$(x - y)^2 + 13(x - y) + 42$

Please someone help me or something. I have no idea how to do this at all.
Like what do I do when its $(x - y)^2$?

2. Originally Posted by lax600
$(x - y)^2 + 13(x - y) + 42$

Please someone help me or something. I have no idea how to do this at all.
Like what do I do when its $(x - y)^2$?
I'm guessing you want to expand this.

$(x - y)^2 = x^2 - 2xy + y^2$, for starters.

3. I need to factor it... so I still expand it?

4. $(x - y)^2 + 13(x - y) + 42$ is about as factored as it gets. One thing you can do:

$(x - y + 13)(x - y) + 42$

$(x - y)^2 - 13(x - y) + 42$

if $(x - y)^2 - 14(x - y) + 49$

$(x - y)^2 - 2*7*(x - y) + 7^2$

a = $(x - y)^2$
b = $7$

$(x - y)^2 - 13(x - y) + 42
= [(x - y)^2 - 14(x - y) + 49]
={[(x - y) - 7]^2 + [(x - y) - 7]}$

$=(x - y -7){x - y - 7}
=(x - y - 7)(x - y - 6)$

6. Originally Posted by lax600

$(x - y)^2 - 13(x - y) + 42$

if $(x - y)^2 - 14(x - y) + 49$

$(x - y)^2 - 2*7*(x - y) + 7^2$

a = $(x - y)^2$
b = $7$

$(x - y)^2 - 13(x - y) + 42
= [(x - y)^2 - 14(x - y) + 49]
={[(x - y) - 7]^2 + [(x - y) - 7]}$

$=(x - y -7){x - y - 7}
=(x - y - 7)(x - y - 6)$
yeah, that's right. Just substitute $t = x-y$ and you have $t^2 - 13t + 42$ which easily factors to $(t - 6)(t - 7)$. I should have been thinking along those lines.

7. oh