Take the 2-minute tour ×
Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. It's 100% free, no registration required.

I learned yesterday that the inverse of square roots is used to calculate the vectors of surface normals in 3d graphics. It seems like such a mind-bogglingly simple idea, and it leads me to wonder if it hasn't found use elsewhere. Is there anywhere in physics where one might need to calculate the reciprocal of a number's square root?

share|improve this question

closed as not constructive by Qmechanic Feb 15 '13 at 15:57

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Multiplying by the reciprocal of the squareroot of the length squared, is a common method of normalizing vectors (in the L2 norm). Of course dividing by the square root is algebraically equivalent, but on a computer eliminates a rounding operation. Vectors that are normalized, are (somewhat) easier to work with.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.