I was given the following problem:
Find the normal equation of the plane $S$ that contains $P_0=(1, -1, 1), P_1=(-2, 0, 1)$, $P_2=(-1, 1, 1)$.
I was wondering whether my solution is correct. Here's what I did.
Let $\vec{r}_0 :=<-2, 0, 1>$ be the position vector of $P_1$.
Let $\vec{v}:= <1, -1, 1> - <-1, 1, 1>=<2, -2, 0>$ be the vector representation of the line that goes from $P0$ to $P2$.
Notice that $\vec{v} \cdot \vec{w}=0 \iff 2w_1-2w_2+0w_3=0 \iff w_1=w_2$. This means any three-dimensional vector $\vec{w}$ whose first and second components are equal will be normal to $\vec{v}$ and, therefore, normal to the plane. From this we can define $\vec{n}:=[1, 1, 1]$ to be the vector normal to the plane.
All of this is enough information to provide the requested formulation. Namely,
$$\vec{n}(\vec{r}-\vec{r}_0)=0$$
is the normal equation of the plane, with $\vec{r}=<x, y, z>$ and $\vec{n}, \vec{r}_0$ appropriately defined above.
Is this procedure correct? Thanks in advance.