# WA says '7x/x = 7' only if x ? 0, but has no problem with 'ax/x = a'. Why?

**URL:** <https://community.wolfram.com/t/wa-says-7x-x-7-only-if-x-0-but-has-no-problem-with-ax-x-a-why/13065>\
**Category:** Questions\
**Tags:** algebra\
**Created:** [September 7, 2018, 5:41pm UTC](https://community.wolfram.com/t/wa-says-7x-x-7-only-if-x-0-but-has-no-problem-with-ax-x-a-why/13065 "2018-09-07T17:41:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@charlie](https://community.wolfram.com/u/charlie)\
**Post date:** [September 7, 2018, 5:41pm UTC](https://community.wolfram.com/t/wa-says-7x-x-7-only-if-x-0-but-has-no-problem-with-ax-x-a-why/13065/1 "2018-09-07T17:41:20Z")

</div>

In WA, entering ‘ax/x = a’ will return ‘True.’

If ‘a’ is replaced with a constant, it changes its rule. ‘7x/x = 7’ will say that it’s true as long as x ? 0.

Why is it that ‘ax/x = a’ is true until ‘a’ is replaced with a constant?

---

<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:** [September 8, 2018, 7:33am UTC](https://community.wolfram.com/t/wa-says-7x-x-7-only-if-x-0-but-has-no-problem-with-ax-x-a-why/13065/2 "2018-09-08T07:33:13Z")

</div>

Mathematica was originally designed so that expressions such as `a x/x` are simplified to just `a` before any other mechanism or check could intervene. This is probably efficient for calculations, but it exposes the system to criticism. I suppose that Wolfram Alpha has new code that catches the problem, but only when the coefficient is numerical.

---

<div class="post-metadata">

**Author:** ![murray](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/murray/32/39879_2.png) [@murray](https://community.wolfram.com/u/murray)\
**Post date:** [September 10, 2018, 4:33pm UTC](https://community.wolfram.com/t/wa-says-7x-x-7-only-if-x-0-but-has-no-problem-with-ax-x-a-why/13065/3 "2018-09-10T16:33:55Z")

</div>

Interestingly, in _Mathematica_ (version 11.3) itself:

```
      (7 x)/x == 7
(* True *)
     (a x)/x == a
(* True *)

     Reduce[(7 x)/x == 7, x]
(* True *)
     Reduce[(a x)/x == a, x]
(* True *)

```

(`Simplify` applied to each equation also yields `True` as output.)
