12.5 Equations of Lines and Planes

Created

Lines

On a 2D plane, a line is represented by y=mx+by=mx+b, mm representing the slope, or direction on plane and bb being the y-intercept, or a point on a line. To make a line in 3D, you also need a point, P0(x0,y0,z0)P_{0}(x_{0}, y_{0}, z_{0}) and a direction along the line, v⃗\vec{v}.

Vector Equation of a Line

The "vector equation of LL": r=r0+tv⃗r=r_{0}+t\vec{v} This is not just a fuction. Lines in 3D must be represented in terms of a parameter. Each value of parameter tt gives the position vector r⃗\vec{r} a point on LL. As tt varies, the line is traced out by the tip of vector r⃗\vec{r}. r0r_{0} can be a point the line passes through.

Parametric Equations of a Line

The three scalar equations, called "parametric equations of LL" through P0(x0,y0,z0)P_{0}(x_{0}, y_{0}, z_{0}) and parallel to v⃗\vec{v}=<a,b,c> are: x=x0+atx=x_{0}+at y=y0+bty=y_{0}+bt z=z0+ctz=z_{0}+ct

Planes

Planes in space are defined by a point P0(x0,y0,z0)P_{0}(x_{0}, y_{0}, z_{0}) and vector n⃗\vec{n}, called the "normal vector", that is orthogonal (perpendicular) to the plane.

Vector Equation of a Plane

n⃗\vec{n} is orthogonal to any vector in the plane, so n⃗⋅(r⃗−r0⃗)=0\vec{n} \cdot (\vec{r} - \vec{r_{0}})=0 or n⃗⋅r⃗=n0⃗⋅r0⃗\vec{n} \cdot \vec{r} = \vec{n_{0}} \cdot \vec{r_{0}} This is called the "vector equation of a plane".

Scalar Equation of a Plane

Write n⃗=<a,b,c>\vec{n}=<a,b,c>, r⃗=<x,y,z>\vec{r}=<x,y,z> (arbitrary point), and r0⃗=<x0,y0,z0>\vec{r_{0}}=<x_{0},y_{0},z_{0}> (The known point on the plane). Distribute n⃗⋅(r⃗−r0⃗)=0\vec{n} \cdot (\vec{r} - \vec{r_{0}})=0 to get the "scalar equation of a plane": a(x−x0)+b(y−y0)+c(z−z0)=0a(x-x_{0})+b(y-y_{0})+c(z-z_{0})=0

Linear Equation of Plane

The scalar euqation can be rewritten to form the "linear equation of the plane": ax+by+cz+d=0ax+by+cz+d=0 where d=(−ax0+by0+cz0)d=(-ax_{0}+by_{0}+cz_{0})

Ex: Equation Given Point and Vector

Given r0⃗=<2,4,−1>\vec{r_{0}}=<2,4,-1> and n⃗=<2,3,4>\vec{n}=<2,3,4> 2(x−2)+3(y−4)+4(z+1)=02(x-2)+3(y-4)+4(z+1)=0 2x+3y+4z=122x+3y+4z=12

Angle Between Two Planes

Two planes are parallel if their normal vectors are parallel to each other. If two planes are not parallel, they interset on a line with some angle between them. Find the angle, θ\theta, betwteen two planes with normal vectors n1⃗\vec{n_{1}} and n2⃗\vec{n_{2}} with the same formula to find the angle between two vectors: cos⁡θ=n1⃗⋅n2⃗∣n1⃗∣∣n2⃗∣\cos{\theta}=\frac{ \vec{n_{1}} \cdot \vec{n_{2}}}{|\vec{n_{1}}||\vec{n_{2}}|}

Line at Intersection of Two Planes

  1. Find the point of intersection by setting z=0z=0 and solving for xx and yy.
  2. Find the vector of the line by finding v⃗=n1⃗×n2⃗\vec{v}=\vec{n_{1}} \times \vec{n_{2}} because orthogonal to both normal vectors would be the direction of the line.
  3. Write the equation as x−x0a=y−y0b=z−z0c\frac{x-x_{0}}{a}=\frac{y-y_{0}}{b}=\frac{z-z_{0}}{c}

Distance between Point and Plane

To find the distance, DD, between point P(x1,y1,z1)P(x_{1}, y_{1}, z_{1}) and the plane ax+by+cz+d=0ax+by+cz+d=0, Let P0(x0,y0,z0)P_{0}(x_{0}, y_{0}, z_{0}) be any point on the plane and b⃗\vec{b} the vector P0P⃗\vec{P_{0}P} b⃗=<x−x0,y−y0,z−z0>\vec{b} = <x-x_{0}, y-y_{0}, z-z_{0}> D=compnb⃗=∣n⃗⋅b⃗∣∣n⃗∣=∣ax1+by1+cz1+d∣a2+b2+c2D=comp_{n}\vec{b}=\frac{|\vec{n} \cdot \vec{b}|}{|\vec{n}|}=\frac{|ax_{1}+by_{1}+cz_{1}+d|}{\sqrt{a^2+b^2+c^2}}