Finding an orthogonal vector to two vectors in $\mathbb{R}^4$ "Let $u_1$, $u_2$ be to vectors in $\mathbb{R}^4$ $$u_1=(1,0,1,1) \text{ and } u_2=(1,1,0,3)$$
Provide a real vector which is orthogonal to both $u_1$ and $u_2$
So, I kind of guessed a vector $u_3=(1,-1,-1,0)$ which must be orthogonal to both since $$u_1 \cdot u_3 = 0 \text{ and } u_2 \cdot u_3=0$$
My question is, how should it be done if it can't immediately be guessed? In $\mathbb{R}^3$ one could just take the cross product of the two vectors, but that's not defined for any other vector spaces

Since you have only two vectors, you can work in $\mathbb R^3$. Let $u_3 = (a, b, c, 0)$, so that $u_1 \cdot u_3$ and $u_2 \cdot u_3$ only depend on the first three components of $u_1$ and $u_2$. So, call $v_i$ the vector of the first three components of $u_i$, and compute $v_3 = v_1 \times v_2 = (a, b, c)$ (this wouldn't work if either $v_1$ or $v_2$ was zero).
Specifically,
$$u_3 = \begin{pmatrix}
\begin{vmatrix}0 & 1 \\ 1 & 0\end{vmatrix},
-\begin{vmatrix}1 & 1 \\ 1 & 0\end{vmatrix},
\begin{vmatrix}1 & 0 \\ 1 & 1\end{vmatrix},
0
\end{pmatrix} = (-1, 1, 1, 0)$$
Which only differs in sign from your solution.
