Curvilinear Orthogonal CoordinatesCalculating New Basis VectorsLet x,y,z denote the cartesian coordinates of a point and Given a transformation (from new coordinates to old) we want to find out the unit vectors (basis) of the new coordinate system. Then the square of the length of a differential element ds is: Suppose we want to introduce a new coordinate system with orthogonal basis. Let Then the same ds² is equal to: (From the above you can usually read off the values for (by virtue of the coordinate system being orthogonal, the mixed terms do not show up). Hence, the differential path element Which can be shown to hold by squaring. Per total differential rule, the differential path element And so by comparing the coefficients: Or the more common way it is written:
GradientDefinition of the Gradient Let f be a scalar function of a position Then the Gradient Equivalently, This is the only valid definition of the gradient. All other "gradients" need to be somehow defined on top of this one. For example if you want to have a "u-gradient" which takes a function Let's again make f a function of new coordinates. Then the total differential is: But these partial derivatives are NOT the gradient because the lengths would be wrong. The ONLY valid definition of the gradient is: (if it happens to be the partial derivative, fine. But it doesn't have to be). By noting that the orthogonality of the basis vectors of the new coordinate system also holds in cartesian (!!!) coordinates, we get the following idea: Let A, B, C be the components of the result of the gradient in the new coordinate system. Compare: Or how it is usually written: A,B,C are the components of the resulting vector in the new coordinate system. Author: Danny (remove the ".nospam" to send) Last modification on: Thu, 09 May 2013 . |