Skip to content

Mathematics · Ch 4 — Pair of Straight Lines

Combined equation of a pair of lines

4.1

Combined equation of a pair of lines

We already know that an equation of the form ax+by+c=0ax + by + c = 0 (with a,b,c∈Ra, b, c \in \mathbb{R} and a,ba, b not both zero) describes a single straight line in the XYXY-plane. This section asks what happens when we want a single equation to describe two lines at once.

Let u≡a1x+b1y+c1u \equiv a_1x + b_1y + c_1 and v≡a2x+b2y+c2v \equiv a_2x + b_2y + c_2, so that u=0u = 0 and v=0v = 0 are two given lines. An equation that represents both of these lines together is called the combined equation (also called the joint equation) of the pair. The claim is that the product uv=0uv = 0 is exactly this combined equation.

Theorem 4.1. The equation uv=0uv = 0 represents the combined equation of the lines u=0u = 0 and v=0v = 0.

Proof. We must show two things: every point on either line satisfies uv=0uv = 0, and every point satisfying uv=0uv = 0 lies on one of the two lines.

First, take any point P(x1,y1)P(x_1, y_1) on the line u=0u = 0, so a1x1+b1y1+c1=0a_1x_1 + b_1y_1 + c_1 = 0. Then the product (a1x1+b1y1+c1)(a2x1+b2y1+c2)(a_1x_1+b_1y_1+c_1)(a_2x_1+b_2y_1+c_2) has a first factor equal to 00, so the whole product is 00 regardless of the second factor. Hence PP satisfies uv=0uv = 0. The same argument with the roles of uu and vv swapped shows every point of v=0v = 0 also satisfies uv=0uv = 0.

Conversely, take any point R(x′,y′)R(x', y') that satisfies uv=0uv = 0, i.e. (a1x′+b1y′+c1)(a2x′+b2y′+c2)=0(a_1x'+b_1y'+c_1)(a_2x'+b_2y'+c_2) = 0. A product of two real numbers is zero only if at least one factor is zero, so either a1x′+b1y′+c1=0a_1x'+b_1y'+c_1 = 0 (meaning RR lies on u=0u = 0) or a2x′+b2y′+c2=0a_2x'+b_2y'+c_2 = 0 (meaning RR lies on v=0v = 0).

Since the solution set of uv=0uv = 0 is exactly the union of the two lines, uv=0uv = 0 is their combined equation. ■\blacksquare

Remarks. (1) The combined equation of a pair of lines is also called the joint equation. (2) The individual equations u=0u = 0 and v=0v = 0 are called the separate equations of the two lines that make up uv=0uv = 0.

Worked Examples

Example 1. Find the combined equation of the lines x+y−2=0x + y - 2 = 0 and 2x−y+2=02x - y + 2 = 0.

Multiply the two expressions: (x+y−2)(2x−y+2)=0(x+y-2)(2x-y+2) = 0. Expanding term by term, x(2x−y+2)+y(2x−y+2)−2(2x−y+2)=2x2−xy+2x+2xy−y2+2y−4x+2y−4x(2x-y+2) + y(2x-y+2) - 2(2x-y+2) = 2x^2 - xy + 2x + 2xy - y^2 + 2y - 4x + 2y - 4. Collecting like terms gives the combined equation 2x2+xy−y2−2x+4y−4=02x^2 + xy - y^2 - 2x + 4y - 4 = 0.

Example 2. Find the combined equation of the lines x−2=0x - 2 = 0 and y+2=0y + 2 = 0.

(x−2)(y+2)=0(x-2)(y+2) = 0 expands to xy+2x−2y−4=0xy + 2x - 2y - 4 = 0, which is the required combined equation.

Example 3. Find the combined equation of the lines x−2y=0x - 2y = 0 and x+y=0x + y = 0.

(x−2y)(x+y)=0(x-2y)(x+y) = 0 expands to x2+xy−2xy−2y2=x2−xy−2y2=0x^2 + xy - 2xy - 2y^2 = x^2 - xy - 2y^2 = 0, the required combined equation.

Example 4. Find the separate equations of the lines represented by x2−y2+x+y=0x^2 - y^2 + x + y = 0.

Group the difference of squares and the linear terms: x2−y2+x+y=(x+y)(x−y)+(x+y)=(x+y)[(x−y)+1]=(x+y)(x−y+1)x^2 - y^2 + x + y = (x+y)(x-y) + (x+y) = (x+y)\big[(x-y) + 1\big] = (x+y)(x-y+1). Setting this product to zero, the separate equations are x+y=0x + y = 0 and x−y+1=0x - y + 1 = 0.