---
title: "Piecewise Absolute Value Rational Equation and Solution Product"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c7-w1-16-absolute-value-rational-equation-sum"
board: "CBSE"
grade: "Class 7"
published_at: "2026-11-29T08:45:00+05:30"
---

# Piecewise Absolute Value Rational Equation and Solution Product

Find all rational values of $x$ that satisfy the equation:

$$|2x - 3| + |x + 1| = 7$$

Also compute the **product** of all valid solutions.

## Textbook Solution

1. **Identify critical points where expressions inside absolute values vanish:**
   - $2x - 3 = 0 \implies x = \frac{3}{2}$
   - $x + 1 = 0 \implies x = -1$
   These divide the rational number line into three intervals.

2. **Case 1: $x < -1$**
   Both $2x - 3 < 0$ and $x + 1 < 0$:
   $$-(2x - 3) - (x + 1) = 7 \implies -3x + 2 = 7 \implies -3x = 5 \implies x = -\frac{5}{3}$$
   Check: $-\frac{5}{3} < -1$, so $x = -\frac{5}{3}$ is **valid**.

3. **Case 2: $-1 \le x \le \frac{3}{2}$**
   Here $2x - 3 \le 0$ and $x + 1 \ge 0$:
   $$-(2x - 3) + (x + 1) = 7 \implies -x + 4 = 7 \implies x = -3$$
   Check: $-3$ does **not** lie in $[-1, \frac{3}{2}]$, so it is **rejected**.

4. **Case 3: $x > \frac{3}{2}$**
   Both $2x - 3 > 0$ and $x + 1 > 0$:
   $$(2x - 3) + (x + 1) = 7 \implies 3x - 2 = 7 \implies 3x = 9 \implies x = 3$$
   Check: $3 > \frac{3}{2}$, so $x = 3$ is **valid**.

5. **Compute the product of valid solutions:**
   $$\left(-\frac{5}{3}\right) \times 3 = -5$$

**Final Answer:** $x = -\frac{5}{3}$ and $x = 3$; their product is $-5$.

## Vedic Shortcut

**NityaDhi Minimum-Value Distance Check:**

Check the values at the two corner points first:
- At $x = -1$: $| -5 | + 0 = 5 < 7$
- At $x = \frac{3}{2}$: $0 + |\frac{5}{2}| = 2.5 < 7$

Because a sum of absolute values is linear between corners and rises outside them with slope $\pm 3$, both values are $< 7$, meaning **NO solution exists in the middle** and **one solution exists on each outer wing**! Moving left of $-1$ needs $7 - 5 = 2$ more units at slope $3$, giving $-1 - \frac{2}{3} = -\frac{5}{3}$. Moving right of $\frac{3}{2}$ needs $7 - 2.5 = 4.5$ more units at slope $3$, giving $1.5 + 1.5 = 3$!

## Common Mistakes

- **Accepting $x = -3$ from Case 2:** Failing to verify that a candidate root actually lies inside the assumed interval $[-1, \frac{3}{2}]$.
- **Dropping brackets when negating:** Writing $-2x - 3$ instead of $-(2x - 3) = -2x + 3$.