Does the following argument hold in trying to find a poset in which every element is a maximal element. The set has to have at least two elements.
Define a relation $S$ on the set $P=\{1, 2\}$ by $S=\{(1, 1), (2, 2)\}$. This relation is a partial order relation as it is reflexive, anti-symmetric and transitive. Because an element $a\in P$ is said to be a maximal element if for all $b\in P$ we have that $a\preceq_S b\implies a=b$. For two distinct elements $a.b\in P$ the statement $a\preceq_S b\implies a=b$ is vacuously satisfied as $(a, b)\notin S$ and thus aren't comparable. This means that both $1,2$ are maximal elements of $P$.
Is this reasoning correct?
Edit: I don't want the solution to the problem, I would like to figure it out myself. This is just something I thought of when I was attempting the problem.
Your solution works perfectly, and your reasoning is fine. Indeed, it is in a sense the only solution.
If every element in the poset $(P, \leq)$ is maximal, and you have two comparable elements $a$ and $b$, then we have both $a\leq b$ and $b\leq a$, so we must have $a=b$ by antisymmetry. This shows that distinct elements cannot be comparable, and $\leq$ is actually $=$.