Graphing Absolute-Value Equations and Inequalities via Intersections
Loading the math board and drawing, please wait…
In collections
A Plethora of Practice Problems
This example demonstrates how absolute-value equations and inequalities can be visualized and solved by translating them into intersection-based or region-based graph features. It highlights the key ideas of |x-a|=b (two-sided symmetry that yields zero/one/two solutions) and |x-a|≤b or |x-a|≥b (interval solution sets). The construction uses GeoGebra elements and commands from the build summary: Line and Segment to define the graphs/constraints whose intersections correspond to solutions; Random and RandomDiscrete (with parameter containers like vectors/Elements) to generate varying coefficients for interactive exploration; If to switch cases depending on the parameter relationship; Max and Min to implement the absolute-value behavior through equivalent piecewise upper/lower envelopes; and Textfield/Text to label parameters and interpret the resulting solution regions. Best suited for high school to early undergraduate learners, supporting graph-to-algebra reasoning and teaching intersection counting for solution sets.
GeoGebra Commands & Parameters
RandomDiscrete({1, 2, 3, 4, 5}, {2, 5, 5, 5, 5}) → whatwegetVector(C, D) → uVector(E, F) → aSegment(G, H) → fRandom(-60, 60) → KRandom(-60, 60) → QstartRandomDiscrete({Qstart, 0}, {8, 2}) → QDivisorsList(abs(K - Q)) → LposFactors(abs(K - Q)) →If(K - Q > 0, Lpos, K - Q < 0, Lneg, RandomElement[{-3, -2, -1, 1, 2, 3, 4, 5}]) → LwinIf(K - Q < 0, Lpos, K - Q > 0, Lneg, RandomElement[{-3, -2, -1, 1, 2, 3, 4}]) → LlossRandomDiscrete({RandomElement[Lwin], RandomElement[Lloss]}, {85, 15}) → LRandom(-20, 20) → PstartRandomDiscrete({Pstart, 0}, {8, 2}) → PRandomDiscrete({-10, 10, 8, -8, 5, -5, 4, -4, 3, -3, 2, -2, 1, -1}, {1, 1, 1, 1, 3, 2, 3, 2, 3, 2, 4, 3, 5, 2}) → MMax({x_{one}, x_{two}}) → ans_{1}Min({x_{one}, x_{two}}) → ans_{2}If((K - Q) / L ≥ 0, 1, (K - Q) / L < 0, 0) → FinishIf(Finish ≟ 1, ans_{1}, Finish ≟ 0, NaN) → x_{1}If(Finish ≟ 1, ans_{2}, Finish ≟ 0, NaN) → x_{2}If(Finish ≟ 1, "yes", Finish ≟ 0, "no") → obviousTextfield(text4) → InputBox1Textfield(guess2) → InputBox2Textfield(guess1) → InputBox3RandomElement({1, 2, 3, 4}) → whatweget2Element({{equal1, equal2, equal3, equal4}, {GT1, GT2, GT3, GT4}, {LT1, LT2, LT3, LT4}, {GTE1, GTE2, GTE3, GTE4}, {LTE1, LTE2, LTE3, LTE4}}, whatweget, whatweget2) → whattheyseeTextfield(multchoice) → InputBox4If(Finish ≟ 1 ∧ L > 0, 1, Finish ≟ 1 ∧ L < 0, 2, Finish ≟ 0 ∧ L > 0, 3, Finish ≟ 0 ∧ L < 0, 4) → flipsignElement({{"G", "G", "A", "A"}, {"D", "F", "A", "B"}, {"F", "D", "B", "A"}, {"C", "E", "A", "B"}, {"E", "C", "B", "A"}}, whatweget, flipsign) → multchoiceanswerVector(LeftPt, (x_{2} - 5, 0)) → LeftVectorVector(RightPt, (x_{1} + 5, 0)) → RightVectorLine(LeftPt, RightPt) → WholeLineSegment(LeftPt, RightPt) → Segment1If(whatweget ≟ 1, Element[{equal1, equal2, equal3, equal4}, whatweget2]) → whattheysee2
AI Drawing Prompt Reference
Draw a horizontal number line with two key points marking the left and right bounds of the solution set. Connect these points with a thick segment to represent the interval. Above the line, sketch a V-shaped graph (absolute value function) with its vertex at the midpoint of the two points, opening upward. Based on the inequality type, shade the region between the points for ≤ or outside them for ≥. Below the line, display parameter values and an input box for a guessed solution, with text indicating whether a solution exists. The graph visually demonstrates how absolute-value equations and inequalities yield solution intervals or disjoint regions.
The prompt above was compiled from the original drawing commands and is for reference only.