Barycentric coordinates in a triangle - proof

Click For Summary

Discussion Overview

The discussion revolves around proving that the barycentric coordinates of a point \( P \) inside a triangle with vertices at \( (1,0,0) \), \( (0,1,0) \), and \( (0,0,1) \) correspond to the distances from \( P \) to the sides of the triangle. Participants also explore a similar concept for barycentric coordinates in a regular tetrahedron.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants propose that the barycentric coordinates \( (h_1, h_2, h_3) \) represent the heights of the triangles formed with point \( P \) and the triangle's sides.
  • One participant states that \( h_1 = \frac{S_{ABP}}{S_{ABC}} \) and similarly for \( h_2 \) and \( h_3 \), but expresses uncertainty about proving the relationship \( (h_1 + h_2 + h_3)P = h_1 (1,0,0) + h_2 (0,1,0) + h_3 (0,0,1) \).
  • Another participant clarifies that the height of triangle \( ABP \) is indeed the distance from \( P \) to side \( AB \), reinforcing the connection between heights and barycentric coordinates.
  • One participant mentions a general fact about the barycentric coordinates involving areas, suggesting that \( P \) can be expressed as a weighted sum of the triangle's vertices based on the areas of the sub-triangles.
  • A later reply introduces a function \( H(P) = h_1(P) + h_2(P) + h_3(P) \) and discusses its constancy across the triangle's vertices, proposing a mapping that maintains the identity of points at the vertices.

Areas of Agreement / Disagreement

Participants express differing views on the proof of the relationship between barycentric coordinates and distances to triangle sides. While some agree on the conceptual link, the exact mathematical proof remains contested and unresolved.

Contextual Notes

Participants note that the proof of the relationship \( P=\dfrac{S_{PBC}}{S_{ABC}}A+\dfrac{S_{PAC}}{S_{ABC}}B+\dfrac{S_{PAB}}{S_{ABC}}C \) is needed, indicating that the discussion involves unresolved mathematical steps and assumptions about the properties of barycentric coordinates.

Samwise1
Messages
14
Reaction score
0
I want to prove that the barycentric coordinates of a point $P$ inside the triangle with vertices in $(1,0,0), (0,1,0), (0,0,1)$ are distances from $P$ to the sides of the triangle.

Let's denote the triangle by $ABC, \ A = (1,0,0), B=(0,1,0), C= (0,0,1)$.

We consider triangles $ABP, \ BCP, \ CAP$.

The barycentric coordinates of $P$ will then be $(h_1, h_2, h_3)$ where $h_1$ is the height of $ABP$, $h_2 \rightarrow BCP$, $h_3 \rightarrow CAP$

I know that $h_1 = \frac{S_{ABP}}{S_{ABC}}$ and similarly for $h_2, \ h_3$

My problem is that I don't know how to prove that if $P= (p_1, p_2, p_3)$

then $(h_1 + h_2 + h_3)P = h_1 (1,0,0) + h_2 (0,1,0) + h_3 (0,0,1)$

Could you tell me what to do about it?

Thank you!

I have one more question. Similarly, barycentric coordinates of a point $p$ in a regular tetrahedron $\Delta_3$ are distances of $p$ from its faces. How can we prove that?
 
Last edited:
Physics news on Phys.org
Samwise said:
I want to prove that the barycentric coordinates of a point $P$ inside the triangle with vertices in $(1,0,0), (0,1,0), (0,0,1)$ are distances from $P$ to the sides of the triangle.

...

The barycentric coordinates of $P$ will then be $(h_1, h_2, h_3)$ where $h_1$ is the height of $ABP$, $h_2 \rightarrow BCP$, $h_3 \rightarrow CAP$
Isn't it what you need to prove? Because the height of $ABP$ is the distance from $P$ to $AB$.

Samwise said:
I know that $h_1 = \frac{S_{ABP}}{S_{ABC}}$ and similarly for $h_2, \ h_3$

My problem is that I don't know how to prove that if $P= (p_1, p_2, p_3)$

then $(h_1 + h_2 + h_3)p = h_1 (1,0,0) + h_2 (0,1,0) + h_3 (0,0,1)$
What is $p$ in the last equation?
 
Evgeny.Makarov said:
Isn't it what you need to prove? Because the height of $ABP$ is the distance from $P$ to $AB$.

What is $p$ in the last equation?

I see. I didn't express myself very well.

It was supposed to be a reformulation of the statement which I want to prove, that is that the barycentric coordinates of a point $p$ inside a triangle are distances of that point from the sides of the triangle = heights of respective smaller triangles.

So far I only know that $$1 = \frac{\frac{1}{2}(|AB|h_1 + |BC|h_2 + |CA|h_3)}{S_{ABC}} = \frac{S_{ABP}}{S} + \frac{S_{BCP}}{S} + \frac{S_{CAP}}{S}$$, but I don't know how to show that the condition :

$$(h_1 + h_2 + h_3)P = h_1 (1,0,0) + h_2 (0,1,0) + h_3 (0,0,1)$$

is satisfied.

And the $p$ in the last equation was a typo, I guess I didn't press "Shift" correctly :)
 
First, the length of each side in $\triangle ABC$ where $A=(1,0,0)$, $B=(0,1,0)$ and $C=(0,0,1)$ is $\sqrt{2}$, and $S_{\triangle ABC}=\dfrac{\sqrt{3}}{2}$. Therefore, if $h_1$ is the height of $ABP$ and $h=\sqrt{\dfrac{3}{2}}$ is the height of $ABC$, then $h_1$ is indeed the distance from $P$ to $AB$, but $\dfrac{S_{\triangle ABP}}{S_{\triangle ABC}}=\dfrac{h_1}{h}\ne h_1$.

Samwise said:
I don't know how to show that the condition :

$$(h_1 + h_2 + h_3)P = h_1 (1,0,0) + h_2 (0,1,0) + h_3 (0,0,1)$$

is satisfied.
The general fact is that
\[
P=\dfrac{S_{PBC}}{S_{ABC}}A+\dfrac{S_{PAC}}{S_{ABC}}B+\dfrac{S_{PAB}}{S_{ABC}}C\qquad(*)
\]
and it is trivial to show that $\dfrac{S_{PAB}}{S_{ABC}}=\dfrac{h_1}{h}$ and similarly for other fractions. Do I understand right that you need a proof of (*)?
 
Thank you.

I've come up with a proof of $(*)$.

Here it is:

Let $h_i : \Delta_3 \rightarrow \mathbb{R}$ be functions assigning $P \in \Delta_3$ its $i$-th barycentric coordinate. These maps are affine.

Then we consider a plane, an affine subspace of $T$ containing the triangle and extend the above mappings to $T$.

Next we define $H(P) = h_1(P) + h_2(P) + h_3(P)$

$T$ is $2$-dimensional. We take three non-collinear points - the vertices of our triangle and see that $H(A)=H(B)=H(C) = \frac{\sqrt{3}}{2}$

So $H$ is constant.

Next we set $f(P) = \frac{1}{H} (h_1(P) , h_2(P) ,h_3(P))$

Here $f(A)=A, f(B)=B, f(C)=C$, so $f$ is the identity map.

Is that right?
 
Evgeny.Makarov said:
The general fact is that
\[
P=\dfrac{S_{PBC}}{S_{ABC}}A+\dfrac{S_{PAC}}{S_{ABC}}B+\dfrac{S_{PAB}}{S_{ABC}}C\qquad(*)
\]
and it is trivial to show that $\dfrac{S_{PAB}}{S_{ABC}}=\dfrac{h_1}{h}$ and similarly for other fractions. Do I understand right that you need a proof of (*)?

Yes, as a matter of fact, I do need the proof of that fact.

My "proof" doesn't seem to prove much.

Could you tell me why the equality $(*)$ is true?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
5K
Replies
6
Views
5K
  • · Replies 16 ·
Replies
16
Views
7K
  • · Replies 125 ·
5
Replies
125
Views
20K
  • · Replies 175 ·
6
Replies
175
Views
27K