\r\n" );
document.write( "4x² + y² - 8x - 2y + 1 = 0\r\n" );
document.write( "\r\n" );
document.write( "Get the constant off the left side:\r\n" );
document.write( "\r\n" );
document.write( " 4x² + y² - 8x - 2y = -1\r\n" );
document.write( "\r\n" );
document.write( "Swap the 2nd and 3rd terms\r\n" );
document.write( "\r\n" );
document.write( " 4x² - 8x + y² - 2y = -1\r\n" );
document.write( "\r\n" );
document.write( "Out of the first two terms factor out the coefficient of x²\r\n" );
document.write( "which is 4\r\n" );
document.write( "\r\n" );
document.write( " 4(x² - 2x) + y² - 2y = -1\r\n" );
document.write( "\r\n" );
document.write( "We complete the square inside the parentheses:\r\n" );
document.write( "Multiply the coefficient of x, which is -2, by
,\r\n" );
document.write( "getting -1, Then square that result, (-1)² = 1. So we add\r\n" );
document.write( "1 inside the parentheses, getting 4(x² - 2x + 1), which,\r\n" );
document.write( "because of the 4*1 in front amount to adding 4 to the left\r\n" );
document.write( "side so we have to add 4 to the right side:\r\n" );
document.write( "\r\n" );
document.write( " 4(x² - 2x + 1) + y² - 2y = -1 + 4\r\n" );
document.write( "\r\n" );
document.write( "Next we complete the square for the y terms:\r\n" );
document.write( "Multiply the coefficient of y, which is -2, by
,\r\n" );
document.write( "getting -1, Then square that result, (-1)² = 1. So we add\r\n" );
document.write( "1 to both sides:\r\n" );
document.write( "\r\n" );
document.write( " 4(x² - 2x + 1) + y² - 2y + 1 = -1 + 4 + 1\r\n" );
document.write( "\r\n" );
document.write( "Now we factor \"x²-2x+1\" as (x-1)² and \"y²-2y+1\" as \"(y-1)²\"\r\n" );
document.write( "and combine the numbers on the right as 4\r\n" );
document.write( "\r\n" );
document.write( " 4(x - 1)² + (y - 1)² = 4\r\n" );
document.write( "\r\n" );
document.write( "Then we divide through by 4 to get 1 on the right\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Compare that to the standard form:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "since a > b, so a² > b² in an ellipse. a=1, b=2\r\n" );
document.write( "\r\n" );
document.write( "So this is an ellipse with center (h,k) = (1,1),\r\n" );
document.write( "\r\n" );
document.write( "That's one question answered: center = (1,1)\r\n" );
document.write( "\r\n" );
document.write( "Major axis vertical which is 2a or 2(2) or 4\r\n" );
document.write( "\r\n" );
document.write( "Minor axis horizontal which is 2b or 2(1) = 2\r\n" );
document.write( "\r\n" );
document.write( "So we draw the center (1,1) and the major and minor axes,\r\n" );
document.write( "respective 4 and 2 units long with the center (1,1) as the\r\n" );
document.write( "midoint of each.\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Then we draw in the ellipse:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The vertices are at the top and bottom. They are (1,3) and (1,-1)\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "We have to calculate the focal points which are (h,k±c) inside \r\n" );
document.write( "the ellipse on the major axis:\r\n" );
document.write( "\r\n" );
document.write( "First we calculate c from\r\n" );
document.write( "\r\n" );
document.write( "c² = a² - b²\r\n" );
document.write( "\r\n" );
document.write( "c² = 2² - 1²\r\n" );
document.write( "\r\n" );
document.write( "c² = 4 - 1\r\n" );
document.write( "\r\n" );
document.write( "c² = 3\r\n" );
document.write( " _\r\n" );
document.write( "c = ±Ö3\r\n" );
document.write( " _ _\r\n" );
document.write( "So the foci are (1,1+Ö3) and (1,1-Ö3). They are the two points plotted\r\n" );
document.write( "below inside the ellipse on the major axis.\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\r
\n" );
document.write( "
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( " \n" );
document.write( "