LaTex2Web logo

Documents Live, a web authoring and publishing system

If you see this, something is wrong

Table of contents

First published on Thursday, Jan 9, 2025 and last modified on Thursday, Jan 9, 2025

Linear Algebra in the Euclidian Space: Section 10 Test

Fabienne Chaplais Mathedu

Keywords: Basis, Transition Matrix

1 Introduction

In that test, you will discover the Gram-Schmidt Process to build an orthonormal basis with any basis of the plane.

And you will use that orthonormal basis to calculate the coordinates of some vectors in the original basis without any matrix inversion.

2 Question 1: The original basis

Consider for the rest of the test the ordered set \( B=(\overrightarrow{I},\overrightarrow{J})\) , with column vectors of coordinates in the canonical basis \( B_0=(\overrightarrow{i},\overrightarrow{j})\) :

\( [\overrightarrow{I}]_{B_0}=\begin{bmatrix} 1\\ 2 \end{bmatrix}\) and \( [\overrightarrow{J}]_{B_0}=\begin{bmatrix} -2\\ 2 \end{bmatrix}\) .

  1. Determine the matrix \( P\) with columns the \( [\overrightarrow{I}]_{B_0}\) and \( [\overrightarrow{J}]_{B_0}\) and calculate its determinant.

  2. Deduce that \( B=(\overrightarrow{I},\overrightarrow{J})\) is a basis of the plane.

3 Question 2: Coordinates of some vectors in that basis: first method

  1. Calculate the inverse of \( P\) . Leave \( \frac{1}{\det(P)}\) in factor.

  2. Deduce the coordinates in \( B\) of the following vectors:

    1. \( \overrightarrow{u}_1\) such that \( [\overrightarrow{u}_1]_{B_0}=\begin{bmatrix} 1\\ 1 \end{bmatrix}\) .

    2. \( \overrightarrow{u}_2\) such that \( [\overrightarrow{u}_2]_{B_0}=\begin{bmatrix} -3\\ 1 \end{bmatrix}\) .

    3. \( \overrightarrow{u}_3\) such that \( [\overrightarrow{u}_1]_{B_0}=\begin{bmatrix} -1\\ -2 \end{bmatrix}\) .

4 Question 3: Derive a basis with orthogonal vectors

Consider the basis \( B'=(\overrightarrow{I'},\overrightarrow{J'})\) such that:

\( \overrightarrow{I'}=\overrightarrow{I}\) , and \( \overrightarrow{J'}=\overrightarrow{J}-\frac{\overrightarrow{I}\cdot\overrightarrow{J}} {\overrightarrow{I}\cdot\overrightarrow{I}}\overrightarrow{I}\) .

  1. Without using the numerical values, prove that \( \overrightarrow{I'}\bot\overrightarrow{J'}\) .

  2. Calculate the numerical values of \( [\overrightarrow{I'}]_{B_0}\) and \( [\overrightarrow{J'}]_{B_0}\) .

    Set \( \frac{6}{5}\) in factor in \( [\overrightarrow{J'}]_{B_0}\) .

  3. Check that the vectors of the \( B'\) are orthogonal.

5 Question 4: Normalize these vectors of \( B'\) to obtain an orthonormal basis

Now that we have two orthogonal vectors, we derive an orthonormal basis while normalizing them.

The basis is \( B''=(\overrightarrow{I''},\overrightarrow{J''})\) such that \( \overrightarrow{I''}=\frac{\overrightarrow{I'}}{\left\|\overrightarrow{I'}\right\|}\) and \( \overrightarrow{J''}=\frac{\overrightarrow{J'}}{\left\|\overrightarrow{J'}\right\|}\) .

  1. Calculate the norms of \( \overrightarrow{I'}\) and \( \overrightarrow{J'}\) , and \( [\overrightarrow{I''}]_{B_0}\) and \( [\overrightarrow{J''}]_{B_0}\) .

    Put \( \sqrt{5}\) to the numerator and set \( \frac{\sqrt{5}}{5}\) in factor for both vectors.

  2. Check that the basis \( B''\) is orthonormal.

6 Question 5: Coordinates of some vectors in the basis \( B\) : second method

  1. Calculate the vectors of the basis \( B''\) as a function of the vectors of the basis \( B\) . Use their definitions in the questions 3 and 4.

  2. Deduce the transition matrix \( Q\) from the basis \( B''\) to the basis \( B\) .

    Set \( \frac{\sqrt{5}}{5}\) in factor.

  3. Calculate the coordinates of the three vectors of the question 2 in the orthonormal basis \( B''\) . Just use dot products and leave \( \frac{\sqrt{5}}{5}\) in factor.

  4. Deduce the coordinates of these vectors in the basis \( B\) and check for each vector that they are the same as in the question 2.

7 Conclusion

The Gram-Schmidt orthonormalisation process may be generalized to any dimension, where the inversion of matrices are not at all as trivial as in dimension 2.

And it allows to calculate the coordina†es of any vector in any basis with just dot products and matrix multiplication.