Game Development Reference
In-Depth Information
e.
5
1
4
m ¼ 2m þ
1
2
þ
3
4
m
4
m þ
3
4
1
2
2
3
¼
1
3
f.
3y
g.
1
5
2
2
þ 4t ¼ 3t
h.
7
1
4
þ
3
4
b ¼
1
16
þ b
8
b
i.
4
3
ð5a þ 1Þ¼8
j.
2
1
4
x ¼ 6
3
þ
More on Absolute Values
When you work with absolute values, recall that the absolute value of a number is
its distance from zero. Given the use of the number line, any number and its
additive inverse possess the same absolute value. You represent this situation as
follows:
j
3
j¼
3
j
3
j¼
3
When you translate this set of relations so that you explicitly identify the values of
x
in a formal way, you can create an expression that assumes this form:
If
j
x
j¼
3
) x ¼
3,
3
:
Such a statement reads, ''Given that the absolute value of some number
x
is 3,
then
x
can be either 3 and
3.'' As Figure 5.4 illustrates, if you employ a number
line, you can easily show the two values.
Figure 5.4
You can associate negative and positive numbers with a statement involving an absolute value.