with math reasoning
Suppose a and b are unknown constants
Let y=xa^x and hence y=b
Take a ln of bothe sides leading to lny=lnx+xlna
We understand that x,a,b must be > 0
Taking a derivative of y gives us
\frac{dy}{dx}=(\frac{1}{x}+lna)xa^x
Now we find that x=0 (omitted), \frac{-1}{lna}
Next, we draw a table to check signs of \frac{dy}{dx}, but before that we check a
1. if 0<a<1
Look at the table and mark for sign (+/-), then check for y to compare with y=b (a.straight.line), 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