For a real number x ∈ R {\displaystyle {}x\in \mathbb {R} } , the modulus is defined in the following way.