Shifting coordinate system in 2D solving simultaneous equation

AI Thread Summary
In 2D coordinate transformations, the coordinates A_x' and A_y' are expressed in terms of A_x and A_y through rotation equations. The user is attempting to reverse these equations to express A_x and A_y in terms of A_x' and A_y', specifically aiming for the relationship A_x = A_x' cos(θ) - A_y' sin(θ). The user encounters algebraic difficulties and confusion regarding trigonometric identities, particularly with the notation involving tangent and arctangent. Suggestions include using Cramer's Rule to solve the simultaneous equations and simplifying using trigonometric identities. Ultimately, the discussion emphasizes applying the original rotation formulas to derive the inverse transformation easily.
SUDOnym
Messages
88
Reaction score
1
When in 2D, the coordinates of a place in space vary depending on the coordinate axes that are being used given by:

A_{x}^{\prime}=A_{x}\cos\theta+A_{y}\sin\theta (1)

and

A_{y}^{\prime}=-A_{x}\sin\theta+A_{y}\cos\theta (2)

Now I am trying to reverse it - to show what A_x and A_y are in terms of A_x' and A_y'..This is a simple simultaneous eqtn but I cannot get to the result that I know is the correct answer, the following is the relationship I wish to show:

A_{x}=A_{x}^{\prime}\cos\theta-A_{y}^{\prime}\sin\theta (3)My attempt:

firstly, rearrange equation (1) to get:

A_{y}=\frac{-A_{x}\cos\theta+A_{x}^{\prime}}{\sin\theta} (4)

now plug (4) into (2) to eliminate A_y:

A_{y}^{\prime}=-A_{x}\sin\theta+A_{x}^{\prime}\arctan\theta-A_{x}\cos\theta\arctan\theta (5)

(From now on I stop putting in the thetas for speed..)

\implies A_{y}^{\prime}\tan=-A_{x}\sin\tan-A_{x}\cos+A_{x}^{\prime} (6)

\implies\frac{A_{y}^{\prime}\tan-A_{x}^{\prime}}{cos}=-A_{x}\tan^{2}-A_{x} (7)I cannot not see how to progress after this point...I don't know if I have made a mistake in the algebra (although I have checked a few times) or if I am missing a useful trig identity.
 
Last edited:
Physics news on Phys.org
You could use Cramer's Rule to solve for A_x and A_y in terms of A'_x and A'_y. In Cramer's Rule, you need to divide through by the determinant of the coefficient matrix. What is that determinant in your case?

RGV
 
SUDOnym said:
When in 2D, the coordinates of a place in space vary depending on the coordinate axes that are being used given by:

A_{x}^{\prime}=A_{x}\cos\theta+A_{y}\sin\theta (1)

and

A_{y}^{\prime}=-A_{x}\sin\theta+A_{y}\cos\theta (2)

Now I am trying to reverse it - to show what A_x and A_y are in terms of A_x' and A_y'..This is a simple simultaneous eqtn but I cannot get to the result that I know is the correct answer, the following is the relationship I wish to show:

A_{x}=A_{x}^{\prime}\cos\theta-A_{y}^{\prime}\sin\theta (3)


My attempt:

firstly, rearrange equation (1) to get:

A_{y}=\frac{-A_{x}\cos\theta+A_{x}^{\prime}}{\sin\theta} (4)
Fine up to here, but then...
now plug (4) into (2) to eliminate A_y:

A_{y}^{\prime}=-A_{x}\sin\theta+A_{x}^{\prime}\arctan\theta-A_{x}\cos\theta\arctan\theta (5)
This is wrong. \cos\theta/\sin\theta does not equal \arctan\theta. Notation-wise, this is how it works:
\begin{align}<br /> \tan^{-1} x &amp; \Leftrightarrow \arctan x \\<br /> (\tan x)^{-1} &amp; \Leftrightarrow 1/\tan x<br /> \end{align}
It's confusing because \tan^2 x does mean (\tan x)^2. It's just one of those inconsistencies in common notation you have to learn and be aware of.

In this problem, you might as well leave everything in terms of sine and cosine since that's what you want in the end anyway.
(From now on I stop putting in the thetas for speed..)

\implies A_{y}^{\prime}\tan=-A_{x}\sin\tan-A_{x}\cos+A_{x}^{\prime} (6)

\implies\frac{A_{y}^{\prime}\tan-A_{x}^{\prime}}{cos}=-A_{x}\tan^{2}-A_{x} (7)


I cannot not see how to progress after this point...I don't know if I have made a mistake in the algebra (although I have checked a few times) or if I am missing a useful trig identity.
If you factor the RHS of equation (7), you get -(\tan^2\theta+1)A_x. You can simplify that using a trig identity.
 
Not clear how you know the thing you wish to show, but it is usually an advantage in a math problem to know the answer.

I think the suggested methods are worth working through. However surely simpler wouldn't it be to say: you already have the formulae for the new co-ordinates (A'x, A'y) of a point whose co-ordinates with respect to the previous co-ordinates were (Ax. Ay) after rotation through θ.

This pair of formulae are general for any 2-D rotation.

So now what is it you have to find? The formulae for the new co-ordinates (Ax, Ay)of a point whose co-ordinates with respect to the previous co-ordinates were (A'x. A'y) after rotation through -θ. So apply your general formula and it is pretty immediate.
 
Last edited:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top