Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How to find the absolute value of a vector?

Writer Sophia Terry
$\begingroup$

In my linear algebra course I keep seeing something like this:

a = {1, 3, 5}

Then in formulas I see this:

|a|

What does this mean, what is the absolute value of a vector? Wouldn't just be {1,3,5}?

$\endgroup$

2 Answers

$\begingroup$

Keep in mind that absolute value is distance from zero. So you can use the distance formula to find the absolute value:

$$ \sqrt{x^2+y^2+z^2} $$

$\endgroup$ 4 $\begingroup$

Absolute value of a vector means taking second norm of the vector i.e. $\|x\|$. That means the same thing as $\sqrt{x_1^2 +x_2^2+...+x_n^2}$. I don't understand why some top researchers in computer science abuse the notation where $|x|$ is widely used for absolute value of scalars in math.

I have also seen papers using $|x|$ to mean absolute value of each component of the vector $x$. In summary, meaning will depends upon the context and author.

$\endgroup$ 4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy