about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
decide the type of a second-degree curve from its coefficients;
reduce an ellipse or a hyperbola to standard form, and a parabola too;
recognise a pair of lines and find the angle between them.
Which curve is it?
You are given 5x2+4xy+2y2−18x−12y+15=0. Is it an ellipse? A hyperbola? Two lines? Two numbers decide.
The two tests
For the curve S=0 with S=ax2+2hxy+by2+2gx+2fy+c, form the determinant
Δ=ahghbfgfc.
Expanded, it is
Δ=abc+2fgh
−af2−bg2−ch2.
Δ=0: a pair of straight lines. They may cross, be parallel or be the same line, or have no real points.
Δ=0 and h2<ab: an ellipse. It is a circle when a=b and h=0. It may have no real points.
Δ=0 and h2=ab: a parabola.
Δ=0 and h2>ab: a hyperbola. It is a rectangular hyperbola when a+b=0.
Why h2−ab? Turn the axes to remove the term in xy. Then a′b′=ab−h2. If a′ and b′ have the same sign, the curve closes up: an ellipse. Opposite signs give a hyperbola. If one of them is 0, the curve is a parabola.
A blue ellipse whose axes are slanted. Its centre is at (1, 2). Its own major and minor axes are drawn as red and green dashed lines through the centre, turned from the grid directions. The caption gives the equation 5x squared + 4xy + 2y squared - 18x - 12y + 15 = 0 and, in the turned axes, 6X squared + Y squared = 6.
Reducing an ellipse or a hyperbola
Shift to the centre. Solve aα+hβ+g=0 and hα+bβ+f=0, and find c′=gα+fβ+c.
Turn the axes. Use tan2θ=a−b2h and the invariants to find a′ and b′.
Write the standard form.a′X2+b′Y2+c′=0.
Worked example. Reduce 5x2+4xy+2y2−18x−12y+15=0. Here a=5, h=2, b=2, g=−9, f=−6, c=15.
The type.h2−ab=4−10<0, so it is an ellipse if Δ=0.
The centre.5α+2β=9 and 2α+2β=6 give α=1, β=2.
The constant.c′=(−9)(1)+(−6)(2)+15=−6. So 5X2+4XY+2Y2=6.
Turn the axes. This is the curve of the last lesson: it becomes 6X′2+Y′2=6.
Read it. An ellipse with centre (1,2), semi-axes 1 and 6, and area π6.
Reducing a parabola
For a parabola h2=ab, so the terms of the second degree form a perfect square. Turn the axes first, so that this square becomes a single square. Then complete the square.
Worked example.x2−2xy+y2−8x−8y=0. Here x2−2xy+y2=(x−y)2.
Turn through 45∘. Then x−y=−2Y and x+y=2X.
Substitute.2Y2−82X=0, that is Y2=42X.
Read it. A parabola with its vertex at the origin and its axis along the line y=x. Its latus rectum is 42.
A pair of lines
Worked example.2x2+xy−y2+5x+2y+3=0. With a=2, h=21, b=−1, g=25, f=1, c=3, the determinant is Δ=−6+2.5−2+6.25−0.75=0. So the curve is a pair of lines: (2x−y+3)(x+y+1)=0.
The angle between the lines of ax2+2hxy+by2+⋯=0 is given by
tanφ=∣a+b∣2h2−ab.
Here tanφ=120.25+2=3. The lines are perpendicular when a+b=0.
Practise with new numbers
Try it in Python
The program names a second-degree curve from its six coefficients, with exact fractions. It works through a list of examples.
Common mistakes
Forgetting Δ.h2<ab alone does not make an ellipse: a pair of lines can also have h2≤ab.
Using the whole coefficient of xy as h. The coefficient is 2h.
Reducing a parabola in the wrong order. It has no centre, so turn first.
An empty curve.x2+y2+1=0 passes the ellipse test but has no real points.
Remember these
Δ=abc+2fgh−af2−bg2−ch2; Δ=0 means a pair of lines.
h2<ab ellipse, h2=ab parabola, h2>ab hyperbola.
Central conic: shift, then turn. Parabola: turn, then complete the square.
Pair of lines: tanφ=∣a+b∣2h2−ab.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Name the curve x2+6xy+9y2+4x=0.
Name the curve 3x2−5xy−2y2=0.
What does a+b=0 tell you about a hyperbola ax2+2hxy+by2+⋯=0?
Find the centre of x2−3xy+y2+10x−10y+21=0.
A student says that x2+y2+2x+4y+9=0 is a circle. Check it.
References
S. L. Loney, The Elements of Coordinate Geometry, Part I, the chapter on the general equation of the second degree.
Enroll free in Translation and Rotation of Axes
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.