# How do you factor ay-yz+ax-xz?

Jun 6, 2016

$\left(x + y\right) \left(a - z\right)$

#### Explanation:

Factor by grouping. Sort the polynomial into two sections of two.

${\overbrace{\textcolor{red}{a} \textcolor{b l u e}{y} \textcolor{red}{-} \textcolor{b l u e}{y} \textcolor{red}{z}}}^{\text{Factor term from here"+overbrace(color(red)acolor(blue)xcolor(red)-color(blue)xcolor(red)z)^"Factor term from here}}$

$= \textcolor{b l u e}{y} \left(\textcolor{red}{a - z}\right) + \textcolor{b l u e}{x} \left(\textcolor{red}{a - z}\right)$

Now, think of $\left(a - z\right)$ as one term, and factor it from the $y$ and the $x$.

$= \left(x + y\right) \left(a - z\right)$