TITLE: Prove that the absolute value of a product is the product of the absolute values of factors.
QUESTION [7 upvotes]: Theorem. $|a||b|=|ab|$
Proof. Applying the definition of absolute value, the left hand side of the equation could be either $a\times(-b)$ or $(-a)\times(b)$ or $a\times b$ or $(-a)\times(-b)$. For this reason we could have either $-ab$ or $ab$.
If we apply the definition of absolute value to the right hand side of our equation, we discover that we could have either $-ab$ or $ab$. So the theorem is proved.
Is this proof valid? Is it elegant from a mathematical viewpoint?
Thank you.
Edit: The definition of absolute value I am using above is the following: $$|x|=\begin{cases}x, & \text{if $x\ge0$}\\-x,&\text{if $x<0$}\end{cases}$$

REPLY [3 votes]: Using definitions and results from the previous answers, strict inequalities and some extra words.
Three cases:
1) $a,b$  both positive, i.e. $a>0$ and $b>0$
2) $a,b$  both negative, i.e. $a<0$ and $b<0$
3) wlog $a>0$ and $b<0$
In either case 1 or 2 above $ab>0$
so $$|ab|=ab \tag{eq1}$$
case 1
Since $a>0$ and $b>0$ we have $|a|=a$ and $|b|=b$, so $ab=|a||b|$ and by (eq1) $|ab|=|a||b|$
case 2
Since $a<0$ and $b<0$, $|a|=-a$ and $|b|=-b$ (here is where the confusion may start). $|a||b|=-a(-b)=ab$ keeping in mind that -a>0 and -b>0 and also that the product of two negatives is a positive. However you look at it $|a||b|=ab$. Although $a<0$ and $b<0$, both sides of the previous equation are positive and equal in magnitude and by (eq1) $|ab|=|a||b|$
case 3
$a>0, b<0,$ so $ab<0$ and $$|ab|=-ab=a(-b) \tag{eq2}$$
Now $|a|=a$, and since $b<0$, $|b|=-b$
That is, $a(-b)=|a||b|$ and by (eq2) $a(-b)=|ab|$ so that $|ab|=|a||b|$.