Let A$= \{$ - $1, 0, 1, 2\}$, B$= \{$ - $4,$ - $2, 0, 2\}$ and f, g : A $\rightarrow$ B be function defined by f(x)$= {x^2} - x,x \in A$and$g(x) = 2\left| {x - \cfrac{1}{2}} \right| - 1,x \in A.$ Are f and g equal ? Justify your answer.
(Hint : One may note that two functions f : A$\rightarrow$B and g : A$\rightarrow$B such that f(a)$=$g(a) $\forall a \in A$, are called equal functions).