# Given f(x) = x +2 and g(x)= 2x^2-4x+2, how do you find g(x)-f(x)?

Mar 27, 2016

$g \left(x\right) - f \left(x\right) = 2 {x}^{2} - 5 x$

#### Explanation:

Given the following functions, you are asked to subtract $f \left(x\right)$ from $g \left(x\right)$:

$1. \textcolor{\mathrm{da} r k \mathmr{and} a n \ge}{f \left(x\right) = x + 2}$
$2. \textcolor{b l u e}{g \left(x\right) = 2 {x}^{2} - 4 x + 2}$

Thus:

$\textcolor{b l u e}{g \left(x\right)} - \textcolor{\mathrm{da} r k \mathmr{and} a n \ge}{f \left(x\right)}$

$= \textcolor{b l u e}{2 {x}^{2} - 4 x + 2} - \textcolor{\mathmr{and} a n \ge}{\left(x + 2\right)}$

Simplify.

$= 2 {x}^{2} - 4 x + 2 - x - 2$

$= \textcolor{g r e e n}{| \overline{\underline{\textcolor{w h i t e}{\frac{a}{a}} 2 {x}^{2} - 5 x \textcolor{w h i t e}{\frac{a}{a}} |}}}$