# Why does using x\_1 instead of x make a difference in this system of eqs.?

**URL:** <https://community.wolfram.com/t/why-does-using-x-1-instead-of-x-make-a-difference-in-this-system-of-eqs/12516>\
**Category:** Questions\
**Tags:** wolfram-alpha, algebra, curated-data, equation-solving\
**Created:** [May 23, 2018, 11:47pm UTC](https://community.wolfram.com/t/why-does-using-x-1-instead-of-x-make-a-difference-in-this-system-of-eqs/12516 "2018-05-23T23:47:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcmordecai](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@marcmordecai](https://community.wolfram.com/u/marcmordecai)\
**Post date:** [May 23, 2018, 11:47pm UTC](https://community.wolfram.com/t/why-does-using-x-1-instead-of-x-make-a-difference-in-this-system-of-eqs/12516/1 "2018-05-23T23:47:00Z")

</div>

Hello,  
I was trying to solve a system of equations, however it seems that depending on whether I use x or x\_1 the results differ. Which result can I trust and why does it make a difference in the frist place? I hope you can enlighten me. Thanks in advance.

with x\_1:

> **[findinstance\[-83.2\*x\_1-76.6\*x\_2-130.4\*x\_3-1\*q\>0 && (6\*x\_1+3\*x\_2+68\*x\_3)\>=0...](https://www.wolframalpha.com/input/?i=findinstance%5B+-83.2*x_1-76.6*x_2-130.4*x_3-1*q%3E0+%26%26+%286*x_1%2B3*x_2%2B68*x_3%29%3E%3D0+%26%26+%286*x_1%2B3*x_2%2B92*x_3%2Bq%29%3E%3D0+%26%26+%28106*x_1%2B103*x_2%2B0x_3%29%3E%3D0%5D)**
>
> Wolfram|Alpha brings expert-level knowledge and capabilities to the broadest possible range of people—spanning all professions and education levels.

with x:

> **[findinstance\[-83.2\*x-76.6\*x\_2-130.4\*x\_3-1\*q\>0 && (6\*x+3\*x\_2+68\*x\_3)\>=0 &&...](https://www.wolframalpha.com/input/?i=findinstance%5B+-83.2*x-76.6*x_2-130.4*x_3-1*q%3E0+%26%26+%286*x%2B3*x_2%2B68*x_3%29%3E%3D0+%26%26+%286*x%2B3*x_2%2B92*x_3%2Bq%29%3E%3D0+%26%26+%28106*x%2B103*x_2%2B0x_3%29%3E%3D0%5D)**
>
> Wolfram|Alpha brings expert-level knowledge and capabilities to the broadest possible range of people—spanning all professions and education levels.

---

<div class="post-metadata">

**Author:** ![neils](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/neils/32/20595_2.png) [@neils](https://community.wolfram.com/u/neils)\
**Post date:** [May 24, 2018, 12:53am UTC](https://community.wolfram.com/t/why-does-using-x-1-instead-of-x-make-a-difference-in-this-system-of-eqs/12516/2 "2018-05-24T00:53:36Z")

</div>

Marco,

You can’t use underscores in variable names – they are reserved for pattern Matching.

Regards

Neil

---

<div class="post-metadata">

**Author:** ![mthiel](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mthiel/32/42877_2.png) [@mthiel](https://community.wolfram.com/u/mthiel)\
**Post date:** [May 24, 2018, 8:58am UTC](https://community.wolfram.com/t/why-does-using-x-1-instead-of-x-make-a-difference-in-this-system-of-eqs/12516/3 "2018-05-24T08:58:29Z")

</div>

Yes, there seems to be a problem with the interpretation. But Wolfram|Alpha does in principle allow the underscore notation. If you use the second link on the OP for example you will see this:

 ![ScreenShot2018-05-24at09.46.34.png](https://global.discourse-cdn.com/wolfram/original/3X/f/5/f5eb8ea40a4e15c817d89519cc81bd3ddc25c6d1.png)

If you click on the open code icon, you will see how the input is interpreted. In the non-working example it is:

 ![ScreenShot2018-05-24at09.50.22.png](https://global.discourse-cdn.com/wolfram/original/3X/9/2/9252936d73924701508a8ad61d7394357b0ecabd.png)

whereas in the working example it is:

 ![ScreenShot2018-05-24at09.51.10.png](https://global.discourse-cdn.com/wolfram/original/3X/6/a/6a6b6bd6bbc7406c8028b1094175b30b4bedb9dc.png)

So in principle the variable with underscores seem to be interpreted correctly, but for some reason the variable “x” is not used in the list variables to solve for, at least in the case of the non-working example. If all variables are consistently labelled with underscores it seems to work, and in both cases the additional “q” appears to be processed correctly.

If one adds the x manually to the list of variable to solve for, the problem disappears:

```
FindInstance[{-83.2 x - 76.6 Subscript[x, 2] - 130.4 Subscript[x, 3] - 1 q > 0, 6 x + 3 Subscript[x, 2] + 68 Subscript[x, 3] >= 0, 6 x + 3 Subscript[x, 2] + 92 Subscript[x, 3] + q >= 0, 106 x + 103 Subscript[x, 2] + 0 Subscript[x, 3] >= 0}, {q, x,Subscript[x, 2], Subscript[x, 3]}, Complexes]
(*{{q -> 5.45455 + 0. I, x -> 5.30606 + 0. I, Subscript[x, 2] -> -5.46061 + 0. I, Subscript[x, 3] -> -0.227273 + 0. I}}*)

```

So, I agree with the first reply that there is an issue with the underscores, the use of which should, in fact, be discouraged, but it seems to be a slightly more complex issue regarding the interpretation of the expression.

I don’t think that the issue here in Wolfram|Alpha has anything to do with a misinterpretation in the form of pattern matching. Given that Wolfram|Alpha appears to interpret the underscored variables correctly and also identifies the q correctly, it is a bit unexpected that it would not treat the x accordingly, I think.

Best wishes,

Marco
