# How to determine the sign of the result obtained from (p\_1-p\_2)?

**URL:** <https://community.wolfram.com/t/how-to-determine-the-sign-of-the-result-obtained-from-p-1-p-2/26789>\
**Category:** Questions\
**Tags:** algebra\
**Created:** [April 25, 2026, 1:14pm UTC](https://community.wolfram.com/t/how-to-determine-the-sign-of-the-result-obtained-from-p-1-p-2/26789 "2026-04-25T13:14:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmamathes](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mmamathes](https://community.wolfram.com/u/mmamathes)\
**Post date:** [April 25, 2026, 1:14pm UTC](https://community.wolfram.com/t/how-to-determine-the-sign-of-the-result-obtained-from-p-1-p-2/26789/1 "2026-04-25T13:14:13Z")

</div>

![2026-04-25_211049.png](https://global.discourse-cdn.com/wolfram/original/2X/7/7c4bcdd234f3ca08a9f561d817826679ec989758.png)

```
p1 = (1 - (1 - p)^3) q^3 // Expand
p2 = (1 - (1 - q)^3) p^3 // Expand
p1 - p2 // Simplify // Factor
Simplify[Sign[p1 - p2], 0 < p < q]

```

---

<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 25, 2026, 4:00pm UTC](https://community.wolfram.com/t/how-to-determine-the-sign-of-the-result-obtained-from-p-1-p-2/26789/2 "2026-04-25T16:00:48Z")

</div>

You can solve the inequalities:

```
Reduce[p1 - p2 > 0 && 0 < p < q, {p, q}]
Reduce[p1 - p2 == 0 && 0 < p < q, {p, q}]
Reduce[p1 - p2 < 0 && 0 < p < q, {p, q}]

```
