A Gröbner basis criterion for birational equivalence of affine varieties Using \(\mu \)-bases to reduce the degree in the computation of projective equivalences between rational curves in \(n\)-space 