Skip to content

Commit 6be82e0

Browse files
committed
updated preliminaries xml
1 parent de263b2 commit 6be82e0

File tree

2 files changed

+44
-47
lines changed

2 files changed

+44
-47
lines changed

mat101-book.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
3838
<!-- such as a chapter or section -->
3939
<mathbook xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en-US">
4040
<!-- <mathbook xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="fr-FR"> -->
41-
41+
<docinfo>
4242
<latex-image-preamble>
43-
\usepackage{tikz}
43+
\usepackage{pgfplots}
4444
</latex-image-preamble>
45+
</docinfo>
4546

4647

4748
<book xml:id="mat101-book">

preliminaries.xml

+41-45
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
2727
<!-- % Chapters now begin with Chapter 1 -->
2828

2929
<title>Set 00-Preliminaries: Signed Numbers and Operations of Numbers</title>
30-
<introduction>
30+
<introduction>
3131
<p>Objectives:
3232
<ul>
3333
<li>Add, subtract, multiply and divide positive and negative
@@ -42,112 +42,109 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
4242
<title>Integer Addition and Subtraction</title>
4343
<p>A small picture of the integers is provided on the number line below:</p>
4444
<figure xml:id="figure-numberline">
45-
<image xml:id="numberline">
45+
<image xml:id="numberline" width="70%">
4646
<latex-image-code><![CDATA[
47-
\begin{tikzpicture} [scale = 0.4]
48-
\draw[<->] (-5.5,0) -- (5.5,0) node [below] {$\mathbb{R}$};
47+
\begin{tikzpicture} [scale = 0.5, transform shape]
48+
\draw[<->] (-5.5,0) -- (5.5,0);
4949
\foreach \x in {-5,...,5}
50-
\draw (\x, 0.1) -- (\x, -0.1) node [below] {\x};
51-
50+
\draw (\x, 0.1) -- (\x, -0.1) node [below] {$\x$};
5251
\end{tikzpicture}]]>
5352
</latex-image-code>
5453
</image>
55-
<caption> The Real Number Line </caption>
5654
</figure>
5755

58-
<p>The number line actually goes on forever in both directions. The <b>positive integers</b> are the whole numbers to the right of (or greater than) <m>0</m>: <m>1, 2, 3, \dots</m>. The <b>negative integers</b> are the whole numbers to the left of (or less than) <m>0</m>: <m>-1, -2, -3, \dots</m>. Some interesting facts to note are:
56+
<p>The number line actually goes on forever in both directions. The <term>positive integers</term> are the whole numbers to the right of (or greater than) <m>0</m>: <m>1, 2, 3, \dots</m>. The <term>negative integers</term> are the whole numbers to the left of (or less than) <m>0</m>: <m>-1, -2, -3, \dots</m>. Some interesting facts to note are:
5957
<ul>
6058
<li>The integer <m>0</m> is neither positive nor negative.</li>
6159
<li>As we move to the right on the number line, the integers increase in value. <m>3</m> is greater than <m>2</m>, written <m>3\gt 2</m>. But <m>-2</m> is greater than <m>-3</m>, written <m>-2\gt -3</m>.</li>
6260
</ul>
6361
</p>
6462

6563
<p>Recall that adding a <m>\color{green}{\text{positive}}</m> integer equates to moving <m>\color{green}{\text{right}}</m> on the number line.</p>
66-
67-
<example xml:id="example-numberline-ex-1plus3">
64+
<example xml:id="example-numberline-ex-1plus3">
6865
<title>Add Positive <m>3</m> to <m>1</m></title>
69-
7066
<!-- Our own-->
71-
<p><m>1+3</m> Start at <m>1</m> on the number line. </p>
72-
<figure xml:id="figure-numberline-ex-1plus3">
73-
<image xml:id="numberline-ex-1plus3">
67+
<p><md>
68+
<mrow>1+3\amp\amp\amp\text{Start at 1 on the number line.}</mrow></md>
69+
Move three positions right:</p>
70+
<figure xml:id="figure-numberline-ex-1plus3">
71+
<image xml:id="numberline-ex-1plus3" width="70%">
7472
<latex-image-code><![CDATA[
75-
\begin{tikzpicture} [scale = 0.4]
76-
\draw[<->] (-5.5,0) -- (5.5,0) node [below] {$\mathbb{R}$};
73+
\begin{tikzpicture} [scale = 0.5, transform shape]
74+
\draw[<->] (-5.5,0) -- (5.5,0);
7775
\foreach \x in {-5,...,5}
78-
\draw (\x, 0.1) -- (\x, -0.1) node [below] {\x};
76+
\draw (\x, 0.1) -- (\x, -0.1) node [below] {$\x$};
7977
\draw[color=green, ->] (0:1) arc (180:15:.5);
8078
\draw[color=green, ->] (0:2) arc (180:15:.5);
8179
\draw[color=green, ->] (0:3) arc (180:15:.5);
82-
8380
\filldraw[color=blue] (1,0) circle (.1);
8481
\filldraw[color=green] (4,0) circle (.1);
8582
\end{tikzpicture}]]>
8683
</latex-image-code>
8784
</image>
88-
<caption> <m>1+3</m> </caption>
89-
</figure>
90-
91-
<p>Move three positions right.
92-
<m>4</m> Our Solution: We knew that!</p>
85+
</figure>
86+
<p><md>
87+
<mrow>4\amp\amp\amp\text{Our Solution: We knew that!}</mrow>
88+
</md></p>
9389
</example>
9490

9591
<p>Similarly, adding a \(\color{red}{\text{negative}}\) integer equates to moving \(\color{red}{\text{left}}\) on the number line.</p>
9692

9793
<example xml:id="example-numberline-ex-1minus3">
9894
<title>Add Negative <m>3</m> to <m>1</m></title>
99-
10095
<!-- Our own-->
101-
<p><m>1+(-3)</m> Start at <m>1</m> on the number line. </p>
96+
<p><md><mrow>1+(-3)\amp\amp\amp\text{Start at }1\text{ on the number line.}</mrow></md></p>
97+
<p>Move three positions left.</p>
10298
<figure xml:id="figure-numberline-ex-1minus3">
103-
<image xml:id="numberline-ex-1minus3">
99+
<image xml:id="numberline-ex-1minus3" width="70%">
104100
<latex-image-code><![CDATA[
105-
\begin{tikzpicture} [scale = 0.4]
106-
\draw[<->] (-5.5,0) -- (5.5,0) node [below] {$\mathbb{R}$};
107-
\foreach \x in {-5,...,5}
108-
\draw (\x, 0.1) -- (\x, -0.1) node [below] {\x};
101+
\begin{tikzpicture} [scale = 0.5, transform shape]
102+
\draw[<->] (-5.5,0) -- (5.5,0);
103+
\foreach \x in {-5,...,5}
104+
\draw (\x, 0.1) -- (\x, -0.1) node [below] {$\x$};
109105
\draw[color=red, ->] (0:1) arc (0:165:.5);
110106
\draw[color=red, ->] (0:0) arc (0:165:.5);
111107
\draw[color=red, ->] (0:-1) arc (0:165:.5);
112-
113108
\filldraw[color=blue] (1,0) circle (.1);
114109
\filldraw[color=red] (-2,0) circle (.1);
115110
\end{tikzpicture}]]>
116111
</latex-image-code>
117112
</image>
118-
<!--<caption> <m>1+(-3)</m></caption> -->
119113
</figure>
120-
121-
<p>Move three positions left. <m>-2</m> Our Solution</p>
114+
<p><md><mrow>-2\amp\amp\amp\text{Our Solution}</mrow></md></p>
122115
</example>
123116

124117
<example xml:id="example-numberline-ex-neg1minus2">
125118
<title>Add Negative <m>2</m> to <m>-1</m></title>
126-
127119
<!-- Our own-->
128120
<p><m>-1+(-2)</m> Start at <m>-1</m> on the number line. </p>
129121
<figure xml:id="figure-numberline-ex-neg1minus2">
130-
<image xml:id="numberline-ex-neg1minus2">
122+
<image xml:id="numberline-ex-neg1minus2" width="70%">
131123
<latex-image-code><![CDATA[
132-
\begin{tikzpicture} [scale = 0.4]
133-
\draw[<->] (-5.5,0) -- (5.5,0) node [below] {$\mathbb{R}$};
134-
\foreach \x in {-5,...,5}
135-
\draw (\x, 0.1) -- (\x, -0.1) node [below] {\x};
124+
\begin{tikzpicture} [scale = 0.5, transform shape]
125+
\draw[<->] (-5.5,0) -- (5.5,0);
126+
\foreach \x in {-5,...,5}
127+
\draw (\x, 0.1) -- (\x, -0.1) node [below] {$\x$};
136128
\draw[color=red, ->] (0:-1) arc (0:165:.5);
137129
\draw[color=red, ->] (0:-2) arc (0:165:.5);
138-
139-
140130
\filldraw[color=blue] (-1,0) circle (.1);
141131
\filldraw[color=red] (-3,0) circle (.1);
142132
\end{tikzpicture}]]>
143133
</latex-image-code>
144134
</image>
145-
<caption> <m>-1+(-2)</m></caption>
146135
</figure>
147-
148136
<p>Move two positions left. <m>-3</m> Our Solution</p>
149137
</example>
150138

139+
<p>Notice in Example<nbsp /><xref ref="example-numberline-ex-neg1minus2" /> that adding two negative numbers is equivalent to adding the two corresponding positive numbers, but the final result is negative: <m>1+2=3</m> and <m>-1+(-2) = -3</m>. However in Example<nbsp /><xref ref="example-numberline-ex-1minus3" /> we see that adding a negative number to a positive number is actually related to subtraction: <m>1+(-3)=-2</m> can be computed by first subtracting the corresponding positive integers, but the final result is negative: <m>3-1=2</m> and <m>1+(-3)=-2</m>.</p>
140+
141+
<example xml:id="example-add-two-neg">
142+
<title>Add Two Negative Integers</title>
143+
<p><md><mrow>-4+(-11)\amp\amp\amp\text{Adding two negatives: add positives}</mrow>
144+
<mrow>4+11=15\amp\amp\amp\text{The result is negative}</mrow>
145+
<mrow>-15\amp\amp\amp\text{Our Solution}</mrow>
146+
</md></p>
147+
</example>
151148
</section>
152149

153150
<section xml:id="sec-int-mult-div">
@@ -162,7 +159,6 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
162159

163160
<section xml:id="sec-work-with-vars">
164161
<title>Working with Variables</title>
165-
166162
</section>
167163

168164

0 commit comments

Comments
 (0)