IBM Journal of Research and Development
IBM Skip to main content
  Home     Products & services     Support & downloads     My account  

  Select a country  
Journals Home  
  Systems Journal  
Journal of Research
and Development
    Current Issue  
    Recent Issues  
    Papers in Progress  
    Recent publications  
    Author's Guide  
  Contact Us  
  Related links:  
     IBM Research  

IBM Journal of Research and Development  
Volume 31, Number 3, Page 335 (1987)
Computer-aided Design
  Full article: arrowPDF   arrowCopyright info


Simple unit vectors orthogonal to a given vector

by M. A. O'Connor, G. Gentili
In geometrical computations it is often necessary to find two unit vectors such that they and a given vector form an orthogonal basis. Computationally simple forms for the two unit vectors are clearly useful. We show that they cannot always be chosen to have rational coordinates, but that in general the simplest possible vectors can be chosen to involve only one square root. We develop number-theoretic criteria for the existence of a rational vector and an effective algorithm for calculation of one if it exists. We also discuss storage and time requirements of the algorithm.
Related Subjects: Algorithms; Computer-aided design; Graphics; Mathematics (applied); Solid modeling