For example we have:
How does it equal to:
I know that
But in that shifting they have wroten that it equals to
For example we have:
How does it equal to:
I know that
But in that shifting they have wroten that it equals to
It is not a rule that numerator and denominator can change places. $\frac{a-b\sqrt{c}}{d}\not=\pm\frac{d}{a+b\sqrt{c}}$ but a coincidence.The correct method to solve this type of questions is to multiply top and bottom by the conjugate in this case $\frac{1+\sqrt{5}}{1+\sqrt{5}}$ $$\frac{1-\sqrt{5}}{2}\cdot\frac{1+\sqrt{5}}{1+\sqrt{5}}=\frac{1^2-5}{2(1+\sqrt{5})}=-\frac{4}{2(1+\sqrt{5})}=-\frac{2}{1+\sqrt{5}}$$
$$ \dfrac{A}{B} =\dfrac{C}{D}$$
can shift places to
$$ \dfrac{D}{B} =\dfrac{C}{A}$$
or
$$ \dfrac{A}{C} =\dfrac{B}{D}$$
all because cross products taken of numerator/denominator on opposite sides of $=$ sign
$$ {A}{B} ={C}{D}$$
remain quite the same.