Here is a trick to memorize innervation by compartment in Thigh
"MAP OF Sciatic"
- Medial compartment: Obturator
- Anterior compartment: Femoral
- Posterior compartment: Sciatic
So all the thigh muscles in that compartment get innervated by that nerve.
Note that first letter of each point above joins as 'MAP' and the first letter of the last words become 'OF Sciatic'