The set-theoretic formulation of the axiom of induction is as follows:
Suppose $A \subseteq \mathbf{N}$, such that $0 \in A$ and $k+1 \in A$ whenever $k \in A$. Then $A = \mathbf{N}$
This axiom is supposed to rule out possibilities like $A = \mathbf{Q}$ or $A= [0, \infty)$, which satisfy the other Peano Axioms, but not the axiom of induction.
But I don't understand how it rules out the above cases. Firstly, how do we know that the set $A$ is a subset of $\mathbf{N}$ without first defining what $\mathbf{N}$ is? Something seems circular here, which means I've yet to understand the axiom.
Suppose $B$ includes $0$, $S(0), S(S(0))$, and so on, but it also includes fractions such as $\frac{1}{2}$. Induction supposedly prevents $B$ from being $\mathbf{N}$. But this means that we must know beforehand that $B \nsubseteq \mathbf{N}$, which seems circular.
Note: I've searched for similar questions on this site, and while there is one which pretty much asks the same question, I could not find a satisfactory answer.
Let's show that $\mathbb Q$ does not satisfy
Indeed, $A=\mathbb Q \cap [0,\infty)$ has the property specified, but it is not equal to $\mathbb Q$.
Now let's show that $[0,+\infty)$ does not satisfy
This time we can use $\{0\} \cup [1,+\infty)$ as the counterexample.
Now you try it. Think of any $X \supseteq \mathbb N$ other than $\mathbb N$. Show that you can find a subset $A$ contradicting induction formulated for $X$.