# Second Inequality not showing up on graph

**URL:** <https://cl.desmos.com/t/second-inequality-not-showing-up-on-graph/2694>\
**Category:** Questions\
**Created:** [February 17, 2021, 3:29pm UTC](https://cl.desmos.com/t/second-inequality-not-showing-up-on-graph/2694 "2021-02-17T15:29:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dongaa](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@dongaa](https://cl.desmos.com/u/dongaa)\
**Post date:** [February 17, 2021, 3:29pm UTC](https://cl.desmos.com/t/second-inequality-not-showing-up-on-graph/2694/1 "2021-02-17T15:29:14Z")

</div>

In this slide of my activity, I want both inequalities to display the math input inequality on the graph

For the second input, the shaded region always shows up, but ONLY the right boundary line shows up.

It seems to have issues when x \> value.

Any help would be appreciated!

> **[Inequality Issue • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/602d35ae4b5dfd0d4c011811)**
>
> by Scott Dyer

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [February 17, 2021, 5:35pm UTC](https://cl.desmos.com/t/second-inequality-not-showing-up-on-graph/2694/2 "2021-02-17T17:35:31Z")

</div>

You’re using some older methods. You can paste this graph link into your graph and use the CL code below. The (recently added) inequality functions can be found under “inequality” in “Types” in the documentation.

[This graph](https://www.desmos.com/calculator/8m1m0eamym)

```auto
ineq1=parseInequality(decinterval1.latex)
ineq2=parseInequality(decinterval2.latex)

number(`S_{trict1}`): when ineq1.isStrict 1 otherwise 0
function(`g`): ineq1.differenceFunction("x","y")

number(`S_{trict2}`): when ineq2.isStrict 1 otherwise 0
function(`h`): ineq2.differenceFunction("x","y")

```

---

<div class="post-metadata">

**Author:** ![dongaa](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@dongaa](https://cl.desmos.com/u/dongaa)\
**Post date:** [February 17, 2021, 5:56pm UTC](https://cl.desmos.com/t/second-inequality-not-showing-up-on-graph/2694/3 "2021-02-17T17:56:03Z")

</div>

Thank you!

In the number sinks, are we not required to use quotes anymore? Can we just designate a latex string?

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [February 17, 2021, 6:40pm UTC](https://cl.desmos.com/t/second-inequality-not-showing-up-on-graph/2694/4 "2021-02-17T18:40:47Z")

</div>

Quotes or backticks. Both work.
