I apologize if the question is elementary, I am having problems understanding if what I am doing is correct.
Write parametric formulas $x(u), y(u) $for the ray cast from the point with coordinates $(1, 2)$ through the point with coordinates $(4, 7)$. Define the domain for the parameter u.
My thought process :
Firstly, I'll use a Parametric Representation of a straight line, $P = P1 +u (P2 − P1)$ to begin.
Next, I'll sub in the values into the formula, giving me the following :
$ - x(u) = 4 +u(1−4) = 4 - 3u$
$ - y(u) = 7 +u(7−2) = 7 + 5u$
and the domain of u will be $[-∞ , ∞ ]$
Forgive me if this question seems elementary, I am not very sure if this is the correct way of answer this question, I am assuming the ray cast would be a straight line, or if I should use slope intercepts instead.