Sir pls tell me what is wrong with my mathematical identity:
(a/b)^n = (b/a)^-n = (b/a)^(1/n)
[imath] \left(\dfrac{a}{b}\right)^{-1}=\dfrac{b}{a} [/imath] so your first equation [imath] \left(\dfrac{a}{b}\right)^n=\left(\dfrac{b}{a}\right)^{-n} [/imath] is correct.
The second is problematic (and wrong) [imath] \dfrac{a^n}{b^n}=\dfrac{b^{-n}}{a^{-n}}=\left(\dfrac{b}{a}\right)^{-n}\neq \left(\dfrac{b}{a}\right)^{1/n}=\sqrt[n]{\dfrac{b}{a}} .[/imath]
There are several ways to see that.
Firstly, we have [imath] something ^{-n} = something^{1/n}[/imath] and one would expect, given both [imath] something [/imath] are equal, that this can only be if [imath] -n=1/n, [/imath] but that's wrong.
Second possibility: Set [imath] n=2 [/imath] and [imath] a=1. [/imath] Then we have [imath] b^{-2}=\dfrac{1}{b^2} [/imath] on the left and [imath] b^{1/2}=\sqrt{b} [/imath] on the right. They are only equal if [imath] b=1. [/imath] So we set [imath] b=2 [/imath] and see they are different.
Thirdly, we consider the definitions of [imath] b^{-n} = \dfrac{1}{b^n}[/imath] and [imath] b^{1/n}=\sqrt[n]{b} .[/imath] The former is the power of a reciprocal value, i.e. the solution of the equation [imath] x\cdot b^n =1, [/imath] and the latter is the n-th root, i.e. the solution of the equation [imath] x^n=b. [/imath] Those equations are very different, so their solution cannot be the same (except in some special cases, but not in general).