# 8.1: Distance, Midpoint, and the Parabola

Skills to Develop

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

### Conic Sections

A conic section 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 formula. Given two points ( x1, y1) ( x1, y1) and ( x2, y2) ( x2, y2) in a rectangular coordinate plane, the distance d between them is given by the distance formula,

\[d=\sqrt{(x_2−x_1)^2+(y_2−y_1)^2}\]

Furthermore, the point that bisects the line segment formed by these two points is called the midpoint and is given by the formula,

\[\left(\dfrac{x_1+x_2}{2}, \dfrac{ y_1+y_2}{2}\right)\]

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

Example \(\PageIndex{1}\):

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

**Solution**:

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

(x1, y1) (−2,−5)(x2, y2)(−4,−3)(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–√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)(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–√ 22 units; midpoint: (−3,−4)(−3,−4)

Example \(\PageIndex{2}\):

The diameter of a circle is defined by the two points (−1,2)(−1,2) and (1,−2).(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–√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–√d=25 units, then

\[r=d2=25–√2=5–√r=d2=252=5\]

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

\[A===π(5–√)2π⋅55πA=π(5)2=π⋅5=5π\]

Area is measured in square units.

Answer: Radius: 5–√5 units; area: 5π5π square units

Exercise \(\PageIndex{1}\)

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

**Answer**

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

### The Parabola

A parabola 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)(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 form or we can write the equation of a parabola in standard form:

Note

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

Here a, b, and c are real numbers, a≠0.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 form. Given a quadratic function in standard form, the vertex is (h,k).(h,k). To see that this is the case, consider graphing y=(x+3)2+2y=(x+3)2+2 using transformations.

yyy===x2(x+3)2(x+3)2+2 Basic squaring function. Horizontal shift left 3 units. Vertical shift up 2 units.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).(−3,2). This can be determined directly from the equation in standard form,

\[yy==a(x−h)2⏐↓ [x−(−3)]2++k⏐↓ 2y=a(x−h)2+k↓ ↓ y=[x−(−3)]2+2\]

Written in this form we can see that the vertex is (−3,2).(−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 \(\PageIndex{3}\):

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

**Solution:**

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

\[y==x2−8x+15x2−8x +___+15−___y=x2−8x+15=x2−8x +___+15−___\]

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

y====x2−8x+15(x2−8x +16)+15 −16(x−4)(x−4)−1(x−4)2−1Add and subtract 16.Factor.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.

\[yy==a(x − h)2⏐↓(x−4)2++k ↓ (−1)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−1y=(x−4)2−1; vertex: (4,−1)(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 \(\PageIndex{4}\):

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

**Solution:**

Since a=−2a=−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 +___−___)−16y=−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(b2)2=(−62)2=(−3)2=9. Add and subtract 9 and factor as follows:

y=======−2x2+12x−16−2(x2−6x +___ −___ )−16−2(x2−6x +9−9)−16−2[(x−3)(x−3)−9]−16−2[(x−3)2−9]−16−2(x−3)2+18−16−2(x−3)2+2Add and subtract 9. Factor.Distribute the−2.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.

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

Here h = 3 and k = 2.

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

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

Example \(\PageIndex{5}\):

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

Solution:

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

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

Recall that if the leading coefficient a>0a>0 the parabola opens upward and if a<0a<0 the parabola opens downward. In this case, a=−2a=−2 and we conclude the parabola opens downward. Use general form to determine the y-intercept. When x=0x=0 we can see that the y-intercept is (0,−16).(0,−16). From the equation in standard form, we can see that the vertex is (3,2).(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=0y=0,

y0−21±13±1======−2(x−3)2+2−2(x−3)2+2 −2(x−3)2(x−3)2x−3x Set y =0 and solve. Apply the square root property.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=2x=3−1=2 or x=3+1=4x=3+1=4 and therefore the x-intercepts are (2,0)(2,0) and (4,0).(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+2y= −2(x−3)2+2\]

and switch the x and y values we obtain

\[x= −2(y−3)2+2x= −2(y−3)2+2\]

This produces a new graph with symmetry about the line y=x.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).(h,k). Take care to note the placement of h and k in each equation.

Example \(\PageIndex{6}\):

Graph: \[x=y2+10y+13.x=y2+10y+13.\]

**Solution:**

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

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

Therefore,

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

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

x012±12−−√±23–√−5±23–√====== (y+5)2−12(y+5)2−12(y+5)2y+5y+5yx= (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–√)(0,−5−23) and (0,−5+23–√).(0,−5+23). Use this information to sketch the graph.

**Answer:**

Example \(\PageIndex{7}\)

Graph:

\[ x= −2y2+4y−5.x= −2y2+4y−5.\]

**Solution:**

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

\[x==−2y2+4y−5−2(y2−2y+___−___)−5x=−2y2+4y−5=−2(y2−2y+___−___)−5\]

Here we will add and subtract

\[(b2)2=(−22)2=(−1)2=1.(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−3x= −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−3x= −2(y−1)2−3, we can see that the vertex is (h,k)=(−3,1).(h,k)=(−3,1). Because the vertex is at (−3,1)(−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.

x−11−5−11y−123x=−2(y−1)2−3x= −2(−1−1)2−3=−2(−2)2−3=−11x= −2(2−1)2−3=−2(1)2−3=−5x= −2(3−1)2−3=−2(2)2−3=−11xyx=−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:

### 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.y=ax2+bx+c. If a>0a>0, then the parabola opens upward and if a<0a<0, then the parabola opens downward.
- The equation of a parabola that opens left or right is quadratic in y, x=ay2+by+c.x=ay2+by+c. If a>0a>0, then the parabola opens to the right and if a<0a<0, then the parabola opens to the left.
- The equation of a parabola in general form y=ax2+bx+cy=ax2+bx+c or x=ay2+by+cx=ay2+by+c can be transformed to standard form y=a(x−h)2+ky=a(x−h)2+k or x=a(y−k)2+hx=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).(h,k). To find the x-intercept set y=0y=0 and solve for x and to find the y-intercept set x=0x=0 and solve for y.