Sets of Linear Equations; Determinants

Sets of Linear Equations; Determinants Exercise 1 : Gaussian and Gauss-Jordan elimination Solve the following equations using either Gaussian or Gauss-Jordan elimination. Use matrix notation. $$ \begin{cases} 2x_1 + x_2 + 5x_3 = -21 \\ x_1 + 5x_2 + 2x_3 = 19 \\ 5x_1 + 2x_2 + x_3 = 2 \end{cases} $$ $$ \begin{cases} x - y + 3z = 4 \\ 23x + 2y + 4z = 13 \\ 11.5x + y + 2z = 6.5 \end{cases} $$ $$ \begin{cases} 3x_1 + 2x_2 + x_3 = 49 \\ x_1 + x_2 + x_3 = 8 \\ 5x_1 - 3x_2 + x_3 = 0 \end{cases} $$ $$ \begin{cases} 1.2x - 0.9y + 1.5z = 2.4 \\ 0.8x - 0.5y + 2.5z = 1.8 \\ 1.6x - 1.2y + 2z = 3.2 \end{cases} $$ Exercise 2 : Inverse Matrices Obtain the inverse of the following matrices: ...

Januar 8, 2026 · 503 wierder

Scalar and Vector Products

Scalar and Vector Products Exercise 1 : Scalar Products Calculate the scalar products of the vectors $\mathbf{a}$ and $\mathbf{b}$ given below: $a = 3$, $b = 2$, $\alpha = \pi/3$ $a = 2$, $b = 5$, $\alpha = 0$ $a = 1$, $b = 4$, $\alpha = \pi/4$ $a = 2.5$, $b = 3$, $\alpha = 120^\circ$ Exercise 2 : Angle from Scalar Product Considering the scalar products, what can you say about the angle between the vectors $\mathbf{a}$ and $\mathbf{b}$? ...

Januar 8, 2026 · 567 wierder

Eigenvalues and Eigenvectors of Real Matrices

Eigenvalues and Eigenvectors of Real Matrices Exercise 1 : Eigenvalues — 2x2 real matrix For $A = \begin{pmatrix} 4 & 2 \ 1 & 3 \end{pmatrix}$ find the eigenvalues. Exercise 2 : Real vs Complex Eigenvalues — 2x2 question Is it possible for a real $2 \times 2$ matrix to have one real and one complex eigenvalue? Exercise 3 : No Real Eigenvalues — rotation-like matrix Prove that there are no real eigenvalues of the matrix $A = \begin{pmatrix} 3 & 2 \ -2 & 1 \end{pmatrix}$ ...

Januar 8, 2026 · 493 wierder

Vectors and Matrices in Python Solutions

Vectors and Matrices in Python Solutions Exercise 1 : Vectors in $\mathbb{R}^7$ Consider the following vectors: $$ u = (0.5, 0.4, 0.4, 0.5, 0.1, 0.4, 0.1), \quad v = (-1, -2, 1, -2, 3, 1, -5) $$Using Python and NumPy: Check whether $u$ and $v$ are unit vectors. Compute the dot product of $u$ and $v$. Determine if $u$ and $v$ are orthogonal. import numpy as np u = np.array([0.5, 0.4, 0.4, 0.5, 0.1, 0.4, 0.1]) v = np.array([-1, -2, 1, -2, 3, 1, -5]) # 1. Check if u and v are unit vectors norm_u = np.linalg.norm(u) norm_v = np.linalg.norm(v) print(norm_u, norm_v) # 2. Dot product dot_uv = np.dot(u, v) print(dot_uv) # 3. Orthogonality print(np.isclose(dot_uv, 0)) Exercise 2 : Norms and Orthogonality Consider the following vectors in $\mathbb{R}^9$: ...

November 9, 2025 · 1298 wierder

Vectors and Matrices in Python

Vectors and Matrices in Python In this worksheet, you will use Python (NumPy) to perform vector and matrix operations. For each exercise, write Python code to compute the required results and verify them numerically. Exercise 1 : Vectors in $\mathbb{R}^7$ Consider the following vectors: $$ u = (0.5, 0.4, 0.4, 0.5, 0.1, 0.4, 0.1), \quad v = (-1, -2, 1, -2, 3, 1, -5) $$Using Python and NumPy: Check whether $u$ and $v$ are unit vectors. Compute the dot product of $u$ and $v$. Determine if $u$ and $v$ are orthogonal. Exercise 2 : Norms and Orthogonality Consider the following vectors in $\mathbb{R}^9$: ...

November 9, 2025 · 732 wierder

Vectors and Matrices

Vectors and Matrices Exercise 1 Consider the following vectors in $ \mathbb{R}^7 $: $$ u = (0.5, 0.4, 0.4, 0.5, 0.1, 0.4, 0.1), \quad v = (-1, -2, 1, -2, 3, 1, -5) $$ Check if $ u $ and $ v $ are unit vectors. Calculate the dot product of the vectors $ u $ and $ v $. Are $ u $ and $ v $ orthogonal? Exercise 2 Consider the following vectors in $ \mathbb{R}^9 $: ...

November 6, 2025 · 799 wierder

Null Spaces and Ranges

Null Spaces and Ranges Exercise 1 Give an example of a linear map \( T \) such that \(\dim \text{null} \, T = 3\) and \(\dim \text{range} \, T = 2\). Exercise 2 Suppose \( V \) is a vector space and \( S, T \in \mathcal{L}(V, V) \) are such that \[\text{range} \, S \subset \text{null} \, T.\] Prove that \((ST)^2 = 0\). Exercise 3 Suppose \( v_1, \ldots, v_m \) is a list of vectors in \( V \). Define \( T \in \mathcal{L}(\mathbb{F}^m, V) \) by ...

September 9, 2025 · 1274 wierder

Vector Space of Linear Maps

Vector Space of Linear Maps Exercise 1 Suppose \( b, c \in \mathbb{R} \). Define \( T: \mathbb{R}^3 \to \mathbb{R}^2 \) by \[T(x, y, z) = (2x - 4y + 3z + b, 6x + cxyz).\] Show that \( T \) is linear if and only if \( b = c = 0 \). Exercise 2 Suppose \( b, c \in \mathbb{R} \). Define \( T: \mathcal{P}(\mathbb{R}) \to \mathbb{R}^2 \) by ...

September 9, 2025 · 476 wierder

Dimension

Dimension Exercise 1 Suppose \( V \) is finite-dimensional and \( U \) is a subspace of \( V \) such that \[\dim U = \dim V \] Prove that \( U = V \) Exercise 2 Show that the subspaces of \( \mathbb{R}^2 \) are precisely \(\{0\}, \mathbb{R}^2\), and all lines in \( \mathbb{R}^2 \) through the origin. Exercise 3 Show that the subspaces of \( \mathbb{R}^3 \) are precisely \(\{0\}, \mathbb{R}^3\), all lines in \( \mathbb{R}^3 \) through the origin, and all planes in \( \mathbb{R}^3 \) through the origin. ...

September 9, 2025 · 685 wierder

Bases

Bases Exercise 1 Find all vector spaces that have exactly one basis. Exercise 2 Verify all the assertions: The list \((1,0,\ldots,0), (0,1,0,\ldots,0), \ldots, (0,\ldots,0,1)\) is a basis of \(\mathbb{F}^n\), called the standard basis of \(\mathbb{F}^n\). The list \((1,2), (3,5)\) is a basis of \(\mathbb{F}^2\). The list \((1,2,-4), (7,-5,6)\) is linearly independent in \(\mathbb{F}^3\) but is not a basis of \(\mathbb{F}^3\) because it does not span \(\mathbb{F}^3\). The list \((1,2), (3,5), (4,13)\) spans \(\mathbb{F}^2\) but is not a basis of \(\mathbb{F}^2\) because it is not linearly independent. ...

September 9, 2025 · 477 wierder