document.write( "Question 1140169: If there are five people in a room. 3 of them are studying math. 4 people are studying
\n" ); document.write( "science. How many people are studying both math and science, if one person is
\n" ); document.write( "studying neither math nor science?
\n" ); document.write( "

Algebra.Com's Answer #760658 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
This is a Venn diagram with 2 intersecting
\n" ); document.write( "circles. There is 1 person outside of both circles
\n" ); document.write( "( math and science circles ), so \"+5+-+1+=+4+\"
\n" ); document.write( "are in the circles. Label as follows:
\n" ); document.write( "X = only studies math
\n" ); document.write( "Y = studies both
\n" ); document.write( "Z = only studies science
\n" ); document.write( "(1) X + Y + Z = 4
\n" ); document.write( "(2) X + Y = 3 ( given )
\n" ); document.write( "(3) Y + Z = 4 ( given )
\n" ); document.write( "-------------------------
\n" ); document.write( "From (1) and (3), X must be zero
\n" ); document.write( "So, from(2), Y = 3 , and plug this into (3)
\n" ); document.write( "Z = 1
\n" ); document.write( "------------------------
\n" ); document.write( "So, 3 people are studying both.
\n" ); document.write( "Get another opinion if needed
\n" ); document.write( "
\n" ); document.write( "
\n" );