<chapter xml:id="ch-exercises">
<title>Practice Activities</title>
<introduction>
<p>
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.
</p>
</introduction>
<section>
<title>Basic PreTeXt</title>
<exploration>
<title>Paragraph contents</title>
<task>
<statement>
<p>
Write a paragraph of text that includes an <em>emphasized</em> word, a <q>quoted</q> word, and inline math using a variable like <m>x</m> or <m>y</m>.
</p>
</statement>
</task>
<task>
<statement>
<p>
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 <term>slark</term> is a hybrid of a sloth and a shark.
</p>
</statement>
</task>
<task>
<statement>
<p>
Write a paragraph that includes a math equation on a displayed line. Like this:
<me>
f(x) = \begin{cases} 1 \amp x = 1 \\ 0 \amp x \ne 1\end{cases}
</me>.
</p>
</statement>
</task>
</exploration>
<exploration>
<title>Lists and Paragraphs</title>
<statement>
<p>
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.
</p>
</statement>
<hint>
<p>
You can use the <tag>ol</tag> tag for ordered lists, and <tag>ul</tag> for unordered lists. Each item should be inside <tag>li</tag>s.
</p>
</hint>
<hint>
<p>
For the content around the lists, you will want them to be in <tag>p</tag> tags. Note also that the list themselves must be nested in these paragraphs. You can't have lists floating on their own.
</p>
</hint>
<solution>
<pre>
<p>
Here is my list of animals:
<ol>
<li>Shark</li>
<li>Sloth</li>
<li>Slork</li>
</ol>
</p>
<p>
My favorite numbers, in no particular order, happen to be:
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
</p>
</pre>
</solution>
</exploration>
<exploration>
<task>
<statement>
<p>
Create the following table using the pretext <c>tabular</c> environment.
</p>
<tabular>
<col right="medium" /><col right="medium" /><col />
<row bottom="medium">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row>
<cell>4</cell>
<cell>5</cell>
<cell>6</cell>
</row>
</tabular>
</statement>
<solution>
<pre>
<tabular>
<col right="medium" /><col right="medium" /><col />
<row bottom="medium">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row>
<cell>4</cell>
<cell>5</cell>
<cell>6</cell>
</row>
</tabular>
</pre>
</solution>
</task>
<task>
<statement>
<p>
Create the same table using a <latex /> array environment.
<me>
\begin{array}{c|c|c}
1 \amp 2 \amp 3 \\ \hline
4 \amp 5 \amp 6
\end{array}
</me>
</p>
</statement>
<solution>
<pre>
<me>
\begin{array}{c|c|c}
1 \amp 2 \amp 3 \\ \hline
4 \amp 5 \amp 6
\end{array}
</me>
</pre>
</solution>
</task>
</exploration>
</section>
<section xml:id="sec-blocks-practice">
<title>Blocks</title>
<exploration>
<task>
<statement>
<p>
Write a numbered definition. Don't forget to highlight the word that is being defined.
</p>
</statement>
</task>
<task>
<statement>
<p>
Oh no! You just realized that your definition is actually more of an axiom. What are you going to do!?!?
</p>
</statement>
</task>
</exploration>
<exploration>
<task>
<statement>
<p>
Write a lemma. Since it is probably obvious, you can leave off the proof.
</p>
</statement>
</task>
<task>
<statement>
<p>
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).
</p>
</statement>
</task>
<task>
<statement>
<p>
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?
</p>
</statement>
</task>
</exploration>
<exploration>
<task>
<statement>
<p>
Write a numbered example.
</p>
</statement>
</task>
<task>
<statement>
<p>
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.
</p>
</statement>
</task>
</exploration>
<exploration>
<task>
<statement>
<p>
Write an <term>activity</term> that you would want your students to try. Give your activity a hint.
</p>
</statement>
</task>
<task>
<statement>
<p>
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.
</p>
<p>
Instead, you can make each part its own <tag>task</tag>. Try writing a multi-part activity, some parts having hints, others having a solution.
</p>
</statement>
</task>
</exploration>
<p>
Exercises can appear at the end of a section, in an <tag>exercises</tag> division, or they can be <q>checkpoint</q> exercises that show up in the middle of a section.
</p>
<exploration>
<statement>
<p>
Write a checkpoint exercise. Up to you whether it gets parts (i.e. tasks).
</p>
</statement>
</exploration>
<assemblage xml:id="assemblage-example-for-exercise">
<title>What we learned</title>
<p>
You can do lots of things in <pretext />.
</p>
</assemblage>
<exploration>
<statement>
<p>
Write a summary box like the one above. You might say that such a box <q>assembles</q> the concepts you have discussed...
</p>
</statement>
</exploration>
</section>
<section xml:id="sec-bonus-practice">
<title>Challenges</title>
<p>
Want to push yourself a bit? Try some of these bonus activities
</p>
<investigation>
<statement>
<p>
Replicated the following:
</p>
<sidebyside valign="middle">
<p>
<me>
f(x) = x^2
</me>
</p>
<table>
<title>Table of Values</title>
<tabular>
<row bottom="medium">
<cell><m>x</m></cell>
<cell><m>f(x)</m></cell>
</row>
<row>
<cell>1</cell>
<cell>1</cell>
</row>
<row>
<cell>2</cell>
<cell>4</cell>
</row>
<row>
<cell>3</cell>
<cell>9</cell>
</row>
</tabular>
</table>
</sidebyside>
</statement>
</investigation>
<investigation>
<statement>
<p>
Create the folowing images using TikZ
</p>
<sidebyside widths="33% 33%" margins="11%" valign="middle">
<image width="25%" xml:id="tikz_quick_eg">
<latex-image>
\begin{tikzpicture}
\draw[fill=red,opacity=0.2] (0,0) circle (1.15);
\draw[fill=blue,opacity=0.2] (1,0) circle (1.15);
\end{tikzpicture}
</latex-image>
</image>
<image width="33%" xml:id="image_tikz_eg">
<latex-image>
\begin{tikzpicture}
\\ Shade the enclosed area first
\draw[color=white,fill=green,opacity=0.33]
(1,0)
-- (1,{cos(1 r)+2})
-- plot[domain= 1:3] ({\x},{cos(\x r)+2})
-- (3,{cos(3 r)+2})
-- (3,0)
-- (1,0);
\\ Draw the axes
\draw[latex-latex] (-1,0) -- (5,0);
\draw[latex-latex] (0,-1) -- (0,4);
\\ Plot the function
\draw [thick,domain=-1:4.5] plot ({\x},{cos(\x r)+2});
\node [thick,above right] at (4.5,{cos(4.5 r) + 2}){$f$};
\\ Draw the boundaries
\draw[red] (1,3) -- (1,-0.25) node [below] {$a$};
\draw[red] (3,3) -- (3,-0.25) node [below] {$b$};
\\ Label the area
\draw[<- , very thick] (2,0.5) -- (2.2,-1) node[below] {area between $f$ and $x$-axis over $[a,b]$};
\end{tikzpicture}
</latex-image>
</image>
</sidebyside>
</statement>
<hint>
<p>
Use two <c>image</c> environments, each containing a <c>latex-image</c> environment.
To display the images side by side, use the <c>sidebyside</c> environment.
To get the sizes and spacing even and uniform, you will need to set <c>@widths</c> and <c>@margins</c> in the <c>sidebyside</c> environment.
</p>
<p>
Remember that the < and > symbols are restricted.
For lines, it is eaisest to use <c>latex</c> or <c>stealth</c> as your arrow style.
If you must use < and > in your TikZ code, you must replace the symbols with <c>&lt;</c> and <c>&gt;</c> respectively.
</p>
</hint>
<solution>
<pre>
<sidebyside widths="33% 33%" margins="11%" valign="middle">
<image width="25%" xml:id="tikz_quick_eg">
<latex-image>
\begin{tikzpicture}
\draw[fill=red,opacity=0.2] (0,0) circle (1.15);
\draw[fill=blue,opacity=0.2] (1,0) circle (1.15);
\end{tikzpicture}
</latex-image>
</image>
<image width="33%" xml:id="image_tikz_eg">
<latex-image>
\begin{tikzpicture}
\\ Shade the enclosed area first
\draw[color=white,fill=green,opacity=0.33]
(1,0)
-- (1,{cos(1 r)+2})
-- plot[domain= 1:3] ({\x},{cos(\x r)+2})
-- (3,{cos(3 r)+2})
-- (3,0)
-- (1,0);
\\ Draw the axes
\draw[latex-latex] (-1,0) -- (5,0);
\draw[latex-latex] (0,-1) -- (0,4);
\\ Plot the function
\draw [thick,domain=-1:4.5] plot ({\x},{cos(\x r)+2});
\node [thick,above right] at (4.5,{cos(4.5 r) + 2}){$f$};
\\ Draw the boundaries
\draw[red] (1,3) -- (1,-0.25) node [below] {$a$};
\draw[red] (3,3) -- (3,-0.25) node [below] {$b$};
\\ Label the area
\draw[&lt;- , very thick] (2,0.5) -- (2.2,-1) node[below] {area between $f$ and $x$-axis over $[a,b]$};
\end{tikzpicture}
</latex-image>
</image>
</sidebyside>
</pre>
</solution>
</investigation>
</section>
<section xml:id="sec-adapting-example">
<title>Adapting existing content</title>
<activity>
<statement>
<p>
Nest the following PreTeXt elements in order to produce the <q>Graphing a Derivative</q> subsection of
<url href="https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function#fs-id1169737770972">
OpenStax Calculus Volume 1 Section 3.2
</url>.
</p>
<program language="xml">
<input>
<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>
</input>
</program>
</statement>
</activity>
<activity>
<introduction>
<p>
Consider the following concerning the first two pages (leading up until the <q>Units</q> header)
of <url href="https://www.math.miami.edu/~ec/book/ch03.pdf">Elements of Abstract and Linear Algebra</url>.
</p>
</introduction>
<task>
<statement>
<p>
Consider how this content might be scaffolded in terms of paragraphs, theorems, statements, proofs, and
so on (not necessarily in PreTeXt terms).
</p>
</statement>
</task>
<task>
<statement>
<p>
Nest the following PreTeXt elements in order to reproduce this portion of <title>Elements</title>.
</p>
<program language="xml">
<input>
<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>
</input>
</program>
</statement>
</task>
</activity>
</section>
</chapter>
Chapter 4 Practice Activities
View Source for chapter
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
View Source for section
<section>
<title>Basic PreTeXt</title>
<exploration>
<title>Paragraph contents</title>
<task>
<statement>
<p>
Write a paragraph of text that includes an <em>emphasized</em> word, a <q>quoted</q> word, and inline math using a variable like <m>x</m> or <m>y</m>.
</p>
</statement>
</task>
<task>
<statement>
<p>
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 <term>slark</term> is a hybrid of a sloth and a shark.
</p>
</statement>
</task>
<task>
<statement>
<p>
Write a paragraph that includes a math equation on a displayed line. Like this:
<me>
f(x) = \begin{cases} 1 \amp x = 1 \\ 0 \amp x \ne 1\end{cases}
</me>.
</p>
</statement>
</task>
</exploration>
<exploration>
<title>Lists and Paragraphs</title>
<statement>
<p>
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.
</p>
</statement>
<hint>
<p>
You can use the <tag>ol</tag> tag for ordered lists, and <tag>ul</tag> for unordered lists. Each item should be inside <tag>li</tag>s.
</p>
</hint>
<hint>
<p>
For the content around the lists, you will want them to be in <tag>p</tag> tags. Note also that the list themselves must be nested in these paragraphs. You can't have lists floating on their own.
</p>
</hint>
<solution>
<pre>
<p>
Here is my list of animals:
<ol>
<li>Shark</li>
<li>Sloth</li>
<li>Slork</li>
</ol>
</p>
<p>
My favorite numbers, in no particular order, happen to be:
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
</p>
</pre>
</solution>
</exploration>
<exploration>
<task>
<statement>
<p>
Create the following table using the pretext <c>tabular</c> environment.
</p>
<tabular>
<col right="medium" /><col right="medium" /><col />
<row bottom="medium">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row>
<cell>4</cell>
<cell>5</cell>
<cell>6</cell>
</row>
</tabular>
</statement>
<solution>
<pre>
<tabular>
<col right="medium" /><col right="medium" /><col />
<row bottom="medium">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row>
<cell>4</cell>
<cell>5</cell>
<cell>6</cell>
</row>
</tabular>
</pre>
</solution>
</task>
<task>
<statement>
<p>
Create the same table using a <latex /> array environment.
<me>
\begin{array}{c|c|c}
1 \amp 2 \amp 3 \\ \hline
4 \amp 5 \amp 6
\end{array}
</me>
</p>
</statement>
<solution>
<pre>
<me>
\begin{array}{c|c|c}
1 \amp 2 \amp 3 \\ \hline
4 \amp 5 \amp 6
\end{array}
</me>
</pre>
</solution>
</task>
</exploration>
</section>
Practice 4.1.1. Paragraph contents.
View Source for exploration
<exploration>
<title>Paragraph contents</title>
<task>
<statement>
<p>
Write a paragraph of text that includes an <em>emphasized</em> word, a <q>quoted</q> word, and inline math using a variable like <m>x</m> or <m>y</m>.
</p>
</statement>
</task>
<task>
<statement>
<p>
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 <term>slark</term> is a hybrid of a sloth and a shark.
</p>
</statement>
</task>
<task>
<statement>
<p>
Write a paragraph that includes a math equation on a displayed line. Like this:
<me>
f(x) = \begin{cases} 1 \amp x = 1 \\ 0 \amp x \ne 1\end{cases}
</me>.
</p>
</statement>
</task>
</exploration>
(a)
View Source for task
<task>
<statement>
<p>
Write a paragraph of text that includes an <em>emphasized</em> word, a <q>quoted</q> word, and inline math using a variable like <m>x</m> or <m>y</m>.
</p>
</statement>
</task>
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)
View Source for task
<task>
<statement>
<p>
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 <term>slark</term> is a hybrid of a sloth and a shark.
</p>
</statement>
</task>
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)
View Source for task
<task>
<statement>
<p>
Write a paragraph that includes a math equation on a displayed line. Like this:
<me>
f(x) = \begin{cases} 1 \amp x = 1 \\ 0 \amp x \ne 1\end{cases}
</me>.
</p>
</statement>
</task>
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.
View Source for exploration
<exploration>
<title>Lists and Paragraphs</title>
<statement>
<p>
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.
</p>
</statement>
<hint>
<p>
You can use the <tag>ol</tag> tag for ordered lists, and <tag>ul</tag> for unordered lists. Each item should be inside <tag>li</tag>s.
</p>
</hint>
<hint>
<p>
For the content around the lists, you will want them to be in <tag>p</tag> tags. Note also that the list themselves must be nested in these paragraphs. You can't have lists floating on their own.
</p>
</hint>
<solution>
<pre>
<p>
Here is my list of animals:
<ol>
<li>Shark</li>
<li>Sloth</li>
<li>Slork</li>
</ol>
</p>
<p>
My favorite numbers, in no particular order, happen to be:
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
</p>
</pre>
</solution>
</exploration>
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.
View Source for exploration
<exploration>
<task>
<statement>
<p>
Create the following table using the pretext <c>tabular</c> environment.
</p>
<tabular>
<col right="medium" /><col right="medium" /><col />
<row bottom="medium">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row>
<cell>4</cell>
<cell>5</cell>
<cell>6</cell>
</row>
</tabular>
</statement>
<solution>
<pre>
<tabular>
<col right="medium" /><col right="medium" /><col />
<row bottom="medium">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row>
<cell>4</cell>
<cell>5</cell>
<cell>6</cell>
</row>
</tabular>
</pre>
</solution>
</task>
<task>
<statement>
<p>
Create the same table using a <latex /> array environment.
<me>
\begin{array}{c|c|c}
1 \amp 2 \amp 3 \\ \hline
4 \amp 5 \amp 6
\end{array}
</me>
</p>
</statement>
<solution>
<pre>
<me>
\begin{array}{c|c|c}
1 \amp 2 \amp 3 \\ \hline
4 \amp 5 \amp 6
\end{array}
</me>
</pre>
</solution>
</task>
</exploration>
(a)
View Source for task
<task>
<statement>
<p>
Create the following table using the pretext <c>tabular</c> environment.
</p>
<tabular>
<col right="medium" /><col right="medium" /><col />
<row bottom="medium">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row>
<cell>4</cell>
<cell>5</cell>
<cell>6</cell>
</row>
</tabular>
</statement>
<solution>
<pre>
<tabular>
<col right="medium" /><col right="medium" /><col />
<row bottom="medium">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row>
<cell>4</cell>
<cell>5</cell>
<cell>6</cell>
</row>
</tabular>
</pre>
</solution>
</task>
Create the following table using the pretext
tabular
environment.1 | 2 | 3 |
4 | 5 | 6 |
(b)
View Source for task
<task>
<statement>
<p>
Create the same table using a <latex /> array environment.
<me>
\begin{array}{c|c|c}
1 \amp 2 \amp 3 \\ \hline
4 \amp 5 \amp 6
\end{array}
</me>
</p>
</statement>
<solution>
<pre>
<me>
\begin{array}{c|c|c}
1 \amp 2 \amp 3 \\ \hline
4 \amp 5 \amp 6
\end{array}
</me>
</pre>
</solution>
</task>
Create the same table using a LaTeX 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
View Source for section
<section xml:id="sec-blocks-practice">
<title>Blocks</title>
<exploration>
<task>
<statement>
<p>
Write a numbered definition. Don't forget to highlight the word that is being defined.
</p>
</statement>
</task>
<task>
<statement>
<p>
Oh no! You just realized that your definition is actually more of an axiom. What are you going to do!?!?
</p>
</statement>
</task>
</exploration>
<exploration>
<task>
<statement>
<p>
Write a lemma. Since it is probably obvious, you can leave off the proof.
</p>
</statement>
</task>
<task>
<statement>
<p>
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).
</p>
</statement>
</task>
<task>
<statement>
<p>
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?
</p>
</statement>
</task>
</exploration>
<exploration>
<task>
<statement>
<p>
Write a numbered example.
</p>
</statement>
</task>
<task>
<statement>
<p>
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.
</p>
</statement>
</task>
</exploration>
<exploration>
<task>
<statement>
<p>
Write an <term>activity</term> that you would want your students to try. Give your activity a hint.
</p>
</statement>
</task>
<task>
<statement>
<p>
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.
</p>
<p>
Instead, you can make each part its own <tag>task</tag>. Try writing a multi-part activity, some parts having hints, others having a solution.
</p>
</statement>
</task>
</exploration>
<p>
Exercises can appear at the end of a section, in an <tag>exercises</tag> division, or they can be <q>checkpoint</q> exercises that show up in the middle of a section.
</p>
<exploration>
<statement>
<p>
Write a checkpoint exercise. Up to you whether it gets parts (i.e. tasks).
</p>
</statement>
</exploration>
<assemblage xml:id="assemblage-example-for-exercise">
<title>What we learned</title>
<p>
You can do lots of things in <pretext />.
</p>
</assemblage>
<exploration>
<statement>
<p>
Write a summary box like the one above. You might say that such a box <q>assembles</q> the concepts you have discussed...
</p>
</statement>
</exploration>
</section>
Practice 4.2.1.
View Source for exploration
<exploration>
<task>
<statement>
<p>
Write a numbered definition. Don't forget to highlight the word that is being defined.
</p>
</statement>
</task>
<task>
<statement>
<p>
Oh no! You just realized that your definition is actually more of an axiom. What are you going to do!?!?
</p>
</statement>
</task>
</exploration>
(a)
View Source for task
<task>
<statement>
<p>
Write a numbered definition. Don't forget to highlight the word that is being defined.
</p>
</statement>
</task>
Write a numbered definition. Don’t forget to highlight the word that is being defined.
(b)
View Source for task
<task>
<statement>
<p>
Oh no! You just realized that your definition is actually more of an axiom. What are you going to do!?!?
</p>
</statement>
</task>
Oh no! You just realized that your definition is actually more of an axiom. What are you going to do!?!?
Practice 4.2.2.
View Source for exploration
<exploration>
<task>
<statement>
<p>
Write a lemma. Since it is probably obvious, you can leave off the proof.
</p>
</statement>
</task>
<task>
<statement>
<p>
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).
</p>
</statement>
</task>
<task>
<statement>
<p>
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?
</p>
</statement>
</task>
</exploration>
(a)
View Source for task
<task>
<statement>
<p>
Write a lemma. Since it is probably obvious, you can leave off the proof.
</p>
</statement>
</task>
Write a lemma. Since it is probably obvious, you can leave off the proof.
(b)
View Source for task
<task>
<statement>
<p>
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).
</p>
</statement>
</task>
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)
View Source for task
<task>
<statement>
<p>
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?
</p>
</statement>
</task>
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.
View Source for exploration
<exploration>
<task>
<statement>
<p>
Write a numbered example.
</p>
</statement>
</task>
<task>
<statement>
<p>
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.
</p>
</statement>
</task>
</exploration>
(a)
View Source for task
<task>
<statement>
<p>
Write a numbered example.
</p>
</statement>
</task>
Write a numbered example.
(b)
View Source for task
<task>
<statement>
<p>
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.
</p>
</statement>
</task>
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.
View Source for exploration
<exploration>
<task>
<statement>
<p>
Write an <term>activity</term> that you would want your students to try. Give your activity a hint.
</p>
</statement>
</task>
<task>
<statement>
<p>
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.
</p>
<p>
Instead, you can make each part its own <tag>task</tag>. Try writing a multi-part activity, some parts having hints, others having a solution.
</p>
</statement>
</task>
</exploration>
(a)
View Source for task
<task>
<statement>
<p>
Write an <term>activity</term> that you would want your students to try. Give your activity a hint.
</p>
</statement>
</task>
Write an activity that you would want your students to try. Give your activity a hint.
(b)
View Source for task
<task>
<statement>
<p>
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.
</p>
<p>
Instead, you can make each part its own <tag>task</tag>. Try writing a multi-part activity, some parts having hints, others having a solution.
</p>
</statement>
</task>
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.
View Source for exploration
<exploration>
<statement>
<p>
Write a checkpoint exercise. Up to you whether it gets parts (i.e. tasks).
</p>
</statement>
</exploration>
Write a checkpoint exercise. Up to you whether it gets parts (i.e. tasks).
What we learned.
View Source for assemblage
<assemblage xml:id="assemblage-example-for-exercise">
<title>What we learned</title>
<p>
You can do lots of things in <pretext />.
</p>
</assemblage>
You can do lots of things in PreTeXt.
Practice 4.2.6.
View Source for exploration
<exploration>
<statement>
<p>
Write a summary box like the one above. You might say that such a box <q>assembles</q> the concepts you have discussed...
</p>
</statement>
</exploration>
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
View Source for section
<section xml:id="sec-bonus-practice">
<title>Challenges</title>
<p>
Want to push yourself a bit? Try some of these bonus activities
</p>
<investigation>
<statement>
<p>
Replicated the following:
</p>
<sidebyside valign="middle">
<p>
<me>
f(x) = x^2
</me>
</p>
<table>
<title>Table of Values</title>
<tabular>
<row bottom="medium">
<cell><m>x</m></cell>
<cell><m>f(x)</m></cell>
</row>
<row>
<cell>1</cell>
<cell>1</cell>
</row>
<row>
<cell>2</cell>
<cell>4</cell>
</row>
<row>
<cell>3</cell>
<cell>9</cell>
</row>
</tabular>
</table>
</sidebyside>
</statement>
</investigation>
<investigation>
<statement>
<p>
Create the folowing images using TikZ
</p>
<sidebyside widths="33% 33%" margins="11%" valign="middle">
<image width="25%" xml:id="tikz_quick_eg">
<latex-image>
\begin{tikzpicture}
\draw[fill=red,opacity=0.2] (0,0) circle (1.15);
\draw[fill=blue,opacity=0.2] (1,0) circle (1.15);
\end{tikzpicture}
</latex-image>
</image>
<image width="33%" xml:id="image_tikz_eg">
<latex-image>
\begin{tikzpicture}
\\ Shade the enclosed area first
\draw[color=white,fill=green,opacity=0.33]
(1,0)
-- (1,{cos(1 r)+2})
-- plot[domain= 1:3] ({\x},{cos(\x r)+2})
-- (3,{cos(3 r)+2})
-- (3,0)
-- (1,0);
\\ Draw the axes
\draw[latex-latex] (-1,0) -- (5,0);
\draw[latex-latex] (0,-1) -- (0,4);
\\ Plot the function
\draw [thick,domain=-1:4.5] plot ({\x},{cos(\x r)+2});
\node [thick,above right] at (4.5,{cos(4.5 r) + 2}){$f$};
\\ Draw the boundaries
\draw[red] (1,3) -- (1,-0.25) node [below] {$a$};
\draw[red] (3,3) -- (3,-0.25) node [below] {$b$};
\\ Label the area
\draw[<- , very thick] (2,0.5) -- (2.2,-1) node[below] {area between $f$ and $x$-axis over $[a,b]$};
\end{tikzpicture}
</latex-image>
</image>
</sidebyside>
</statement>
<hint>
<p>
Use two <c>image</c> environments, each containing a <c>latex-image</c> environment.
To display the images side by side, use the <c>sidebyside</c> environment.
To get the sizes and spacing even and uniform, you will need to set <c>@widths</c> and <c>@margins</c> in the <c>sidebyside</c> environment.
</p>
<p>
Remember that the < and > symbols are restricted.
For lines, it is eaisest to use <c>latex</c> or <c>stealth</c> as your arrow style.
If you must use < and > in your TikZ code, you must replace the symbols with <c>&lt;</c> and <c>&gt;</c> respectively.
</p>
</hint>
<solution>
<pre>
<sidebyside widths="33% 33%" margins="11%" valign="middle">
<image width="25%" xml:id="tikz_quick_eg">
<latex-image>
\begin{tikzpicture}
\draw[fill=red,opacity=0.2] (0,0) circle (1.15);
\draw[fill=blue,opacity=0.2] (1,0) circle (1.15);
\end{tikzpicture}
</latex-image>
</image>
<image width="33%" xml:id="image_tikz_eg">
<latex-image>
\begin{tikzpicture}
\\ Shade the enclosed area first
\draw[color=white,fill=green,opacity=0.33]
(1,0)
-- (1,{cos(1 r)+2})
-- plot[domain= 1:3] ({\x},{cos(\x r)+2})
-- (3,{cos(3 r)+2})
-- (3,0)
-- (1,0);
\\ Draw the axes
\draw[latex-latex] (-1,0) -- (5,0);
\draw[latex-latex] (0,-1) -- (0,4);
\\ Plot the function
\draw [thick,domain=-1:4.5] plot ({\x},{cos(\x r)+2});
\node [thick,above right] at (4.5,{cos(4.5 r) + 2}){$f$};
\\ Draw the boundaries
\draw[red] (1,3) -- (1,-0.25) node [below] {$a$};
\draw[red] (3,3) -- (3,-0.25) node [below] {$b$};
\\ Label the area
\draw[&lt;- , very thick] (2,0.5) -- (2.2,-1) node[below] {area between $f$ and $x$-axis over $[a,b]$};
\end{tikzpicture}
</latex-image>
</image>
</sidebyside>
</pre>
</solution>
</investigation>
</section>
Want to push yourself a bit? Try some of these bonus activities
Challenge 4.3.1.
View Source for investigation
<investigation>
<statement>
<p>
Replicated the following:
</p>
<sidebyside valign="middle">
<p>
<me>
f(x) = x^2
</me>
</p>
<table>
<title>Table of Values</title>
<tabular>
<row bottom="medium">
<cell><m>x</m></cell>
<cell><m>f(x)</m></cell>
</row>
<row>
<cell>1</cell>
<cell>1</cell>
</row>
<row>
<cell>2</cell>
<cell>4</cell>
</row>
<row>
<cell>3</cell>
<cell>9</cell>
</row>
</tabular>
</table>
</sidebyside>
</statement>
</investigation>
Replicated the following:
\begin{equation*}
f(x) = x^2
\end{equation*}
View Source for table
<table>
<title>Table of Values</title>
<tabular>
<row bottom="medium">
<cell><m>x</m></cell>
<cell><m>f(x)</m></cell>
</row>
<row>
<cell>1</cell>
<cell>1</cell>
</row>
<row>
<cell>2</cell>
<cell>4</cell>
</row>
<row>
<cell>3</cell>
<cell>9</cell>
</row>
</tabular>
</table>
\(x\) | \(f(x)\) |
1 | 1 |
2 | 4 |
3 | 9 |
Challenge 4.3.2.
View Source for investigation
<investigation>
<statement>
<p>
Create the folowing images using TikZ
</p>
<sidebyside widths="33% 33%" margins="11%" valign="middle">
<image width="25%" xml:id="tikz_quick_eg">
<latex-image>
\begin{tikzpicture}
\draw[fill=red,opacity=0.2] (0,0) circle (1.15);
\draw[fill=blue,opacity=0.2] (1,0) circle (1.15);
\end{tikzpicture}
</latex-image>
</image>
<image width="33%" xml:id="image_tikz_eg">
<latex-image>
\begin{tikzpicture}
\\ Shade the enclosed area first
\draw[color=white,fill=green,opacity=0.33]
(1,0)
-- (1,{cos(1 r)+2})
-- plot[domain= 1:3] ({\x},{cos(\x r)+2})
-- (3,{cos(3 r)+2})
-- (3,0)
-- (1,0);
\\ Draw the axes
\draw[latex-latex] (-1,0) -- (5,0);
\draw[latex-latex] (0,-1) -- (0,4);
\\ Plot the function
\draw [thick,domain=-1:4.5] plot ({\x},{cos(\x r)+2});
\node [thick,above right] at (4.5,{cos(4.5 r) + 2}){$f$};
\\ Draw the boundaries
\draw[red] (1,3) -- (1,-0.25) node [below] {$a$};
\draw[red] (3,3) -- (3,-0.25) node [below] {$b$};
\\ Label the area
\draw[<- , very thick] (2,0.5) -- (2.2,-1) node[below] {area between $f$ and $x$-axis over $[a,b]$};
\end{tikzpicture}
</latex-image>
</image>
</sidebyside>
</statement>
<hint>
<p>
Use two <c>image</c> environments, each containing a <c>latex-image</c> environment.
To display the images side by side, use the <c>sidebyside</c> environment.
To get the sizes and spacing even and uniform, you will need to set <c>@widths</c> and <c>@margins</c> in the <c>sidebyside</c> environment.
</p>
<p>
Remember that the < and > symbols are restricted.
For lines, it is eaisest to use <c>latex</c> or <c>stealth</c> as your arrow style.
If you must use < and > in your TikZ code, you must replace the symbols with <c>&lt;</c> and <c>&gt;</c> respectively.
</p>
</hint>
<solution>
<pre>
<sidebyside widths="33% 33%" margins="11%" valign="middle">
<image width="25%" xml:id="tikz_quick_eg">
<latex-image>
\begin{tikzpicture}
\draw[fill=red,opacity=0.2] (0,0) circle (1.15);
\draw[fill=blue,opacity=0.2] (1,0) circle (1.15);
\end{tikzpicture}
</latex-image>
</image>
<image width="33%" xml:id="image_tikz_eg">
<latex-image>
\begin{tikzpicture}
\\ Shade the enclosed area first
\draw[color=white,fill=green,opacity=0.33]
(1,0)
-- (1,{cos(1 r)+2})
-- plot[domain= 1:3] ({\x},{cos(\x r)+2})
-- (3,{cos(3 r)+2})
-- (3,0)
-- (1,0);
\\ Draw the axes
\draw[latex-latex] (-1,0) -- (5,0);
\draw[latex-latex] (0,-1) -- (0,4);
\\ Plot the function
\draw [thick,domain=-1:4.5] plot ({\x},{cos(\x r)+2});
\node [thick,above right] at (4.5,{cos(4.5 r) + 2}){$f$};
\\ Draw the boundaries
\draw[red] (1,3) -- (1,-0.25) node [below] {$a$};
\draw[red] (3,3) -- (3,-0.25) node [below] {$b$};
\\ Label the area
\draw[&lt;- , very thick] (2,0.5) -- (2.2,-1) node[below] {area between $f$ and $x$-axis over $[a,b]$};
\end{tikzpicture}
</latex-image>
</image>
</sidebyside>
</pre>
</solution>
</investigation>
Create the folowing images using TikZ
Section 4.4 Adapting existing content
View Source for section
<section xml:id="sec-adapting-example">
<title>Adapting existing content</title>
<activity>
<statement>
<p>
Nest the following PreTeXt elements in order to produce the <q>Graphing a Derivative</q> subsection of
<url href="https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function#fs-id1169737770972">
OpenStax Calculus Volume 1 Section 3.2
</url>.
</p>
<program language="xml">
<input>
<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>
</input>
</program>
</statement>
</activity>
<activity>
<introduction>
<p>
Consider the following concerning the first two pages (leading up until the <q>Units</q> header)
of <url href="https://www.math.miami.edu/~ec/book/ch03.pdf">Elements of Abstract and Linear Algebra</url>.
</p>
</introduction>
<task>
<statement>
<p>
Consider how this content might be scaffolded in terms of paragraphs, theorems, statements, proofs, and
so on (not necessarily in PreTeXt terms).
</p>
</statement>
</task>
<task>
<statement>
<p>
Nest the following PreTeXt elements in order to reproduce this portion of <title>Elements</title>.
</p>
<program language="xml">
<input>
<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>
</input>
</program>
</statement>
</task>
</activity>
</section>
Activity 4.4.1.
View Source for activity
<activity>
<statement>
<p>
Nest the following PreTeXt elements in order to produce the <q>Graphing a Derivative</q> subsection of
<url href="https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function#fs-id1169737770972">
OpenStax Calculus Volume 1 Section 3.2
</url>.
</p>
<program language="xml">
<input>
<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>
</input>
</program>
</statement>
</activity>
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
View Source for program
<program language="xml">
<input>
<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>
</input>
</program>
<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.
View Source for activity
<activity>
<introduction>
<p>
Consider the following concerning the first two pages (leading up until the <q>Units</q> header)
of <url href="https://www.math.miami.edu/~ec/book/ch03.pdf">Elements of Abstract and Linear Algebra</url>.
</p>
</introduction>
<task>
<statement>
<p>
Consider how this content might be scaffolded in terms of paragraphs, theorems, statements, proofs, and
so on (not necessarily in PreTeXt terms).
</p>
</statement>
</task>
<task>
<statement>
<p>
Nest the following PreTeXt elements in order to reproduce this portion of <title>Elements</title>.
</p>
<program language="xml">
<input>
<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>
</input>
</program>
</statement>
</task>
</activity>
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)
View Source for task
<task>
<statement>
<p>
Consider how this content might be scaffolded in terms of paragraphs, theorems, statements, proofs, and
so on (not necessarily in PreTeXt terms).
</p>
</statement>
</task>
Consider how this content might be scaffolded in terms of paragraphs, theorems, statements, proofs, and so on (not necessarily in PreTeXt terms).
(b)
View Source for task
<task>
<statement>
<p>
Nest the following PreTeXt elements in order to reproduce this portion of <title>Elements</title>.
</p>
<program language="xml">
<input>
<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>
</input>
</program>
</statement>
</task>
Nest the following PreTeXt elements in order to reproduce this portion of .
View Source for program
<program language="xml">
<input>
<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>
</input>
</program>
<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>