On The Origin of Species by Charles Darwin Chapter 2 Page 10

as in the two sexes of various animals, in the two or three castes of sterile females or workers among insects, and in the immature and larval states of many of the lower animals.

There are, also, cases of dimorphism and trimorphism, both with animals and plants. Thus, Mr. Wallace, who has lately called attention to the subject, has shown that the females of certain species of butterflies, in the Malayan Archipelago, regularly appear under two or even three conspicuously distinct forms, not connected by intermediate varieties. Fritz Muller has described analogous but more extraordinary cases with the males of certain Brazilian Crustaceans: thus, the male of a Tanais regularly occurs under two distinct forms; one of these has strong and differently shaped pincers, and the other has antennae much more abundantly furnished