Due to seeing a comment of one of our most active users complaining about hating math, I have taken the liberty to create this chapter.
[There is a reason why you should just straight up avoid dividing by zero at all costs. On the one hand, it is impossible, and on the other it creates many impossible situations.]
Let's say:
a = b
next multiply both sides with "a"
a^2 = a*b
now subtract "b^2" from both sides
a^2 - b^2 = a*b - b^2
[a^2 - b^2 can be simplified as (a+b) * (a-b)
and
a*b - b^2 can be simplified as b * (a-b)]
now we have
(a+b) * (a-b) = b * (a-b)
next you can divide both sides by (a-b)
a+b = b
and since a = b, we now have
2b = b
Feel free to explain it if you figured out why we ended up with a ridiculous result.