DEV Community

ccarcaci
ccarcaci

Posted on

Characterization of a plane in the space

α\alpha is a plane in the space and we've been told in school that its equation in canonical form is:

ax+by+cz+d=0 ax+by+cz+d=0

But this doesn't tell us nothing about the plane characteristics and no-one explained us how this equation is formed.

Plane formation

A plane in the space could be identified by a point and 2 non-parallel vectors.

P=(x0,y0,z0)αu,vα P=(x_0,y_0,z_0)\in \alpha \\ \\ \underline{u},\underline{v}\in \alpha

u,v\underline{u},\underline{v} have magnitude, direction, and orientation. It's possible to write:

u=PQv=PR \underline{u}=PQ \\ \underline{v}=PR

Every other point XX that belongs to α\alpha could be written as a linear combination of these elements starting from the origin:

OX=OP+su+tvX=(x,y,z)αsRtR OX=OP+s*\underline{u}+t*\underline{v} \\ X=(x,y,z)\in\alpha \\ s\in R \\ t\in R

This clarifies why it is possible to say:

A plane in the space could be identified by a point and 2 non-parallel vectors.

Parametric equations

XX can be described by its parametric equations:

x=x0+m1s+m2ty=y0+n1s+n2tz=z0+p1s+p2tu=(m1,n1,p1)v=(m2,n2,p2) x=x_0+m_1*s+m_2*t \\ y=y_0+n_1*s+n_2*t \\ z=z_0+p_1*s+p_2*t \\ \underline{u}=(m_1,n_1,p_1) \\ \underline{v}=(m_2,n_2,p_2)

The goal is to solve this system over ss and tt reducing it to a linear equation that is satisfied for the points belongings to the plane.

A bit of math

t=xx0m1sm2t=yy0n1sn2t=zz0p1sp2 t=\frac{x-x_0-m_1*s}{m_2} \\ t=\frac{y-y_0-n_1*s}{n_2} \\ t=\frac{z-z_0-p_1*s}{p_2}

Equal over tt :

xx0m1sm2=yy0n1sn2xx0m1sm2=zz0p1sp2 \frac{x-x_0-m_1*s}{m_2}=\frac{y-y_0-n_1*s}{n_2} \\ \frac{x-x_0-m_1*s}{m_2}=\frac{z-z_0-p_1*s}{p_2}

tt is gone, let's target ss

xx0m2m1m2s=yy0n2n1n2sxx0m2m1m2s=zz0p2p1p2s \frac{x-x_0}{m_2}-\frac{m_1}{m_2}*s=\frac{y-y_0}{n_2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2}-\frac{m_1}{m_2}}{p_2}
a(xx0)+b(yy0)+c(zz0)=0ax+by+czax0by0cz0=0d=ax0by0cz0ax+by+cz+d=0 a*(x-x_0)+b*(y-y_0)+c*(z-z_0)=0 \\ ax+by+cz-ax_0-by_0-cz_0=0 \\ d=-ax_0-by_0-cz_0 \\ ax+by+cz+d=0
w=(a,b,c) \underline{w}=(a,b,c)

This is the directional vector of the plane, orthogonal to it.

Geometry

To prove that w\underline{w} is orthogonal to the plane, it should be orthogonal to both u\underline{u} and v\underline{v} .

The scalar product should be 0:

wu=0wv=0 \underline{w}\cdot\underline{u}=0 \\ \underline{w}\cdot\underline{v}=0
wu=am1+bn1+cp1=p1p2n1n2m2m1+m1m2p1p2n2n1+n1n2m1m2p2p1 \underline{w}\cdot\underline{u}=a*m_1+b*n_1+c*p_1=\frac{\frac{p_1}{p_2}-\frac{n_1}{n_2}}{m_2}*m_1+\frac{\frac{m_1}{m_2}-\frac{p_1}{p_2}}{n_2}*n_1+\frac{\frac{n_1}{n_2}-\frac{m_1}{m_2}}{p_2}*p_1
wu=p1p2m1m2n1n2m1m2+m1m2n1n2p1p2n1n2+n1n2p1p2m1m2p1p2=0 \underline{w}\cdot\underline{u}=\frac{p_1}{p_2}\frac{m_1}{m_2}-\frac{n_1}{n_2}\frac{m_1}{m_2}+\frac{m_1}{m_2}\frac{n_1}{n_2}-\frac{p_1}{p_2}\frac{n_1}{n_2}+\frac{n_1}{n_2}\frac{p_1}{p_2}-\frac{m_1}{m_2}\frac{p_1}{p_2}=0
wv=am2+bn2+cp2=p1p2n1n2m2m2+m1m2p1p2n2n2+n1n2m1m2p2p2=0 \underline{w}\cdot\underline{v}=a*m_2+b*n_2+c*p_2=\frac{\frac{p_1}{p_2}-\frac{n_1}{n_2}}{m_2}*m_2+\frac{\frac{m_1}{m_2}-\frac{p_1}{p_2}}{n_2}*n_2+\frac{\frac{n_1}{n_2}-\frac{m_1}{m_2}}{p_2}*p_2=0

Top comments (0)