Quick answer: The homogeneous equation represents two lines through the origin, real and distinct when . If their slopes are and , then and . The angle between them satisfies , so they are perpendicular when and coincident when .
This builds on the angle between two lines.
Homogeneous second-degree equation
Each term in has degree 2. Dividing by and putting gives
whose roots are the two slopes.
| Condition | Lines are |
|---|---|
| Real and distinct | |
| Coincident | |
| Imaginary (only the origin is real) |
Slopes, angle and special cases
| Quantity | Result |
|---|---|
| Sum of slopes | |
| Product of slopes | |
| Angle | |
| Perpendicular | |
| Coincident | |
| Angle bisectors |
Forming the joint equation
If two lines through the origin are and , their joint equation is
More generally, the product of two linear equations represents both lines.
General second-degree equation
The equation
represents a pair of straight lines if
This is the determinant condition
The lines are parallel to the pair , so the angle formula and the perpendicular condition still apply.
Point of intersection
Solve and (the partial derivatives with respect to x and y set to zero).
Worked examples
Example 1: slopes and angle
For , find the slopes and the angle between the lines.
Step 1: , , . Factor: .
Step 2: Slopes are and .
Step 3:
Check with the formula: ✓.
Example 2: perpendicular condition
For what k are the lines perpendicular?
gives , so .
Example 3: joint equation
Find the joint equation of and .
Expanding gives , that is, .
Check: , which equals ✓.
Example 4: general equation test
Does represent a pair of lines?
Step 1: , , , , , .
Step 2: ✓.
Indeed gives , two perpendicular lines since .
Summary table
| Result | Formula |
|---|---|
| Slope sum | |
| Slope product | |
| Angle | |
| Perpendicular | |
| Pair condition |
Exam tips
- Remember that the coefficient of is , not .
- (coefficients of and add to zero) is the fastest perpendicularity check.
- If an equation factors easily, factor it; it is faster than the formulas.
Next, see equation of a circle, or browse the NIMCET Coordinate Geometry and Vectors chapter.
Common mistakes
- Taking h as the full coefficient of xy.
- Using without the minus sign.
- Forgetting that the general equation also needs for real lines.
- Expanding a joint equation with sign errors.
Frequently Asked Questions
What does ax² + 2hxy + by² = 0 represent?
It represents a pair of straight lines through the origin, real and distinct when h² > ab.
What is the angle between the pair of lines ax² + 2hxy + by² = 0?
tan θ = |2√(h² − ab)/(a + b)|.
When are the lines of a pair perpendicular?
When a + b = 0, that is, when the coefficients of x² and y² add up to zero.
What is the condition for a general second-degree equation to represent two lines?
abc + 2fgh − af² − bg² − ch² = 0.
What are the sum and product of slopes for ax² + 2hxy + by² = 0?
The sum is −2h/b and the product is a/b.