# Fixing Reduce\[ForAll\[…\]\]: a quantifier-syntax pitfall

**URL:** <https://community.wolfram.com/t/fixing-reduce-forall-a-quantifier-syntax-pitfall/28184>\
**Category:** Questions\
**Tags:** algebra, equation-solving\
**Created:** [September 27, 2026, 12:09pm UTC](https://community.wolfram.com/t/fixing-reduce-forall-a-quantifier-syntax-pitfall/28184 "2026-09-27T12:09:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![camelon](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@camelon](https://community.wolfram.com/u/camelon)\
**Post date:** [September 27, 2026, 12:09pm UTC](https://community.wolfram.com/t/fixing-reduce-forall-a-quantifier-syntax-pitfall/28184/1 "2026-09-27T12:09:44Z")

</div>

Why can’t we solve this identity for the values of a, b, t?

```mathematica
Reduce[ForAll[{x, y}, {x > 0, y > 0, t > 0,
t^2 + 2 t x + x^2 + 2 t y + 12 + y^2 ==
a^2 + b^2 - 2 a x + x^2 - 2 b y + y^2}], {a, b, t}, Reals]

Reduce[ForAll[{x, y}, {x > 0, y > 0, x y == 6,
t > 0, (x + y + t)^2 == (x - a)^2 + (y - b)^2}], {a, b, t}, Reals]

```

The essence of the calculation is to equate the corresponding coefficients of each term—along with the constant term—and thereby solve for a, b, t.

```mathematica
Reduce[{t^2 + 12 == a^2 + b^2, 2 t == -2 a, 2 t == -2 b,
t > 0}, Reals]

```

 ![2026-09-27_200914](https://global.discourse-cdn.com/wolfram/original/3X/f/e/feb52a8a9d12a0ac4180cf2e1d927c390f373b49.png)

---

<div class="post-metadata">

**Author:** ![mariuszi28cg](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mariuszi28cg/32/308_2.png) [@mariuszi28cg](https://community.wolfram.com/u/mariuszi28cg)\
**Post date:** [September 27, 2026, 6:54pm UTC](https://community.wolfram.com/t/fixing-reduce-forall-a-quantifier-syntax-pitfall/28184/2 "2026-09-27T18:54:35Z")

</div>

A correct syntax:

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/e96ec0fb-e368-4845-8547-7a1bd1a4aac7)
