You can compute vector norms in Scientific Notebook for every positive integer n, where
Evaluate
a, b, c
=
a
+
b
+
c
6pt
a, b, c
=
6pt
-1, 2, 1
=
6pt
a, b, c
= max
a
,
b
,
c
6pt
8, - 10, 2
= 10 6pt
6pt =
![]()
=
To enter the two pairs of vertical lines used in the norm symbol
Before doing the next set of examples, make the following definition.
Define + New Definition
v = [3, 2, 1]
Evaluate, Evaluate Numerically
v
= 6 6pt
v
=
= 3.7417 6pt
v
=
= 3.043 6pt
v
=
= 3.000045103 6pt
v
= 3
This series of examples suggests that for a vector v,
The default
v
is the 2-norm, which
is also known as the
Euclidean norm.
Since