document.write( "Question 1180494: in yoga class, all of the students are lined up according to height. Andy notices that the number of students who are taller than he is one-fourth the number of students who are shorter than he. Violetta notices that there are 3 times as many students who are taller than she than students who are shorter than she. How many students are the class is there are fewer than 40 students? \n" ); document.write( "
Algebra.Com's Answer #810186 by ikleyn(52810)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "in yoga class, all of the students are lined up according to height.
\n" ); document.write( "Andy notices that the number of students who are taller than he is one-fourth the number of students who are shorter than he.
\n" ); document.write( "Violetta notices that there are 3 times as many students who are taller than she than students who are shorter than she.
\n" ); document.write( "How many students are the class is there are fewer than 40 students?
\n" ); document.write( "~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "First, consider Andy.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Let x be the number of students who are taller than he.\r\n" );
document.write( "\r\n" );
document.write( "    Then the number of the rest students, excluding him, is 4x, according to the condition.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    So, the total number of students in the class is  (x + 4x + 1),  or  5x+1.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Next, consider Violette.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Let y be the number of students who are shorter than she.\r\n" );
document.write( "\r\n" );
document.write( "    Then the number of the rest students, excluding her, is 3y, according to the condition.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    So, the total number of students in the class is  (y + 3y + 1),  or  4y+1.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We see, that  the number of students in the class MINUS one  is a multiple of 4 (four) and of 5 (five), at the same time.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, the number of students in the class is EITHER  20+1 = 21  OR  40+1 = 41,  if consider couple of minimal values.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "But 41 is excluded by the condition, leaving a UNIQUE ANSWER:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    +-------------------------------------------------+\r\n" );
document.write( "    |  The number of students in the class is 21.     |\r\n" );
document.write( "    +-------------------------------------------------+\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );