AdBlocker Detected
adblocker detected
Calculatored depends on revenue from ads impressions to survive. If you find calculatored valuable, please consider disabling your ad blocker or pausing adblock for calculatored.
ADVERTISEMENT
ADVERTISEMENT

Gram Schmidt Calculator

x
Vectors
ADVERTISEMENT
ADVERTISEMENT

Table of Content

Feedback

The Gram Schmidt calculator utilizes the orthonormalization process to the columns of a matrix or a set of vectors to transform vectors into an orthogonal or orthonormal basis. Our orthogonal basis calculator determines orthonormalized sets of vectors in step calculations within a second. 

What is Gram Schmidt Process?

“The procedure for ortho-normalizing a set of vectors in an inner product space is known as Gram Schmidt Process”. 

It takes into account two vectors and generates the same number of orthonormal vectors that are parallel to each other. This process is applicable with the help of Gram Schmidt process calculator which serves as an orthogonal and orthonormal basis. 

Orthogonal and Orthonormal Vectors:

If there are two vectors perpendicular to each other, they are known as orthogonal vectors Furthermore, if two vectors' dot product is equal to one and their lengths are both one then these vectors are known as orthonormal vectors.

So to find the dot product and length of vectors use the orthonormal basis calculator. To obtain the orthonormal basis, each vector must be normalized by dividing it by its magnitude. 

Two vectors are orthogonal if their dot product is zero. So, suppose two vectors Where U indicates the orthonormal and V indicates the original vector if $$ \vec{U} \cdot \vec{V} $$ is equal to zero then this will said to be an orthonormal vector.

This vector is the same as the perpendicular vector on the x and y planes. The Gram Schmidt calculator turns the set of vectors into an orthonormal basis. 

Set of Vectors:

The orthogonal matrix calculator is a unique way to find the orthonormal vectors of independent vectors in three-dimensional space. The diagrams below are considered to be important for understanding when we come to finding vectors in the three-dimensional space in which:

Diagram 1:

The first figure shows the linear independence of vectors.

Diagram 2:

It shows the orthonormalized set of vectors by the orthonormal basis of independence vectors.  

Example:

Perform the gram Schmidt process on the following sequence of vectors:

  • V1 = (1,9)
  • V2 = (7,4) 

$$ \text{Orthonormalize the set of the vectors} \ V_1 = \begin{bmatrix} 1 \\ 9 \\ \end{bmatrix} \ , V_2 = \begin{bmatrix} 7 \\ 4 \\ \end{bmatrix} \ , using \ the \ Gram-Schmidt \ calculator. $$

Solution:

Step # 1:

$$ \text{According to the Gram-Schmidt process formula,} \ \vec{u_k} = \vec{v_k} - \Sigma_{j-1}^\text{k-1} \ proj_\vec{uj} \ (\vec{v_k}) \ \text{where} \ proj_\vec{uj} \  (\vec{v_k}) = \frac{ \vec{u_j} \cdot \vec{v_k}}{|{\vec{u_j}}|^2} \vec{u_j} \ \text{‚Äčis a vector projection} $$ 

$$ \text{The normalized vector is} \ \vec{e_k} = \frac{ \vec{u_k}}{|{\vec{u_k}}|} $$

Step # 2:

$$ \vec{u_1} \ = \ \vec{v_1} \ = \ \begin{bmatrix} 1 \\ 9 \\ \end{bmatrix} $$

$$ \vec{u_1} \ = \ \vec{v_1} \ = \ \begin{bmatrix} 0.11 \\ 0.99 \\ \end{bmatrix} $$

Step # 3:

Calculate Vector Projection:

$$ proj_\vec{u_1} \ (\vec{v_2}) \ = \begin{bmatrix} 0.52 \\ 4.72 \\ \end{bmatrix} \\ $$

Now we calculate the vector subtraction by using an online Gram Schmidt Calculator. 

$$ \vec{u_2} = \vec{v_2} \ - \ proj_\vec{u_1} \ (\vec{v_2}) \ = \ \begin{bmatrix} 6.48 \\ -0.72 \\ \end{bmatrix} $$

$$ \vec{e_2} = \frac{ \vec{u_2}}{|{\vec{u_2}}|} \ = \ \begin{bmatrix} 0.99 \\ -0.11 \\ \end{bmatrix} $$

So at the end of this example, we evaluate the:

$$ \begin{bmatrix} 0.11 \\ 0.99 \\ \end{bmatrix} \begin{bmatrix} 0.99 \\ -0.11 \\ \end{bmatrix} $$

Working of Gram Schmidt Calculator:

This process allows for change of the process that is based on the orthonormal set of vectors on a given matrix and helps to decompose the matrix into two matrixes.  

What to Do:

  • Adjust the size of vectors
  • Put the values according to your setting 
  • Tap “Calculate”

What to Get:

  • The orthonormalize the set of vectors 
  • Complete evaluation in the form of steps

References:

From the source Wikipedia: Gram–Schmidt process, Example, Numerical stability and properties, Via Gaussian elimination, Determinant formula.

Sarah Taylor

I am a professional Chemist/Blogger & Content Writer. I love to research chemistry topics and help everyone learning Organic & Inorganic Chemistry and Biochemistry. I would do anything to spend vacations on a Hill Station.


Submit Your Review