Line Slope and Intercepts
Line Slope and Intercepts
Enter a, b, c in ax+by+c=0 to find slope and axis intercepts; special lines end with a status code.
- 125 bytes
- COMP mode
Worked examples
Example 1
A straight footpath boundary satisfies 3x+4y−24=0. At which point does it meet the x-axis?
Answer
C — (8,0)
Standard solution (without a calculator)
- Rewrite: a=3, b=4, c=−24; 4y=−3x+24 ⇒ y=−3x/4+6
- Calculate: Slope: m=−3/4=−0.75
- Substitute: y=0 ⇒ 3x−24=0 ⇒ x=8 ⇒ (8,0)
- Substitute: x=0 ⇒ 4y−24=0 ⇒ y=6 ⇒ (0,6)
- Therefore: Answer C; x-intercept: (8,0)
Example 2
A vertical map boundary is x=−5. How is it related to the y-axis?
Answer
C — Vertical line; y-axis: ∅
Standard solution (without a calculator)
- Rewrite: x=−5 ⇒ x+5=0; a=1, b=0, c=5
- Calculate: m=Δy/Δx; Δx=0 ⇒ Undefined
- Substitute: y=0 ⇒ (−5,0); x=0 ⇒ 0=−5 ⇒ No solution
- Therefore: Answer C; X=−5, D=1 (Vertical line)
Example 3
A horizontal conveyor centre line is 2y+10=0. Find (a) its slope and (b) its intersections with both axes, explaining any missing intersection.
Answer
(a) m=0; (b) y-axis: (0,−5); x-axis: ∅
Standard solution (without a calculator)
- Rewrite: 2y+10=0 ⇒ y=−5; a=0, b=2, c=10
- Calculate: (a) Slope: Δy=0 ⇒ m=0
- Substitute: (b) x=0 ⇒ (0,−5)
- Substitute: y=0 ⇒ 10=0 ⇒ No solution
- Therefore: M=0, Y=−5, D=2 (Horizontal line)
When to use it
Enter a, b, c in ax+by+c=0 to find slope and axis intercepts; special lines end with a status code.
Use it for
- Line Slope and Intercepts
You enter
- A=a → B=b → C=c; ax+by+c=0
- Use COMP / Deg / Norm 1. Enter every value anew; blank EXE keeps the stored value rather than entering zero.
It shows
- Slope → x-intercept → y-intercept
- D=1: Vertical line; Slope: Undefined; y-axis: ∅; D=2: Horizontal line; m=0; x-axis: ∅; D=3: x-axis; M=0, Y=0; Coincides with the x-axis; infinitely many common points; no unique x-intercept; D=4: y-axis; X=0; Slope: Undefined; Coincides with the y-axis; infinitely many common points; no unique y-intercept; D=5: a=b=0, c≠0; No solution; D=6: a=b=c=0; Whole plane
Check before starting
- ax+by+c=0; Status code: D=1…6; a=b=0 ⇒ Invalid line
- Finite precision can affect nearly parallel lines, very large values or tiny differences; extreme data may give Math ERROR. This is numerical calculation, not symbolic algebra.
- These are original DSE-style exercises.
Checking access…