This is “Distance, Midpoint, and the Parabola”, section 8.1 from the book Advanced Algebra (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

## 8.1 Distance, Midpoint, and the Parabola

### Learning Objectives

1. Apply the distance and midpoint formulas.
2. Graph a parabola using its equation given in standard from.
3. Determine standard form for the equation of a parabola given general form.

## Conic Sections

A conic sectionA curve obtained from the intersection of a right circular cone and a plane. is a curve obtained from the intersection of a right circular cone and a plane. The conic sections are the parabola, circle, ellipse, and hyperbola.

The goal is to sketch these graphs on a rectangular coordinate plane.

## The Distance and Midpoint Formulas

We begin with a review of the distance formulaGiven two points $(x1, y1)$ and $(x2, y2)$, the distance d between them is given by $d=(x2−x1)2+(y2−y1)2$.. Given two points $( x1, y1)$ and $( x2, y2)$ in a rectangular coordinate plane, the distance d between them is given by the distance formula,

$d=(x2−x1)2+(y2−y1)2$

Furthermore, the point that bisects the line segment formed by these two points is called the midpointGiven two points $(x1, y1)$ and $(x2, y2)$, the midpoint is an ordered pair given by $(x1+x22, y1+y22).$ and is given by the formula,

$(x1+x22, y1+y22)$

The midpoint is an ordered pair formed by the average of the x-values and the average of the y-values.

### Example 1

Given $(−2,−5)$ and $(−4,−3)$ calculate the distance and midpoint between them.

Solution:

In this case, we will use the formulas with the following points:

$(x1, y1) (x2, y2)(−2,−5)(−4,−3)$

It is a good practice to include the formula in its general form before substituting values for the variables; this improves readability and reduces the probability of making errors.

$d=(x2−x1)2+(y2−y1)2=[−4−(−2)]2+[−3−(−5)]2=(−4+2)2+(−3+5)2=(−2)2+(2)2=4+4=8=22$

Next determine the midpoint.

$(x1+x22, y1+y22)=(−2+(−4)2, −5+(−3)2)=(−62, −82)=(−3, −4)$

Plotting these points on a graph we have,

Answer: Distance: $22$ units; midpoint: $(−3,−4)$

### Example 2

The diameter of a circle is defined by the two points $(−1,2)$ and $(1,−2).$ Determine the radius of the circle and use it to calculate its area.

Solution:

Find the diameter using the distance formula.

$d=(x2−x1)2+(y2−y1)2=[1−(−1)]2+(−2−2)2=(2)2+(−4)2=4+16=20=25$

Recall that the radius of a circle is one-half of the circle’s diameter. Therefore, if $d=25$ units, then

$r=d2=252=5$

The area of a circle is given by the formula $A=πr2$ and we have

$A=π(5)2=π⋅5=5π$

Area is measured in square units.

Answer: Radius: $5$ units; area: $5π$ square units

Try this! Given $(0,0)$ and $(9,−3)$ calculate the distance and midpoint between them.

Answer: Distance: $310$ units; midpoint: $(92,−32)$

## The Parabola

A parabolaThe set of points in a plane equidistant from a given line, called the directrix, and a point not on the line, called the focus. is the set of points in a plane equidistant from a given line, called the directrix, and a point not on the line, called the focus. In other words, if given a line L the directrix, and a point F the focus, then $(x,y)$ is a point on the parabola if the shortest distance from it to the focus and from it to the line is equal as pictured below:

The vertex of the parabola is the point where the shortest distance to the directrix is at a minimum. In addition, a parabola is formed by the intersection of a cone with an oblique plane that is parallel to the side of the cone:

Recall that the graph of a quadratic function, a polynomial function of degree 2, is parabolic. We can write the equation of a parabola in general formThe equation of a parabola written in the form $y=ax2+bx+c$ or $x=ay2+by+c$, where a, b, and c are real numbers and $a≠0.$ or we can write the equation of a parabola in standard formThe equation of a parabola written in the form $y=a(x−h)2+k$ or $x=a(y−k)2+h.$:

$General Form Standard Formy=ax2+bx+c y=a(x−h)2+k$

Here a, b, and c are real numbers, $a≠0.$ Both forms are useful in determining the general shape of the graph. However, in this section we will focus on obtaining standard form, which is often called vertex formThe equation of a parabola written in standard form is often called vertex form. In this form the vertex is apparent: $(h,k).$. Given a quadratic function in standard form, the vertex is $(h,k).$ To see that this is the case, consider graphing $y=(x+3)2+2$ using transformations.

$y=x2 Basic squaring function.y=(x+3)2 Horizontal shift left 3 units.y=(x+3)2+2 Vertical shift up 2 units.$

Use these translations to sketch the graph,

Here we can see that the vertex is $(−3,2).$ This can be determined directly from the equation in standard form,

$y=a(x−h)2+k↓ ↓ y=[x−(−3)]2+2$

Written in this form we can see that the vertex is $(−3,2).$ However, the equation is typically not given in standard form. Transforming general form to standard form, by completing the square, is the main process by which we will sketch all of the conic sections.

### Example 3

Rewrite the equation in standard form and determine the vertex of its graph: $y=x2−8x+15.$

Solution:

Begin by making room for the constant term that completes the square.

$y=x2−8x+15=x2−8x +___+15−___$

The idea is to add and subtract the value that completes the square, $(b2)2$, and then factor. In this case, add and subtract $(b2)2=(−82)2=(−4)2=16.$

$y=x2−8x+15Add and subtract 16.=(x2−8x +16)+15 −16Factor.=(x−4)(x−4)−1=(x−4)2−1$

Adding and subtracting the same value within an expression does not change it. Doing so is equivalent to adding 0. Once the equation is in this form, we can easily determine the vertex.

$y=a(x − h)2+k↓ ↓ y=(x−4)2+(−1)$

Here we have a translation to the right 4 units and down 1 unit. Hence, h = 4 and k = −1.

Answer: $y=(x−4)2−1$; vertex: $(4,−1)$

If there is a leading coefficient other than 1, then begin by factoring out that leading coefficient from the first two terms of the trinomial.

### Example 4

Rewrite the equation in standard form and determine the vertex of the graph: $y=−2x2+12x−16.$

Solution:

Since $a=−2$, factor this out of the first two terms in order to complete the square. Leave room inside the parentheses to add and subtract the value that completes the square.

$y=−2x2+12x−16=−2(x2−6x +___−___)−16$

Now use −6 to determine the value that completes the square. In this case, $(b2)2=(−62)2=(−3)2=9$. Add and subtract 9 and factor as follows:

$y=−2x2+12x−16=−2(x2−6x +___ −___ )−16Add and subtract 9.=−2(x2−6x +9−9)−16 Factor.=−2[(x−3)(x−3)−9]−16=−2[(x−3)2−9]−16Distribute the−​2.=−2(x−3)2+18−16=−2(x−3)2+2$

In this form, we can easily determine the vertex.

$y=a(x−h)2+k↓↓y=−2(x−3)2+2$

Here h = 3 and k = 2.

Answer: $y=−2(x−3)2+2$; vertex: $(3,2)$

Make use of both general form and standard form when sketching the graph of a parabola.

### Example 5

Graph: $y=−2x2+12x−16.$

Solution:

From the previous example we have two equivalent forms of this equation,

$General Form Standard Formy=−2x2+12x−16 y= −2(x−3)2+2$

Recall that if the leading coefficient $a>0$ the parabola opens upward and if $a<0$ the parabola opens downward. In this case, $a=−2$ and we conclude the parabola opens downward. Use general form to determine the y-intercept. When $x=0$ we can see that the y-intercept is $(0,−16).$ From the equation in standard form, we can see that the vertex is $(3,2).$ To find the x-intercept we could use either form. In this case, we will use standard form to determine the x-values where $y=0$,

$y=−2(x−3)2+2 Set y =0 and solve.0=−2(x−3)2+2 −2=−2(x−3)21=(x−3)2 Apply the square root property.±1=x−33±1=x$

Here $x=3−1=2$ or $x=3+1=4$ and therefore the x-intercepts are $(2,0)$ and $(4,0).$ Use this information to sketch the graph.

Answer:

So far we have been sketching parabolas that open upward or downward because these graphs represent functions. At this point we extend our study to include parabolas that open right or left. If we take the equation that defines the parabola in the previous example,

$y= −2(x−3)2+2$

and switch the x and y values we obtain

$x= −2(y−3)2+2$

This produces a new graph with symmetry about the line $y=x.$

Note that the resulting graph is not a function. However, it does have the same general parabolic shape that opens left. We can recognize equations of parabolas that open left or right by noticing that they are quadratic in y instead of x. Graphing parabolas that open left or right is similar to graphing parabolas that open upward and downward. In general, we have

In all cases, the vertex is $(h,k).$ Take care to note the placement of h and k in each equation.

### Example 6

Graph: $x=y2+10y+13.$

Solution:

Because the coefficient of $y2$ is positive, $a=1$, we conclude that the graph is a parabola that opens to the right. Furthermore, when $y=0$ it is clear that $x=13$ and therefore the x-intercept is $(13,0).$ Complete the square to obtain standard form. Here we will add and subtract $(b2)2=(102)2=(5)2=25.$

$x=y2+10y+13=y2+10y +25−25+13=(y+5)(y+5)−12=(y+5)2−12$

Therefore,

$x=a (y−k)2+h↓↓x=(y−(−5))2+(−12)$

From this we can see that the vertex $(h,k)=(−12,−5).$ Next use standard form to find the y-intercepts by setting $x=0.$

$x= (y+5)2−120=(y+5)2−1212=(y+5)2±12=y+5±23=y+5−5±23=y$

The y-intercepts are $(0,−5−23)$ and $(0,−5+23).$ Use this information to sketch the graph.

Answer:

### Example 7

Graph: $x= −2y2+4y−5.$

Solution:

Because the coefficient of $y2$ is $a=−2$, we conclude that the graph is a parabola that opens to the left. Furthermore, when $y=0$ it is clear that $x=−5$ and therefore the x-intercept is $(−5,0).$ Begin by factoring out the leading coefficient as follows:

$x=−2y2+4y−5=−2(y2−2y+___−___)−5$

Here we will add and subtract $(b2)2=(−22)2=(−1)2=1.$

$x= −2y2+4y−5=−2(y2−2y +1−1)−5=−2[(y−1)2−1]−5=−2(y−1)2+2−5=−2(y−1)2−3$

Therefore, from vertex form, $x= −2(y−1)2−3$, we can see that the vertex is $(h,k)=(−3,1).$ Because the vertex is at $(−3,1)$ and the parabola opens to the left, we can conclude that there are no y-intercepts. Since we only have two points, choose some y-values and find the corresponding x-values.

$xyx=−2(y−1)2−3−11−1x= −2(−1−1)2−3=−2(−2)2−3=−11−52x= −2(2−1)2−3=−2(1)2−3=−5−113x= −2(3−1)2−3=−2(2)2−3=−11$

Answer:

Try this! Graph: $x= y2−y−6.$

Answer:

### Key Takeaways

• Use the distance formula to determine the distance between any two given points. Use the midpoint formula to determine the midpoint between any two given points.
• A parabola can open upward or downward, in which case, it is a function. In this section, we extend our study of parabolas to include those that open left or right. Such graphs do not represent functions.
• The equation of a parabola that opens upward or downward is quadratic in x, $y=ax2+bx+c.$ If $a>0$, then the parabola opens upward and if $a<0$, then the parabola opens downward.
• The equation of a parabola that opens left or right is quadratic in y, $x=ay2+by+c.$ If $a>0$, then the parabola opens to the right and if $a<0$, then the parabola opens to the left.
• The equation of a parabola in general form $y=ax2+bx+c$ or $x=ay2+by+c$ can be transformed to standard form $y=a(x−h)2+k$ or $x=a(y−k)2+h$ by completing the square.
• When completing the square, ensure that the leading coefficient of the variable grouping is 1 before adding and subtracting the value that completes the square.
• Both general and standard forms are useful when graphing parabolas. Given standard form the vertex is apparent $(h,k).$ To find the x-intercept set $y=0$ and solve for x and to find the y-intercept set $x=0$ and solve for y.

### Part A: The Distance and Midpoint Formulas

Calculate the distance and midpoint between the given two points.

1. $(−1,−3)$ and $(5,−11)$

2. $(−3,2)$ and $(1,−1)$

3. $(4,−2)$ and $(−2,−6)$

4. $(−5,−6)$ and $(−3,−4)$

5. $(10,−1)$ and $(9,6)$

6. $(−6,−4)$ and $(−12,1)$

7. $(0,0)$ and $(2,3)$

8. $(0,0)$ and $(22,−3)$

9. $(5,−3)$ and $(25,−3)$

10. $(310,6)$ and $(10,−56)$

11. $(12,−1)$ and $(−2,32)$

12. $(−43,2)$ and $(−13,−12)$

13. $(15,−95)$ and $(310,−52)$

14. $(−12,43)$ and $(−23,56)$

15. $(a,b)$ and $(0,0)$

16. $(0,0)$ and $(a2,2a)$

Determine the area of a circle whose diameter is defined by the given two points.

1. $(−8,12)$ and $(−6,8)$

2. $(9,5)$ and $(9,−1)$

3. $(7,−8)$ and $(5,−10)$

4. $(0,−5)$ and $(6,1)$

5. $(6,0)$ and $(0,23)$

6. $(0,7)$ and $(5,0)$

Determine the perimeter of the triangle given the coordinates of the vertices.

1. $(5,3)$, $(2,−3)$, and $(8,−3)$

2. $(−3,2)$, $(−4,−1)$, and $(−1,0)$

3. $(3,3)$, $(5,3−23)$, and $(7,3)$

4. $(0,0)$, $(0,22)$, and $(2,0)$

Find a so that the distance d between the points is equal to the given quantity.

1. $(1,2)$ and $(4,a)$; $d=5$ units

2. $(−3,a)$ and $(5,6)$; $d=10$ units

3. $(3,1)$ and $(a,0)$; $d=2$ units

4. $(a,1)$ and $(5,3)$; $d=13$ units

### Part B: The Parabola

Graph. Be sure to find the vertex and all intercepts.

1. $y=x2+3$

2. $y=12(x−4)2$

3. $y=−2(x+1)2−1$

4. $y=−(x−2)2+1$

5. $y=−x2+3$

6. $y=−(x+1)2+5$

7. $x=y2+1$

8. $x=y2−4$

9. $x=(y+2)2$

10. $x=(y−3)2$

11. $x=−y2+2$

12. $x=−(y+1)2$

13. $x=13(y−3)2−1$

14. $x=−13(y+3)2−1$

Rewrite in standard form and give the vertex.

1. $y=x2−6x+18$

2. $y=x2+8x+36$

3. $x=y2+20y+87$

4. $x=y2−10y+21$

5. $y=x2−14x+49$

6. $x=y2+16y+64$

7. $x=2y2−4y+5$

8. $y=3x2−30x+67$

9. $y=6x2+36x+54$

10. $x=3y2+6y−1$

11. $y=2x2−2x−1$

12. $x=5y2+15y+9$

13. $x=−y2+5y−5$

14. $y=−x2+9x−20$

Rewrite in standard form and graph. Be sure to find the vertex and all intercepts.

1. $y=x2−4x−5$

2. $y=x2+6x−16$

3. $y=−x2+12x−32$

4. $y=−x2−10x$

5. $y=2x2+4x+9$

6. $y=3x2−6x+4$

7. $y=−5x2+30x−45$

8. $y=−4x2−16x−16$

9. $x=y2−2y−8$

10. $x=y2+4y+8$

11. $x=y2−2y−3$

12. $x=y2+6y−7$

13. $x=−y2−10y−24$

14. $x=−y2−12y−40$

15. $x=3y2+12y+12$

16. $x=−2y2+12y−18$

17. $x=y2−4y−3$

18. $x=y2+6y+1$

19. $x=−y2+2y+5$

20. $y=2x2−2x+1$

21. $y=−3x2+2x+1$

22. $y=−x2+3x+10$

23. $x=−4y2−4y−5$

24. $x=y2−y+2$

25. $y=x2+5x−1$

26. $y=2x2+6x+3$

27. $x=2y2+10x+12$

28. $x=y2+y−1$

### Part C: Discussion Board

1. Research and discuss real-world applications that involve a parabola.

2. Do all parabolas have x-intercepts? Explain.

3. Do all parabolas have y-intercepts? Explain.

4. Make up your own parabola that opens left or right, write it in general form, and graph it.

### Answers

1. Distance: 10 units; midpoint: $(2,−7)$

2. Distance: $213$ units; midpoint: $(1,−4)$

3. Distance: $52$ units; midpoint: $(192,52)$

4. Distance: $5$ units; midpoint: $(22,32)$

5. Distance: $5$ units; midpoint: $(352,−3)$

6. Distance: $522$ units; midpoint: $(−34,14)$

7. Distance: $22$ units; midpoint: $(14,−4320)$

8. Distance: $a2+b2$ units; midpoint: $(a2,b2)$

9. $5π$ square units

10. $2π$ square units

11. $92π$ square units

12. $6+65$ units

13. 12 units

14. −2, 6

15. 2, 4

1. $y=(x−3)2+9$; vertex: $(3,9)$

2. $x=(y+10)2−13$; vertex: $(−13,−10)$

3. $y=(x−7)2$; vertex: $(7,0)$

4. $x=2(y−1)2+3$; vertex: $(3,1)$

5. $y=6(x+3)2$; vertex: $(−3,0)$

6. $y=2(x−12)2−32$; vertex: $(12,−32)$

7. $x=−(y−52)2+54$; vertex: $(54,52)$

8. $y=(x−2)2−9$;

9. $y=−(x−6)2+4$;

10. $y=2(x+1)2+7$;

11. $y=−5(x−3)2$;

12. $x=(y−1)2−9$;

13. $x=(y−1)2−4$;

14. $x=−(y+5)2+1$;

15. $x=3(y+2)2$;

16. $x=(y−2)2−7$;

17. $x=−(y−1)2+6$;

18. $y=−3(x−13)2+43$;

19. $x=−4(y+12)2−4$;

20. $y=(x+52)2−294$;

21. $x=2(y+52)2−12$;

1. Answer may vary

2. Answer may vary