What advantages did the Roman legion have over the phalanx?
The phalanx was, as I said just a body of infantrymen armed with 6-7 m long spears and small shields that was meant to slowly crush through another rigid unit of infantery and was thus utterly useless and completely vulnerable against all of the other units forming a Roman legion. Unsupported by cavalery and the hoplite heavy infantery the phalanx cannot be pinned against a legion. At least successfully, that is.