Definition Let g be a real function on X. Define g+=max{g,0}, g−=−min{g,0}. Then g=g+−g− and g±≥0. Example