Exploring the Equation of a Line y = m x + b
Loading the math board and drawing, please wait…
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
Line(B, P) → fIntersect(f, yAxis) → CSlope(f) → mIf(Defined[Line[B, P]], true, false) → lineexistsIf(x(P) < x(B), Vector[P, N], Vector[N, P]) → vIf(x(P) > x(B), Vector[B, N], Vector[N, B]) → uIf(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)]) → riseIf(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)]) → runGCD(rise, run) → a