The page you are reading is part of a draft (v2.0) of the "No bullshit guide to math and physics."

The text has since gone through many edits and is now available in print and electronic format. The current edition of the book is v4.0, which is a substantial improvement in terms of content and language (I hired a professional editor) from the draft version.

I'm leaving the old wiki content up for the time being, but I highly engourage you to check out the finished book. You can check out an extended preview here (PDF, 106 pages, 5MB).


Absolute value

The $\textrm{abs}$ function is used when you need to get the size of a number and you don't care if the number is positive or negative. The absolute value just ignores the sign of a number.

Definition

\[ f(x)=|x|= x \text{ if } x>0 \text{ or } -x \text{ if } x<0 \]

Properties

  • Always returns a non-negative number.
  • The combination of squaring followed by square-root is equivalent

to the absolute value function:

  \[
    \sqrt{ x^2 }  \equiv |x|.
  \]
 
home about buy book