document.write( "Question 1180837: Of the 30 students in my class, 11 practice taekwondo, 11 play piano, and 20 take lessons at AoPS. 4 students play piano and go to AoPS, 3 students do taekwondo and play piano, 5 student go to AoPS and practice taekwondo, and 3 students do none of these. How many students do all 3? \n" ); document.write( "
Algebra.Com's Answer #810630 by ikleyn(52879)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Of the 30 students in my class, 11 practice taekwondo, 11 play piano, and 20 take lessons at AoPS.
\n" ); document.write( "4 students play piano and go to AoPS, 3 students do taekwondo and play piano, 5 student go to AoPS and practice taekwondo,
\n" ); document.write( "and 3 students do none of these. How many students do all 3?
\n" ); document.write( "~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "    In this problem, you are given the number of elements of the entire \"universal\" set (class);\r\n" );
document.write( "    the number of elements in its three subsets (11, 11 and 20);\r\n" );
document.write( "    the number of elements in in-pairs intersections of these three subsets (4, 3 and 5),\r\n" );
document.write( "    the number of elements in the UNION of the three subsets (27 = 30-3).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "They want you find the number of elements  \" x \"  in the triple intersection of subsets.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Apply the inclusion-exclusion principle\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    27 = 11 + 11 + 20 - 4 - 3 - 5 + x    (alternate sum)\r\n" );
document.write( "\r\n" );
document.write( "or\r\n" );
document.write( "\r\n" );
document.write( "    27 = 30 + x\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "This equation has no solution in integer non-negative numbers.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "        THEREFORE, the posed problem HAS NO SOLUTIONS.\r\n" );
document.write( "\r\n" );
document.write( "        It describes a situation, which NEVER MAY HAPPEN.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "---------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "On Inclusion-Exclusion principle, read this Wikipedia article\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "///////////////\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Had your problem be posed correctly,  I would be happy to solve it and to teach you.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Moreover,  had it be posed correctly,  I would add the list of relevant lessons \r
\n" ); document.write( "\n" ); document.write( "and similar solved problems from the archive of this forum as a bonus for you.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "But at the given badly circumstances,  I will not do it . . . \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );