[Math] Explaining why the absolute value of an odd function is even.

absolute valuefunctions

For the following:

If $f(x)$ is an odd function, then $|f(x)|$ is _____.

I said even, because I graphed an odd function and then the absolute value of it and ended up with an even function. The answer is correct but then my professor says this as an explanation:

$h(x)=|f(x)|$

$h(-x)=|f(-x)|=|-f(x)|=|f(x)|=h(x)$

He didn't explain very well and I don't know what is quite going on. I know this might be like a homework question but I would love to know what topic this is and what this process is. So I can look it up and figure it out.


EDIT: The process makes sense but what are we trying to prove here?

Best Answer

He was using the property of odd function: $$f(-x) = -f(x)$$ to prove that $h$ has the property of even function: $$h(-x) = h(x)$$

Related Question