Exponent Rules (Algebra)

Hi, I need help explaining how X^a/X^b can be written as X^a-b or 1/X^b-a

I feel like it works in certain instances and doesn’t work for others. E.g; 4^8/4^3 = 4^5 (ie, X^a-b) but when written as 1/X^b-a; it is 1/4^-5. That’s hardly the same thing.

But

4^5 = \frac{1}{4^{-5}}

Okay, I’m more confused now. My understanding is that 4^-5 is = 1/4^5?

yeah so \frac{1}{4^{-5}} = \frac{1}{\frac{1}{4^5}} = 4^5

Ohh I get it now! Thank you