WEBVTT

1
00:00:00.000 --> 00:00:04.272
Here is the problem: |x| plus |x minus 2| equals 4.

2
00:00:04.723 --> 00:00:10.261
Solve for x numerically (the equation contains functions such as sin, log or roots).

3
00:00:11.061 --> 00:00:12.501
Start with the equation.

4
00:00:12.951 --> 00:00:14.994
Rewrite as f(x) equals 0.

5
00:00:15.444 --> 00:00:31.512
This equation is not polynomial, so solve it numerically. Scan x from negative 10 to the power 9 to 10 to the power 9 for sign changes of f and for points where the graph touches the axis, then narrow each one down. Every root is checked by substituting it back.

6
00:00:31.962 --> 00:00:37.036
Found 2 solutions in [−10 to the power 9, 10 to the power 9].

7
00:00:37.836 --> 00:00:42.236
So the answer is x equals negative 1, x equals 3.

8
00:00:42.686 --> 00:00:51.312
Values marked approximately are numerical approximations accurate to about 10 significant digits. Every value was checked by substitution.

9
00:00:52.112 --> 00:00:58.950
x equals negative 1: left side equals 4, right side equals 4, which checks out.

10
00:00:59.400 --> 00:01:06.134
x equals 3: left side equals 4, right side equals 4, which checks out.
