You may have simplified incorrectly and gotten , instead of 9. Operations inside parentheses come before exponents. So if you have , you are squaring a negative number and will get a positive result.