|
71 | 71 | "cell_type": "markdown", |
72 | 72 | "metadata": {}, |
73 | 73 | "source": [ |
74 | | - "We see that the RREF of $A$ is the $5\\times 5$ identity matrix, which indicates that $A$ has is a pivot in each row and each column. This verifies that the columns of $A$ form a basis for $\\mathbb{R}^5$, and guarantees that the linear system $AX=Y$ has a unique solution for any vector $Y$. " |
| 74 | + "We see that the RREF of $A$ is the $5\\times 5$ identity matrix, which indicates that $A$ has a pivot in each row and each column. This verifies that the columns of $A$ form a basis for $\\mathbb{R}^5$, and guarantees that the linear system $AX=Y$ has a unique solution for any vector $Y$. " |
75 | 75 | ] |
76 | 76 | }, |
77 | 77 | { |
|
197 | 197 | "cell_type": "markdown", |
198 | 198 | "metadata": {}, |
199 | 199 | "source": [ |
200 | | - "In this system, $x_3$ and $_4$ are free variables. If we set $x_3 = t$, and $x_4=s$, then $x_1 = 2s -3t$ and \n", |
| 200 | + "In this system, $x_3$ and $x_4$ are free variables. If we set $x_3 = t$, and $x_4=s$, then $x_1 = 2s -3t$ and \n", |
201 | 201 | "$x_2 = 4s -9t$. We can write the components of a general solution vector $X$ in terms of these parameters.\n", |
202 | 202 | "\n", |
203 | 203 | "$$\n", |
|
208 | 208 | "\\end{equation}\n", |
209 | 209 | "$$\n", |
210 | 210 | "\n", |
211 | | - "In this form we can see that any solution of $AX=B$ must be a linear combination of the vectors $W_1$ and $W_2$ defined as follows.\n", |
| 211 | + "In this form we can see that any solution of $AX=B$ must be a linear combination of the vectors $W_1$ and $W_2$ defined as follows:\n", |
212 | 212 | "\n", |
213 | 213 | "\n", |
214 | 214 | "$$\n", |
|
325 | 325 | "\n", |
326 | 326 | "We now understand that if we are given a basis $\\{V_1, V_2, V_3, ... V_n\\}$ for $\\mathbb{R}^n$ and a vector $X$ in $\\mathbb{R}^n$, there is a unique linear combination of the basis vectors equal to $X$. The **coordinates** of $X$ with respect to this basis is the unique set of weights $c_1$, $c_2$, ... $c_n$ that satisfy the vector equation $X=c_1V_1 + c_2V_2 + ... c_nV_n$. It becomes useful at this point to assign labels to bases that are under discussion. For example, we might say that $\\beta = \\{V_1, V_2, V_3, ... V_n\\}$, and refer to the coordinates of $X$ with respect to $\\beta$. It is only natural to collect these weights into an $n\\times 1$ array, to which we will assign the notation $[X]_{\\beta}$. Despite potential confusion, this array is referred to as the \"coordinate vector\".\n", |
327 | 327 | "\n", |
328 | | - "To demonstrate, suppose that we use the basis for $\\mathbb{R}^5$ given in **Example 1**, and assign it the label $\\beta$. Consider then the calculation need to find of the coordinates of a vector $X$ with respect to $\\beta$.\n", |
| 328 | + "To demonstrate, suppose that we use the basis for $\\mathbb{R}^5$ given in **Example 1**, and assign it the label $\\beta$. Consider then the calculation needed to find of the coordinates of a vector $X$ with respect to $\\beta$.\n", |
329 | 329 | "\n", |
330 | 330 | "\n", |
331 | 331 | "$$\n", |
|
442 | 442 | "cell_type": "markdown", |
443 | 443 | "metadata": {}, |
444 | 444 | "source": [ |
445 | | - "**Exercise 4:** Calculate the dimension of the span of the following vectors.\n", |
| 445 | + "**Exercise 4:** Calculate the dimension of the span of $ \\{U_1, U_2, U_3, U_4\\}$.\n", |
446 | 446 | "\n", |
447 | 447 | "$$\n", |
448 | 448 | "\\begin{equation}\n", |
|
462 | 462 | "source": [ |
463 | 463 | "## Code solution here." |
464 | 464 | ] |
| 465 | + }, |
| 466 | + { |
| 467 | + "cell_type": "markdown", |
| 468 | + "metadata": {}, |
| 469 | + "source": [ |
| 470 | + "**Exercise 5:** Determine whether the set of vectors $ \\{V_1, V_2, V_3\\}$ is a basis for $\\mathbb{R}^4$. If not, find a vector which can be added to the set such that the resulting set of vectors is a basis for $\\mathbb{R}^4$.\n", |
| 471 | + "\n", |
| 472 | + "$$\n", |
| 473 | + "\\begin{equation}\n", |
| 474 | + "V_1 = \\left[ \\begin{array}{r} 1 \\\\ 2 \\\\ 1 \\\\ 1 \\end{array}\\right] \\hspace{0.7cm} \n", |
| 475 | + "V_2 = \\left[ \\begin{array}{r} 1 \\\\ 0 \\\\ 2 \\\\ 2 \\end{array}\\right] \\hspace{0.7cm}\n", |
| 476 | + "V_3 = \\left[ \\begin{array}{r} 1 \\\\ 3 \\\\ 1 \\\\ 2 \\end{array}\\right] \\hspace{0.7cm}\n", |
| 477 | + "\\end{equation}\n", |
| 478 | + "$$\n", |
| 479 | + "\n" |
| 480 | + ] |
| 481 | + }, |
| 482 | + { |
| 483 | + "cell_type": "code", |
| 484 | + "execution_count": 27, |
| 485 | + "metadata": {}, |
| 486 | + "outputs": [], |
| 487 | + "source": [ |
| 488 | + "## Code solution here" |
| 489 | + ] |
| 490 | + }, |
| 491 | + { |
| 492 | + "cell_type": "markdown", |
| 493 | + "metadata": {}, |
| 494 | + "source": [ |
| 495 | + "**Exercise 6:** Find the dimension of the subspace spanned by $\\{W_1, W_2\\}$. Explain your answer.\n", |
| 496 | + "\n", |
| 497 | + "$$\n", |
| 498 | + "\\begin{equation}\n", |
| 499 | + "W_1 = \\left[ \\begin{array}{r} 1 \\\\ 2 \\\\ 0 \\\\ 0 \\end{array}\\right] \\hspace{0.7cm} \n", |
| 500 | + "W_2 = \\left[ \\begin{array}{r} 2 \\\\ 3 \\\\ 0 \\\\ 0 \\end{array}\\right] \\hspace{0.7cm}\n", |
| 501 | + "\\end{equation}\n", |
| 502 | + "$$\n", |
| 503 | + "\n" |
| 504 | + ] |
| 505 | + }, |
| 506 | + { |
| 507 | + "cell_type": "code", |
| 508 | + "execution_count": 28, |
| 509 | + "metadata": {}, |
| 510 | + "outputs": [], |
| 511 | + "source": [ |
| 512 | + "## Code solution here" |
| 513 | + ] |
| 514 | + }, |
| 515 | + { |
| 516 | + "cell_type": "markdown", |
| 517 | + "metadata": {}, |
| 518 | + "source": [ |
| 519 | + "**Exercise 7:** Find the value(s) of $a$ for which the set of vectors $\\{X_1,X_2,X_3\\}$ is **not** a basis for $\\mathbb{R}^3$.\n", |
| 520 | + "\n", |
| 521 | + "$$\n", |
| 522 | + "\\begin{equation}\n", |
| 523 | + "X_1 = \\left[ \\begin{array}{r} 1 \\\\ 2 \\\\ 1 \\end{array}\\right] \\hspace{0.7cm} \n", |
| 524 | + "X_2 = \\left[ \\begin{array}{r} 2 \\\\ a \\\\ 3 \\end{array}\\right] \\hspace{0.7cm}\n", |
| 525 | + "X_3 = \\left[ \\begin{array}{r} 1 \\\\ 2 \\\\ a \\end{array}\\right] \\hspace{0.7cm}\n", |
| 526 | + "\\end{equation}\n", |
| 527 | + "$$\n", |
| 528 | + "\n" |
| 529 | + ] |
| 530 | + }, |
| 531 | + { |
| 532 | + "cell_type": "code", |
| 533 | + "execution_count": 29, |
| 534 | + "metadata": {}, |
| 535 | + "outputs": [], |
| 536 | + "source": [ |
| 537 | + "## Code solution here" |
| 538 | + ] |
| 539 | + }, |
| 540 | + { |
| 541 | + "cell_type": "markdown", |
| 542 | + "metadata": {}, |
| 543 | + "source": [ |
| 544 | + "**Exercise 8:** Let $U$ be the subspace of $\\mathbb{R}^5$ which contains vectors with their first and second entries equal and their third entry equal to zero. What the vectors in the subspace $U$ look like? Use this information to find a basis for $U$ and determine the dimension of $U$." |
| 545 | + ] |
| 546 | + }, |
| 547 | + { |
| 548 | + "cell_type": "code", |
| 549 | + "execution_count": 30, |
| 550 | + "metadata": {}, |
| 551 | + "outputs": [], |
| 552 | + "source": [ |
| 553 | + "## Code solution here" |
| 554 | + ] |
| 555 | + }, |
| 556 | + { |
| 557 | + "cell_type": "markdown", |
| 558 | + "metadata": {}, |
| 559 | + "source": [ |
| 560 | + "**Exercise 9:** Let $\\beta = \\{U_1,U_2,U_3\\}$ be a basis for $\\mathbb{R}^3$. Find the **coordinates** of $V$ with respect to $\\beta$.\n", |
| 561 | + "\n", |
| 562 | + "$$\n", |
| 563 | + "\\begin{equation}\n", |
| 564 | + "U_1 = \\left[ \\begin{array}{r} 1 \\\\ 2 \\\\ 3 \\end{array}\\right] \\hspace{0.7cm} \n", |
| 565 | + "U_2 = \\left[ \\begin{array}{r} 2 \\\\ 1 \\\\ 0 \\end{array}\\right] \\hspace{0.7cm}\n", |
| 566 | + "U_3 = \\left[ \\begin{array}{r} 3 \\\\ 2 \\\\ 5 \\end{array}\\right] \\hspace{0.7cm}\n", |
| 567 | + "V = \\left[ \\begin{array}{r} 8 \\\\ 6 \\\\ 8 \\end{array}\\right] \\hspace{0.7cm}\n", |
| 568 | + "\\end{equation}\n", |
| 569 | + "$$\n", |
| 570 | + "\n" |
| 571 | + ] |
| 572 | + }, |
| 573 | + { |
| 574 | + "cell_type": "code", |
| 575 | + "execution_count": null, |
| 576 | + "metadata": {}, |
| 577 | + "outputs": [], |
| 578 | + "source": [ |
| 579 | + "## Code solution here" |
| 580 | + ] |
| 581 | + }, |
| 582 | + { |
| 583 | + "cell_type": "markdown", |
| 584 | + "metadata": {}, |
| 585 | + "source": [ |
| 586 | + "**Exercise 10:** Can a set of four vectors in $\\mathbb{R}^3$ be a basis for $\\mathbb{R}^3$? Explain and verify your answer through a computation." |
| 587 | + ] |
| 588 | + }, |
| 589 | + { |
| 590 | + "cell_type": "code", |
| 591 | + "execution_count": null, |
| 592 | + "metadata": {}, |
| 593 | + "outputs": [], |
| 594 | + "source": [ |
| 595 | + "## Code solution here" |
| 596 | + ] |
465 | 597 | } |
466 | 598 | ], |
467 | 599 | "metadata": { |
|
0 commit comments