Main Question or Discussion Point

I know that the distance will be a vector from the the origin to the plane, and it will be along a normal vector. Normal vector must be parallel to (1,2,2), so I solve O + (1,2,2)t satisfies plane equation to find the point where a normal to the plane will hit the origin. So 1t + 2t + 2t = 6, t = 6/5. Then the point (6/5, 12/5, 12/5) is on the plane, and it is on the normal vector from the plane towards (0,0,0) because (6/5, 12/5, 12/5) - (6/5)(1, 2, 2) = (0, 0, 0). But when I take the distance of this point, I get sqrt((36/25)+(144/25)+(144/25)) = 18/5, and this answer is not correct.

The solution in the book used projections and I understand why it worked (the answer is 2), but I can't find what went wrong in my solution. Thanks for helping.

I know that the distance will be a vector from the the origin to the plane, and it will be along a normal vector. Normal vector must be parallel to (1,2,2), so I solve O + (1,2,2)t satisfies plane equation to find the point where a normal to the plane will hit the origin. So 1t + 2t + 2t = 6, t = 6/5. Then the point (6/5, 12/5, 12/5) is on the plane,.

No, it's not: $$\frac{6}{5}+2\,\frac{12}{5}+\,2\frac{12}{5}\neq 6$$

DonAntonio

and it is on the normal vector from the plane towards (0,0,0) because (6/5, 12/5, 12/5) - (6/5)(1, 2, 2) = (0, 0, 0). But when I take the distance of this point, I get sqrt((36/25)+(144/25)+(144/25)) = 18/5, and this answer is not correct.

The solution in the book used projections and I understand why it worked (the answer is 2), but I can't find what went wrong in my solution. Thanks for helping.

I know that the distance will be a vector from the the origin to the plane, and it will be along a normal vector. Normal vector must be parallel to (1,2,2), so I solve O + (1,2,2)t satisfies plane equation toward the point where a normal to the plane will hit the origin. So 1t + 2t + 2t = 6

I can't make much sense of what chiro says. "Normalizing the plane" by moving the "6" to the left of the equal sign gives the same normal vector and there is no need to divide by its length. What you did was perfecty good except that you forgot the "2" coefficients in the equation of the plane.

, t = 6/5. Then the point (6/5, 12/5, 12/5) is on the plane, and it is on the normal vector from the plane towards (0,0,0) because (6/5, 12/5, 12/5) - (6/5)(1, 2, 2) = (0, 0, 0). But when I take the distance of this point, I get sqrt((36/25)+(144/25)+(144/25)) = 18/5, and this answer is not correct.

The solution in the book used projections and I understand why it worked (the answer is 2), but I can't find what went wrong in my solution. Thanks for helping.

I can't make much sense of what chiro says. "Normalizing the plane" by moving the "6" to the left of the equal sign gives the same normal vector and there is no need to divide by its length. What you did was perfecty good except that you forgot the "2" coefficients in the equation of the plane.

I'm normalizing the vector so that you can easily calculate the distance by doing a n.p = d where n is the unit normal vector for the plane and p is a point. If d = 0 then the point is on the plane.

But the thing is that this equation only works if the plane goes through the origin so you have to "shift" the term to account for this: hence why I introduced the extra term, where you "shift" the distance corresponding to what is in the plane equation.

Its basically projecting a point onto the normal vector and then correcting the distance to take into account any plane that does not go through the origin.

No, whether a plane, Ax+ By+ Cx= r, contains the origin or not (whether r= 0 or not), the vector <A, B, C> is perpendicular to the plane so the line through point [itex](x_0, y_0, z_0)[/itex] parallel to <A, B, C>, [itex]x= At+ x_0[/itex], [itex]y= Bt+ y_0[/itex], [itex]z= Ct+ z_0[/itex], is the shortest distance from the point to the plane. Putting those equations into the equation of the plane, [itex]A(At+ x_0)+ B(Bt+ y_0)+ C(Ct+ z_0)= r[/itex] gives a single equation for t, the point on the line where the line crosses the plane. The distance between that point and the given point is the "distance between point and plane".

Remember you need a projection and a projection requires a unit length vector that you are projecting to.

If you don't have this and you want to do the projection approach it won't work.

The dot product of a point against a normal just gives the amount of component against the normal, but if you don't account for the distance of how far the plane is shifted away from the origin then you will screw it up and this is account by the extra term in the plane equation.

Remember you need a projection and a projection requires a unit length vector that you are projecting to.

If you don't have this and you want to do the projection approach it won't work.

The dot product of a point against a normal just gives the amount of component against the normal, but if you don't account for the distance of how far the plane is shifted away from the origin then you will screw it up and this is account by the extra term in the plane equation.

This is just basic 3D geometry 101.

I'm not sure what you're saying here but the direction normal of a plane does not have to be normalized in order to calculate its

distance from the origin. In fact what the OP did was just fine, he just messed up with that "t", but for that all was correct.

I'm not sure what you're saying here but the direction normal of a plane does not have to be normalized in order to calculate its

distance from the origin. In fact what the OP did was just fine, he just messed up with that "t", but for that all was correct.

DonAntonio

Here is the easiest way to understand this:

Imagine a plane that goes through the origin with some normal vector.

Now if you compute <p.n>*n where ||n|| = 1 you will project a point (or more correctly a vector with its tail at that point) on to the vector n, and if you look at the length of this vector (i.e. <p,n>) then this will be the perpendicular distance from that point to the plane.

But if the plane does not go through the origin, then you need to account for this which means you consider a shifted distance with respect to its translation with respect to its normal direction vector.

A projection of projecting one vector onto another in the form of (<a,b>b)||b|| requires that you do it on a normalized vector since all projections require P^2 = P and this means you need normalized vectors.