The quadriceps femoris is innervated by the femoral nerve with contributions mainly from spinal segments L3 and L4. A tap with a tendon hammer on the patellar ligament therefore tests reflex activity mainly at spinal cord levels L3 and L4.
The vastus muscles originate from the femur, whereas the rectus femoris muscle originates from the pelvic bone. All attach first to the patella by the quadriceps femoris tendon and then to the tibia by the patellar ligament.