Let f(x)={-a if -a≤x≤0x+a if 0<x≤a where a>0 and g(x)=(f(|x|)-|f(x)|)2. Then the function g: [-a,a]→[-a,a] is [2024]
(4)
y=f(x)={-a,-a≤x≤0x+a,0<x≤a
y=f|x|={-a,-a≤|x|≤0|x|+a,0<|x|≤a
but |x|<0 is not possible.
f|x|={-x+a,-a≤x<0x+a,0<x≤a
y=|f(x)|={a,-a≤x≤0x+a,0<x≤a
g(x)=f|x|-|f(x)|2={-x+a-a2=-x2 if -a≤x≤0x+a-x-a2=0 if 0<x≤a
g:[-a,a]→[-a,a] is neither one-one nor onto as set [0,a] has only one image i.e. 0.