Parallel and perpendicular line parameters
Parallel and perpendicular line parameters
Parallel and perpendicular line parameters · k / status
- 282 bytes
- COMP mode
Worked examples
Example 1
Let k be real. On a map grid, a straight road follows 2x + (k + 1)y = 12 and a planned cycle path follows (k − 3)x + 3y = 5. The path must cross the road at right angles. Find k, and give the slopes of the road and the path.
Answer
Standard solution (without a calculator)
- Identify normals: the normal vectors are (2, k + 1) and (k − 3, 3). The fixed coefficients 2 and 3 are never 0, so both equations are lines for every k.
- Apply perpendicularity: perpendicular lines have perpendicular normals, so 2(k − 3) + 3(k + 1) = 0.
- Solve the linear equation: 2k − 6 + 3k + 3 = 0 gives 5k = 3 and k = 0.6.
- Verify with slopes: the road has slope −2/(k + 1) = −2/1.6 = −1.25 and the path has slope −(k − 3)/3 = 2.4/3 = 0.8; their product is −1.
- Conclude: k = 0.6 (= 3/5). The right-hand constants 12 and 5 do not affect the directions, so they are not entered.
Example 2
Let k be real, with L₁: 2x+(k+1)y=7 and L₂: (k+2)x+3y=4. (a) Find all exact values of k for which the lines are parallel. (b) Explain why none of these values makes either line invalid.
Answer
Standard solution (without a calculator)
- Apply the parallel condition: the determinant of the normal coefficients must vanish, so 2×3−(k+1)(k+2)=0.
- Expand: 6−(k²+3k+2)=0 rearranges to k²+3k−4=0.
- Factorize: (k+4)(k−1)=0 gives k=−4 or k=1; retain both values.
- Check each candidate: k=−4 gives coefficient pairs (2,−3), (−2,3); k=1 gives (2,2), (3,3). Each pair is proportional, but constants 7 and 4 do not have the same ratio, so both cases are distinct parallel lines.
- Check validity and conclude: L₁ always has x coefficient 2≠0, and L₂ always has y coefficient 3≠0, so both lines are valid for every k. All answers are k=−4 and k=1, with no approximation needed.
Example 3
Let k be real. In a design drawing, two straight guide rails lie along L₁: 3x + (2k − 1)y = k + 1 and L₂: 2x + 6y = 5. The rails must never meet. Find k and check that the rails do not lie on the same line.
Answer
Standard solution (without a calculator)
- Direction condition: lines that never meet are parallel, so 3×6 − (2k − 1)×2 = 0, i.e. 18 − 4k + 2 = 0.
- Solve for the candidate: 20 − 4k = 0 gives the only candidate k = 5.
- Substitute into both lines: L₁ becomes 3x + 9y = 6 and L₂ is 2x + 6y = 5. The left-side coefficients of L₂ are 2/3 of those of L₁.
- Exclude coincidence: multiplying L₁ by 2/3 gives 2x + 6y = 4, whose right side differs from 5. The rails are distinct parallel lines (both with slope −1/3), so they never meet.
- Conclude: k = 5. The first 5 shown in mode 3 is only a candidate; after entering g = M+1 = 6 and h = 5, the final 5 confirms that it passes the check.
When to use it
Use L₁: ax+(bk+c)y=g(k) and L₂: (dk+e)x+fy=h(k). Perpendicularity requires a(dk+e)+f(bk+c)=0; parallel directions require af−(bk+c)(dk+e)=0.
Select a mode and enter coefficients
- Enter M, A, B, C, D, X, Y in that order. M=1 finds perpendicular lines, M=2 parallel lines including coincidence, and M=3 parallel lines with no intersection. A, B, C, D, X, Y represent a, b, c, d, e, f respectively.
- Enter all seven values explicitly, including 0 coefficients. Modes 1 and 2 do not ask for g or h because direction depends only on the x and y coefficients.
Read roots and check no intersection
- With two roots, read the first and press EXE for the second. Mode 3 first displays a candidate k stored in M; press EXE, enter g(k) at B? and h(k) at C? (for example, type 5M for 5k). Only the final result completes the exclusion check.
- 1E99 means all real k qualify; −1E99 means no real k qualifies; 9E99 means invalid input or an unsupported mode-3 template. These markers are not parameter values.
Question types
- Original HKDSE Mathematics Compulsory Part practice: parameter conditions for perpendicular or parallel lines, and distinguishing distinct parallel lines from coincidence.
Before you start
- The fixed template requires a≠0 and f≠0 so both equations represent valid lines for every k; other coefficients may be 0. Violations return 9E99.
- Only modes 1, 2 and 3 are accepted. Re-enter all seven values on every run, including zeros. A blank EXE retains a stored value; it neither supplies 0 nor marks an unknown.
- Mode 3 supports only a parallel-condition equation with one linear root: bd=0 and be+cd≠0. Quadratics, identically parallel conditions and cases without a unique root return 9E99. Check mode-2 roots for coincidence separately.
- Modes 1 and 2 use 1E99 for all real values and −1E99 for no real roots; 9E99 means unsupported, rather than no solution. The first mode-3 k has not yet been checked for coincidence; finish both right-hand inputs.
- Use COMP / Deg / Norm 1; angle units do not affect this algebra. Use moderately sized integers and terminating decimals to reduce cancellation with huge, tiny or nearly repeated-root data. A floating-point zero alone does not prove exact coincidence.
- The program needs 282 bytes; P1–P4 share 680 bytes. Choose an empty slot and save important values. A, B, C, D, X, Y, M and Ans are used or overwritten, so the original coefficients are not all retained.
- When Disp is lit, EXE continues to another root or right-hand input. The final screen may show Lbl 8 above its value. Press AC after the final value; another EXE may restart.
Checking access…