# How do you factor dc+cx-dy-xy?

Jun 12, 2016

 =color(blue)((c - y ) ( d + x)

#### Explanation:

$\mathrm{dc} + c x - \mathrm{dy} - x y$

color(blue)(dc + cx)color(green)( - dy - xy

We can factor this expression by making groups of two terms:

$\textcolor{b l u e}{\left(c\right)}$ is common to both the terms in the first group, and color(green)((y) is common to both the terms in the second group

$= \textcolor{b l u e}{c} \left(d + x\right) \textcolor{g r e e n}{- y} \left(d + x\right)$

$\left(d + x\right)$ is common to both the terms now:

 =color(blue)((c - y ) ( d + x)