document.write( "Question 331126: Write an equation of a parabola whose vertex is at (-2,1) and focus is at (-3,1).\r
\n" ); document.write( "\n" ); document.write( "I know that h=-2 and k=1, and that there are the two formulas for a parabola with vertex (h,k):\r
\n" ); document.write( "\n" ); document.write( "horizontal: (x-h)=m(y-k)^2 and vertical: (y-k)=m(x-h)^2\r
\n" ); document.write( "\n" ); document.write( "However, I do not know which formula I am supposed to use, and why. Please help and thank you!
\n" ); document.write( "

Algebra.Com's Answer #237416 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!
Write an equation of a parabola whose vertex is at (-2,1) and focus is at (-3,1).
\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "We'll have to draw the parabola to determine which way it opens.\r\n" );
document.write( "\r\n" );
document.write( "Let's draw the focus and the vertex:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The vertex and the focus are 1 unit apart. The vertex is halfway between the\r\n" );
document.write( "focus and the directrix.  Since the vertex and the focus are 1 unit apart,\r\n" );
document.write( "the directrix is the vertical line whose equation is x=-1, so we draw \r\n" );
document.write( "that directrix line in:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now we draw a green line from the focus through the vertex to the\r\n" );
document.write( "directrix: \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To help us sketch the parabola we construct two squares, \r\n" );
document.write( "one on each side of the green line from the vertex to the focus:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now we can sketch in the parabola with the vertex and which passes\r\n" );
document.write( "through the corners of those two squares:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Remember the directrix is outside the parabola and the focus\r\n" );
document.write( "is inside the parabola.\r\n" );
document.write( "\r\n" );
document.write( "The \"latus rectum\" or \"focal chord\" is the line across the parabola\r\n" );
document.write( "that goes through the focus and is parallel to the directrix. It's the\r\n" );
document.write( "line consisting of the left sides of the two squares.  I'll draw it in\r\n" );
document.write( "black below. Notice it is 4 units long:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The equation of the horizontal parabola which opens right or left and \r\n" );
document.write( "has vertex (h,k) is given by:\r\n" );
document.write( "\r\n" );
document.write( "\"%28y+-+k%29%5E2\"\"%22%22=%22%22\"\"%22%22+%2B-+m%28x+-+h%29\"\r\n" );
document.write( "\r\n" );
document.write( "where m is the length of the \"latus rectum\" or \"focal chord\", which\r\n" );
document.write( "is the black line above, which we see is 4 units long, so m=4.\r\n" );
document.write( "\r\n" );
document.write( "When a horizontal parabola opens right, the sign before m is +,\r\n" );
document.write( "and when a horizontal parabola opens left, the sign before the\r\n" );
document.write( "m is -, so here the sign is -.  The equation is:\r\n" );
document.write( "\r\n" );
document.write( "\"%28y+-+1%29%5E2\"\"%22%22=%22%22\"\"-4%28x+%2B+2%29\" \r\n" );
document.write( "\r\n" );
document.write( "That's the equation of the parabola in standard form.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );