卡在這題?用 AI 解開它
Algebra · real student question

解不等式 |x + 1| + |x − 1| ≤ 3。

Question

解關於 xx 的不等式:

∣x+1∣+∣x−1∣≤3|x+1|+|x-1|\le 3

Step-by-step solution

  1. 把左邊讀成「總距離」。 由於 ∣x+1∣=∣x−(−1)∣|x+1|=|x-(-1)|,這個式子就是 xx 到 −1-1 的距離加上 xx 到 11 的距離。位在 −1-1 與 11 之間的任何點,總距離恰好是 22(兩個定點之間的間隔);一旦跑到外面,超出多少就要多付兩倍。所以這個不等式問的是:哪些點的總路程預算不超過 33?

  2. 在分界點處分段。 絕對值裡的兩個式子分別在 x=−1x=-1 與 x=1x=1 處變號,所以要分三段處理:x≤−1x\le -1、−1≤x≤1-1\le x\le 1、x≥1x\ge 1。

  3. 情形 x≤−1x\le -1。 此時 x+1≤0x+1\le 0 且 x−1<0x-1<0,兩個絕對值都要變號:

    −(x+1)−(x−1)=−2x≤3  ⟹  x≥−32-(x+1)-(x-1)=-2x\le 3\;\Longrightarrow\;x\ge -\frac32

    (除以 −2-2 時不等號方向要反過來。)與 x≤−1x\le -1 取交集,得 −32≤x≤−1-\frac32\le x\le -1。

  4. 情形 −1≤x≤1-1\le x\le 1。 現在 x+1≥0x+1\ge 0 而 x−1≤0x-1\le 0,於是

    (x+1)−(x−1)=2≤3(x+1)-(x-1)=2\le 3

    xx 被完全消掉了:這一段裡每個 xx 都使不等式成立,所以整個區間 [−1,1][-1,1] 都屬於解集。這正是第 1 步預言的那段「平底」。

  5. 情形 x≥1x\ge 1。 兩個式子都非負:

    (x+1)+(x−1)=2x≤3  ⟹  x≤32(x+1)+(x-1)=2x\le 3\;\Longrightarrow\;x\le \frac32

    與 x≥1x\ge 1 取交集,得 1≤x≤321\le x\le \frac32。

  6. 把三段聯集起來,再驗一下端點。

    [−32,−1]∪[−1,1]∪[1,32]=[−32,32]\left[-\tfrac32,-1\right]\cup[-1,1]\cup\left[1,\tfrac32\right]=\left[-\tfrac32,\tfrac32\right]

    驗算:在 x=32x=\frac32 處左邊等於 2.5+0.5=32.5+0.5=3,所以端點取得到;在 x=1.6x=1.6 處等於 2.6+0.6=3.2>32.6+0.6=3.2>3,理應排除。換個寫法,答案就是 ∣x∣≤32|x|\le \frac32。

Answer

−32≤x≤32-\frac{3}{2}\le x\le \frac{3}{2}

Need to solve a different problem like this? Open the solver →