Skip to content
Back to exploration
Mathematical modeling / English

Vector and Matrix Norms

Hardware Visualized · YouTube · 1:41

Open original
READ & KEEP

The explanation, unpacked.

Saves 0

Reviewed learning material · Video analysis · English
Read the full overview

This introductory linear algebra video demonstrates how to calculate the infinity norm and Euclidean norm for both vectors and matrices. Using a specific 3D vector and a 3x3 matrix as examples, it provides clear, step-by-step numerical derivations for each type of norm. The visual presentation highlights key components during calculations, making the definitions and procedures easy to follow for beginners.

Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.

Chapters

0:01Problem Statement0:10Infinity Norm of a Matrix0:34Infinity Norm of a Vector0:54Euclidean Norm of a Vector1:18Euclidean Norm of a Matrix

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

The video opens by presenting a specific mathematical problem: calculating the Euclidean and infinity norms for a given 3-dimensional vector X=(−5,7,−9)X = (-5, 7, -9) and a 3x3 matrix A with elements [-3, 6, 8; 1, 5, 9; 4, 5, 6]. This sets the stage for demonstrating four distinct norm calculations.

The first concept introduced is the infinity norm of a matrix. The narrator explains that it is computed by taking the sum of the absolute values of the elements in each row, and then selecting the maximum of these row sums. Visually, as the calculation proceeds, each row of matrix A is highlighted in yellow when its absolute sum is being evaluated. The row sums are calculated as 17, 15, and 15, leading to the conclusion that the infinity norm of A is 17.

Next, the focus shifts to the infinity norm of a vector. The definition provided is the maximum absolute value among the vector's elements. For vector X, the absolute values of its components are calculated as 5, 7, and 9. A yellow box visually groups these absolute values before the maximum is taken, yielding an infinity norm of 9 for the vector.

The video then transitions to the Euclidean norm of a vector, which represents its magnitude. The procedure involves squaring each component of the vector, summing these squared values, and finally taking the square root of that sum. For vector X, this results in the calculation of the square root of 155, which is approximately 12.45.

Finally, the Euclidean norm of a matrix is explained. This is analogous to the vector case but applied to all elements of the matrix. Each element is squared, all squared values are summed, and the square root of the total sum is taken. For matrix A, this process yields the square root of 293, approximately 17.12. The video concludes after presenting all four calculated norms.

Knowledge cards

01

Infinity Norm of a Matrix

The infinity norm of a matrix is found by calculating the sum of the absolute values of the elements in each row, and then taking the maximum of these row sums. For the given matrix A, the row sums are 17, 15, and 15, so the infinity norm is 17.

∥A∥∞=max⁡1≤i≤n(∑j=1n∣aij∣)\|A\|_\infty = \max_{1 \le i \le n} \left( \sum_{j=1}^n |a_{ij}| \right)
02

Infinity Norm of a Vector

The infinity norm of a vector is simply the maximum absolute value among all its components. For the vector X=(−5,7,−9)X = (-5, 7, -9), the absolute values are 5, 7, and 9, making the infinity norm 9.

∥x∥∞=max⁡1≤i≤n(∣xi∣)\|\mathbf{x}\|_\infty = \max_{1 \le i \le n} (|x_i|)
03

Euclidean Norm of a Vector

Also known as the magnitude or L2 norm, the Euclidean norm of a vector is calculated by squaring each component, summing those squares, and taking the square root of the result. For vector X, this is √((-5)² + 7² + (-9)²) = √155 ≈ 12.45.

∥x∥e=∑i=1nxi2\|\mathbf{x}\|_e = \sqrt{\sum_{i=1}^n x_i^2}
04

Euclidean Norm of a Matrix

The Euclidean norm of a matrix (often called the Frobenius norm) is computed by squaring every element in the matrix, summing all those squared values, and taking the square root of the total. For matrix A, this results in √293 ≈ 17.12.

∥A∥e=∑i=1n∑j=1naij2\|A\|_e = \sqrt{\sum_{i=1}^n \sum_{j=1}^n a_{ij}^2}

Detailed learning notes

Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.

Symbols · 6

X

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The vector is displayed as X=(−5,7,−9)X = (-5, 7, -9) in the problem statement and subsequent sections.

Symbol

X

Meaning

A given 3-dimensional vector with components -5, 7, and -9.

Domain

R3R^3

A

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The matrix is displayed as A=[[−3,6,8],[1,5,9],[4,5,6]]A = [[-3, 6, 8], [1, 5, 9], [4, 5, 6]] in the problem statement and subsequent sections.

Symbol

A

Meaning

A given 3x3 matrix.

Domain

R3x3R^{3x3}

||·||_∞

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The infinity norm is denoted as ||A||_∞ for matrices and ||x||_∞ for vectors.

Symbol

||·||_∞

Meaning

The infinity norm (or maximum norm) of a matrix or vector.

Domain

Matrices or Vectors

||·||_e

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The Euclidean norm is denoted as ||x||_e for vectors and ||A||_e for matrices.

Symbol

||·||_e

Meaning

The Euclidean norm (or L2 norm) of a matrix or vector.

Domain

Matrices or Vectors

a_{ij}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The elements of matrix A are denoted as a_ij, where i is the row index and j is the column index.

Symbol

a_{ij}

Meaning

The element in the i-th row and j-th column of a matrix.

Domain

Real numbers

xix_i

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The components of vector x are denoted as xix_i, where i is the index.

Symbol

xix_i

Meaning

The i-th component of a vector.

Domain

Real numbers

Knowledge points · 4

Infinity Norm of a Matrix

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To compute the infinity norm of a matrix, calculate the sum of the absolute values of the elements in each row. The infinity norm is the largest of these row sums.

  2. Formula
    Observation

    ||A||_∞ = max(Σ|a_ij|) for 1≤i≤n1 \le i \le n

Definition
Explanation

The infinity norm of a matrix is defined as the maximum of the sums of the absolute values of the elements in each row.

Formula
∥A∥∞=max⁡1≤i≤n(∑j=1n∣aij∣)\|A\|_\infty = \max_{1 \le i \le n} \left( \sum_{j=1}^n |a_{ij}| \right)
Conditions
  1. A is an n x n matrix

  2. a_{ij} represents the element in the i-th row and j-th column of A

Infinity Norm of a Vector

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The infinity norm of a vector is defined as the maximum absolute value among its elements.

  2. Formula
    Observation

    ||x||_∞ = max(|xix_i|) for 1≤i≤n1 \le i \le n

Definition
Explanation

The infinity norm of a vector is the maximum absolute value among all its components.

Formula
∥x∥∞=max⁡1≤i≤n(∣xi∣)\|\mathbf{x}\|_\infty = \max_{1 \le i \le n} (|x_i|)
Conditions
  1. x is an n-dimensional vector

  2. xix_i represents the i-th component of the vector

Euclidean Norm of a Vector

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To calculate the Euclidean norm of a vector, square each component of the vector, sum these squared values, take the square root of the result. This gives the magnitude of the vector.

  2. Formula
    Observation

    ||x||_e = sqrt(Σxi2Σ x_i^2) for i=1i=1 to n

Definition
Explanation

The Euclidean norm of a vector is the square root of the sum of the squares of its components, representing its magnitude.

Formula
∥x∥e=∑i=1nxi2\|\mathbf{x}\|_e = \sqrt{\sum_{i=1}^n x_i^2}
Conditions
  1. x is an n-dimensional vector

  2. xix_i represents the i-th component of the vector

Euclidean Norm of a Matrix

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To calculate the Euclidean norm of a matrix, square each element of the matrix, sum up all the squared values, take the square root of the sum. This results in the Euclidean norm of the matrix.

  2. Formula
    Observation

    ||A||_e = sqrt(Σ Σ a_ij^2) for i=1i=1 to n, j=1j=1 to n

Definition
Explanation

The Euclidean norm of a matrix (also known as the Frobenius norm) is the square root of the sum of the squares of all its elements.

Formula
∥A∥e=∑i=1n∑j=1naij2\|A\|_e = \sqrt{\sum_{i=1}^n \sum_{j=1}^n a_{ij}^2}
Conditions
  1. A is an n x n matrix

  2. a_{ij} represents the element in the i-th row and j-th column of A

Derivations and proofs · 4

Derivation of Infinity Norm for Matrix A

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    |-3| + |6| + |8| = 3+6+8=173 + 6 + 8 = 17

  2. Formula
    Observation

    |1| + |5| + |9| = 1+5+9=151 + 5 + 9 = 15

  3. Formula
    Observation

    |4| + |5| + |6| = 4+5+6=154 + 5 + 6 = 15

  4. Formula
    Observation

    Row Sums : {17, 15, 15}

  5. Formula
    Observation

    Infinity Norm of A is 17

Numerical verification
Steps
  1. Expression
    ∣−3∣+∣6∣+∣8∣=3+6+8=17|-3| + |6| + |8| = 3 + 6 + 8 = 17
    Explanation

    Calculate the sum of absolute values for the first row.

    Justification

    Definition of row sum for infinity norm.

    Shown in the video
  2. Expression
    ∣1∣+∣5∣+∣9∣=1+5+9=15|1| + |5| + |9| = 1 + 5 + 9 = 15
    Explanation

    Calculate the sum of absolute values for the second row.

    Justification

    Definition of row sum for infinity norm.

    Shown in the video
  3. Expression
    ∣4∣+∣5∣+∣6∣=4+5+6=15|4| + |5| + |6| = 4 + 5 + 6 = 15
    Explanation

    Calculate the sum of absolute values for the third row.

    Justification

    Definition of row sum for infinity norm.

    Shown in the video
  4. Expression
    max⁡(17,15,15)=17\max(17, 15, 15) = 17
    Explanation

    Find the maximum of the calculated row sums.

    Justification

    Definition of infinity norm as the maximum row sum.

    Shown in the video
Conclusion

The infinity norm of matrix A is 17.

Derivation of Infinity Norm for Vector X

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    |x1x_1| = 5, |x2x_2| = 7, |x3x_3| = 9

  2. Formula
    Observation

    ||x||_∞ = max(5, 7, 9) = 9

Numerical verification
Steps
  1. Expression
    ∣−5∣=5,∣7∣=7,∣−9∣=9|-5| = 5, |7| = 7, |-9| = 9
    Explanation

    Calculate the absolute value of each component of the vector.

    Justification

    Definition of absolute value.

    Shown in the video
  2. Expression
    max⁡(5,7,9)=9\max(5, 7, 9) = 9
    Explanation

    Find the maximum of the absolute values.

    Justification

    Definition of infinity norm as the maximum absolute component.

    Shown in the video
Conclusion

The infinity norm of vector X is 9.

Derivation of Euclidean Norm for Vector X

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    ||x||_e = sqrt((-5)^2+72+(−9)22 + 7^2 + (-9)^2)

  2. Formula
    Observation

    ||x||_e = sqrt(25+49+8125 + 49 + 81)

  3. Formula
    Observation

    ||x||_e = sqrt(155)

  4. Formula
    Observation

    ||x||_e ≈ 12.45

Numerical verification
Steps
  1. Expression
    (−5)2+72+(−9)2\sqrt{(-5)^2 + 7^2 + (-9)^2}
    Explanation

    Substitute the components of vector X into the Euclidean norm formula.

    Justification

    Definition of Euclidean norm.

    Shown in the video
  2. Expression
    25+49+81\sqrt{25 + 49 + 81}
    Explanation

    Square each component.

    Justification

    Arithmetic calculation.

    Shown in the video
  3. Expression
    155\sqrt{155}
    Explanation

    Sum the squared values.

    Justification

    Arithmetic calculation.

    Shown in the video
  4. Expression
    ≈12.45\approx 12.45
    Explanation

    Take the square root of the sum.

    Justification

    Arithmetic calculation.

    Shown in the video
Conclusion

The Euclidean norm of vector X is approximately 12.45.

Derivation of Euclidean Norm for Matrix A

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    ||A||_e = sqrt(a112+a122+a132+a212+a222+a232+a312+a322+a332a_11^2 + a_12^2 + a_13^2 + a_21^2 + a_22^2 + a_23^2 + a_31^2 + a_32^2 + a_33^2)

  2. Formula
    Observation

    ||A||_e = sqrt((-3)^2+62+82+12+52+92+42+52+622 + 6^2 + 8^2 + 1^2 + 5^2 + 9^2 + 4^2 + 5^2 + 6^2)

  3. Formula
    Observation

    ||A||_e = sqrt(9+36+64+1+25+81+16+25+369 + 36 + 64 + 1 + 25 + 81 + 16 + 25 + 36)

  4. Formula
    Observation

    ||A||_e = sqrt(293)

  5. Formula
    Observation

    ||A||_e ≈ 17.12

Numerical verification
Steps
  1. Expression
    (−3)2+62+82+12+52+92+42+52+62\sqrt{(-3)^2 + 6^2 + 8^2 + 1^2 + 5^2 + 9^2 + 4^2 + 5^2 + 6^2}
    Explanation

    Substitute the elements of matrix A into the Euclidean norm formula.

    Justification

    Definition of Euclidean norm for matrices.

    Shown in the video
  2. Expression
    9+36+64+1+25+81+16+25+36\sqrt{9 + 36 + 64 + 1 + 25 + 81 + 16 + 25 + 36}
    Explanation

    Square each element of the matrix.

    Justification

    Arithmetic calculation.

    Shown in the video
  3. Expression
    293\sqrt{293}
    Explanation

    Sum all the squared values.

    Justification

    Arithmetic calculation.

    Shown in the video
  4. Expression
    ≈17.12\approx 17.12
    Explanation

    Take the square root of the sum.

    Justification

    Arithmetic calculation.

    Shown in the video
Conclusion

The Euclidean norm of matrix A is approximately 17.12.

Worked examples · 1

Norm Calculation Problem

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Given: X=(−5,7,−9)X = (-5, 7, -9), A=[[−3,6,8],[1,5,9],[4,5,6]]A = [[-3, 6, 8], [1, 5, 9], [4, 5, 6]]

  2. Formula
    Observation

    Calculate the Euclidean norm and infinity norm.

Problem

Calculate the Euclidean norm and infinity norm for the given vector X=(−5,7,−9)X = (-5, 7, -9) and matrix A=[[−3,6,8],[1,5,9],[4,5,6]]A = [[-3, 6, 8], [1, 5, 9], [4, 5, 6]].

Given
  1. Vector X=(−5,7,−9)X = (-5, 7, -9)

  2. Matrix A=[[−3,6,8],[1,5,9],[4,5,6]]A = [[-3, 6, 8], [1, 5, 9], [4, 5, 6]]

Goal

Find ||X||_∞, ||X||_e, ||A||_∞, and ||A||_e.

Steps
  1. Expression
    ∣∣A∣∣∞=17||A||_∞ = 17
    Explanation

    Calculate the infinity norm of matrix A by finding the maximum row sum of absolute values.

    Justification

    Definition of matrix infinity norm.

    Shown in the video
  2. Expression
    ∣∣X∣∣∞=9||X||_∞ = 9
    Explanation

    Calculate the infinity norm of vector X by finding the maximum absolute component.

    Justification

    Definition of vector infinity norm.

    Shown in the video
  3. Expression
    ∣∣X∣∣e=√155≈12.45||X||_e = √155 ≈ 12.45
    Explanation

    Calculate the Euclidean norm of vector X by taking the square root of the sum of squared components.

    Justification

    Definition of vector Euclidean norm.

    Shown in the video
  4. Expression
    ∣∣A∣∣e=√293≈17.12||A||_e = √293 ≈ 17.12
    Explanation

    Calculate the Euclidean norm of matrix A by taking the square root of the sum of squared elements.

    Justification

    Definition of matrix Euclidean norm.

    Shown in the video
Answer

||A||_∞ = 17, ||X||_∞ = 9, ||X||_e ≈ 12.45, ||A||_e ≈ 17.12

Verification

The calculations follow the standard definitions of the respective norms and the arithmetic steps are shown explicitly in the video.

Visual events · 2

Highlighting Rows for Infinity Norm Calculation

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    As each row's absolute sum is calculated, the corresponding row in the matrix is highlighted in yellow.

Objects
  1. Matrix A

  2. Row sums

Changes
  1. Rows of matrix A are sequentially highlighted in yellow as their absolute sums are calculated.

Invariants
  1. The matrix elements themselves do not change.

Interpretation

The visual highlighting links the abstract formula for row sums directly to the specific rows being processed in the example matrix.

Highlighting Absolute Values for Vector Infinity Norm

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    The absolute values of the vector components are enclosed in a yellow box before the maximum is taken.

Objects
  1. Vector X

  2. Absolute values

Changes
  1. The calculated absolute values |x1x_1|=5, |x2x_2|=7, |x3x_3|=9 are grouped and highlighted with a yellow box.

Invariants
  1. The original vector components remain unchanged.

Interpretation

This visual grouping emphasizes that the infinity norm operation is applied to the set of absolute values of the components.

Concept relations · 2

Infinity Norm of a Matrix → Infinity Norm of a Vector

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    The video presents the infinity norm for a matrix first, then for a vector, showing parallel definitions based on maximums.

Contrast
Explanation

While both use the concept of a 'maximum', the matrix infinity norm takes the maximum of row sums of absolute values, whereas the vector infinity norm takes the maximum of the absolute values of individual components.

Euclidean Norm of a Vector → Euclidean Norm of a Matrix

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    The video presents the Euclidean norm for a vector, then extends the concept to a matrix by summing over all elements.

Generalizes
Explanation

The Euclidean norm of a matrix (Frobenius norm) generalizes the Euclidean norm of a vector by treating the matrix as a flattened vector of all its elements and computing the square root of the sum of their squares.

Find an answer · 4

How do you calculate the infinity norm of a matrix?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To compute the infinity norm of a matrix, calculate the sum of the absolute values of the elements in each row. The infinity norm is the largest of these row sums.

Knowledge points
  1. Infinity Norm of a Matrix
  2. Derivation of Infinity Norm for Matrix A

What is the definition and calculation method for the infinity norm of a vector?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The infinity norm of a vector is defined as the maximum absolute value among its elements.

Knowledge points
  1. Infinity Norm of a Vector
  2. Derivation of Infinity Norm for Vector X

How is the Euclidean norm (magnitude) of a vector calculated?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To calculate the Euclidean norm of a vector, square each component of the vector, sum these squared values, take the square root of the result.

Knowledge points
  1. Euclidean Norm of a Vector
  2. Derivation of Euclidean Norm for Vector X

What is the procedure for finding the Euclidean norm of a matrix?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    To calculate the Euclidean norm of a matrix, square each element of the matrix, sum up all the squared values, take the square root of the sum.

Knowledge points
  1. Euclidean Norm of a Matrix
  2. Derivation of Euclidean Norm for Matrix A
Coverage and review notes

Covered · Black screen intro.

Covered · Problem statement displaying vector X and matrix A, asking for Euclidean and infinity norms.

Covered · Transition to Infinity Norm of a Matrix section.

Covered · Definition and step-by-step numerical derivation of the infinity norm for matrix A.

Covered · Transition to Infinity Norm of a Vector section.

Covered · Definition and step-by-step numerical derivation of the infinity norm for vector X.

Covered · Transition to Euclidean Norm of a Vector section.

Covered · Definition and step-by-step numerical derivation of the Euclidean norm for vector X.

Covered · Transition to Euclidean Norm of a Matrix section.

Covered · Definition and step-by-step numerical derivation of the Euclidean norm for matrix A.

Covered · Outro and thanks for watching.

Explore the knowledge in this video

Reviewed subject paths