Solving Polar Coordinate Rotation Problems with Mathematical Models

  • Mathematica
  • Thread starter transgalactic
  • Start date
  • Tags
    Mathematical
In summary, you need to use Shootingstar's formulas to rotate a given point around a given centre point.
  • #1
transgalactic
1,395
0
i lack the knowledge in some area of polar coordenates

my problem is:

i was given a two points and an angle

one point is the center point the other is the the point we spin around the
center point by the given angle(rotation clock wise).

i have build a model to solve this problem by

slope=(y-center.y)/(x-center.x);
fi=arctan(slope);

beta=fi-angle;

xi=rad*cos(beta);
yi=rad*sin(beta);
x=center.x+xi;

y=center.y+yi;

but in a case of 2,1 as a center point
and 0,0 as the point we want to spin
when i spined it 90 deress(clock wise)

by this model i gave me a wronge answer (the right one is 1,3)

so by tryle and error method i found that we need to add 180 degrees

i don't know why
i don't know how to solve this problem
??
i want a solution for all the cases
 
Physics news on Phys.org
  • #2
transgalactic said:
i lack the knowledge in some area of polar coordenates

my problem is:

i was given a two points and an angle

one point is the center point the other is the the point we spin around the
center point by the given angle(rotation clock wise).

i have build a model to solve this problem by

You are talking about soving a problem, but you have not mentioned what is the problem. Mention it clearly. (The rest of your post is your method about an undefined problem.)
 
  • #3
i am looking for mathematical formulas that
takes two points
one point considered as a center point
the other point is the point which is rotated around her.
by a given angle
the direction of the rotation is clock wise

i want to find the coordinates of the point after we rotated the given one
around the cente point

for example
(0,1)
(0,0) -center point
rotation angle 90 degrees
the answer is (1,0)

there are many cases in this problems
i don't know how to solve it
how to find a method that solves all the possibilities
 
  • #4
x = x'cosθ - y'sinθ
y = x'sinθ + y'cosθ

These are the formulae, if the x'-y' axes are rotated by angle θ anticlockwise. So, wrt x'-y' system, x-y system will rotate clockwise, thus giving you the answer.
 
  • #5
what about the center point
its not mentioned anywhere

i was tal to use polar angle etc...
i don't know ho to use them here??
 
  • #6
The centre point is (0,0).

For polar angles, put x=r cos theta, y = r sin theta.

You had given the example:
for example
(0,1)
(0,0) -center point
rotation angle 90 degrees
the answer is (1,0)


Try the formula I'd given to verify it. Use proper signs.
 
  • #7
for the center point 0,0 i had a working model that i shower
previosly
i tried your sulotion it dousnt work for all cases
like

in a case of 2,1 as a center point
and 0,0 as the point we want to spin
when i spined it 90 deress(clock wise)

i didnt get ( 1,3)

please wright a whole formula for all cases
when i use
a1,b1 as a center point
a2,b2 as a spin point
beta as the angle we want to spin point a2,b2 clock wise

one formule for X

one formule for y
 
  • #8
Where do people get this idea that there is some "magical formula" that will do everything for them? One of the reasons you learn "theory" or how to derive formulas is so you will be able to modify formulas for other situations.

Shootingstar gave you the formulas for the case when the "center point" is (0,0). If it not, if the center point is [itex](x_0, y_0)[/itex], follow this procedure: translate all points so the center point is at (0,0). To do that, subtract [itex]x_0[/itex] from the x coordinate, [itex]y_0[/itex] from the y coordinate. Then use Shootingstar's formula to rotate. Finally, translate back to the starting position by adding [itex]x_0[/itex] and [itex]y_0[/itex].

In your example, in your first example, your center point is (2, 1) and you want to rotate (0, 0) 90 degrees about (2, 1). Okay. first "translate". Subtracting (2, 1) moves (2, 1) to (2- 2, 1-1)= (0,0) and moves (0, 0) to (0-2, 0-1)= (-2, -1). Now we want to rotate (-2,-1) 90 degrees around (0,0). cos(90)= 0, sin(90)= 1 so Shootingstar's formulas become x= x'cosθ - y'sinθ= (-2)(0)- (-1)(1)= 1 and y = x'sinθ + y'cosθ= (-2)(1)+ (-1)(0)= -2. Finally translate back: (1+ 2, -2+ 1)= (3, -2). I don't know why you said above "I didn't get (1, 3)" a rough picture should show you that rotating (0,0) 90 degrees counter clockwise around (2, 1) will give a point with x larger than 2 and y negative: (3, -2).

To rotate the point [itex](a_2, b_2)[/itex] [itex]\beta[/itex] degrees counter clockwise around [itex](a_1, b_1)[/itex]:

First translate: [itex](a_2,b_2)[/itex] is moved to [itex](a_2- a_1, b_2- b_1)[/itex]

Then rotate: [itex]((a_2-a_1)cos(\beta)- (b_2-b_1)sin(\beta), (a_2-a_1)sin(\beta)-(b-2-b_1)cos(\beta))[/itex].

Finally translate back: [itex]((a_2-a_1)cos(\beta)- (b_2-b_1)sin(\beta)+ a_1, (a_2-a_1)sin(\beta)-(b-2-b_1)cos(\beta)+ b_2)[/itex].

I can't imagine anyone trying to memorize or even use a formula in that form. Far better to think about what you are doing!
 

1. What are polar coordinates and how do they differ from Cartesian coordinates?

Polar coordinates are a way of representing points in a two-dimensional coordinate system using a distance (r) and an angle (θ). In contrast, Cartesian coordinates use x and y coordinates to locate points on a graph. Polar coordinates are often used in situations where there is rotational symmetry.

2. How can I rotate a point in polar coordinates using a mathematical model?

To rotate a point (r,θ) in polar coordinates by an angle α, you can use the following formula: (r,θ+α). This means that the distance from the origin remains the same, but the angle is increased by α degrees. This can be represented visually as a rotation around the origin.

3. What are some common real-world applications of solving polar coordinate rotation problems?

Solving polar coordinate rotation problems can be used in a variety of fields, such as engineering, physics, and astronomy. For example, it can be used to calculate the position of celestial bodies in the night sky or to determine the direction and magnitude of forces acting on an object.

4. Can I use a calculator to solve polar coordinate rotation problems?

Yes, most scientific or graphing calculators have functions that allow you to input polar coordinates and perform rotations using mathematical models. However, understanding the concept behind polar coordinates and how rotations work can help you better interpret the results.

5. Are there any common mistakes to avoid when solving polar coordinate rotation problems?

One common mistake is mixing up the order of the coordinates. Remember that in polar coordinates, the first coordinate represents distance and the second represents angle. Another mistake is forgetting to convert between degrees and radians when necessary. It is important to pay attention to the units being used in the problem and make conversions as needed.

Similar threads

Replies
3
Views
729
  • Linear and Abstract Algebra
Replies
1
Views
729
  • Introductory Physics Homework Help
2
Replies
47
Views
3K
Replies
6
Views
1K
Replies
3
Views
647
  • Quantum Interpretations and Foundations
2
Replies
45
Views
3K
Replies
5
Views
2K
  • Linear and Abstract Algebra
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
879
  • Engineering and Comp Sci Homework Help
Replies
5
Views
2K
Back
Top