- Practice
- About 17 min
- 5 practice questions
Equations reducible to homogeneous: lines that meet and lines that are parallel
Solve dy/dx = (a₁x + b₁y + c₁)/(a₂x + b₂y + c₂) by shifting the origin to the intersection of the two lines, or by the substitution v = a₁x + b₁y when the lines are parallel.
If something looks wrong, please tell us.
The equation dy/dx = (x + y − 3)/(x − y − 1) looks like a homogeneous equation, but the constants −3 and −1 spoil it. The cure depends on whether the lines in the numerator and denominator meet or are parallel. If they meet, shift the origin to that point. If they are parallel, a single substitution makes the equation separable.
Two cases
| Case | Test | Method |
|---|---|---|
| The lines a₁x + b₁y + c₁ = 0 and a₂x + b₂y + c₂ = 0 meet | a₁b₂ − a₂b₁ ≠ 0 | put x = X + h, y = Y + k, where (h, k) is the intersection point; the equation becomes homogeneous in X, Y; then put Y = vX |
| The lines are parallel | a₁b₂ − a₂b₁ = 0 | put v = a₁x + b₁y; the right side becomes a function of v; separate |
Find where the two lines meet. If they do, shift the origin there (x = X + h, y = Y + k): then dy/dx = dY/dX and the constants vanish. If they are parallel, put v = a₁x + b₁y.
Worked example 1: lines that meet
Solve dy/dx = (x + y − 3)/(x − y − 1). The lines x + y = 3 and x − y = 1 meet where x = 2 and y = 1 (adding gives 2x = 4). Put x = X + 2 and y = Y + 1. Then dY/dX = (X + Y)/(X − Y). Let Y = vX, so v + X dv/dX = (1 + v)/(1 − v). Then X dv/dX = (1 + v)/(1 − v) − v = (1 + v²)/(1 − v). Separating, (1 − v)/(1 + v²) dv = dX/X. Integrating, tan⁻¹ v − (1/2) ln(1 + v²) = ln|X| + c. Since (1/2) ln(1 + v²) + ln|X| = (1/2) ln(X² + Y²), this gives tan⁻¹[(y − 1)/(x − 2)] = (1/2) ln[(x − 2)² + (y − 1)²] + C.
Worked example 2: parallel lines
Solve dy/dx = (x + 2y + 1)/(2x + 4y + 3). The lines x + 2y + 1 = 0 and 2x + 4y + 3 = 0 are parallel, because 1 × 4 − 2 × 2 = 0. Put v = x + 2y. Then dv/dx = 1 + 2 dy/dx = 1 + 2(v + 1)/(2v + 3) = (4v + 5)/(2v + 3). Separating, (2v + 3)/(4v + 5) dv = dx. Write (2v + 3)/(4v + 5) = 1/2 + (1/2)/(4v + 5). Integrating, v/2 + (1/8) ln|4v + 5| = x + c. Multiply by 8 and put v = x + 2y: 4x + 8y + ln|4x + 8y + 5| = 8x + c′, that is 8y − 4x + ln|4x + 8y + 5| = C.
Worked example 3: another shift of origin
Solve dy/dx = (x − y + 1)/(x + y − 1). The lines x − y + 1 = 0 and x + y − 1 = 0 meet where adding gives 2x = 0: x = 0 and y = 1. Put x = X and y = Y + 1. Then dY/dX = (X − Y)/(X + Y). With Y = vX, X dv/dX = (1 − v)/(1 + v) − v = (1 − 2v − v²)/(1 + v). Separating, (1 + v)/(1 − 2v − v²) dv = dX/X. The numerator is −1/2 times the derivative of the denominator, so −(1/2) ln|1 − 2v − v²| = ln|X| + c, so X²(1 − 2v − v²) = C. This is X² − 2XY − Y² = C, and with X = x and Y = y − 1: x² − 2x(y − 1) − (y − 1)² = C, that is x² − 2xy − y² + 2x + 2y = C′.
Spotting the case quickly
Compute a₁b₂ − a₂b₁. For (x + y − 3)/(x − y − 1) it is 1(−1) − 1(1) = −2, not zero: the lines meet. For (2x + 4y + 1)/(x + 2y + 3) it is 2 × 2 − 1 × 4 = 0: the lines are parallel, so use v = x + 2y.
Traps
- Shifting the origin changes the constants only; dy/dx = dY/dX because h and k are constants.
- The substitution Y = vX applies after the shift, not before it.
- At the end return to x and y: replace X by x − h and Y by y − k.
Key takeaways: compute a₁b₂ − a₂b₁. Non-zero means shift the origin to the intersection and use Y = vX; zero means use v = a₁x + b₁y. Check the final relation by implicit differentiation.
Check your understanding
-
1. To solve dy/dx = (x + y − 3)/(x − y − 1), the origin should be shifted to:
- (1, 2)
- (3, 0)
- (2, 1)
- (1, −1)
Show answer
Answer: C. The lines x + y − 3 = 0 and x − y − 1 = 0 meet where x + y = 3 and x − y = 1, so x = 2 and y = 1.
-
2. Which substitution solves dy/dx = (2x + 4y + 1)/(x + 2y + 3)?
- v = x + 2y
- x = X + h, y = Y + k
- y = vx
- v = y/x
Show answer
Answer: A. The lines 2x + 4y + 1 = 0 and x + 2y + 3 = 0 are parallel (2 × 2 − 1 × 4 = 0), so there is no point to shift to. Putting v = x + 2y makes the right side a function of v.
-
3. For dy/dx = (x − y + 1)/(x + y − 1), the point to which the origin is shifted is:
- (1, 0)
- (0, −1)
- (1, 1)
- (0, 1)
Show answer
Answer: D. Solving x − y + 1 = 0 and x + y − 1 = 0 gives x = 0 and y = 1. Then x = X and y = Y + 1.
-
4. The solution of dy/dx = (x − y + 1)/(x + y − 1) is:
- x² + 2xy − y² + 2x + 2y = C
- x² − 2xy − y² + 2x + 2y = C
- x² − 2xy − y² − 2x − 2y = C
- x² − 2xy + y² + 2x + 2y = C
Show answer
Answer: B. After the shift, X² − 2XY − Y² = C with X = x, Y = y − 1. Expanding, x² − 2x(y − 1) − (y − 1)² = x² − 2xy − y² + 2x + 2y − 1.
-
5. In which of these equations do the numerator and denominator lines meet in a point?
- dy/dx = (2x + y − 1)/(x + 3y + 2)
- dy/dx = (2x + 4y + 1)/(x + 2y + 3)
- dy/dx = (3x + 6y)/(x + 2y + 5)
- dy/dx = (x + 2y + 1)/(2x + 4y + 3)
Show answer
Answer: A. For (2x + y − 1)/(x + 3y + 2), a₁b₂ − a₂b₁ = 2 × 3 − 1 × 1 = 5 ≠ 0, so the lines meet. In each of the other three the coefficient pairs are proportional (determinant 0), so the lines are parallel.
Sign in to keep track of the lessons you finish.