I think this is off topic for hsc maths for some reason
From what I've read, logax=y
a needs to be positive, thus x needs to be positive
What about equations like these
\(-a)^y = x
where a is positive. x and y can be either negative or positive.
I've done
\(-1)^y(a)^y = x...