Skip to main content
Logo image

Chapter 4 Practice Activities

View Source
Let’s get our hands dirty and try writing some PreTeXt. If you have some ideas of what you want to try, go for it. Otherwise, try to implement as many of the following as you can.

Section 4.1 Basic PreTeXt

Practice 4.1.1. Paragraph contents.

(a)
Write a paragraph of text that includes an emphasized word, a “quoted” word, and inline math using a variable like \(x\) or \(y\text{.}\)
(b)
Write the definition of a term inside a paragraph (not as a numbered definition). The defined word should be clear when you ready it. For example: a slark is a hybrid of a sloth and a shark.
(c)
Write a paragraph that includes a math equation on a displayed line. Like this:
\begin{equation*} f(x) = \begin{cases} 1 \amp x = 1 \\ 0 \amp x \ne 1\end{cases}\text{.} \end{equation*}

Practice 4.1.2. Lists and Paragraphs.

Write a numbered list of your favorite three animals and an unnumbered list of your three favorite numbers (in no particular order). Put text introducing the lists between them.

Practice 4.1.3.

(a)
Create the following table using the pretext tabular environment.
1 2 3
4 5 6
(b)
Create the same table using a array environment.
\begin{equation*} \begin{array}{c|c|c} 1 \amp 2 \amp 3 \\ \hline 4 \amp 5 \amp 6 \end{array} \end{equation*}

Section 4.2 Blocks

Practice 4.2.1.

(a)
Write a numbered definition. Don’t forget to highlight the word that is being defined.
(b)
Oh no! You just realized that your definition is actually more of an axiom. What are you going to do!?!?

Practice 4.2.2.

(a)
Write a lemma. Since it is probably obvious, you can leave off the proof.
(b)
Write a theorem, and include a proof. The proof should use (and reference) the lemma (which means you need to go back and identify the lemma some how).
(c)
What other types of mathematical statements might you want to include now? Maybe you put a remark or a note or a corollary? What would you want to do? What can you do?

Practice 4.2.3.

(b)
Sometimes an example is of a problem you would ask students to solve. You might include a hint or solution for such examples. Give an example of such a thing, with a hint and solution.

Practice 4.2.4.

(a)
Write an activity that you would want your students to try. Give your activity a hint.
(b)
Sometimes an activity has multiple parts. You could give each part as an item on a numbered list, but that would not allow parts to have their own hint/answer/solution.
Instead, you can make each part its own <task>. Try writing a multi-part activity, some parts having hints, others having a solution.
Exercises can appear at the end of a section, in an <exercises> division, or they can be “checkpoint” exercises that show up in the middle of a section.

Practice 4.2.5.

Write a checkpoint exercise. Up to you whether it gets parts (i.e. tasks).

What we learned.

You can do lots of things in PreTeXt.

Practice 4.2.6.

Write a summary box like the one above. You might say that such a box “assembles” the concepts you have discussed...

Section 4.3 Challenges

Want to push yourself a bit? Try some of these bonus activities

Challenge 4.3.1.

Replicated the following:
\begin{equation*} f(x) = x^2 \end{equation*}
\(x\) \(f(x)\)
1 1
2 4
3 9
Table 4.3.1. Table of Values

Challenge 4.3.2.

Create the folowing images using TikZ

Section 4.4 Adapting existing content

Activity 4.4.1.

Nest the following PreTeXt elements in order to produce the “Graphing a Derivative” subsection of OpenStax Calculus Volume 1 Section 3.2
 1 
openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function#fs-id1169737770972
.
<caption>The derivative <m>f'(x)</m> is positive everywhere because the function <m>f(x)</m> is increasing.</caption>
<caption>The derivative <m>f'(x)\lt 0</m> where the function <m>f(x)</m> is decreasing and <m>f'(x)\gt 0</m> where <m>f(x)</m> is increasing...</caption>
<description>The function f(x) = the square root of x is graphed as is its derivative f'(x) = 1/(2 times the square root of x).</description>
<description>Two functions are graphed here: f(x) and f'(x). The function f(x) is the same as the above graph, that is, roughly sinusoidal, starting at (-4, 3), decreasing to a local minimum at (-2, 2), then increasing to a local maximum at (3, 6), and getting cut off at (7, 2). The function f'(x) is an downward-facing parabola with vertex near (0.5, 1.75), y-intercept (0, 1.5), and x-intercepts (-1.9, 0) and (3, 0).</description>
<description>The function f(x) = x squared - 2x is graphed as is its derivative f'(x) = 2x - 2.</description>
<description>The function f(x) is roughly sinusoidal, starting at (-4, 3), decreasing to a local minimum at (-2, 2), then increasing to a local maximum at (3, 6), and getting cut off at (7, 2).</description>
<example></example>
<exercise></exercise>
<figure></figure>
<figure></figure>
<image source="solution-image.jpg"></image>
<image source="fx-sqrt-x.jpg"></image>
<image source="exercise-image.jpg"></image>
<image source="fx-x2-2x.jpg"></image>
<p>We have already discussed how to graph a function...</p>
<p>In Example 3.12 we found that for <m>f(x)=x^2-2x,f'(x)=2x-2</m>...</p>
<p>Sketch the graph of <m>f(x)=x^2-4</m>...</p>
<p>In Example 3.11 we found that for <m>f(x)=\sqrt{x},f'(x)=1/2\sqrt{x}</m>...</p>
<p>The solution is shown in the following graph. Observe that...</p>
<p>Use the following graph of <m>f(x)</m> to sketch a graph of <m>f'(x)</m>.</p>
<solution></solution>
<statement></statement>
<statement></statement>
<subsection></subsection>
<title>Graphing a Derivative</title>
<title>Sketching a Derivative Using a Function</title>

Activity 4.4.2.

Consider the following concerning the first two pages (leading up until the “Units” header) of Elements of Abstract and Linear Algebra
 2 
www.math.miami.edu/~ec/book/ch03.pdf
.
(a)
Consider how this content might be scaffolded in terms of paragraphs, theorems, statements, proofs, and so on (not necessarily in PreTeXt terms).
(b)
Nest the following PreTeXt elements in order to reproduce this portion of .
<definition></definition>
<example></example>
<introduction></introduction>
<li><p>If <m>a,b,c\in R</m>... (associative)</p></li>
<li><p><m>(-a)\cdot b=a\cdot(-b)=-(a\cdot b)</m>.</p></li>
<li><p>If <m>a,b,c\in R</m>... (distribuative)</p></li>
<li><p><m>(na)\cdot(mb)=(nm)(a\cdot b)</m>...</p></li>
<li><p><m>a\cdot \underline{0}=\underline{0}\cdot=\underline{0}</m>...</p></li>
<li><p><m>R</m> has a multiplicative identity...</p></li>
<li><p>Let <m>\underline{n}=n\underline{1}</m>. For example...</p></li>
<li><p>If <m>a,b\in R</m>... (commutative)</p></li>
<p>Suppose <m>R</m> is an additive abelian group...</p>
<p>The next two theorems show that ring mulitplication...</p>
<p>Suppose <m>R</m> is a ring and <m>a,b\in R</m>.</p>
<p>Suppose <m>a,b\in R</m> and <m>n,m\in \mathbf Z</m>.</p>
<p>Rings are additive abelian groups with a second operation...</p>
<p>The basic commutative rings in mathematics are the integers <m>\mathbf Z</m>...</p>
<p>Recall that, since <m>R</m> is an additive abelien group...</p>
<p>If 1,2,3 are satisfied...</p>
<p><ol></ol></p>
<p><ol></ol></p>
<p><ol></ol></p>
<section></section>
<statement></statement>
<statement></statement>
<statement></statement>
<theorem></theorem>
<title>Rings</title>
<theorem></theorem>
<statement></statement>