# Math Help - y=a^x, a<0. graphmatica failed!

1. ## y=a^x, a<0. graphmatica failed!

Hey anyone knows how to graph y=a^x, a<0.

2. Not terribly surprising, considering that you're going to get a lot of complex function values. (-1/2)^(1/2) is complex, at least. Try plotting just the magnitude, or just the real part, or something like that instead.

3. In order that $a^x$ be real (and singlevalued) a must be larger than or equal to 0. If a< 0, you will get complex values as Ackbeet said. You cannot graph $y= a^x$ on real axes for a< 0.