# How do you factor 2x^2 (x + y) - y(x + y)^2?

##### 1 Answer
May 16, 2018

$\left(x + y\right) \left(x - y\right) \left(2 x + y\right)$

#### Explanation:

$\text{take out a "color(blue)"common factor } \left(x + y\right)$

$= \left(x + y\right) \left[2 {x}^{2} - y \left(x + y\right)\right]$

$= \left(x + y\right) \left[2 {x}^{2} - x y - {y}^{2}\right]$

$\text{factorise "2x^2-xy-y^2" using the a-c method}$

$\text{the factors of the product } 2 \times - 1 = - 2$

$\text{which sum to - 1 are - 2 and + 1}$

$\text{split the middle term using these factors}$

$2 {x}^{2} - 2 x y + x y - {y}^{2} \leftarrow \textcolor{b l u e}{\text{factor by grouping}}$

$= \textcolor{red}{2 x} \left(x - y\right) \textcolor{red}{+ y} \left(x - y\right)$

$\text{take out the "color(blue)"common factor } \left(x - y\right)$

$= \left(x - y\right) \left(\textcolor{red}{2 x + y}\right)$

rArr2x^2(x+y)-y(x+y)^2=(x+y(x-y)(2x+y)
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 13, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}