Practice / Calculus

Conic sections: parabolas, ellipses and hyperbolas

Ten problems on conic sections: the focus and directrix of a parabola, the foci and eccentricity of an ellipse and the constant sum of distances, a hyperbola's foci, asymptotes and constant difference, completing the square to find the center, building equations from foci and asymptotes, classifying a conic with an xy term by its discriminant, rotating the axes to remove the xy term, a tangent line to an ellipse by implicit differentiation, a conic in polar form with its focus at the origin, and the area of an ellipse by integration, with worked solutions and the mistakes of using c² = a² + b² for an ellipse, taking the asymptote slope upside down, completing the square without the coefficient, reading a and b without the square roots and classifying by the signs of x² and y² alone.

Before you start

A parabola, an ellipse and a hyperbola are the curves a plane cuts from a cone, and they are also the curves of degree two: every equation Ax2+Bxy+Cy2+Dx+Ey+F=0Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0 is one of them, or a degenerate case. Each one has a definition by distances, with a focus and either a directrix or a second focus, and a standard form that shows its center, its axes and its foci at a glance. These ten problems go from the standard forms to the general equation: completing the square to find the center, the discriminant to classify a conic with an xyxy term, and a rotation to remove it. They end with the calculus of conics, a tangent line, the polar form that describes orbits, and the area of an ellipse.

  • Parabola. y2=4pxy^2 = 4px has its focus at (p,0)(p, 0) and directrix x=−px = -p; every point is as far from the focus as from the directrix. x2=4pyx^2 = 4py opens up or down, with focus (0,p)(0, p) and directrix y=−py = -p.
  • Ellipse. x2a2+y2b2=1\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1 with a>b>0a > b > 0 has vertices (±a,0)(\pm a, 0), foci (±c,0)(\pm c, 0) with c2=a2−b2c^2 = a^2 - b^2, and eccentricity e=c/a<1e = c/a < 1. The distances to the two foci add up to 2a2a.
  • Hyperbola. x2a2−y2b2=1\dfrac{x^2}{a^2} - \dfrac{y^2}{b^2} = 1 has vertices (±a,0)(\pm a, 0), foci (±c,0)(\pm c, 0) with c2=a2+b2c^2 = a^2 + b^2, asymptotes y=±baxy = \pm\tfrac{b}{a}x and eccentricity e=c/a>1e = c/a > 1. The distances to the foci differ by 2a2a. For y2a2−x2b2=1\dfrac{y^2}{a^2} - \dfrac{x^2}{b^2} = 1 the vertices are (0,±a)(0, \pm a) and the asymptotes y=±abxy = \pm\tfrac{a}{b}x.
  • Shifted center. Replace xx by x−hx - h and yy by y−ky - k to move the center to (h,k)(h, k). Complete the square to find hh and kk.
  • Classification. For Ax2+Bxy+Cy2+Dx+Ey+F=0Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0, the discriminant B2−4ACB^2 - 4AC is negative for an ellipse, zero for a parabola and positive for a hyperbola, unless the conic is degenerate. Rotating the axes by θ\theta with cot⁡2θ=(A−C)/B\cot 2\theta = (A - C)/B removes the xyxy term.
  • Polar form. With a focus at the origin and directrix x=dx = d, a conic is r=ed1+ecos⁡θr = \dfrac{ed}{1 + e\cos\theta}, where ee is its eccentricity.

Builds on: Parametric and polar curves: slopes, arc length and area, Implicit differentiation: differentiate both sides, then solve for dy/dx

Problems

  1. ·

    For the parabola y2=12xy^2 = 12x, find the focus, the directrix and the length of the chord through the focus perpendicular to the axis (the latus rectum). Check that (3,6)(3, 6) is the same distance from the focus as from the directrix.

  2. ·

    For the ellipse 9x2+25y2=2259x^2 + 25y^2 = 225, find aa, bb, cc, the vertices, the foci and the eccentricity. Check that the point (3,125)(3, \tfrac{12}{5}) has distances to the foci that add up to 2a2a.

  3. ··

    For the hyperbola 16x2−9y2=14416x^2 - 9y^2 = 144, find aa, bb, cc, the vertices, the foci, the asymptotes and the eccentricity.

  4. ··

    Put x2+4y2−6x+16y+21=0x^2 + 4y^2 - 6x + 16y + 21 = 0 in standard form. Find the center, the semi-axes and the foci.

  5. ··

    Find the equation of the ellipse with foci (±3,0)(\pm 3, 0) and major axis of length 1010. Then find the hyperbola with vertices (0,±2)(0, \pm 2) and asymptotes y=±12xy = \pm\tfrac12 x.

  6. ··

    Classify each conic: (a) x2+xy+y2=3x^2 + xy + y^2 = 3, (b) x2+4xy+y2=3x^2 + 4xy + y^2 = 3, (c) x2+2xy+y2+x=0x^2 + 2xy + y^2 + x = 0.

  7. ···

    Rotate the axes to remove the xyxy term from x2+xy+y2=3x^2 + xy + y^2 = 3. Find the semi-axes and the directions of the major and minor axes.

  8. ··

    Find the tangent line to x225+y216=1\dfrac{x^2}{25} + \dfrac{y^2}{16} = 1 at (3,165)(3, \tfrac{16}{5}), by implicit differentiation.

  9. ···

    Identify the conic r=62+cos⁡θr = \dfrac{6}{2 + \cos\theta}. Find its eccentricity, its directrix, its vertices and its equation in xx and yy.

  10. ···

    Find the area enclosed by the ellipse 9x2+25y2=2259x^2 + 25y^2 = 225 by integration, and check it against πab\pi ab.

Worked solutions

Problem 1

For the parabola y2=12xy^2 = 12x, find the focus, the directrix and the length of the chord through the focus perpendicular to the axis (the latus rectum). Check that (3,6)(3, 6) is the same distance from the focus as from the directrix.

  1. 4p=124p = 12, so p=3p = 3Match y2=4pxy^2 = 4px.
  2. Focus (3,0)(3, 0), directrix x=−3x = -3(p,0)(p, 0) and x=−px = -p.
  3. At x=3x = 3: y2=36y^2 = 36, so y=±6y = \pm 6The chord through the focus perpendicular to the xx-axis.
  4. (3,6)(3, 6): distance to the focus 66, to the directrix 3+3=63 + 3 = 6The focus is directly below the point; the directrix is a vertical line.
  5. Focus (3,0)(3, 0), directrix x=−3x = -3, latus rectum 12=4p12 = 4pThe defining property holds at every point of the curve, which is what makes a parabolic mirror send every ray parallel to the axis through the focus.

Problem 2

For the ellipse 9x2+25y2=2259x^2 + 25y^2 = 225, find aa, bb, cc, the vertices, the foci and the eccentricity. Check that the point (3,125)(3, \tfrac{12}{5}) has distances to the foci that add up to 2a2a.

  1. x225+y29=1\dfrac{x^2}{25} + \dfrac{y^2}{9} = 1Divide by 225225.
  2. a=5a = 5, b=3b = 3The square roots of the denominators; the larger goes with xx, so the major axis is horizontal.
  3. c=25−9=4c = \sqrt{25 - 9} = 4For an ellipse c2=a2−b2c^2 = a^2 - b^2.
  4. 72+2.42+12+2.42=7.4+2.6\sqrt{7^2 + 2.4^2} + \sqrt{1^2 + 2.4^2} = 7.4 + 2.6Distances from (3,2.4)(3, 2.4) to (−4,0)(-4, 0) and to (4,0)(4, 0).
  5. a=5a = 5, b=3b = 3, c=4c = 4; vertices (±5,0)(\pm 5, 0), foci (±4,0)(\pm 4, 0), e=0.8e = 0.8; the distances add up to 10=2a10 = 2aThe point is on the ellipse: 9⋅9+25⋅5.76=2259 \cdot 9 + 25 \cdot 5.76 = 225. Using c2=a2+b2c^2 = a^2 + b^2 instead puts the foci outside the ellipse (Mistake 1).

Problem 3

For the hyperbola 16x2−9y2=14416x^2 - 9y^2 = 144, find aa, bb, cc, the vertices, the foci, the asymptotes and the eccentricity.

  1. x29−y216=1\dfrac{x^2}{9} - \dfrac{y^2}{16} = 1Divide by 144144.
  2. a=3a = 3, b=4b = 4The square roots of 99 and 1616; the positive term is in xx, so it opens left and right.
  3. c=9+16=5c = \sqrt{9 + 16} = 5For a hyperbola c2=a2+b2c^2 = a^2 + b^2.
  4. Asymptotes y=±43xy = \pm\tfrac43 x±b/a\pm b/a: for large xx the 11 on the right is negligible, so 16x2≈9y216x^2 \approx 9y^2.
  5. Vertices (±3,0)(\pm 3, 0), foci (±5,0)(\pm 5, 0), asymptotes y=±43xy = \pm\tfrac43 x, e=53e = \tfrac53Check at (5,163)(5, \tfrac{16}{3}), which is on the curve: its distances to the foci are 343\tfrac{34}{3} and 163\tfrac{16}{3}, differing by 6=2a6 = 2a.

Problem 4

Put x2+4y2−6x+16y+21=0x^2 + 4y^2 - 6x + 16y + 21 = 0 in standard form. Find the center, the semi-axes and the foci.

  1. (x2−6x)+4(y2+4y)=−21(x^2 - 6x) + 4(y^2 + 4y) = -21Group the xx terms and the yy terms; factor the 44 out of the yy terms.
  2. (x−3)2−9+4((y+2)2−4)=−21(x - 3)^2 - 9 + 4\big((y + 2)^2 - 4\big) = -21Complete each square inside its own parentheses.
  3. (x−3)2+4(y+2)2=−21+9+16=4(x - 3)^2 + 4(y + 2)^2 = -21 + 9 + 16 = 4The −4-4 inside the parentheses is multiplied by 44, so 1616 moves to the right.
  4. (x−3)24+(y+2)21=1\dfrac{(x - 3)^2}{4} + \dfrac{(y + 2)^2}{1} = 1Divide by 44.
  5. Center (3,−2)(3, -2), a=2a = 2, b=1b = 1, c=3c = \sqrt3; foci (3±3,−2)(3 \pm \sqrt3, -2)A horizontal ellipse. Moving only 44 instead of 1616 to the right gives −8-8, an equation with no graph at all (Mistake 3).

Problem 5

Find the equation of the ellipse with foci (±3,0)(\pm 3, 0) and major axis of length 1010. Then find the hyperbola with vertices (0,±2)(0, \pm 2) and asymptotes y=±12xy = \pm\tfrac12 x.

  1. Ellipse: 2a=102a = 10, so a=5a = 5; c=3c = 3The major axis runs between the vertices.
  2. b2=a2−c2=25−9=16b^2 = a^2 - c^2 = 25 - 9 = 16From c2=a2−b2c^2 = a^2 - b^2.
  3. Hyperbola: vertices on the yy-axis, so y2a2−x2b2=1\dfrac{y^2}{a^2} - \dfrac{x^2}{b^2} = 1 with a=2a = 2The positive term goes with the axis the vertices are on.
  4. Asymptotes y=±abxy = \pm\tfrac{a}{b}x, so 2b=12\tfrac{2}{b} = \tfrac12 and b=4b = 4For a vertical hyperbola the slope is a/ba/b.
  5. Ellipse x225+y216=1\dfrac{x^2}{25} + \dfrac{y^2}{16} = 1; hyperbola y24−x216=1\dfrac{y^2}{4} - \dfrac{x^2}{16} = 1Check the asymptotes: for large ∣x∣\lvert x\rvert, y2≈4⋅x2/16y^2 \approx 4 \cdot x^2/16, so y≈±x/2y \approx \pm x/2. Taking the slope as b/ab/a gives b=1b = 1 and asymptotes y=±2xy = \pm 2x (Mistake 2).

Problem 6

Classify each conic: (a) x2+xy+y2=3x^2 + xy + y^2 = 3, (b) x2+4xy+y2=3x^2 + 4xy + y^2 = 3, (c) x2+2xy+y2+x=0x^2 + 2xy + y^2 + x = 0.

  1. (a) B2−4AC=1−4=−3<0B^2 - 4AC = 1 - 4 = -3 < 0A=1A = 1, B=1B = 1, C=1C = 1.
  2. (b) B2−4AC=16−4=12>0B^2 - 4AC = 16 - 4 = 12 > 0A=1A = 1, B=4B = 4, C=1C = 1.
  3. (c) B2−4AC=4−4=0B^2 - 4AC = 4 - 4 = 0A=1A = 1, B=2B = 2, C=1C = 1.
  4. (c) (x+y)2=−x(x + y)^2 = -xThe quadratic part is a perfect square, the mark of a parabola.
  5. (a) ellipse, (b) hyperbola, (c) parabolaIn (b) both squared terms are positive, but the xyxy term outweighs them: along y=−xy = -x the left side is −2x2-2x^2, which takes the curve's equation negative (Mistake 5).

Problem 7

Rotate the axes to remove the xyxy term from x2+xy+y2=3x^2 + xy + y^2 = 3. Find the semi-axes and the directions of the major and minor axes.

  1. cot⁡2θ=(A−C)/B=0\cot 2\theta = (A - C)/B = 0, so θ=45∘\theta = 45^\circA=CA = C.
  2. x=u−v2x = \tfrac{u - v}{\sqrt2}, y=u+v2y = \tfrac{u + v}{\sqrt2}The rotation by 45∘45^\circ.
  3. x2+y2=u2+v2x^2 + y^2 = u^2 + v^2 and xy=12(u2−v2)xy = \tfrac12(u^2 - v^2)Expand both; the uvuv terms cancel.
  4. 32u2+12v2=3\tfrac32 u^2 + \tfrac12 v^2 = 3, that is u22+v26=1\dfrac{u^2}{2} + \dfrac{v^2}{6} = 1Substitute and divide by 33.
  5. Semi-axes 6\sqrt6 along y=−xy = -x (the vv direction) and 2\sqrt2 along y=xy = xCheck: on y=−xy = -x, x2=3x^2 = 3, so x=3x = \sqrt3 and the distance is 6\sqrt6; on y=xy = x, 3x2=33x^2 = 3 and the distance is 2\sqrt2. The coefficients 32\tfrac32 and 12\tfrac12 are the eigenvalues of [11/21/21]\begin{bmatrix} 1 & 1/2 \\ 1/2 & 1 \end{bmatrix}.

Problem 8

Find the tangent line to x225+y216=1\dfrac{x^2}{25} + \dfrac{y^2}{16} = 1 at (3,165)(3, \tfrac{16}{5}), by implicit differentiation.

  1. 2x25+2y16 y′=0\tfrac{2x}{25} + \tfrac{2y}{16}\,y' = 0Differentiate both sides in xx; yy is a function of xx.
  2. y′=−16x25yy' = -\dfrac{16x}{25y}Solve for y′y'.
  3. At (3,165)(3, \tfrac{16}{5}): y′=−4880=−35y' = -\dfrac{48}{80} = -\tfrac3525⋅165=8025 \cdot \tfrac{16}{5} = 80.
  4. y−165=−35(x−3)y - \tfrac{16}{5} = -\tfrac35(x - 3)Point-slope form.
  5. y=5−35xy = 5 - \tfrac35 x, the same as 3x25+y5=1\tfrac{3x}{25} + \tfrac{y}{5} = 1The general tangent to an ellipse at (x0,y0)(x_0, y_0) is xx0a2+yy0b2=1\tfrac{x x_0}{a^2} + \tfrac{y y_0}{b^2} = 1.

Problem 9

Identify the conic r=62+cos⁡θr = \dfrac{6}{2 + \cos\theta}. Find its eccentricity, its directrix, its vertices and its equation in xx and yy.

  1. r=31+12cos⁡θr = \dfrac{3}{1 + \tfrac12\cos\theta}Divide the top and bottom by 22 to get the form ed/(1+ecos⁡θ)ed/(1 + e\cos\theta).
  2. e=12e = \tfrac12, so an ellipse; ed=3ed = 3 gives d=6d = 6Directrix x=6x = 6.
  3. r(0)=2r(0) = 2 and r(π)=6r(\pi) = 6The vertices are (2,0)(2, 0) and (−6,0)(-6, 0).
  4. 2a=82a = 8, center (−2,0)(-2, 0), c=2c = 2, b2=16−4=12b^2 = 16 - 4 = 12The center is halfway between the vertices, and the focus at the origin is c=2c = 2 from it.
  5. An ellipse with e=12e = \tfrac12, directrix x=6x = 6: (x+2)216+y212=1\dfrac{(x + 2)^2}{16} + \dfrac{y^2}{12} = 1Check: c/a=2/4=ec/a = 2/4 = e. This is the shape of a planet's orbit, with the sun at the focus at the origin.

Problem 10

Find the area enclosed by the ellipse 9x2+25y2=2259x^2 + 25y^2 = 225 by integration, and check it against πab\pi ab.

  1. Upper half: y=31−x2/25y = 3\sqrt{1 - x^2/25}Solve x225+y29=1\tfrac{x^2}{25} + \tfrac{y^2}{9} = 1 for y≥0y \ge 0.
  2. Area =4∫0531−x2/25 dx= 4\int_0^5 3\sqrt{1 - x^2/25}\,dxFour equal quarters, by symmetry.
  3. x=5sin⁡tx = 5\sin t, dx=5cos⁡t dtdx = 5\cos t\,dtTrig substitution; tt runs from 00 to π2\tfrac{\pi}{2}.
  4. =60∫0π/2cos⁡2t dt=60⋅π4= 60\int_0^{\pi/2}\cos^2 t\,dt = 60 \cdot \tfrac{\pi}{4}1−sin⁡2t=cos⁡t\sqrt{1 - \sin^2 t} = \cos t on this interval.
  5. Area =15π≈47.12=π⋅5⋅3= 15\pi \approx 47.12 = \pi \cdot 5 \cdot 3In general the ellipse is the unit circle stretched by aa in xx and bb in yy, which multiplies its area π\pi by abab.

Where this goes wrong

1. Using c² = a² + b² for an ellipse

Ellipses and hyperbolas both have aa, bb and cc, and the hyperbola's rule is the one that looks like Pythagoras.

  1. x225+y29=1\dfrac{x^2}{25} + \dfrac{y^2}{9} = 1, a=5a = 5, b=3b = 3Right so far: Problem 2.
  2. “c2=a2+b2c^2 = a^2 + b^2, like a right triangle.”For an ellipse the right triangle has aa as its hypotenuse: from a focus to the end of the minor axis is aa, with legs bb and cc.
  3. c=34≈5.83c = \sqrt{34} \approx 5.83, foci (±5.83,0)(\pm 5.83, 0)That is past the vertices at ±5\pm 5, outside the ellipse. The foci are inside: c=25−9=4c = \sqrt{25 - 9} = 4.

2. Taking the asymptote slope upside down

The rule y=±baxy = \pm\tfrac{b}{a}x is remembered without the hyperbola it was stated for.

  1. y24−x2b2=1\dfrac{y^2}{4} - \dfrac{x^2}{b^2} = 1, vertices (0,±2)(0, \pm 2), asymptotes y=±12xy = \pm\tfrac12 xRight so far: Problem 5.
  2. “The slope of the asymptotes is b/ab/a.”That is for x2/a2−y2/b2=1x^2/a^2 - y^2/b^2 = 1. For a hyperbola opening up and down, setting the right side to 00 gives y=±abxy = \pm\tfrac{a}{b}x.
  3. b2=12\tfrac{b}{2} = \tfrac12, so b=1b = 1 and the hyperbola is y24−x2=1\dfrac{y^2}{4} - x^2 = 1Its asymptotes are y=±2xy = \pm 2x, four times too steep. The right answer is b=4b = 4. Check any answer by setting the 11 to 00 and solving for yy.

3. Completing the square without the coefficient

The coefficient 44 is factored out of the yy terms in Problem 4, and the number that completes the square is added inside the parentheses.

  1. (x−3)2−9+4(y2+4y+4−4)=−21(x - 3)^2 - 9 + 4(y^2 + 4y + 4 - 4) = -21Right so far: adding and subtracting 44 inside changes nothing.
  2. “Move the 99 and the 44 to the right side.”The −4-4 is inside parentheses that are multiplied by 44, so it is really −16-16.
  3. (x−3)2+4(y+2)2=−21+9+4=−8(x - 3)^2 + 4(y + 2)^2 = -21 + 9 + 4 = -8A sum of squares cannot be negative, so this says the equation has no graph. The right side is −21+9+16=4-21 + 9 + 16 = 4, an ellipse.

4. Reading a and b without the square roots

In Problem 3, the denominators 99 and 1616 are the numbers on the page.

  1. x29−y216=1\dfrac{x^2}{9} - \dfrac{y^2}{16} = 1Right so far.
  2. “a=9a = 9 and b=16b = 16.”The denominators are a2a^2 and b2b^2. Setting y=0y = 0 gives x2=9x^2 = 9, not x=9x = 9.
  3. Vertices (±9,0)(\pm 9, 0), asymptotes y=±169xy = \pm\tfrac{16}{9}xThe vertices are (±3,0)(\pm 3, 0) and the asymptotes y=±43xy = \pm\tfrac43 x. Plug a vertex back in: 81/9=981/9 = 9, not 11.

5. Classifying by the signs of x² and y² alone

Without an xyxy term, both squares positive means an ellipse, and the rule is applied to Problem 6(b).

  1. x2+4xy+y2=3x^2 + 4xy + y^2 = 3, with A=1A = 1 and C=1C = 1Right so far.
  2. “Both squared terms are positive, so it is an ellipse.”The sign rule is the discriminant test with B=0B = 0. With an xyxy term, B2−4AC=16−4=12>0B^2 - 4AC = 16 - 4 = 12 > 0.
  3. An ellipseA hyperbola: rotating by 45∘45^\circ gives 3u2−v2=33u^2 - v^2 = 3. An ellipse would be bounded, but the points (t,t(3−2))(t, t(\sqrt3 - 2)) satisfy x2+4xy+y2=0x^2 + 4xy + y^2 = 0 for every tt, and the curve runs alongside them to infinity.

Print this set: conic-sections.pdf (problems, answers, and worked solutions on separate pages).