Important announcement

Dear visitor,

Please note that this OpenCourseWare platform will be replaced at the end of 2026 by a new platform (under the same url ocw.tudelft.nl).

Courses and their contents that are currently available the platform will partly be migrated. URL’s for this content will change and content might be unavailable for some time. In addition, some courses will not be available anymore.

If you are linking to specific courses on this platform (for instance for your students), please take timely measures to avoid problems with access. Possible actions are:

  • Download the materials to your local platform (laptop, server)
  • For educators only (including TU Delft lecturers): Contact us at ocw@tudelft.nl and inform us what course you are using in what context (institute, program, period of use, number of students). We will research (in collaboration with the authors of the course) and decide if we will migrate the course, and if yes, can supply you with a new url.

Thank you.

Pre 2.5 Inner product, Norm, Distance and Orthogonality

Course subject(s) Pre-knowledge Mathematics

Inner product of two vectors 

Inner product of two vectors \(x\) and \( y\) denoted by \((x,y)\), is defined as: \[ (x,y)=x^Ty. \] For example the inner product of the two vectors \( x= \begin{bmatrix} 3 \\ 2 \\ 1 \\ 1 \end{bmatrix} \) and \( y= \begin{bmatrix} 1 \\ 2 \\ 3 \\ 4 \end{bmatrix} \) is calculated as: \[   (x,y)=x^Ty= \left[ \begin{array}{cccc} 3&2&1&1\\ \end{array} \right] \left[ \begin{array}{c} 1 \\ 2 \\ 3 \\ 4 \end{array} \right] =(3\times 1)+(2\times 2)+(1\times 3) +(1\times 4)=14.  \]


Norm or length of a vector

The length or norm of a vector \(x\), denoted as \(\|x\|\), is defined as:

\[ \| x \| = \sqrt{(x, x)}= \sqrt{x^Tx}. \] For example, the length of the vector \( x= \begin{bmatrix} 3 \\ 2 \\ 1 \\ 1 \end{bmatrix} \) is computed as: \[ \| x \|=\sqrt{ (3\times 3)+ (2\times 2)+ (1\times 1)+(1\times 1)}=\sqrt{15} \] 

Distance between two vectors

The distance between two vectors \(x\) and \(y\) is defined as the norm of \(u-v\), and is given as \( \|u-v\|\).


Angle between two vectors and orthogonality

The angle between two vectors \(x\) and \(y\)

is defined to be the number \(\theta \in [0, \pi] \)  such that:

\[\cos (\theta) = \frac{ (x,y)}{ \|x\| \|y\|}.\] 

Two vectors are said to be orthogonal (or normal to each other) if the angle between them is \(\pi/2\), or in other words when their inner product equals zero: \( (x,y)=x^Ty=0 \) .

Creative Commons License
Observation Theory: Estimating the Unknown by TU Delft OpenCourseWare is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://ocw.tudelft.nl/courses/observation-theory-estimating-unknown.
Back to top
[sg_popup id=6]