Here is what you posted to start this thread:
In a nutshell your work above purports to prove that "II a divides b
2, then a divides b"
More specifically, the proposition is "∀ a > 0, ∀ b > 0, a | b
2 ⇒ a | b, where a and b are positive integers"
The "for all" qualifiers mean that regardless of the choices of a and b, the statement must be true. The counterexamples provided already in this thread are sufficient to show that the statement is not true in general.
In your work above, I'm not sure you fully understand what "divides" means in the context of this problem. When someone says that a divides b (in symbols a | b), it means that there is some
integer k such that ka = b. For example, 2 | 6, because 2 * 3 = 6. 2 does not divide 7 because there is no
integer k such that 2 * k = 7.
In your work above, given that a | b
2, there is some integer x such that a * x = b
2. In your next step, you divided both sides of this equation by b, getting ##a \frac x b = b##. There is no guarantee that ##\frac x b## is an integer, and that is where your "proof" falls down.