# GeoGebra 4.0 Sneak Peek 4: Graphing Inequalities

This is the fourth part of the GeoGebra 4.0 Sneak Peek Series

The long wait is over! GeoGebra 4.0 can now graph inequalities as shown in Figure 1.

Figure 1 – Graphs of Inequalities in GeoGebra

You can construct the graph above by typing the following in the Input bar pressing the ENTER key after each inequality.

1. $y < 3x$
2. $2x - 1 <= 2$
3. $y > x^3 - 2x - 1$

The symbol <= can also be found on the symbol box as $\leq$.  Just click the input bar and click the $\alpha$ symbol at the rightmost part of the input bar.

When we talk about inequalities, we talk about solutions. In GeoGebra 4.0, we can graph the solution of the three or more inequalities above using logical operators such as and (denoted by ∧). The graph shown in Figure 2 is the graph of the inequality  (-x + y ≤ 3) ∧ (4x + 3y < 12) ∧ (-x – 2y < -2).

Figure 2 – Solutions of Inequlities using logical operators

The inequality is a new feature in GeoGebra is not yet stable. The logical operators might still have problems with functions with degree more than one. I used the logical operator on the first three inequalities, which include one quadratic inequality, but no output graph was shown (Update: I think this is fixed now).

In the next post, we are going to discuss about the computer algebra system, the newest feature of GeoGebra.

## 3 thoughts on “GeoGebra 4.0 Sneak Peek 4: Graphing Inequalities”

1. Hi,

actually the problem is with using e.g. a && b directly, where a,b are inequality names.
y < 3x && 2x – 1 x^3 – 2x – 1
works.

If I misunderstood the problem or if you found any other bug, feel free to ask me at zbynek@geogebra.org.