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}?
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityKeep 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} $$
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.