Oblique projection of a vector on a plane

In summary: This can be seen by considering the triangle formed by $u$, $v$, and $(v\times u)\times n$. The projection of $u$ along $v$ on $\pi$ is the length of the altitude from $u$ to $(v\times u)\times n$ in this triangle. Since the cross product $(v\times u)\times n$ is perpendicular to both $v$ and $u$, it is the shortest distance from $u$ to the line containing $v$, which is the projection of $u$ along $v$ on $\pi$. Therefore, $(v\times u)\times n$ has the correct magnitude for
  • #1
Evgeny.Makarov
Gold Member
MHB
2,436
4
Suppose a plane contains the origin and has normal $n$. Is it true that the projection of a vector $u$ on the plane along vector $v$ is $(v\times u)\times n$, where $\times$ denotes the cross product? I can see that the direction is right, but I am not sure about the length. Links to textbooks and other sources are welcome.
 
Physics news on Phys.org
  • #2
To make sure I understand you, by "oblique" do you mean that $u$ is not in the given plane, nor perpendicular to it? (And $v$ is in the plane?)
 
  • #3
By "oblique" I mean that the vector $v$, along which the projection is done, is not necessarily orthogonal to the plane. Vector $u$ is in general not in the plane; otherwise, its projection is $u$ itself. Vector $v$ is not in the plane; otherwise, projection along $v$ is not defined. By projection of $u$ along $v$ I mean a vector $u'$ such that $u'=u+\lambda v$ for some $\lambda\in\mathbb{R}$ and $u'\cdot n=0$.
 
  • #4
Evgeny.Makarov said:
Suppose a plane contains the origin and has normal $n$. Is it true that the projection of a vector $u$ on the plane along vector $v$ is $(v\times u)\times n$, where $\times$ denotes the cross product? I can see that the direction is right, but I am not sure about the length. Links to textbooks and other sources are welcome.

Counter example
Suppose $v$ is in the plane. Then the projection is not possible.
However, $(v\times u)\times n$ still yields a specific vector, which is a contradiction.

Formula for oblique projection
Let $p$ be the projection.
Then $p=u-\lambda v$ and $p\cdot n=0$.
Therefore $p\cdot n = u\cdot n - \lambda v\cdot n = 0$.
Solving for $\lambda$ and substituting back gives:
$$p=u-\frac{u\cdot n}{v\cdot n}v$$
This formula also works for a hyperplane in any number of dimensions.
 
  • #5
Klaas van Aarsen said:
Counter example
Suppose $v$ is in the plane. Then the projection is not possible.
However, $(v\times u)\times n$ still yields a specific vector, which is a contradiction.
Let $\pi$ be the plane with normal $n$ and let $\text{proj}_\pi(u,v)$ be the projection of $u$ along $v$ on $\pi$. Obviously, $\text{proj}_\pi(u,v)$ is uniquely defined iff $v$ is not parallel to $\pi$. I am not so much interested in proving $\text{proj}_\pi(u,v)=(v\times u)\times n$ for all vectors $u$, $v$ and $n$. I'd like to prove this equality provided both sides are defined. In a similar way, $\dfrac{x}{y}\cdot y=x$ is also false in general, but it is still useful.

First, $(v\times u)\times n$ is perpendicular to $n$ and therefore lies in $\pi$. Also, $v\times u$ is perpendicular to the plane defined by $v$ and $u$, so $(v\times u)\times n$ lies in that plane, i.e., it equals $\mu u+\lambda v$ for some $\mu$ and $\lambda$. So it is a projection of some vector proportional to $u$ if not $u$ itself, i.e., it has the correct direction. (In fact, I plan to apply this to projective geometry, so only directions matter in the end.) But I still would like to know if $(v\times u)\times n$ has the right magnitude.

Klaas van Aarsen said:
Formula for oblique projection
Let $p$ be the projection.
Then $p=u-\lambda v$ and $p\cdot n=0$.
Therefore $p\cdot n = u\cdot n - \lambda v\cdot n = 0$.
Solving for $\lambda$ and substituting back gives:
$$p=u-\frac{u\cdot n}{v\cdot n}v$$
This formula also works for a hyperplane in any number of dimensions.
Yes, thank you, and I have a question about this as well. Wikipedia shows that $p=u-(u\cdot n)v$ (this is case (S3) in the link above, where our $u$ is denoted by $p$ and its projection is $p'$) leads to the formula $p=(I-vn^T)u$ where vectors are viewed as columns and $A^T$ is matrix transpose, so $vn^T$ is a $3\times 3$ matrix. So the matrix of projection is $I-vn^T$. What I don't understand is where the denominator $v\cdot n$ from your formula went. Case (S1) assumes that $v\cdot n=1$; does this assumption apply to (S3) as well? But I have the book "Projective Geometry and Its Applications to Computer Graphics" by M.A. Penna and R.R. Pattersons, which says on page 113 that the matrix is indeed like this without assuming $v\cdot n=1$. Granted, matrices of projective transformations are defined up to a multiplicative constant, but here we have the identity matrix that is added and not just $vn^T$.
 
  • #6
Evgeny.Makarov said:
Let $\pi$ be the plane with normal $n$ and let $\text{proj}_\pi(u,v)$ be the projection of $u$ along $v$ on $\pi$. Obviously, $\text{proj}_\pi(u,v)$ is uniquely defined iff $v$ is not parallel to $\pi$. I am not so much interested in proving $\text{proj}_\pi(u,v)=(v\times u)\times n$ for all vectors $u$, $v$ and $n$. I'd like to prove this equality provided both sides are defined. In a similar way, $\dfrac{x}{y}\cdot y=x$ is also false in general, but it is still useful.

First, $(v\times u)\times n$ is perpendicular to $n$ and therefore lies in $\pi$. Also, $v\times u$ is perpendicular to the plane defined by $v$ and $u$, so $(v\times u)\times n$ lies in that plane, i.e., it equals $\mu u+\lambda v$ for some $\mu$ and $\lambda$. So it is a projection of some vector proportional to $u$ if not $u$ itself, i.e., it has the correct direction. (In fact, I plan to apply this to projective geometry, so only directions matter in the end.) But I still would like to know if $(v\times u)\times n$ has the right magnitude.

It has the wrong magnitude.
Let me clarify. Suppose $v$ is 'nearly' in $\pi$, then the projection vector has near-infinite length.
However, the magnitude of $(v\times u)\times n$ is bounded by the product of the individual magnitudes.

Evgeny.Makarov said:
Yes, thank you, and I have a question about this as well. Wikipedia shows that $p=u-(u\cdot n)v$ (this is case (S3) in the link above, where our $u$ is denoted by $p$ and its projection is $p'$) leads to the formula $p=(I-vn^T)u$ where vectors are viewed as columns and $A^T$ is matrix transpose, so $vn^T$ is a $3\times 3$ matrix. So the matrix of projection is $I-vn^T$. What I don't understand is where the denominator $v\cdot n$ from your formula went. Case (S1) assumes that $v\cdot n=1$; does this assumption apply to (S3) as well? But I have the book "Projective Geometry and Its Applications to Computer Graphics" by M.A. Penna and R.R. Pattersons, which says on page 113 that the matrix is indeed like this without assuming $v\cdot n=1$. Granted, matrices of projective transformations are defined up to a multiplicative constant, but here we have the identity matrix that is added and not just $vn^T$.

I don't have that book, but I can guess what they did.
In computer graphics we want to do such a projection on a 'lot' of points, so it must be as computationally cheap as possible.
Generally, we pick $\|n\|=1$ in 'normal' orthogonal projections, which rids us from the division by $n\cdot n$ that we would otherwise have to do. Not to mention that it simplifies the projection formula.
In this case we want $v\cdot n=1$, meaning we will resize $v$ such that this is the case.
Generally that means the $\|v\|>1$.
The book would probably explain in some introductory section that $n$ and/or $v$ are 'suitably' picked or resized, and that this is assumed in the remainder of the book.

Anyway, looking at S3 on wikipedia, I believe that they forgot to mention that they indeed picked $v\cdot n=1$, making S3 a further specialization of S1.

As for the construction of the matrix, note that:
$$(vn^T)p = v(n^Tp)=v(p\cdot n) = (p\cdot n)v$$
 
  • #7
FYI, I've updated the wiki page to include the S1 condition in S3, since I'm convinced it is plain wrong as it is now.
We'll see if anyone will try to revert or modify my changes.
 
  • #8
Thanks a lot. The only thing is that there should be no period before "And".
 
  • #9
Evgeny.Makarov said:
Thanks a lot. The only thing is that there should be no period before "And".

All right. I've changed the full stop to a comma.
Please modify it yourself if you feel the phrasing can be further improved. ;)
 

1. What is an oblique projection of a vector on a plane?

An oblique projection of a vector on a plane is the process of finding the component of a vector that lies in a specific direction on a given plane. This projection is performed by extending the vector onto the plane and finding the perpendicular distance from the extended vector to the plane.

2. How is an oblique projection different from a regular projection?

An oblique projection differs from a regular projection in that it is not perpendicular to the plane. In a regular projection, the vector is projected directly onto the plane, whereas in an oblique projection, the vector is extended onto the plane at an angle.

3. What is the purpose of an oblique projection?

The purpose of an oblique projection is to find the component of a vector in a specific direction on a given plane. This is useful in various fields such as physics, engineering, and computer graphics where vectors and planes are commonly used.

4. How is an oblique projection calculated?

An oblique projection is calculated using the dot product of the vector and the normal vector of the plane. The dot product is then divided by the magnitude of the normal vector to obtain the perpendicular distance from the extended vector to the plane.

5. Can an oblique projection be negative?

Yes, an oblique projection can be negative. This occurs when the angle between the vector and the plane is greater than 90 degrees. In this case, the component of the vector on the plane will be in the opposite direction of the extended vector and will have a negative value.

Similar threads

  • Linear and Abstract Algebra
Replies
33
Views
826
  • Linear and Abstract Algebra
Replies
3
Views
981
  • Linear and Abstract Algebra
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
4
Views
1K
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
8
Views
2K
  • Linear and Abstract Algebra
Replies
7
Views
2K
Replies
3
Views
758
  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
  • Linear and Abstract Algebra
Replies
4
Views
2K
Back
Top