Stuck on this? Solve it with AI
Algebra · real student question

The inequality |ax + 5| <= b has solution set -4 <= x <= 6. Find a - b.

Question

The inequality

∣ax+5∣≤b|ax+5|\le b

has solution set −4≤x≤6-4\le x\le 6. Find a−ba-b.

Step-by-step solution

  1. Rewrite the inequality as a centre-and-radius statement. For a≠0a\ne 0,

    ∣ax+5∣≤b  ⟺  ∣a∣∣x+5a∣≤b  ⟺  ∣x−(−5a)∣≤b∣a∣|ax+5|\le b\iff |a|\left|x+\frac5a\right|\le b\iff \left|x-\left(-\frac5a\right)\right|\le\frac{b}{|a|}

    So the solution set is always a closed interval centred at −5a-\tfrac5a with radius b∣a∣\tfrac{b}{|a|}. This is the shortcut that avoids case-splitting on the sign of aa.

  2. Read the centre and radius off the given interval. For [−4,6][-4,6],

    centre=−4+62=1,radius=6−(−4)2=5\text{centre}=\frac{-4+6}{2}=1,\qquad \text{radius}=\frac{6-(-4)}{2}=5

  3. Match centre to find aa.

    −5a=1 ⟹ a=−5-\frac{5}{a}=1\ \Longrightarrow\ a=-5

  4. Match radius to find bb. With ∣a∣=5|a|=5,

    b5=5 ⟹ b=25\frac{b}{5}=5\ \Longrightarrow\ b=25

    Note b=25≥0b=25\ge 0, which is required — a negative bb would make ∣ax+5∣≤b|ax+5|\le b unsolvable.

  5. Compute a−ba-b and verify the original inequality.

    a−b=−5−25=−30a-b=-5-25=-30

    Check: with a=−5a=-5, b=25b=25 the inequality reads ∣−5x+5∣≤25|-5x+5|\le 25, i.e. 5∣x−1∣≤255|x-1|\le 25, i.e. ∣x−1∣≤5|x-1|\le 5, i.e. −4≤x≤6-4\le x\le 6 — exactly the given solution set. The endpoints give ∣−5(−4)+5∣=25|-5(-4)+5|=25 and ∣−5(6)+5∣=25|-5(6)+5|=25, both attaining the bound, as equality demands.

  6. The general technique. For any ∣ax+c∣≤b|ax+c|\le b: the solution interval's midpoint is −c/a-c/a and its half-length is b/∣a∣b/|a|. Equating those two numbers to the given interval's midpoint and half-length always determines aa and bb in one step, with no sign cases.

Answer

a=−5,b=25,a−b=−30a=-5,\quad b=25,\quad a-b=-30

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