Write and Graph an Inequality Based on Context
Loading the math board and drawing, please wait…
This GeoGebra example demonstrates how to write and graph an inequality based on a given context, visualizing the solution set as a shaded region on the coordinate plane. Core mathematical concepts include linear inequalities, half-plane graphs, boundary line inclusion or exclusion, and region shading techniques. The construction leverages GeoGebra commands such as Textfield for interactive input, PointIn for testing point membership in the solution region, If for conditional display logic, Polygon and shadeTri for constructing shaded triangular areas, line2/line2lower/line2upper for drawing boundary lines, and RotateText for rotated axis labels, while xMin/xMax/yMin/yMax define the viewing window. Suitable for middle school and high school algebra instruction, this applet supports classroom demonstrations, inequality graphing practice, and student-centered exploration of coordinate geometry.
GeoGebra Commands & Parameters
Textfield(a) → inputAPointIn(Polygon[(-15, -15), (15, -15), (15, 15), (-15, 15)]) → AIf(0 ≤ x ≤ a, -x + a) → line2If(x > a, -x + a) → line2lowerIf(x < 0, -x + a) → line2upperPolygon((0, 0.012765957446808529), (a, 0), (0, a)) → shadeTri, c, d, eRotateText("Number of employees packaging", 90*°) → labelyaxis
AI Drawing Prompt Reference
Draw a coordinate plane with axes ranging from -15 to 15. Plot the line y = -x + a, where a is controlled by an input field. Shade the right‑triangle in the first quadrant bounded by the line and the axes (vertices near the origin, (a,0), and (0,a)) to represent the solution set of x ≥ 0, y ≥ 0, and x + y ≤ a. Include a draggable test point that indicates whether it lies inside the shaded region. Label the y‑axis with the vertical text “Number of employees packaging”.
The prompt above was compiled from the original drawing commands and is for reference only.