document.write( "Question 573587: the sum of two positive integers is 30 and their product is 216, find the positive difference between the two numbers \n" ); document.write( "
Algebra.Com's Answer #368873 by mathsmiles(68) You can put this solution on YOUR website! Let's let X and Y be the two numbers we need to search for. \n" ); document.write( "Their sum is 30 so \n" ); document.write( "X + Y = 30 \n" ); document.write( "their product is 216 so \n" ); document.write( "XY = 216\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let's use substitution method, so need to get X or Y by itself in one of these equations. I'll pick the 1st equation since you asked for my help and I get some perk for doing this. :-)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "X + Y = 30 \n" ); document.write( "Subtracting Y from both sides: \n" ); document.write( "X = 30 - Y\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now substitute this into the 2nd equation for X: \n" ); document.write( "XY = 216 \n" ); document.write( "(30-Y)(Y) = 216 \n" ); document.write( "Multiplying out: \n" ); document.write( "30Y - Y^2 = 216 Let's move everything to the right \n" ); document.write( "-30Y + Y^2 -30Y + Y^2 \n" ); document.write( "--------------------------- \n" ); document.write( "0 = Y^2 - 30Y + 216\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "(Y - )(Y - ) Need to find two factors of 216 which add up to 30. (Ugh! This is the worst part!!) \n" ); document.write( "The factors of 216 are: \n" ); document.write( "1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 27, 36, 54, 72, 108, 216 \n" ); document.write( "Lucky for me, I found \n" ); document.write( "http://www.calculatorsoup.com/calculators/math/factors.php\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "See two factors which add to 30 and also multiply to get 216? \n" ); document.write( "18 and 12\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "(Y - 18)(Y - 12) = 0 \n" ); document.write( "Let's check and make sure we get the original equation using FOIL: \n" ); document.write( "Y^2 - 12Y - 18Y + 216 = Y^2 - 30Y + 216 Ok, good.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Solving for Y: \n" ); document.write( "Y - 18 = 0 \n" ); document.write( "Y = 18 \n" ); document.write( "AND \n" ); document.write( "Y - 12 = 0 \n" ); document.write( "Y = 12 \n" ); document.write( "Looks like we have our two numbers. Now go back to the original question:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Find the positive difference between the two numbers: \n" ); document.write( "18 and 12 \n" ); document.write( "18 - 12 = 6 That's the answer! \n" ); document.write( " \n" ); document.write( " |