Performing operations involving absolute values

36 Views Asked by At

How do you perform operations involving absolute values? I want to avoid squaring them, is there any way to work around that?

Suppose I want to solve $\frac{|x-120|\cdot|y-39|}{2}$, what should be the expressions equivalent?

EDIT: apologies, suppose I want to simplify the expression above?

Additionally, suppose $z(x,y)=\frac{|x-120|\cdot|y-39|}{2} +\frac{|x-23|\cdot|y-11|}{2}$ and I want to find the optimal values for $(x,y)$. How do I go about it?

1

There are 1 best solutions below

0
On BEST ANSWER

$z(120,11) = 0+0 = 0,$ which is clearly a minimum.