# Solve over Domains

**URL:** <https://community.wolfram.com/t/solve-over-domains/10134>\
**Category:** Questions\
**Tags:** algebra, equation-solving, symbolic-computations\
**Created:** [March 11, 2017, 3:48pm UTC](https://community.wolfram.com/t/solve-over-domains/10134 "2017-03-11T15:48:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![saur12ab](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/saur12ab/32/15904_2.png) [@saur12ab](https://community.wolfram.com/u/saur12ab)\
**Post date:** [March 11, 2017, 3:48pm UTC](https://community.wolfram.com/t/solve-over-domains/10134/1 "2017-03-11T15:48:21Z")

</div>

To my knowledge, \mathbb{R} \subset \mathbb{C} and not vice-versa.

Then I don’t understand why I get more real-valued solutions with Reals, than with Complexes:

```
$Assumptions = 
 a > 0 && a \[Element] Reals && b \[Element] Reals && 
  t \[Element] Reals && t >= 0 && c1 \[Element] Reals && 
  c2 \[Element] Reals && c \[Element] Reals && B \[Element] Reals && 
  c2 > 0 && c1 < 0

Solve[Log[Abs[(B - c2)/(B - c1)]] == (a t - c) (c2 - c1), B, Reals] // Simplify

Solve[Log[Abs[(B - c2)/(B - c1)]] == (a t - c) (c2 - c1), B, Complexes] // Simplify

```

---

<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:** [March 11, 2017, 7:11pm UTC](https://community.wolfram.com/t/solve-over-domains/10134/2 "2017-03-11T19:11:52Z")

</div>

In the complex domain `Solve` has problems with `Abs`:

```
Solve[Abs[z] == 1, z, Complexes]

```

---

<div class="post-metadata">

**Author:** ![saur12ab](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/saur12ab/32/15904_2.png) [@saur12ab](https://community.wolfram.com/u/saur12ab)\
**Post date:** [March 12, 2017, 3:30am UTC](https://community.wolfram.com/t/solve-over-domains/10134/3 "2017-03-12T03:30:35Z")

</div>

Should I view this as a bug or as a property?

---

<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:** [March 12, 2017, 6:01am UTC](https://community.wolfram.com/t/solve-over-domains/10134/4 "2017-03-12T06:01:33Z")

</div>

I think it is an intrinsic limitation of `Solve`, which is meant mainly for polynomial or analytic functions, and `Abs` is not analytic. The solution set of Abs[z]==1 in the complex plane cannot be expressed as simple substitution rules. The set of solutions to `Abs[z]==1` is handled correctly by `Reduce` in an implicit way, though.

---

<div class="post-metadata">

**Author:** ![saur12ab](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/saur12ab/32/15904_2.png) [@saur12ab](https://community.wolfram.com/u/saur12ab)\
**Post date:** [March 12, 2017, 9:08am UTC](https://community.wolfram.com/t/solve-over-domains/10134/5 "2017-03-12T09:08:14Z")

</div>

But, it should give me at least the same solutions as the ones obtained when solving over Reals, no?

---

<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:** [March 12, 2017, 11:40am UTC](https://community.wolfram.com/t/solve-over-domains/10134/6 "2017-03-12T11:40:38Z")

</div>

I agree, it would be better that way. Infinitely many complex solutions would be missed anyway.

---

<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:** [March 14, 2017, 12:30pm UTC](https://community.wolfram.com/t/solve-over-domains/10134/7 "2017-03-14T12:30:50Z")

</div>

In cases like these, Mathematica ought to issue a warning that the solution set is not complete.
