Domain and Range of Linear Functions
Loading the math board and drawing, please wait…
This example helps students understand the concept of domain and range by adjusting the domain of a linear function. Using GeoGebra objects such as f, DomainSlider1, DomainSlider2, etc., students can observe how the function's graph changes. Key mathematical concepts include linear functions, domain, and range. Suitable for high school mathematics education.
GeoGebra Commands & Parameters
f(x) = x / 2 + 4Numeric DomainSlider1(-3.0)Numeric DomainSlider2(4.0)x = DomainSlider1x = DomainSlider2p(x) = If[DomainSlider1 ≤ x ≤ DomainSlider2,x / 2 + 2]y = DomainSlider1 / 2 + 2y = DomainSlider2 / 2 + 2(DomainSlider2, p(DomainSlider2))(DomainSlider1, p(DomainSlider1))
AI Drawing Prompt Reference
Draw a line y=x/2+4, then use two sliders to control the start and end points on the x-axis, observe how the line changes within different x-axis ranges, with the start point sliding from -3 to 4 and the end point also sliding from -3 to 4, and show the corresponding y-values at both points.
The prompt above was compiled from the original drawing commands and is for reference only.