Lovelace herself was encouraged to pursue math by her mother, to avoid the "dangerous poetic tendencies" of her father, the poet Lord Byron, according to The New York Time'Bits blog. This could be why she shed the female stereotype and pursued her STEM