Why Is D So Large in My Plane Equation?

  • Context: Undergrad 
  • Thread starter Thread starter p1ayaone1
  • Start date Start date
  • Tags Tags
    Form General Plane
Click For Summary
SUMMARY

The discussion centers on the geometric significance of the constant D in the plane equation Ax + By + Cz + D = 0. Users clarify that D can be interpreted as the negative dot product of the normal vector and a point on the plane, specifically D = -\mathbf{n} \cdot \mathbf{a}. The large value of D observed in the algorithm for best-fit planes indicates a potential issue with the algorithm or its application, as it should not dominate the distance expression when A, B, and C are within the range of -1 to 1.

PREREQUISITES
  • Understanding of vector mathematics and dot products
  • Familiarity with the equation of a plane in 3D space
  • Knowledge of best-fit algorithms for plane fitting
  • Basic concepts of geometric interpretation in linear algebra
NEXT STEPS
  • Research the mathematical derivation of the plane equation Ax + By + Cz + D = 0
  • Learn about the geometric interpretation of dot products in vector analysis
  • Explore algorithms for fitting planes to point clouds in R3
  • Investigate the implications of large coefficients in linear equations
USEFUL FOR

Mathematicians, data scientists, and engineers working with 3D geometry, particularly those involved in computational geometry and algorithms for fitting geometric models to data.

p1ayaone1
Messages
74
Reaction score
0
...is Ax + By + Cz + D = 0.

The vector <A, B, C> is a normal vector of the plane. My question is: does the value of D have any geometric significance/interpretation?

I have an algorithm (that I didn't write myself) to evaluate the best-fit plane for a set of points in R3, and the value of D is coming back extremely large (10^20 or something obviously ridiculous). I wonder if D is just a mathematical artifact and I shouldn't worry, or if there is a problem with the algorithm (or my usage of it).

I don't think D should be that large based on the equation for distance between a point (x0, y0, z0) and a plane Ax + By + Cz + D, which is

D = abs(A*x0 + B*y0 + C*z0+ D) / sqrt(A^2 + B^2 + C^2)

My values of A, B, and C are all -1<value<1, but D is so big that it will completely dominate that expression.

Maybe this is a junior question and this thread should be re-categorized as such.

Thanks
 
Physics news on Phys.org
The equation of a plane with normal \mathbf{n} going through the point \mathbf{a} is given by (\mathbf{x} - \mathbf{a})\cdot \mathbf{n}=0. Can you see how that helps?
 
sure. Expanding the dot product gives the point-normal form (as opposed to the general form) of the plane equation. If a = (x0, y0, z0), x = <x, y, z> and n = <A, B, C>, we have A(x-x0) + B(y-y0) + C(z-z0) = 0

That means D = -(x0 + y0 + z0), but I still don't see what the significance of that quantity is...
 
Well, using your notation we have:

(\mathbf{x} - \mathbf{a})\cdot \mathbf{n} =0 \quad \textrm{means} \quad Ax+By+Cz = \mathbf{n}\cdot \mathbf{a}

So your D is given by:

D = - \mathbf{n}\cdot \mathbf{a} = -|\mathbf{a}| \cos \theta = |\mathbf{a}| \cos (\theta - \pi)

where \theta is the angle made between the vectors \mathbf{a} and \mathbf{n}. So you have a geometrical interpretation of D.
 

Similar threads

Replies
10
Views
3K
Replies
17
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
1K