I'm coming from a software development background, and working on some geometry related software, that I'm documenting, and was wanting to know what the correct mathematical operator is for the following:
We have a function called $perp$ which when passed a vector $v$ will give a perpendicular vector to $v$.
My question is there a symbol or specific named use in mathematics for such a function - the perp operator or some such?
For example if I wanted to say that point p is the result of the perpendicular vector from points $r$ to $s$ and scaled by some length $d$:
$$v = \overline{s - r}$$ $$p = d\times perp(v)$$
Would that be syntactically/mathematically correct? - on Wikipedia it notes that it may be called a 'rejection', using that syntax it would look like this:
$$p = d\times v_2$$
"$perp(v)$" is an ill-defined concept. Writing something in the form of $f(x)$ implies that there exists exactly one value $y$ such that $y=f(x)$.
In the case of perpendicular vectors, this is not the case. Given a vector $v$, if vector $u$ is perpendicular to $v$, then the vector $2\cdot u$ is also perpendicular to $v$. So, which one of the two is equal to $perp(v)$? Or maybe it's $-u$? Or maybe $-3u$? Or $(\pi + 3e^{sqrt}) u$?
What you can define is the set of all vectors, perpendicular to $v$. This set would generally be denoted as $v^\top$ or $\{v\}^\top$. This set is actually a vector subspace of the vector space $v$ belongs to, and if $v$ is not $0$, then the dimension of $v^\top$ is one less than the dimension of the total space.
In particular, if $v$ is a $3$-dimensional vector, then all vectors perpendicular to it form a $2$-dimensional vector space, or in other words, a plane.