The function ggg is defined by g(x)=∣x−1∣−2g(x)=|x-1|-2 g(x)=∣x−1∣−2. If g(a)=g(0)g(a)=g(0)g(a)=g(0) and a>0a>0a>0, what is the value of aaa?
Find g(a)g(a)g(a) and g(0)g(0)g(0).
Setting g(a)=g(0)g(a)=g(0) g(a)=g(0):
Since a>0,a=2a>0, a=\boxed{2} a>0,a=2