Let $a \in R$ prove that:
$|a|=|-a|$
I am new to proofs so this is my attempt:
Case 1: $|a|=|-a|$
$$(a)=-(-a)$$
$$a=a$$
Case 2: $|-a|=|-a|$
$$-(-a)=-(-a)$$
$$a=a$$
Case 3: $|a|=|a|$
$$a=a$$
Is this the correct way to approach a proof like this?
Let $a \in R$ prove that:
$|a|=|-a|$
I am new to proofs so this is my attempt:
Case 1: $|a|=|-a|$
$$(a)=-(-a)$$
$$a=a$$
Case 2: $|-a|=|-a|$
$$-(-a)=-(-a)$$
$$a=a$$
Case 3: $|a|=|a|$
$$a=a$$
Is this the correct way to approach a proof like this?
The definition of absolute value of a real number $a$ is $|a|=\sqrt{x^2}$. Since $a^2=(-a)^2$ and square roots only take positive values $|a|=|-a|$