A farmer has pigs and chickens. She counted 140 eyes and 200 legs. How many pigs and how many chickens were there?

Sep 30, 2016

$\text{The farmer has "30" pigs and "40" chickens.}$

Explanation:

Suppose that there are $p$ pigs and $c$ chickens.

Pigs and chickens have $2$ eyes, so, total no. of eyes is $2 p + 2 c .$

The farmer counted $140 \text{ eyes, so, } 2 p + 2 c = 140. \ldots \ldots \ldots \ldots \left(1\right)$

Coming to the count of legs, we have, $4 p + 2 c = 200. \ldots \ldots \ldots \left(2\right)$

$\left(2\right) - \left(1\right) \Rightarrow 2 p = 60 \Rightarrow p = 30.$

Then, by $\left(1\right) , 60 + 2 c = 140 \Rightarrow 2 c = 80 \Rightarrow c = 40.$

$\text{Thus, the farmer has "30" pigs and "40" chickens.}$
{"ft_lang_label":"__label__en","ft_lang_prob":0.9155436,"math_prob":0.9998932,"size":389,"snap":"2022-05-2022-21","text_gpt3_token_len":96,"char_repetition_ratio":0.12207792,"word_repetition_ratio":0.0,"special_character_ratio":0.23907454,"punctuation_ratio":0.103896104,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9902819,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-29T08:48:56Z\",\"WARC-Record-ID\":\"<urn:uuid:fa08ba05-c637-4cfd-81bb-3edb52396110>\",\"Content-Length\":\"33971\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:03c77967-5364-40c8-a5ca-178d49cd1f45>\",\"WARC-Concurrent-To\":\"<urn:uuid:f308e7e6-4b8c-4bb8-97a9-2546181736da>\",\"WARC-IP-Address\":\"216.239.38.21\",\"WARC-Target-URI\":\"https://socratic.org/questions/a-farmer-has-pigs-and-chickens-she-counted-140-eyes-and-200-legs-how-many-pigs-a#316301\",\"WARC-Payload-Digest\":\"sha1:4MHYSCPT23QXHWPK47WYXWIIT5FIXMI2\",\"WARC-Block-Digest\":\"sha1:SMXFFJ6O77DLW5T5Q3YKNVD2CRAP6SFR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320300573.3_warc_CC-MAIN-20220129062503-20220129092503-00556.warc.gz\"}"}