I always get confused when i see an equation of line Given in a shape like r :2x=y=2-2z How can i write it in a parametric form Like r:
$$ \left\{ \begin{array}{c} x=a+lt \\ Y=a’+mt \\ Z=a”+nt \end{array} t\in R \right. $$ For example to define the direction vector...
As these are always linear equations, you want to find a particular solution and a solution to the homogenous equation. What does this mean?
To find a particular solution, you want to solve for a single point, that fulfills your equations. E.g. $2x=y=2-2z$ has solution $(x,y,z)=(0, 0, 1)$.
Next you want to find a solution to the homogenous equation. This means removing all constants from your equation and solving that. E.g. $2x=y=2-2z$ becomes $2x=y=-2z$. Here you want to find all solution. For a line there will only be one solution $(x, y, z)$ and its multiples. E.g. $2x=y=-2z$ has solution $k\cdot (1, 2, -1), k\in \mathbb R$.
Adding a homogenous solution to your particular solution will keep the equation valid. This should help you convince yourself, that all solution to you equation are of the form: a particular solution + all homogenous solutions. E.g. $2x=y=2-2z$ has solutions: $\{(0, 0, 1)+k\cdot (1, 2, -1), k\in \mathbb R\}$