Definition :
A relation $\rm R$ in a set $\rm A$ called transitive, if $(a_1, a_2) \in \mathrm R$ and $(a_2, a_3) \in \mathrm R \implies (a_1, a_3) \in \mathrm R \quad \forall a_1, a_2, a_3 \in \mathrm A$
Problem : (source)
Let $\mathrm A$ be finite set of human beings.
Let $\mathrm R$ be a relation on the set $\mathrm A$ defined as $$\mathrm R = \{ (x,y) : \text{$x$ is wife of $y$}\}$$
Determine whether it is transitive or not.
I would say it is not transitive because if $x$ is wife of $y$ then $y$ can't be wife of $z$ and certainly $x$ can't be wife of $z$ assuming no same sex marriage or extramarital affairs by the people of set $\mathrm A$.
Here if we define $p : (x,y) \in \mathrm R \ \land \ (y,z) \in \mathrm R $ and $q : (x, z) \in \mathrm R$,
Then clearly both $p,q$ is false here and so $p \implies q$ should be false.
By the definition of transitivity ,$\text{if $(p \implies q)$ then transitive}$, the relation $\mathrm R$ is not transitive because $p \implies q$ is false.
Here is the part I don't understand, in the source of this problem the answers suggest that the relation is transitive and it is so because $p \implies q$ is false, provided I understand them properly.
I don't understand why if both $p,q$ is false then the relation is transitive and how does this follows from the definition of transitivity ?