← Return to Master Citadel

Laser Grid: Linear Interceptor

Calibrate the slope \(m\) and \(y\)-intercept \(b\) to align your laser beam through both coordinate crystals.

DIFFICULTY:
Beam Equation y = 1x + 0
Cartesian Domain -10 ≤ x, y ≤ 10
Adjust sliders to align laser through the crystals.
Step-by-step lesson

Coordinate Geometry: Mastering Linear Equations, Slopes, and Ray Trajectories

Slope-Intercept Formula
y = m \cdot x + b \quad \text{where} \quad m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1}
  • The Slope (\(m\)): Measures the rate of change or inclination of the line. For every 1 unit you move to the right along the x-axis, the line changes vertically by \(m\) units. A positive slope climbs uphill to the right; a negative slope descends downhill; a slope of zero represents a perfectly horizontal line (\(y = b\)).
  • The Y-Intercept (\(b\)): Pinpoints exactly where the line crosses the vertical y-axis (the coordinate \((0, b)\)). In our laser simulation, adjusting \(b\) translates the laser beam up or down without changing its angle.
  • Parallel Lines (\(m_1 = m_2\)): Lines with identical slopes never intersect on a flat plane. For example, \(y = 3x + 2\) and \(y = 3x - 5\) maintain a constant perpendicular distance indefinitely.
  • Perpendicular Lines (\(m_1 \cdot m_2 = -1\)): Lines that intersect at exact \(90^\circ\) right angles have slopes that are negative reciprocals of one another:
    If a line has slope \(m_1 = \frac{2}{3}\), the perpendicular line has slope \(m_2 = -\frac{3}{2}\).
    Why? Rotating a "rise-over-run" right triangle by \(90^\circ\) swaps the horizontal run and vertical rise while flipping the direction of one axis!
Optical Reflection Law in Coordinates
\theta_{\text{incident}} = \theta_{\text{reflected}} \iff \vec{R} = \vec{D} - 2(\vec{D} \cdot \vec{N})\vec{N}

Worked Example 1: Finding an Equation from Two Points

Target crystals are located at coordinates \(A(1, 3)\) and \(B(4, 9)\). What slope and intercept must you set on the laser console to align the beam through both targets?

  1. Calculate Slope (\(m\)):
    \(m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{9 - 3}{4 - 1} = \frac{6}{3} = \mathbf{2}\).
  2. Solve for Y-Intercept (\(b\)):
    Substitute point \(A(1, 3)\) and slope \(m = 2\) into \(y = mx + b\):
    \(3 = 2(1) + b \implies 3 = 2 + b \implies \mathbf{b = 1}\).
  3. Formulate Final Equation: \(y = 2x + 1\).
  4. Verify with Point B: Substitute \(x = 4\): \(y = 2(4) + 1 = 8 + 1 = 9\). Both crystals are struck cleanly!

Try it yourself: Two Coordinate Challenges

Challenge 1: Find the equation of the line that passes through \((0, -4)\) with a slope of \(-\frac{1}{2}\). Where does it intersect the x-axis?

Show answer and explanation

Since the point has \(x = 0\), the y-intercept is directly \(b = -4\). The equation is \(y = -\frac{1}{2}x - 4\). To find the x-intercept, set \(y = 0\): \(0 = -\frac{1}{2}x - 4 \implies \frac{1}{2}x = -4 \implies \mathbf{x = -8}\). The line crosses the x-axis at \((-8, 0)\).

Challenge 2: What is the slope of a line perpendicular to \(y = 4x - 7\)?

Show answer and explanation

The given line has slope \(m_1 = 4\) (or \(\frac{4}{1}\)). The perpendicular slope must be the negative reciprocal: \(m_2 = \mathbf{-\frac{1}{4}}\) (or \(-0.25\)). Their product is \(4 \times \left(-\frac{1}{4}\right) = -1\).

Try the next activity: Slope Runner →

Sources and further reading