Domain and Range of a Function

Domain and Range of a Function
Loading the math board and drawing, please wait…
2013-03-24 23:15
This applet demonstrates how to find the domain and range of a function from its graph and express them using interval notation. Through dynamic visual representation, the tool helps users intuitively understand the possible values that the independent variable (x-values) and dependent variable (y-values) can take, reinforcing the fundamental connection between graphical analysis and interval notation. Students can interactively explore various functions and observe how the horizontal extent of the graph corresponds to the domain while the vertical extent corresponds to the range. The applet shows how to identify whether endpoints are included or excluded, translating this directly into correct bracket and parenthesis usage in interval notation. By manipulating the graph or observing pre-loaded examples, learners develop a deeper conceptual understanding of what domain and range represent beyond rote memorization. This makes it an excellent auxiliary tool for mastering foundational function concepts and image analysis, suitable for students at the introductory algebra and precalculus levels.

GeoGebra Commands & Parameters

  1. Append(Sort[{Random[-4, -1], Random[-3, 1]}], Random[0, 1]) → sp1_{tmp}
  2. Append(sp1_{tmp}, If[Element[sp1_{tmp}, 1] ≟ Element[sp1_{tmp}, 2] ∧ Element[sp1_{tmp}, 3] ≟ 1, 0, Random[0, 1]]) → split
  3. Element(poss_m, Random[1, Length[poss_m]]) → m
  4. Append(Sort[{Random[Element[split, 2] + 3, Min[Element[split, 2] + 5, 4]], Random[Element[split, 2] + 3, Min[Element[split, 2] + 5, 4]]}], Random[0, 1]) → sp2_{tmp}
  5. Append(sp2_{tmp}, If[Element[sp2_{tmp}, 1] ≟ Element[sp2_{tmp}, 2] ∧ Element[sp2_{tmp}, 3] ≟ 1, 0, Random[0, 1]]) → split2
  6. If(Element[split, 3] ≟ 0, If[x ≥ Element[end, 1] ∧ x < Element[split, 1], part_1(x), If[Element[split, 4] ≟ 0, If[Element[split2, 3] ≟ 0, If[x > Element[split, 2] ∧ x < Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]], If[x > Element[split, 2] ∧ x ≤ Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]]], If[Element[split2, 3] ≟ 0, If[x ≥ Element[split, 2] ∧ x < Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]], If[x ≥ Element[split, 2] ∧ x ≤ Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]]]]], If[x ≥ Element[end, 1] ∧ x ≤ Element[split, 1], part_1(x), If[Element[split, 4] ≟ 0, If[Element[split2, 3] ≟ 0, If[x > Element[split, 2] ∧ x < Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]], If[x > Element[split, 2] ∧ x ≤ Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]]], If[Element[split2, 3] ≟ 0, If[x ≥ Element[split, 2] ∧ x < Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]], If[x ≥ Element[split, 2] ∧ x ≤ Element[split2, 1], part_2(x), If[Element[split2, 4] ≟ 0, If[x > Element[split2, 2] ∧ x < Element[end, 2], part_3(x)], If[x ≥ Element[split2, 2] ∧ x < Element[end, 2], part_3(x)]]]]]]) → f
  7. OrthogonalLine(A, yAxis) → a
  8. Intersect(a, yAxis) → R
  9. Segment(A, R) → line_r
  10. OrthogonalLine(A, xAxis) → b
  11. Intersect(b, xAxis) → D
  12. Segment(A, D) → linr_d
  13. Sort(Sequence[(Element[LB, i], i), i, 1, 3]) → LB_s
  14. Sequence(If[y(Element[LB_s, i]) ≟ 1, {Element[LB, 1], Element[Pts_L, 1], Element[UB, 1], Element[Pts_U, 1]}, If[y(Element[LB_s, i]) ≟ 2, {Element[LB, 2], Element[Pts_L, 2], Element[UB, 2], Element[Pts_U, 2]}, {Element[LB, 3], Element[Pts_L, 3], Element[UB, 3], Element[Pts_U, 3]}]], i, 1, 3) → int

AI Drawing Prompt Reference

Draw a function graph with a graph region and two vertical lines representing the domain and range of the function. The graph region consists of two curve segments with a break point between them. The two vertical lines intersect the x-axis and y-axis, respectively, representing the domain and range of the function. Please generate the function graph based on the given information, including curve segments, break points, vertical lines, and intersection points, according to the characteristics of the function graph.
The prompt above was compiled from the original drawing commands and is for reference only.