x ′ = x − min ( x ) max ( x ) − min ( x ) {\displaystyle x'={\frac {x-{\text{min}}(x)}{{\text{max}}(x)-{\text{min}}(x)}}}