Skip to content Skip to navigation Skip to collection information

Connexions

You are here: Home » Content » A First Course in Electrical and Computer Engineering » Linear Algebra: Other Norms

Navigation

Table of Contents

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Endorsed by Endorsed (What does "Endorsed by" mean?)

This content has been endorsed by the organizations listed. Click each link for a list of all content endorsed by the organization.
  • IEEE-SPS

    This collection is included inLens: IEEE Signal Processing Society Lens
    By: IEEE Signal Processing Society

    Click the "IEEE-SPS" link to see all content they endorse.

  • College Open Textbooks display tagshide tags

    This collection is included inLens: Community College Open Textbook Collaborative
    By: CC Open Textbook Collaborative

    Comments:

    "Reviewer's Comments: 'I recommend this book as a "required primary textbook." This text attempts to lower the barriers for students that take courses such as Principles of Electrical Engineering, […]"

    Click the "College Open Textbooks" link to see all content they endorse.

    Click the tag icon tag icon to display tags associated with this content.

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • Bookshare

    This collection is included inLens: Bookshare's Lens
    By: Bookshare - A Benetech Initiative

    Comments:

    "Accessible versions of this collection are available at Bookshare. DAISY and BRF provided."

    Click the "Bookshare" link to see all content affiliated with them.

  • NSF Partnership display tagshide tags

    This collection is included inLens: NSF Partnership in Signal Processing
    By: Sidney Burrus

    Click the "NSF Partnership" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Featured Content display tagshide tags

    This collection is included inLens: Connexions Featured Content
    By: Connexions

    Comments:

    "A First Course in Electrical and Computer Engineering provides readers with a comprehensive, introductory look at the world of electrical engineering. It was originally written by Louis Scharf […]"

    Click the "Featured Content" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • UniqU content

    This collection is included inLens: UniqU's lens
    By: UniqU, LLC

    Click the "UniqU content" link to see all content selected in this lens.

  • Evowl

    This collection is included inLens: Rice LMS's Lens
    By: Rice LMS

    Comments:

    "Language: en"

    Click the "Evowl" link to see all content selected in this lens.

  • Lens for Engineering

    This module and collection are included inLens: Lens for Engineering
    By: Sidney Burrus

    Click the "Lens for Engineering" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Linear Algebra: Other Norms

Module by: Louis Scharf. E-mail the author

Note:

This module is part of the collection, A First Course in Electrical and Computer Engineering. The LaTeX source files for this collection were created using an optical character recognition technology, and because of this process there may be more errors than usual. Please contact us if you discover any errors.

Sometimes we find it useful to use a different definition of distance, corresponding to an alternate norm for vectors. For example, consider the l-norm defined as

| | x | | 1 = ( | x 1 | + | x 2 | + + | x n | ) , | | x | | 1 = ( | x 1 | + | x 2 | + + | x n | ) ,
(1)

where |xi||xi| is the magnitude of component xi. There is also the sup-norm, the “supremum” or maximum of the components x1,...,xnx1,...,xn :

||x||sup=max(|x1|,|x2|,...,|xn|).||x||sup=max(|x1|,|x2|,...,|xn|).
(2)

The following examples illustrate what the Euclidean norm, the l-norm, and the sup-norm look like for typical vectors.

Example 1

Consider the vector x=-3l2x=-3l2. Then

  1. ||x||=[(-3)2+(1)2+(2)2]1/2=(14)1/2||x||=[(-3)2+(1)2+(2)2]1/2=(14)1/2 ;
  2. ||x||1=(|-3|+|1|+|2|)=6||x||1=(|-3|+|1|+|2|)=6; and
  3. ||x||sup=max(|-3|,|1|,|2|)=3.||x||sup=max(|-3|,|1|,|2|)=3.

Example 2

Figure 1 shows the locus of two-component vectors x=x1x2x=x1x2 with the property that ||x||=1,||x||1=1||x||=1,||x||1=1, or ||x||sup=1.||x||sup=1.

Figure 1: Locus of Two-Dimensional Vectors Whose Various Norms Are 1
Figure one is a diagram with a vertical axis labeled x_2 and horizontal axis labeled x_1. A large square centered at the origin with its diagonals on the axes is drawn, and around this is a circle centered at the origin and of the same diameter as the diagonals of the square. In addition, a square centered at the origin with the same width as the diagonal of the first square is the outermost shape of the diagram. The side of the smaller square that lies in the fourth quadrant is labeled locus of x such that  ||x||_1 = 1. The section of the circle that lies in the first quadrant is labeled locus of x such that ||x||_2 = 1. The section of the larger square that lies in the second quadrant is labeled locus of x such that  ||x||_sup = 1.

The next example shows how the l-norm is an important part of city life.

Example 3

The city of Metroville was laid out by mathematicians as shown in Figure 2. A person at the intersection of Avenue 0 and Street -2-2 (point A) is clearly two blocks from the center of town (point C). This is consistent with both the Euclidean norm

| | A | | = 0 2 + ( - 2 ) 2 = 4 = 2 | | A | | = 0 2 + ( - 2 ) 2 = 4 = 2
(3)

and the l-norm

| | A | | 1 = ( | 0 | + | - 2 | ) = 2 . | | A | | 1 = ( | 0 | + | - 2 | ) = 2 .
(4)

But how far from the center of town is point B B at the intersection of Avenue-2 and Street 1? According to the Euclidean norm, the distance is

| | B | | = ( - 2 ) 2 + ( 1 ) 2 = 5 . | | B | | = ( - 2 ) 2 + ( 1 ) 2 = 5 .
(5)
Figure 2: Metroville, U.S.A.
Figure two is a diagram of metroville. North points upward. There are five streets that travel north-south, labeled from left to right, street -2, street -1, street 0, street 1, and street 2. There are also five streets that run east-west labeled from top to bottom, avenue 2, avenue 1, avenue 0, avenue -1, avenue -2. At the intersection of avenue 0 and street -2 is point A. At the intersection of street 0 and avenue 0 is point C. At the intersection of avenue -2 and street 1 is point B.

While it is true that point B B is 55 blocks from C C, it is also clear that the trip would be three blocks by any of the three shortest routes on roads. The appropriate norm is the l-norm:

| 1 B | | 1 = ( | - 2 | + | 1 | ) = 3 . | 1 B | | 1 = ( | - 2 | + | 1 | ) = 3 .
(6)

Even more generally, we can define a norm for each value of p p from 1 to infinity. The so-called p-norm is

| I x | | p = ( | x 1 | p + | x 2 | p + + | x n | p ) 1 / p . | I x | | p = ( | x 1 | p + | x 2 | p + + | x n | p ) 1 / p .
(7)

Exercise 1

Show that the Euclidean norm is the same as the p-norm with p=2p=2 and that the 1-norm is the p-norm with p=1p=1. (It can also be shown that the sup-norm is like a p-norm with p=.p=.)

DEMO 4.1 (MATLAB). From the command level of MATLAB, type the following lines:

>> x = [1;3;-2;4]
>> y = [0;1;2;-0.5]
>> x - y

Check to see whether the answer agrees with the definition of vector subtraction. Now type

>> a = -1.5
>> a * x

Check the answer to see whether it agrees with the definition of scalar multiplication. Now type

>> x' * y

This is how MATLAB does the inner product. Check the result. Type

>> norm(y)
>> sqrt(y' * y)
>> norm(y,1)
>> norm(y' * y)

Now type your own MATLAB expression to find the cosine of the angle between vectors x x and y y. Put the result in variable t t. Then find the angle θ θ by typing

>> theta = acos(t)

The angle θ θ is in radians. You may convert it to degrees if you wish by multiplying it by 180/π180/π:

>> theta = theta * (180/pi)

Collection Navigation

Content actions

Download:

Collection as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks