document.write( "Question 1085118: P(x,y)is a variable point and A(2,2) is a fixed point. Find the equation of the locust of P if it moves so that AP is always equal to the perpendicular distance from the line y=3.Identity the locus and show it on the diagram.
\n" ); document.write( "When is this locus of P less than zero?
\n" ); document.write( "

Algebra.Com's Answer #699223 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Note: the term is locus (not locust)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Given points
\n" ); document.write( "A = (2,2)
\n" ); document.write( "P = (x,y)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Define point B as B = (x,3) where the 'x' is the same as the x coordinate of point P. This point B is directly above point P. Point B is located on the horizontal line y = 3.
\n" ); document.write( "For a visual, see the diagram shown at the bottom of the page.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The distance from B to P is notated as d(B,P)
\n" ); document.write( "The distance from A to P is notated as d(A,P)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In this case,
\n" ); document.write( "d(B,P) = 3-y
\n" ); document.write( "since this is the vertical distance from B to P\r
\n" ); document.write( "\n" ); document.write( "Also,
\n" ); document.write( "d(A,P) = sqrt((x-2)^2+(y-2)^2)
\n" ); document.write( "using the distance formula\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Equate the two distance expressions and solve for y
\n" ); document.write( "d(B,P) = d(A,P)
\n" ); document.write( "3-y = sqrt((x-2)^2+(y-2)^2)
\n" ); document.write( "(3-y)^2 = (x-2)^2+(y-2)^2
\n" ); document.write( "9 - 6y + y^2 = x^2 - 4x + 4 + y^2 - 4y + 4
\n" ); document.write( "9 - 6y = x^2 - 4x + 4 - 4y + 4
\n" ); document.write( "-2y = x^2 - 4x - 1
\n" ); document.write( "y = (-1/2)*(x^2 - 4x - 1)
\n" ); document.write( "y = (-1/2)*(x^2) + (-1/2)*(-4x) + (-1/2)*(-1)
\n" ); document.write( "y = -0.5x^2 + 2x + 0.5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The equation is a parabola. The specific equation is y = -0.5x^2 + 2x + 0.5 where P is the point on the parabola (allowed to slide around) and point A is the focus (fixed). The line y = 3 is the directrix.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This is what the graph would look like.
\n" ); document.write( "
\n" ); document.write( "Image generated by GeoGebra (free graphing software).
\n" ); document.write( "
\n" ); document.write( "
\n" );