Writing Equations of Parallel and Perpendicular Lines

Writing Equations of Parallel and Perpendicular Lines
Loading the math board and drawing, please wait…
2016-10-05 09:02
① This interactive GeoGebra example dynamically generates random points and lines, prompting students to write equations for lines that are parallel or perpendicular to a given line through a given point. ② Core mathematical concepts include slope of a line, equal slopes for parallel lines, negative reciprocal slopes for perpendicular lines, and point-slope/slope-intercept forms of linear equations. ③ Construction highlights: commands such as Random and RandomElement generate random points and slopes, Line constructs the base line, FractionText displays slopes as fractions, Sequence builds answer choices, Textfield and InputBox allow student input, Union merges lists, Denominator handles fractions, and a button (button1) triggers new problems. ④ Suitable for upper middle school or high school algebra/geometry classes, this resource serves both as a teacher demonstration tool and a self-paced practice environment, reinforcing the algebraic conditions for parallelism and perpendicularity in coordinate geometry.

GeoGebra Commands & Parameters

  1. Random(-20, 20) → b
  2. RandomElement(klist) → krand
  3. RandomElement(xmovelist) → randx
  4. RandomElement(ymovelist) → randy
  5. Line(A, B) → f
  6. FractionText(Slope[f]) → text1
  7. Random(0, 1) → e
  8. Sequence(i, i, -20, b - 1, 1) → lowerblist
  9. Sequence(i, i, b + 1, 20, 1) → upperlist
  10. Union(lowerblist, upperlist) → remainingblist
  11. RandomElement(remainingblist) → h
  12. FractionText(-1 / Slope[f]) → text7
  13. Line(A, C) → i
  14. Textfield(j) → InputBox1
  15. Denominator(-1 / Slope[f]) → k
  16. RandomElement({-4, -3, -2, -1, 1, 2, 3, 4}) → k_1
  17. Denominator(Slope[f]) → l
  18. Denominator(Slope[f]) → m
  19. Textfield(n) → InputBox2

AI Drawing Prompt Reference

Draw a coordinate plane with a randomly generated line, showing its slope as a fraction. Place a random point not on the line, and draw a line through that point perpendicular to the original line, displaying its slope as a fraction. Provide two input boxes for students to enter equations of lines parallel and perpendicular to the given line through the point. Also generate integer points below and above the line to form answer choices, and include a button to regenerate new random lines and points for new practice problems.
The prompt above was compiled from the original drawing commands and is for reference only.