Physicsissuef said:
if d > 0 then the coordinate M is of opposite site of the plane (relative to the (0,0,0)), and if it is d < 0 it is on same site of the plane (relative to (0,0,0))? Where is the logic?
No, it's not like that.. It depends on whether D is negative or positive..
Say, I have a 3-variable function:
d(x, y, z) = \frac{ax + by + cz + D}{\sqrt{a ^ 2 + b ^ 2 + c ^ 2}}
where a, b, c, D are all coefficients of the plane function: ax + by + cz + D = 0, and (x, y, z) \in \mathbb{R} ^ 3 is the co-ordinate of a point in 3D space.
There should be a theorem in your books, which states:
Two points A(x
0, y
0, z
0), B(x
1, y
1, z
1) are on the same side of the plane: ax + by + cz + D = 0, if and only if:
d(x
0, y
0, z
0) d(x
1, y
1, z
1) > 0..
They are not on the same side (i.e, one is on one side, and the other one is on another side), if and only if:
d(x
0, y
0, z
0) d(x
1, y
1, z
1) < 0..
-------------------------
Back to your question:
The origin O has co-ordinate (0, 0, 0), so d(0, 0, 0) = \frac{D}{\sqrt{a ^ 2 + b ^ 2 + c ^ 2}}, which will take the sign of D, since the square root in the denominator is always positive, hence, does not affect the sign of d(0, 0, 0).
So, a random point with co-ordinate (x, y, z), and the origin are on the same side of the plane (whose function is: ax + by + cz + D = 0), if and only if:
D * d(x, y, z) > 0..
They lie on 2 different sides if and only if: D * d(x, y, z) < 0..
Is this clear? :)