# Unexpected result of equation solving in Wolfram|Alpha

**URL:** <https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964>\
**Category:** Questions\
**Tags:** wolfram-alpha, equation-solving\
**Created:** [April 26, 2022, 4:11pm UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964 "2022-04-26T16:11:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![volmike](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@volmike](https://community.wolfram.com/u/volmike)\
**Post date:** [April 26, 2022, 4:11pm UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964/1 "2022-04-26T16:11:04Z")

</div>

Good day for all!

There is an incorrect result for equation solving

> **[solve((8^x-2^x)/(6^x-3^x)==2,x) - Wolfram|Alpha](https://www.wolframalpha.com/input?i=solve%28%288%5Ex-2%5Ex%29%2F%286%5Ex-3%5Ex%29%3D%3D2%2Cx%29)**
>
> Wolfram|Alpha brings expert-level knowledge and capabilities to the broadest possible range of people—spanning all professions and education levels.

over the reals.  
There must be only one corrent solution x=1, but WA and WM (Reduce / Solve) also provides x=0 which is incorrect.  
Why doesn’t WA/WM check the validness of its results?

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [April 26, 2022, 4:56pm UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964/2 "2022-04-26T16:56:41Z")

</div>

I suppose that Mathematica makes the following simplification  
In[103]:= Simplify[(8^x - 2^x)/(6^x - 3^x)]

```
Out[103]= (2/3)^x (1 + 2^x)

```

and then does not check back the original equation. This is a well-known issue:

```
In[104]:= Solve[(x^2 - 1)/(x - 1) == 2, x]

Out[104]= {{x -> 1}}

```

However, just plot the function

```
Plot[(8^x - 2^x)/(6^x - 3^x) - 2, {x, -1, 2}]

```

and you will see that Mathematica’s answer is not so incorrect in some sense.

`FunctionDomain` checks back on the original form of the function. Try this:

```
Solve[(8^x - 2^x)/(6^x - 3^x) == 2 && 
  FunctionDomain[(8^x - 2^x)/(6^x - 3^x), x], x, Reals]

```

---

<div class="post-metadata">

**Author:** ![volmike](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@volmike](https://community.wolfram.com/u/volmike)\
**Post date:** [April 26, 2022, 5:10pm UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964/3 "2022-04-26T17:10:52Z")

</div>

Thanks for your answer!

But nevertheless, WM/WA should check back the original equation automatically without extra functions such as FunctionDomain when the original and simplified equations are not equivalent.

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [April 27, 2022, 1:53am UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964/4 "2022-04-27T01:53:56Z")

</div>

I am not familiar with the workings of W|A in this case, but `Solve` will handle removable singularities by removing them.

---

<div class="post-metadata">

**Author:** ![volmike](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@volmike](https://community.wolfram.com/u/volmike)\
**Post date:** [April 27, 2022, 12:42pm UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964/5 "2022-04-27T12:42:37Z")

</div>

Well, if I understood your right, it’s not true: as of 13.0.1 W|M Solve doesn’t remove singular solutions.  
Look at the example above with Solve[(x^2 - 1)/(x - 1) == 2, x].

Or did you mean it will be fixed in the future versions of W|M?

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [April 27, 2022, 2:13pm UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964/6 "2022-04-27T14:13:55Z")

</div>

I didn’t claim solutions at singularities would be removed. I stated that the singularities themselves would be removed, that is, not be regarded as singularities (that’s what it means to remove a removable singularity). Stated in terms of the most recent example, in the field of rational functions `(x^2-1)/(x-1)` is equivalent to `(x+1)`.

This is not regarded as broken by the way. Wolfram|Alpha is more in tune with what is taught in high schools, and will attempt to remove singular solutions. So that particular example will have an empty solution set. Different philosophy.

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [April 27, 2022, 4:05pm UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964/7 "2022-04-27T16:05:49Z")

</div>

If Mathematica removed all removable singularities I would expect this to give `x->0`:

```
Solve[Sin[x]/x == 1 && Abs[x] < 1, x]

```

just as I get for this:

```
Solve[Sinc[x] == 1 && Abs[x] < 1, x]

```

Maybe the full story is more complicated.

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [April 27, 2022, 4:14pm UTC](https://community.wolfram.com/t/unexpected-result-of-equation-solving-in-wolfram-alpha/19964/8 "2022-04-27T16:14:32Z")

</div>

You are correct, it is only removing the algebraic ones, that is, those that arise from rational functions. It is not removing more general ones from meromorphic functions.
