For g(x) to be continuous at x=0:
x→0−limg(x)=x→0+limg(x)=g(0)
Since x=0 satisfies the condition x≥0, we use the second part of the function:
g(0)=5
When x approaches 0 from the right (where x>0), the condition x≥0 applies:
x→0+limg(x)=x→0+lim5=5
When x<0, we use g(x)=∣x∣αx
For negative values of x, we have ∣x∣=−x
Substituting:
g(x)=∣x∣αx
g(x)=−xαx
g(x)=−α
Therefore:
x→0−limg(x)=−α
Setting all three values equal:
−α=5
α=−5
Therefore, α=−5