Mister Exam

Other calculators


|x-4|=2

|x-4|=2 equation

The teacher will be very surprised to see your correct solution 😉

v

Numerical solution:

Do search numerical solution at [, ]

The solution

You have entered [src]
|x - 4| = 2
$$\left|{x - 4}\right| = 2$$
Detail solution
For every modulo expressions in the equation
allow cases, when this expressions ">=0" or "<0",
solve the resulting equation.

1.
$$x - 4 \geq 0$$
or
$$4 \leq x \wedge x < \infty$$
we get the equation
$$\left(x - 4\right) - 2 = 0$$
after simplifying we get
$$x - 6 = 0$$
the solution in this interval:
$$x_{1} = 6$$

2.
$$x - 4 < 0$$
or
$$-\infty < x \wedge x < 4$$
we get the equation
$$\left(4 - x\right) - 2 = 0$$
after simplifying we get
$$2 - x = 0$$
the solution in this interval:
$$x_{2} = 2$$


The final answer:
$$x_{1} = 6$$
$$x_{2} = 2$$
The graph
Sum and product of roots [src]
sum
2 + 6
$$2 + 6$$
=
8
$$8$$
product
2*6
$$2 \cdot 6$$
=
12
$$12$$
12
Rapid solution [src]
x1 = 2
$$x_{1} = 2$$
x2 = 6
$$x_{2} = 6$$
x2 = 6
Numerical answer [src]
x1 = 6.0
x2 = 2.0
x2 = 2.0
The graph
|x-4|=2 equation