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?
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.
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.