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

Discussion Overview

The discussion revolves around the geometric significance of the constant D in the equation of a plane represented as Ax + By + Cz + D = 0. Participants explore whether a large value of D, observed in a best-fit plane algorithm, is a mathematical artifact or indicative of an issue with the algorithm or its application.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant questions the geometric interpretation of D, noting that their algorithm yields an unusually large value for D, which seems disproportionate compared to A, B, and C.
  • Another participant provides the point-normal form of the plane equation, suggesting that it may clarify the relationship between D and the normal vector.
  • A subsequent reply expands on the point-normal form, indicating that D can be expressed in terms of the dot product of the normal vector and a point on the plane, suggesting a geometric interpretation related to angles between vectors.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the significance of D, with some exploring its geometric interpretation while others express uncertainty about its implications in the context of the algorithm's output.

Contextual Notes

The discussion highlights the potential for D to be influenced by the choice of points used in the best-fit algorithm, but does not resolve whether the large value is a problem or a feature of the mathematical formulation.

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 1 ·
Replies
1
Views
5K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
17
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K