There is an orthogonal coordinate system with x-axis and y-axis. There is also a skew…
- User
There is an orthogonal coordinate system with x-axis and y-axis. There is also a skew coordinate system with u-axis at an angle alpha to x and v-axis at an angle beta, beta is greater than alpha. What is the mathematical relationship of the coordinate systems?
- Assistant
To build a relationship between an orthogonal coordinate system (x, y) and a skew (non-orthogonal) coordinate system (u, v) as described, we will use linear transformations.
In the orthogonal system, the axes x and y are perpendicular. In the skew system, the u-axis is at an angle (\alpha) with respect to the x-axis, and the v-axis is at an angle (\beta) with respect to the x-axis. Because (\beta > \alpha), and without loss of generality, we can consider the u-axis to be inclined towards the x-axis more sharply than the v-axis.
For the transformation between these coordinate systems, any position vector (\mathbf{p}) in the plane can be expressed as:
[ \mathbf{p} = x \mathbf{i} + y \mathbf{j} = u \mathbf{u} + v \mathbf{v} ]
Here, (\mathbf{i}) and (\mathbf{j}) are the unit vectors along the x-axis and y-axis of the orthogonal coordinate system, while (\mathbf{u}) and (\mathbf{v}) are the unit vectors along the u-axis and v-axis of the skew coordinate system.
To express the skew coordinates in terms of the orthogonal ones, we can represent the unit vectors of the skew system, (\mathbf{u}) and (\mathbf{v}), in terms of (\mathbf{i}) and (\mathbf{j}). This depends on the angles (\alpha) and (\beta) respectively:
[ \mathbf{u} = \cos(\alpha) \mathbf{i} + \sin(\alpha) \mathbf{j} ] [ \mathbf{v} = \cos(\beta) \mathbf{i} + \sin(\beta) \mathbf{j} ]
Given a vector in the x-y system, to find its coordinates in the u-v system, you can solve the system:
[ x \mathbf{i} + y \mathbf{j} = u(\cos(\alpha) \mathbf{i} + \sin(\alpha) \mathbf{j}) + v(\cos(\beta) \mathbf{i} + \sin(\beta) \mathbf{j}) ]
Expanding this and equating the coefficients for (\mathbf{i}) and (\mathbf{j}) on both sides, you get two equations:
[ x = u\cos(\alpha) + v\cos(\beta) ] [ y = u\sin(\alpha) + v\sin(\beta) ]
To solve for (u) and (v) in terms of (x) and (y), you would need to invert this system of linear equations, which would involve solving the determinant of the transformation matrix formed by the cosines and sines of (\alpha) and (\beta). The inverse exists as long as the system is not degenerate (i.e., the u and v axes are not collinear, which is assured as (\alpha \neq \beta)).
The transformation equations to invert and find (u) and (v) in terms of (x) and (y) will thus depend on the specifics of (\alpha) and (\beta), and typically involve using Cramer's Rule, because we are dealing with a linear transformation represented as follows:
[ \begin{bmatrix} x \ y \end{bmatrix} = \begin{bmatrix} \cos(\alpha) & \cos(\beta) \ \sin(\alpha) & \sin(\beta) \end{bmatrix} \begin{bmatrix} u \ v \end{bmatrix} ]
The challenge in real-world scenarios involves computing the inverse of the transformation matrix accurately, especially when the angles make the matrix close to singular (i.e., the two axes are nearly parallel, which isn't the case here as (\alpha \neq \beta), but it's a general concern in numerical precision).