We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > College Algebra

Graphing Ellipses

Just as we can write the equation for an ellipse given its graph, we can graph an ellipse given its equation. To graph ellipses centered at the origin, we use the standard form x2a2+y2b2=1, a>b\frac{{x}^{2}}{{a}^{2}}+\frac{{y}^{2}}{{b}^{2}}=1,\text{ }a>b for horizontal ellipses and x2b2+y2a2=1, a>b\frac{{x}^{2}}{{b}^{2}}+\frac{{y}^{2}}{{a}^{2}}=1,\text{ }a>b for vertical ellipses.

How To: Given the standard form of an equation for an ellipse centered at (0,0)\left(0,0\right), sketch the graph.

  • Use the standard forms of the equations of an ellipse to determine the major axis, vertices, co-vertices, and foci.
    • If the equation is in the form x2a2+y2b2=1\frac{{x}^{2}}{{a}^{2}}+\frac{{y}^{2}}{{b}^{2}}=1, where a>ba>b, then
      • the major axis is the x-axis
      • the coordinates of the vertices are (±a,0)\left(\pm a,0\right)
      • the coordinates of the co-vertices are (0,±b)\left(0,\pm b\right)
      • the coordinates of the foci are (±c,0)\left(\pm c,0\right)
    • If the equation is in the form x2b2+y2a2=1\frac{{x}^{2}}{{b}^{2}}+\frac{{y}^{2}}{{a}^{2}}=1, where a>ba>b, then
      • the major axis is the y-axis
      • the coordinates of the vertices are (0,±a)\left(0,\pm a\right)
      • the coordinates of the co-vertices are (±b,0)\left(\pm b,0\right)
      • the coordinates of the foci are (0,±c)\left(0,\pm c\right)
  • Solve for cc using the equation c2=a2b2{c}^{2}={a}^{2}-{b}^{2}.
  • Plot the center, vertices, co-vertices, and foci in the coordinate plane, and draw a smooth curve to form the ellipse.

Example 3: Graphing an Ellipse Centered at the Origin

Graph the ellipse given by the equation, x29+y225=1\frac{{x}^{2}}{9}+\frac{{y}^{2}}{25}=1. Identify and label the center, vertices, co-vertices, and foci.

Solution

First, we determine the position of the major axis. Because 25>925>9, the major axis is on the y-axis. Therefore, the equation is in the form x2b2+y2a2=1\frac{{x}^{2}}{{b}^{2}}+\frac{{y}^{2}}{{a}^{2}}=1, where b2=9{b}^{2}=9 and a2=25{a}^{2}=25. It follows that:
  • the center of the ellipse is (0,0)\left(0,0\right)
  • the coordinates of the vertices are (0,±a)=(0,±25)=(0,±5)\left(0,\pm a\right)=\left(0,\pm \sqrt{25}\right)=\left(0,\pm 5\right)
  • the coordinates of the co-vertices are (±b,0)=(±9,0)=(±3,0)\left(\pm b,0\right)=\left(\pm \sqrt{9},0\right)=\left(\pm 3,0\right)
  • the coordinates of the foci are (0,±c)\left(0,\pm c\right), where c2=a2b2{c}^{2}={a}^{2}-{b}^{2} Solving for cc, we have:
c=±a2b2=±259=±16=±4\begin{array}{l}c=\pm \sqrt{{a}^{2}-{b}^{2}}\hfill \\ =\pm \sqrt{25 - 9}\hfill \\ =\pm \sqrt{16}\hfill \\ =\pm 4\hfill \end{array}
Therefore, the coordinates of the foci are (0,±4)\left(0,\pm 4\right). Next, we plot and label the center, vertices, co-vertices, and foci, and draw a smooth curve to form the ellipse.
Figure 8

Try It 3

Graph the ellipse given by the equation x236+y24=1\frac{{x}^{2}}{36}+\frac{{y}^{2}}{4}=1. Identify and label the center, vertices, co-vertices, and foci. Solution

Example 4: Graphing an Ellipse Centered at the Origin from an Equation Not in Standard Form

Graph the ellipse given by the equation 4x2+25y2=1004{x}^{2}+25{y}^{2}=100. Rewrite the equation in standard form. Then identify and label the center, vertices, co-vertices, and foci.

Solution

First, use algebra to rewrite the equation in standard form.
4x2+25y2=100 4x2100+25y2100=100100 x225+y24=1\begin{array}{l} 4{x}^{2}+25{y}^{2}=100\hfill \\ \text{ }\frac{4{x}^{2}}{100}+\frac{25{y}^{2}}{100}=\frac{100}{100}\hfill \\ \text{ }\frac{{x}^{2}}{25}+\frac{{y}^{2}}{4}=1\hfill \end{array}
Next, we determine the position of the major axis. Because 25>425>4, the major axis is on the x-axis. Therefore, the equation is in the form x2a2+y2b2=1\frac{{x}^{2}}{{a}^{2}}+\frac{{y}^{2}}{{b}^{2}}=1, where a2=25{a}^{2}=25 and b2=4{b}^{2}=4. It follows that:
  • the center of the ellipse is (0,0)\left(0,0\right)
  • the coordinates of the vertices are (±a,0)=(±25,0)=(±5,0)\left(\pm a,0\right)=\left(\pm \sqrt{25},0\right)=\left(\pm 5,0\right)
  • the coordinates of the co-vertices are (0,±b)=(0,±4)=(0,±2)\left(0,\pm b\right)=\left(0,\pm \sqrt{4}\right)=\left(0,\pm 2\right)
  • the coordinates of the foci are (±c,0)\left(\pm c,0\right), where c2=a2b2{c}^{2}={a}^{2}-{b}^{2}. Solving for cc, we have:
c=±a2b2=±254=±21\begin{array}{l}c=\pm \sqrt{{a}^{2}-{b}^{2}}\hfill \\ =\pm \sqrt{25 - 4}\hfill \\ =\pm \sqrt{21}\hfill \end{array}
Therefore the coordinates of the foci are (±21,0)\left(\pm \sqrt{21},0\right). Next, we plot and label the center, vertices, co-vertices, and foci, and draw a smooth curve to form the ellipse.
Figure 9

Try It 4

Graph the ellipse given by the equation 49x2+16y2=78449{x}^{2}+16{y}^{2}=784. Rewrite the equation in standard form. Then identify and label the center, vertices, co-vertices, and foci. Solution

Graphing Ellipses Not Centered at the Origin

When an ellipse is not centered at the origin, we can still use the standard forms to find the key features of the graph. When the ellipse is centered at some point, (h,k)\left(h,k\right), we use the standard forms (xh)2a2+(yk)2b2=1, a>b\frac{{\left(x-h\right)}^{2}}{{a}^{2}}+\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1,\text{ }a>b for horizontal ellipses and (xh)2b2+(yk)2a2=1, a>b\frac{{\left(x-h\right)}^{2}}{{b}^{2}}+\frac{{\left(y-k\right)}^{2}}{{a}^{2}}=1,\text{ }a>b for vertical ellipses. From these standard equations, we can easily determine the center, vertices, co-vertices, foci, and positions of the major and minor axes.

How To: Given the standard form of an equation for an ellipse centered at (h,k)\left(h,k\right), sketch the graph.

  • Use the standard forms of the equations of an ellipse to determine the center, position of the major axis, vertices, co-vertices, and foci.
    • If the equation is in the form (xh)2a2+(yk)2b2=1\frac{{\left(x-h\right)}^{2}}{{a}^{2}}+\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1, where a>ba>b, then
      • the center is (h,k)\left(h,k\right)
      • the major axis is parallel to the x-axis
      • the coordinates of the vertices are (h±a,k)\left(h\pm a,k\right)
      • the coordinates of the co-vertices are (h,k±b)\left(h,k\pm b\right)
      • the coordinates of the foci are (h±c,k)\left(h\pm c,k\right)
    • If the equation is in the form (xh)2b2+(yk)2a2=1\frac{{\left(x-h\right)}^{2}}{{b}^{2}}+\frac{{\left(y-k\right)}^{2}}{{a}^{2}}=1, where a>ba>b, then
      • the center is (h,k)\left(h,k\right)
      • the major axis is parallel to the y-axis
      • the coordinates of the vertices are (h,k±a)\left(h,k\pm a\right)
      • the coordinates of the co-vertices are (h±b,k)\left(h\pm b,k\right)
      • the coordinates of the foci are (h,k±c)\left(h,k\pm c\right)
  • Solve for cc using the equation c2=a2b2{c}^{2}={a}^{2}-{b}^{2}.
  • Plot the center, vertices, co-vertices, and foci in the coordinate plane, and draw a smooth curve to form the ellipse.

Example 5: Graphing an Ellipse Centered at (h, k)

Graph the ellipse given by the equation, (x+2)24+(y5)29=1\frac{{\left(x+2\right)}^{2}}{4}+\frac{{\left(y - 5\right)}^{2}}{9}=1. Identify and label the center, vertices, co-vertices, and foci.

Solution

First, we determine the position of the major axis. Because 9>49>4, the major axis is parallel to the y-axis. Therefore, the equation is in the form (xh)2b2+(yk)2a2=1\frac{{\left(x-h\right)}^{2}}{{b}^{2}}+\frac{{\left(y-k\right)}^{2}}{{a}^{2}}=1, where b2=4{b}^{2}=4 and a2=9{a}^{2}=9. It follows that:
  • the center of the ellipse is (h,k)=(2,5)\left(h,k\right)=\left(-2,\text{5}\right)
  • the coordinates of the vertices are (h,k±a)=(2,5±9)=(2,5±3)\left(h,k\pm a\right)=\left(-2,5\pm \sqrt{9}\right)=\left(-2,5\pm 3\right), or (2,2)\left(-2,\text{2}\right) and (2,8)\left(-2,\text{8}\right)
  • the coordinates of the co-vertices are (h±b,k)=(2±4,5)=(2±2,5)\left(h\pm b,k\right)=\left(-2\pm \sqrt{4},5\right)=\left(-2\pm 2,5\right), or (4,5)\left(-4,5\right) and (0,5)\left(0,\text{5}\right)
  • the coordinates of the foci are (h,k±c)\left(h,k\pm c\right), where c2=a2b2{c}^{2}={a}^{2}-{b}^{2}. Solving for cc, we have:
c=±a2b2=±94=±5\begin{array}{l}\begin{array}{l}\\ c=\pm \sqrt{{a}^{2}-{b}^{2}}\end{array}\hfill \\ =\pm \sqrt{9 - 4}\hfill \\ =\pm \sqrt{5}\hfill \end{array}
Therefore, the coordinates of the foci are (2,55)\left(-2,\text{5}-\sqrt{5}\right) and (2,5+5)\left(-2,\text{5+}\sqrt{5}\right). Next, we plot and label the center, vertices, co-vertices, and foci, and draw a smooth curve to form the ellipse.
Figure 10

Try It 5

Graph the ellipse given by the equation (x4)236+(y2)220=1\frac{{\left(x - 4\right)}^{2}}{36}+\frac{{\left(y - 2\right)}^{2}}{20}=1. Identify and label the center, vertices, co-vertices, and foci. Solution

How To: Given the general form of an equation for an ellipse centered at (h, k), express the equation in standard form.

  • Recognize that an ellipse described by an equation in the form ax2+by2+cx+dy+e=0a{x}^{2}+b{y}^{2}+cx+dy+e=0 is in general form.
  • Rearrange the equation by grouping terms that contain the same variable. Move the constant term to the opposite side of the equation.
  • Factor out the coefficients of the x2{x}^{2} and y2{y}^{2} terms in preparation for completing the square.
  • Complete the square for each variable to rewrite the equation in the form of the sum of multiples of two binomials squared set equal to a constant, m1(xh)2+m2(yk)2=m3{m}_{1}{\left(x-h\right)}^{2}+{m}_{2}{\left(y-k\right)}^{2}={m}_{3}, where m1,m2{m}_{1},{m}_{2}, and m3{m}_{3} are constants.
  • Divide both sides of the equation by the constant term to express the equation in standard form.

Example 6: Graphing an Ellipse Centered at (h, k) by First Writing It in Standard Form

Graph the ellipse given by the equation 4x2+9y240x+36y+100=04{x}^{2}+9{y}^{2}-40x+36y+100=0. Identify and label the center, vertices, co-vertices, and foci.

Solution

We must begin by rewriting the equation in standard form.
4x2+9y240x+36y+100=04{x}^{2}+9{y}^{2}-40x+36y+100=0
Group terms that contain the same variable, and move the constant to the opposite side of the equation.
(4x240x)+(9y2+36y)=100\left(4{x}^{2}-40x\right)+\left(9{y}^{2}+36y\right)=-100
Factor out the coefficients of the squared terms.
4(x210x)+9(y2+4y)=1004\left({x}^{2}-10x\right)+9\left({y}^{2}+4y\right)=-100
Complete the square twice. Remember to balance the equation by adding the same constants to each side.
4(x210x+25)+9(y2+4y+4)=100+100+364\left({x}^{2}-10x+25\right)+9\left({y}^{2}+4y+4\right)=-100+100+36
Rewrite as perfect squares.
4(x5)2+9(y+2)2=364{\left(x - 5\right)}^{2}+9{\left(y+2\right)}^{2}=36
Divide both sides by the constant term to place the equation in standard form.
(x5)29+(y+2)24=1\frac{{\left(x - 5\right)}^{2}}{9}+\frac{{\left(y+2\right)}^{2}}{4}=1
Now that the equation is in standard form, we can determine the position of the major axis. Because 9>49>4, the major axis is parallel to the x-axis. Therefore, the equation is in the form (xh)2a2+(yk)2b2=1\frac{{\left(x-h\right)}^{2}}{{a}^{2}}+\frac{{\left(y-k\right)}^{2}}{{b}^{2}}=1, where a2=9{a}^{2}=9 and b2=4{b}^{2}=4. It follows that:
  • the center of the ellipse is (h,k)=(5,2)\left(h,k\right)=\left(5,-2\right)
  • the coordinates of the vertices are (h±a,k)=(5±9,2)=(5±3,2)\left(h\pm a,k\right)=\left(5\pm \sqrt{9},-2\right)=\left(5\pm 3,-2\right), or (2,2)\left(2,-2\right) and (8,2)\left(8,-2\right)
  • the coordinates of the co-vertices are (h,k±b)=(5,2±4)=(5,2±2)\left(h,k\pm b\right)=\left(\text{5},-2\pm \sqrt{4}\right)=\left(\text{5},-2\pm 2\right), or (5,4)\left(5,-4\right) and (5,0)\left(5,\text{0}\right)
  • the coordinates of the foci are (h±c,k)\left(h\pm c,k\right), where c2=a2b2{c}^{2}={a}^{2}-{b}^{2}. Solving for cc, we have:
c=±a2b2=±94=±5\begin{array}{l}c=\pm \sqrt{{a}^{2}-{b}^{2}}\hfill \\ =\pm \sqrt{9 - 4}\hfill \\ =\pm \sqrt{5}\hfill \end{array}
Therefore, the coordinates of the foci are (55,2)\left(\text{5}-\sqrt{5},-2\right) and (5+5,2)\left(\text{5+}\sqrt{5},-2\right). Next we plot and label the center, vertices, co-vertices, and foci, and draw a smooth curve to form the ellipse.
Figure 11

Try It 6

Express the equation of the ellipse given in standard form. Identify the center, vertices, co-vertices, and foci of the ellipse.
4x2+y224x+2y+21=04{x}^{2}+{y}^{2}-24x+2y+21=0
Solution

Licenses & Attributions