In the hip joint, lateral and medial rotation occur along the axis of the limb; extension (also called dorsiflexion or retroversion) and flexion (anteflexion or anteversion) occur along a transverse axis; and abduction and adduction occur about a sagittal axis.The anterior dorsal hip muscles are the iliopsoas, a group of two or three muscles with a shared insertion on the lesser trochanter of the femur. The psoas major originates from the last vertebra and along the lumbar spine to stretch down into the pelvis. The iliacus originates on the iliac fossa on the interior side of the pelvis. The two muscles unite to form the iliopsoas muscle, which is inserted on the lesser trochanter of the femur. The psoas minor, only present in about 50 per cent of subjects, originates above the psoas major to stretch obliquely down to its insertion on the interior side of the major muscle.The posterior dorsal hip muscles are inserted on or directly below the greater trochanter of the femur. The tensor fasciae latae, stretching from the anterior superior iliac spine down into the iliotibial tract, presses the head of the femur into the acetabulum but also flexes, rotates medially, and abducts to hip joint. The piriformis originates on the anterior pelvic surface of the sacrum, passes through the greater sciatic foramen, and inserts on the posterior aspect of the tip of the greater trochanter. In a standing posture it is a lateral rotator, but it also assists extending the thigh.
Pathological changes in this angle result in abnormal posture of the leg: a small angle produces coxa vara and a large angle coxa valga; the latter is usually combined with genu varum, and coxa vara leads genu valgum. Additionally, a line drawn through the femoral neck superimposed on a line drawn through the femoral condyles forms an angle, the torsion angle, which makes it possible for flexion movements of the hip joint to be transposed into rotary movements of the femoral head. Abnormally increased torsion angles result in a limb turned inward and a decreased angle in a limb turned outward; both cases resulting in a reduced range of a persons mobility. Muscles
Hip
There are several ways of classifying the muscles of the hip:

By location or innervation (ventral and dorsal divisions of the plexus layer);
By development on the basis of their points of insertion (a posterior group in two layers and an anterior group); and
By function (i.e. extensors, flexors, adductors, and abductors).Some hip muscles also act either on the knee joint or on vertebral joints. Additionally, because the areas of origin and insertion of many of these muscles are very extensive, these muscles are often involved in several very different movements.