Many students gets confused with these exponential problems, they often get misguided but understand that there is nothing to be confused of.
When you have a negative number, you just take the reciprocal of the whole exponent number.
What is a reciprocal?
Let's take an integer for example, let's take the number 3.
The reciprocal for 3 is (1/3)
Let's take an other number, let's take 2/3
The reciprocal for 2/3 is (3/2)
In conclusion, we just reverse the denominator and the numerator or just switch it.
We take 3 as (3/1) and that is the reason, the reciprocal would be (1/3)
Now, coming to the negative integers. Taking an example:
This would be become (1/2¹) = (1/2)
Hence, the result of a negative integer is positive but would be a fraction.
Hope I helped!