Algebra · real student question

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

Question

The inequality

ax+5b|ax+5|\le b

has solution set 4x6-4\le x\le 6. Find aba-b.

Step-by-step solution

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

    ax+5b    ax+5ab    x(5a)ba|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 ba\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=250b=25\ge 0, which is required — a negative bb would make ax+5b|ax+5|\le b unsolvable.

  5. Compute aba-b and verify the original inequality.

    ab=525=30a-b=-5-25=-30

    Check: with a=5a=-5, b=25b=25 the inequality reads 5x+525|-5x+5|\le 25, i.e. 5x1255|x-1|\le 25, i.e. x15|x-1|\le 5, i.e. 4x6-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+cb|ax+c|\le b: the solution interval's midpoint is c/a-c/a and its half-length is b/ab/|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,ab=30a=-5,\quad b=25,\quad a-b=-30

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