# A calculus of the absurd

##### 4.9.4 Some examples
• Example 4.9.1 Find the complete set of values satisfying the equation $$\abs {x-2} \leqq \abs {2x - 6}$$. 2626 This question came from the OCR A June 2019 Single Maths Pure and Mechanics Paper

Solution: We can use the definition $$\abs {x} = \sqrt {x^2}$$ to rewrite the inequality above as

$$\sqrt {(x-2)^2} \leqq \sqrt {(2x-6)^2}$$

Squaring both sides gives the following result

$$(x-2)^2 = (2x-6)^2$$

which can then be expanded to give

$$x^2 - 4x + 4 \leqq 4x^2 - 24x + 36$$

and then, being careful not to subtract anything incorrectly (which I always do) the equation can be reduced to this quadratic

$$\label {inequality of modulus function} 0 \leqq 3x^2 - 20x + 32$$

We can then sketch this to work out when it would be greater than zero (or zero would be less than the curve).

From the graph, the inequality is true whenever $$x$$ is less than the first time it is zero, and whenever the inequality is greater than the second time it is zero. To find when $$3x^2 - 20x + 32=0$$, we can use the quadratic formula, and thus obtain an equation for the values of $$x$$.

\begin{equation*} x = \frac {20 \pm \sqrt {20^2 - 4(3)(32)}}{2(3)} \end{equation*}

Subtracting a positive number from a positive number (note that $$\sqrt {20^2 - 4(3)(32)}$$ is a positive number) gives a smaller value than adding something to a positive number. Therefore, we can deduce (with aid from a calculator) that the smaller value of $$x$$ is $$\frac {3}{8}$$ and the larger value of $$x$$ is $$4$$, leaving us with two regions in which the inequality is satisfied.

\begin{equation*} x \leqq \frac {3}{8} \text { and } x \geqq 4 \end{equation*}

A slightly harder example: Find the complete set of values satisfying the inequality

$\abs {\abs {x-1} - 5} < 3$

2727 This question came from https://madasmaths.com

Solution: This question is a bit fiddly. The first step is to square both sides (which is fine, because the values we’re taking square roots of are always positive).

\begin{align} & (\abs {x-1} - 5)^2 < 3^2 \\ & (x-1)^2 - 10\sqrt {(x-1)^2} + 25 < 9 \\ & (x-1)^2 - 10\sqrt {(x-1)^2} + 16 < 0 \end{align}

This is just a quadratic 2828 Review the section on hidden quadratics if you’re not sure what this is. TODO: write this section, and we can substitute $$z=\sqrt {(x-1)^2}$$ to get that

\begin{align} & z^2 - 10z + 16 < 0 \\ & (z - 8)(z - 2) < 0 \end{align}

We can sketch this graph to work out where the inequality is true 2929 The other way to do this is to think about where one of the brackets is positive, and the other negative, but in my experience it’s a more error-prone method.

From the graph, the inequality is true whenever $$2 < z < 8$$ (i.e. $$z$$ is between the roots).

Thus we have $$2 < \sqrt {(x-1)^2} < 8$$. This means that both of these inequalities are true:

\begin{align} & \sqrt {(x-1)^2} < 8 \\ & \sqrt {(x-1)^2} > 2 \end{align}

If we square both sides, we get that

\begin{align} & (x-1)^2 < 64 \\ & (x-1)^2 > 4 \end{align}

Here’s a time to be careful; $$(x-1)^2$$ is always positive. When we take the square root, however, we can have either the positive or negative square root. Note that the negative square root is just $$-1$$ times $$\sqrt {\text {whatever}}$$, and thus we need to flip the inequality.

Overall then we have these four inequalities.

\begin{align} & x-1 < 8 \\ & x-1 > -8 \\ & x-1 > 2 \\ & x-1 < -2 \end{align}

Which can all be arranged to obtain that the following four inequalities must all be true for the inequality to hold

\begin{align} & x < 9 \\ & x > -7 \\ & x > 3 \\ & x < -1 \end{align}

Examining these, it is clear that there are two regions in which this is true: $$-7 < x < -1$$ and $$3 < x < 9$$. This is the complete set of regions which satisfy the inequality. We can write it using set theory notation as

$$\left \{-7 < x < - 1\right \} \cup \left \{3 < x < 9\right \}$$

where $$\cup$$ denotes the "union" operator (which means that overall we have the set of objects in either $$\left \{-7 < x < - 1\right \}$$, $$\left \{3 < x < 9\right \}$$, or in both of them - which in this case is nothing, as the two ranges don’t overlap).

• Example 4.9.2 Solve the equation

$$\abs {\frac {1}{9} (8t - 9)} = \abs {\frac {1}{3}(2t-11)}$$

Solution: this can be solved by using the fact that $$\abs {x} = \sqrt {x^2}$$, but the numbers are not nice, and I made so many arithmetic errors (it was painful). The other way is to think about the definition of the modulus function.

Instead, we can think about the definition of the modulus function. For each side of the equation we have

$$\abs {\frac {1}{9}\left (8t-9\right )} = \begin{cases} \frac {1}{9}\left (8t-9\right ) & \frac {1}{9}\left (8t-9\right ) \geqq 0 \\ -\frac {1}{9}\left (8t-9\right ) & \frac {1}{9}\left (8t-9\right ) < 0 \end {cases}$$

$$\abs {\frac {1}{3}(2t-11)} = \begin{cases} \frac {1}{3}(2t-11) & \frac {1}{3}(2t-11) \geqq 0 \\ -\frac {1}{3}(2t-11) & \frac {1}{3}(2t-11) < 0 \end {cases}$$

Thinking about the cases, the graphs can intersect either

• • Where the argument to the modulus function is less than zero, and thus has been multiplied by negative one, for both functions.

• • Where the argument of one of the functions is less than zero, and the other is greater than zero.

• • Where the argument of both functions is greater than zero.

In the first case, the values of $$t$$ where the two curves intersect would be when

$$(-1) \cdot \frac {1}{9}\left (8t-9\right ) = (-1) \cdot \frac {1}{3}(2t-11)$$

this is just the same as

$$\label {case 1 and case 3} \frac {1}{9}\left (8t-9\right ) = \frac {1}{3}(2t-11)$$

Which is the same equation as for case three.

The only other case is when

$$\label {case 2 only} - \frac {1}{9}\left (8t-9\right ) = \frac {1}{3}(2t-11)$$

Note that it doesn’t matter which one is less than zero (and has thus been multiplied by $$-1$$), as we can just multiply both sides by $$-1$$ to get from one to the other.

Thus solving Equation 4.101, we have

\begin{align} & \frac {1}{9}\left (8t-9\right ) = \frac {1}{3}(2t-11) \\ & 8t-9 = 3(2t-11) \\ & 8t - 9 = 6t - 33 \\ & 2t = -24 \\ & t = - 12 \end{align}

And solving Equation 4.102 we have

\begin{align} & - \frac {1}{9}\left (8t-9\right ) = \frac {1}{3}(2t-11) \\ & -(8t-9) = 3(2t-11) \\ & -8t + 9 = 6t - 33 \\ & -14t = -42 \\ & t = 3 \end{align}