It is enough to show that U is a subspace.

You need to check that if a,b in U and ka in U for every real number k

(i.e., need to check if you have two vectors that perpendicular to u, then the sum of these vectors still perpendicular to u and if you have a vector that perpendicular to u then the scalar multiple of the vector still perpendicular to u)