knee-jerk (n.) Look up knee-jerk at Dictionary.com
patellar reflex, a neurological phenomenon discovered and named in 1876; see knee (n.) + jerk (n.1) in the medical sense. The figurative use appeared soon after the phrase was coined.