Task 2 Find an orthonormal basis spanned by a set of vectors using Numpy in Python: $\begin{bmatrix} 2 \\ -5 \\ 1 \end{bmatrix}$, $v_2 = \begin{bmatrix} 4 \\ -1 \\ 2 \end{bmatrix}$
Added by Sarah P.
Close
Step 1
Step 1: Import the necessary libraries ```python import numpy as np ``` Show more…
Show all steps
Your feedback will help us improve your experience
Paul Gabriel and 91 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Find an orthonormal basis of the kernel of the matrix \[A=\left[\begin{array}{llll}1 & 1 & 1 & 1 \\1 & 2 & 3 & 4\end{array}\right]\]
Orthogonality and Least Squares
Gram-Schmidt Process and QR Factorization
Find an orthonormal basis of the image of the matrix \[A=\left[\begin{array}{rrr}1 & 2 & 1 \\2 & 1 & 1 \\2 & -2 & 0\end{array}\right]\]
I have to find the orthonormal basis of the null space of A. A is a 2x3 matrix with row 1 = [1 0 1] and row 2 = [0 1 0]. I know this is in reduced echelon form and the basis for the null space = the vector(T) = [-1 0 1]. I've used Gram-Schmidt several times working with sets of vectors. Now that I'm dealing with a matrix, I am stuck. Note: I know that the orthonormal basis is the orthogonal basis divided by it's length. I am really just stuck on figuring out how I find the orthogonal basis of a single vector.
Adi S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD