with math reasoning
Suppose a and b are unknown constants
Let [tex]y=xa^x[/tex] and hence [tex]y=b[/tex]
Take a ln of bothe sides leading to [tex]lny=lnx+xlna[/tex]
We understand that x,a,b must be > 0
Taking a derivative of y gives us
[tex]\frac{dy}{dx}=(\frac{1}{x}+lna)xa^x[/tex]
Now we find that [tex]x=0 (omitted), \frac{-1}{lna}[/tex]
Next, we draw a table to check signs of [tex]\frac{dy}{dx}[/tex], but before that we check [tex]a[/tex]
1. if 0<a<1
Look at the table and mark for sign (+/-), then check for y to compare with [tex]y=b (a.straight.line)[/tex], which means you need to reason the value of b for where the root(s) exist.
2. if a>1
Do the same to find out root domain
Now things become easier when you know concrete constant a, b. just put them inthere to find a root. This way looks crary though

but sovable domain can be understood