Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/linear-algebra/source/01-LE/02.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,9 @@ rref(A)
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>
<sage language="octave">
<sage language="octave" component="html">
<input>
format rat

Expand Down
8 changes: 4 additions & 4 deletions source/linear-algebra/source/01-LE/03.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ How many solutions must this system have?
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
<input>
A = [ 3 -2 13 6
2 -2 10 2
Expand Down Expand Up @@ -182,7 +182,7 @@ How many solutions must this system have?
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
<input>rref([3,-2,13,6;2,-2,10,2;-1,0,-3,1;3,7,0,-2])</input>
</sage>

Expand Down Expand Up @@ -251,7 +251,7 @@ How many solutions must this system have?
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>

<fact xml:id="LE3-fact-scenarios">
Expand Down Expand Up @@ -399,7 +399,7 @@ different solutions. We'll learn how to find such solution sets in
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>
</subsection>

Expand Down
2 changes: 1 addition & 1 deletion source/linear-algebra/source/01-LE/04.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ in the following set-builder notation.
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>


Expand Down
35 changes: 23 additions & 12 deletions source/linear-algebra/source/02-EV/01.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ we refer to this real number as a <term>scalar</term>.
</p>
</task>
<task>
<p>
<p component="html">
Correct the SageMath code cell below to generate
an illustration of several vectors belonging to
<me>\vspan\left\{\left[\begin{array}{c}1\\2\end{array}\right],
Expand All @@ -191,43 +191,53 @@ we refer to this real number as a <term>scalar</term>.
b\left[\begin{array}{c}-1\\1\end{array}\right]}{a, b \in \IR}</me>
in the <m>xy</m> plane.
</p>
<sage>
<sage component="html">
<input>
<xi:include href="./code/ev1-planar-span.sage" parse="text" />
</input>
</sage>
<p>
<p component="html">
Based on this illustration, which of these geometrical objects
best describes the span of these two vectors?
</p>
<p component="print">
Which of these geometrical objects
best describes the span of these two vectors?
</p>
<ol marker="A." cols="4">
<li>A line</li>
<li>A plane</li>
<li>A parabola</li>
<li>A circle</li>
</ol>
</p>
</task>
</activity>

<activity estimated-time='5'>
<statement>
<p>
<p component="html">
Sketch a representation of all the vectors belonging to
<m>\vspan\left\{\left[\begin{array}{c}6\\-4\end{array}\right],
\left[\begin{array}{c}-3\\2\end{array}\right]\right\}</m>
in the <m>xy</m> plane, or adapt the code in the previous
activity to illustrate this span.
</p>
<p component="print">
Sketch a representation of all the vectors belonging to
<m>\vspan\left\{\left[\begin{array}{c}6\\-4\end{array}\right],
\left[\begin{array}{c}-3\\2\end{array}\right]\right\}</m>
in the <m>xy</m> plane.
</p>
<p>
Which of these geometrical objects
best describes the span of these two vectors?
<ol marker="A.">
</p>
<ol marker="A." cols="4">
<li>A line</li>
<li>A plane</li>
<li>A parabola</li>
<li>A cube</li>
</ol>
</p>
</statement>
</activity>

Expand Down Expand Up @@ -286,7 +296,7 @@ x_3\left[\begin{array}{c}1\\0\\-3\end{array}\right]=0</m>
</task>
</activity>

<sage language="octave"/>
<sage language="octave" component="html"/>

<observation>
<p>
Expand Down Expand Up @@ -351,7 +361,7 @@ The following are all equivalent statements:
</answer> -->
</activity>

<sage language="octave"/>
<sage language="octave" component="html"/>

<activity estimated-time="10">
<introduction>
Expand All @@ -376,7 +386,7 @@ The following are all equivalent statements:
</answer> -->
</activity>

<sage language="octave"/>
<sage language="octave" component="html"/>

<!-- <activity estimated-time='10'>
<introduction>
Expand Down Expand Up @@ -497,10 +507,11 @@ b\left[\begin{array}{c} 1 \\ 2 \\ 1 \end{array}\right]
a,b\in\IR
}
</me>
is a set containing infinitely-many vectors. See the below
is a set containing infinitely-many vectors. </p>
<p component="html">See the below
Sage cell for an illustration.
</p>
<sage language="sage">
<sage language="sage" component="html">
<input>
<xi:include href="./code/ev1-remark-span.sage" parse="text" />
</input>
Expand Down
72 changes: 5 additions & 67 deletions source/linear-algebra/source/02-EV/02.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ since <m>\IR^1=\setBuilder{cx}{c\in\IR}</m>.
<m>\vspan\left\{\left[\begin{array}{c}1\\-1\\0\end{array}\right],
\left[\begin{array}{c}-2\\0\\1\end{array}\right],\left[\begin{array}{c}-2\\-2\\2\end{array}\right]\right\}</m>.
</p>
<sage language="octave">
<sage language="octave" component="html">
</sage>
</statement>
<answer>
Expand Down Expand Up @@ -237,7 +237,7 @@ vector can't fail to belong.
<m>\vspan\left\{\left[\begin{array}{c}1\\-1\\0\end{array}\right],
\left[\begin{array}{c}-2\\0\\1\end{array}\right],\left[\begin{array}{c}-2\\-2\\2\end{array}\right]\right\}</m>.
</p>
<sage language="octave">
<sage language="octave" component="html">
</sage>
</statement>
<answer>
Expand All @@ -253,7 +253,7 @@ The vector belongs to the span.
<m>\vspan\left\{\left[\begin{array}{c}1\\-1\\0\end{array}\right],
\left[\begin{array}{c}-2\\0\\1\end{array}\right],\left[\begin{array}{c}-2\\-2\\2\end{array}\right]\right\}</m>.
</p>
<sage language="octave">
<sage language="octave" component="html">
</sage>
</statement>
<answer>
Expand All @@ -262,7 +262,7 @@ The vector does not belong to the span.
</p>
</answer>
</task>
<task>
<task component="html">
<statement>
<p>
Fix the SageMath code below to visualize
Expand Down Expand Up @@ -392,72 +392,10 @@ D.
</p>
</task>
</activity>
<sage language="octave">
</sage>


<!-- <activity estimated-time='10'>
<introduction>
<p>
Consider the set of third-degree polynomials
<md>
<mrow>
S=\{
&amp;2x^3+3x^2-1,
2x^3+3,
3x^3+13x^2+7x+16,
</mrow>
<mrow>
&amp;-x^3+10x^2+7x+14,
4x^3+3x^2+2 \} .
</mrow>
</md>
and the question
<q>
Does
<m>\P_3=\vspan S</m>?
</q>
</p>
</introduction>
<task><p>Rewrite this question to be about the solutions to a polynomial equation.
</p>
</task>
<task>
<p>
Answer your new question, and use this to answer the original question.
</p>
</task>
</activity>
<sage language="octave">
<sage language="octave" component="html">
</sage>


<activity estimated-time='5'>
<introduction>
<p>
Consider the set of matrices
<me> S = \left\{
\left[\begin{array}{cc} 1 &amp; 3 \\ 0 &amp; 1 \end{array}\right],
\left[\begin{array}{cc} 1 &amp; -1 \\ 1 &amp; 0 \end{array}\right],
\left[\begin{array}{cc} 1 &amp; 0 \\ 0 &amp; 2 \end{array}\right]
\right\} </me>
and the question <q>Does <m>M_{2,2} = \vspan S</m>?</q>
</p>
</introduction>
<task>
<p>
Rewrite this as a question about the solutions to a matrix equation.
</p>
</task>
<task>
<p>
Answer your new question, and use this to answer the original question.
</p>
</task>
</activity>
<sage language="octave">
</sage> -->


<activity estimated-time='5'>
<statement>
Expand Down
28 changes: 3 additions & 25 deletions source/linear-algebra/source/02-EV/04.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ which isn't what was asked about.
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>

<fact>
Expand Down Expand Up @@ -369,7 +369,7 @@ which isn't what was asked about.
</statement>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>


Expand Down Expand Up @@ -431,7 +431,7 @@ which isn't what was asked about.
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>

<observation xml:id="def_of_LI">
Expand Down Expand Up @@ -474,28 +474,6 @@ which isn't what was asked about.
</p>
</observation>

<!-- <activity estimated-time='10'>
<introduction>
<p>
Consider whether the set of polynomials <m>\left\{
x^3+1,x^2+2x,x^2+7x+4
\right\}</m> is linearly dependent or linearly independent.
</p>
</introduction>
<task>
<p>
Reinterpret this question as an appropriate question about solutions to a polynomial equation.
</p>
</task>
<task>
<p>
Use the solution to this question to answer the original question.
</p>
</task>
</activity>

<sage language="octave">
</sage> -->

<activity estimated-time='5'>
<statement>
Expand Down
2 changes: 1 addition & 1 deletion source/linear-algebra/source/02-EV/05.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ Not a basis, because not only does it fail to span <m>\IR^4</m>, it's also linea
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>

<activity estimated-time='10'>
Expand Down
2 changes: 1 addition & 1 deletion source/linear-algebra/source/02-EV/06.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ T=\left\{
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>

<observation>
Expand Down
8 changes: 4 additions & 4 deletions source/linear-algebra/source/02-EV/07.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ is already linearly independent and therefore already a basis for the subspace.



<sage language="octave">
<sage language="octave" component="html">
</sage>
<activity estimated-time='10'>
<introduction>
Expand Down Expand Up @@ -238,7 +238,7 @@ Find a basis for this solution space.
</activity>


<sage language="octave">
<sage language="octave" component="html">
<input>
</input>
</sage>
Expand Down Expand Up @@ -327,7 +327,7 @@ vector cannot be independent.
</task>
</activity>

<sage language="octave">
<sage language="octave" component="html">
</sage>


Expand Down Expand Up @@ -373,7 +373,7 @@ shape of the data that gets projected onto this single point of the screen?
</answer>
</task>
</activity>
<sage language="octave">
<sage language="octave" component="html">
</sage>


Expand Down
Loading
Loading