document.write( "Question 1126097: In a group of 250 peoples 50 failed in mathematics 60 peoples failed in history and 70 peoples failed Geography 25 failed peoples failed mathematics and history and 28 peoples failed history and geography 32 failed mathematics and geography and 21 failed in all three subjects find the number of peoples who failed at least one subject? \n" ); document.write( "
Algebra.Com's Answer #742421 by ikleyn(52799)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "I just solved a TWIN problem for you under the link \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/word/evaluation/Evaluation_Word_Problems.faq.question.1126099.html\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/word/evaluation/Evaluation_Word_Problems.faq.question.1126099.html\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This time the situation is very similar:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        You are given 3 sets (the number of elements in three sets M, H and G);\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        You are given the numbers of elements in their in-pair intersections (M n H), (M n G) and (H n G);\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        and finally, you are given the numbers of elements in the triple intersection (M n H n G).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        They ask you about the number of elements in the union of the three sets (M U H U G).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The same formula  (*)  works as in my previous post:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "    n(M U H U G) = n(M) + n(H) + n(G) - n(M n H) - n(M n G) - n(H n G) + n(M n H n G).        (*)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "you only need to substitute the given data and calculate:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    n(M U H U G) = 50 + 60 + 70 - 25 - 28 - 32 + 21 = 116.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Answer.   The number of peoples who failed at least one subject is 116.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This time I will not prove the formula  (*)  here:   it is just proved under the referred link.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "====================\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For many other solved similar problems see the lessons\r
\n" ); document.write( "\n" ); document.write( "    - Counting elements in sub-sets of a given finite set\r
\n" ); document.write( "\n" ); document.write( "    - Advanced problems on counting elements in sub-sets of a given finite set\r
\n" ); document.write( "\n" ); document.write( "    - Challenging problems on counting elements in subsets of a given finite set \r
\n" ); document.write( "\n" ); document.write( "in this site.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );