document.write( "Question 1199461: The lengths of the sides of a triangle are positive integers. One side has length 17 and the perimeter of the triangle is 54. If the area is also an integer, find the length of the longest side. \n" ); document.write( "
Algebra.Com's Answer #833366 by MathTherapy(10552)\"\" \"About 
You can put this solution on YOUR website!
The lengths of the sides of a triangle are positive integers. One side has length 17 and the perimeter of the triangle is 54. If the area is also an integer, find the length of the longest side.
\n" ); document.write( "
Perimeter = 54.\r\n" );
document.write( "One of the sides = 17. With another side being a, the 3rd side is: 54 - 17 - a = 37 - a \r\n" );
document.write( "\r\n" );
document.write( "           Heron's formula: \"matrix%281%2C3%2C+Area%2C+%22=%22%2C+sqrt%28s%28s+-+a%29%28s+-+b%29%28s+-+c%29%29%29\", with: \"matrix%283%2C3%2C+a%2C+%22=%22%2C+a%2C+b%2C+%22=%22%2C+37+-+a%2C+c%2C+%22=%22%2C+17%29\"\r\n" );
document.write( "\r\n" );
document.write( "In addition, .\r\n" );
document.write( "\r\n" );
document.write( "               We now get: \"matrix%281%2C3%2C+Area%2C+%22=%22%2C+sqrt%28s%28s+-+a%29%28s+-+b%29%28s+-+c%29%29%29\"\r\n" );
document.write( "                                  \r\n" );
document.write( "\r\n" );
document.write( "In order for the area to be an INTEGER, the RADICAND, \"%282%2A3%5E3%2A5%29%28-+270+%2B+37a+-+a%5E2%29\" needs to be a PERFECT SQUARE. As such, the 2(3)3(5), or 270\r\n" );
document.write( "needs to be MULTIPLIED by one MORE 2, one MORE 3, and one MORE 5, or 2(3)(5), in order to make it 22(34)(52), or 8,100 (PERFECT SQUARE). \r\n" );
document.write( "This means that \r\n" );
document.write( "                 (a - 25)(a - 12) = 0\r\n" );
document.write( "   a - 25 = 0      or      a - 12 = 0\r\n" );
document.write( "        a = 25     or           a = 12\r\n" );
document.write( "\r\n" );
document.write( "So, if a = 25, then b = 37 - 25 = 12, and c = 17 (given)\r\n" );
document.write( "    if a = 12, then b = 37 - 12 = 25, and c = 17 (given)\r\n" );
document.write( "\r\n" );
document.write( "Either way, with the 3 sides being 25, 12, and 17, the longest side of the triangle is 25.
\n" ); document.write( "
\n" );