Exploring the Equation of a Line y = m x + b

Exploring the Equation of a Line y = m x + b
Loading the math board and drawing, please wait…
2020-05-25 17:49
This example demonstrates the relationship between the properties of a straight line graph and the equation of the line in the form y = m x + b. It involves core math concepts like slope, y-intercept, and coordinate geometry. Key GeoGebra commands used include Line, Intersect, Slope, If, and GCD. Suitable for high school students learning about linear functions and equations.

GeoGebra Commands & Parameters

  1. Line(B, P) → f
  2. Intersect(f, yAxis) → C
  3. Slope(f) → m
  4. If(Defined[Line[B, P]], true, false) → lineexists
  5. If(x(P) < x(B), Vector[P, N], Vector[N, P]) → v
  6. If(x(P) > x(B), Vector[B, N], Vector[N, B]) → u
  7. If(m < 0, If[x(P) ≤ x(B), y(N) - y(P), y(N) - y(B)], If[x(P) ≤ x(B), y(B) - y(N), y(P) - y(N)]) → rise
  8. If(m ≤ 0, If[x(P) ≤ x(B), x(B) - x(N), x(P) - x(N)], If[x(P) ≤ x(B), x(N) - x(P), x(N) - x(B)]) → run
  9. GCD(rise, run) → a