Find the components of the vector by rotating the origin

Jtechguy21
Messages
51
Reaction score
0

Homework Statement



Hello, I just started my summer class "Applied Linear Algebra I"
Last math class of my under-grad and its been 1 year since I've last taken Calc3, so I'm trying my best to get back into the groove...anyways.

Our first topic we are discussing in class is vectors.

[1]
This is all the information give to me.

Consider the Vector v = [x y] or <x, y > (which ever notation you prefer)

Find the components of the vector obtained by rotating v about the origin counter clockwise through an angle of 30 degrees.

Homework Equations

The Attempt at a Solution

Vector v lives in Quadrant 1, and therefore all I know is that x, and y are positive.

So I rotate vector v by 30 degrees counter clock wise.
(Attached rough sketch)

I'm not sure what to do next but this is what I believe.

cos 30 = (square root of (3) )/ 2
sin 30 = 1/2

cos 30 = x / 1 (CAH)
sin 30 = y /1 (SOH)

Answer 1]
Components of vector v = <x,y>

Answer 2]
Components of vector v = < cos30, sin30 >

Can someone please tell me if I am on the right track.
thanks any guidance towards the right direction is greatly appreciated. I am here to learn.
 

Attachments

  • homework.PNG
    homework.PNG
    1.5 KB · Views: 1,285
Physics news on Phys.org
Jtechguy21 said:

Homework Statement



Hello, I just started my summer class "Applied Linear Algebra I"
Last math class of my under-grad and its been 1 year since I've last taken Calc3, so I'm trying my best to get back into the groove...anyways.

Our first topic we are discussing in class is vectors.

[1]
This is all the information give to me.

Consider the Vector v = [x y] or <x, y > (which ever notation you prefer)

Find the components of the vector obtained by rotating v about the origin counter clockwise through an angle of 30 degrees.

Homework Equations

The Attempt at a Solution

Vector v lives in Quadrant 1, and therefore all I know is that x, and y are positive.

So I rotate vector v by 30 degrees counter clock wise.
(Attached rough sketch)

I'm not sure what to do next but this is what I believe.

cos 30 = (square root of (3) )/ 2
sin 30 = 1/2

cos 30 = x / 1 (CAH)
sin 30 = y /1 (SOH)

Answer 1]
Components of vector v = <x,y>

Answer 2]
Components of vector v = < cos30, sin30 >

Can someone please tell me if I am on the right track.
thanks any guidance towards the right direction is greatly appreciated. I am here to learn.

You haven't rotated the vector <x,y> by 30 degrees, you've rotated the vector <1,0> by 30 degrees. Don't you have a formula for rotating a vector by an angle somewhere in your book or notes?
 
Jtechguy21 said:

Homework Statement



Hello, I just started my summer class "Applied Linear Algebra I"
Last math class of my under-grad and its been 1 year since I've last taken Calc3, so I'm trying my best to get back into the groove...anyways.

Our first topic we are discussing in class is vectors.

[1]
This is all the information give to me.

Consider the Vector v = [x y] or <x, y > (which ever notation you prefer)

Find the components of the vector obtained by rotating v about the origin counter clockwise through an angle of 30 degrees.

Homework Equations

The Attempt at a Solution

Vector v lives in Quadrant 1, and therefore all I know is that x, and y are positive.

So I rotate vector v by 30 degrees counter clock wise.
(Attached rough sketch)

I'm not sure what to do next but this is what I believe.

cos 30 = (square root of (3) )/ 2
sin 30 = 1/2

cos 30 = x / 1 (CAH)
sin 30 = y /1 (SOH)

Answer 1]
Components of vector v = <x,y>

Answer 2]
Components of vector v = < cos30, sin30 >

Can someone please tell me if I am on the right track.
thanks any guidance towards the right direction is greatly appreciated. I am here to learn.

Figure out the new vectors ##\vec{e}_x', \, \vec{e}_y'\,##, obtained by rotating the vectors ##\vec{e}_x = \langle 1,0 \rangle## and ##\vec{e}_y = \langle 0,1 \rangle## through 30 degrees. Now use that facts that ##\vec{v} = \langle x,y \rangle = x \vec{e}_x + y \vec{e}_y## and the rotation operation is linear.

Basically, this method replaces geometry by algebra!
 
Jtechguy21 said:
homework-png.84862.png
This is the figure you posted. It doesn't correspond to the exercise that you're trying to complete. See Dick's response.
 
Rotation can be thought of as an operator, and thus represented by a matrix.
If your trig is better than your linear algebra, you could also do the following:

If you start with polar coordinates, ## x = rcos \theta, y = r sin \theta ## then the image after rotation by ##\alpha ## is ##x'= r cos (\theta + \alpha), y' = r sin(\theta + \alpha) .##
Using sum angle formulae ## \sin(a+b) = \sin a \cos b + \cos a \sin b, \cos(a+b) = \cos a \cos b - \sin a \sin b,## you get
## x' = r \cos \theta \cos \alpha - r \sin \theta \sin \alpha, y' =r \sin \theta \cos \alpha + r\cos \theta \sin \alpha##
Substitute back in your original x and y to get x' and y' in terms of x, y, and alpha.
Now, build a matrix ##M(\alpha)## to multiply ##\pmatrix{x\\y}## by, such that ##M(\alpha)\pmatrix{x\\y} =\pmatrix{x'\\y'} ##, and you will have the general form for any rotation (counterclockwise).
 
Dick said:
You haven't rotated the vector <x,y> by 30 degrees, you've rotated the vector <1,0> by 30 degrees. Don't you have a formula for rotating a vector by an angle somewhere in your book or notes?

I see what you're saying.
I've only had one class session so far, and for the first week he is teaching out of the book...
So I am using google and here for learning this for now.
 
Ray Vickson said:
Figure out the new vectors ##\vec{e}_x', \, \vec{e}_y'\,##, obtained by rotating the vectors ##\vec{e}_x = \langle 1,0 \rangle## and ##\vec{e}_y = \langle 0,1 \rangle## through 30 degrees. Now use that facts that ##\vec{v} = \langle x,y \rangle = x \vec{e}_x + y \vec{e}_y## and the rotation operation is linear.

Basically, this method replaces geometry by algebra!
Where did <1,0> and <0,1> come from?
is it because since we are in R2. X, and Y are standard basis vectors
therefore x = <1,0> and y = <0,1>

So that means when I graph it i graph the x and y vector correct?

and the next to step it to rotate it by 30 degrees counter clock wise?
 
Jtechguy21 said:
Where did <1,0> and <0,1> come from?
is it because since we are in R2. X, and Y are standard basis vectors
therefore x = <1,0> and y = <0,1>

So that means when I graph it i graph the x and y vector correct?

and the next to step it to rotate it by 30 degrees counter clock wise?
You had them in that figure you included. They don't actually belong in this problem.
 
SammyS said:
You had them in that figure you included. They don't actually belong in this problem.

Okay thanks for pointing that out. I just picked random position in Quadrant I since I wasn't given the x or y coordinates of vector v.
 
  • #10
You can't just pick the magnitude of the vector to be 1 .
 
  • #11
SammyS said:
You can't just pick the magnitude of the vector to be 1 .

I don't think I did, in my mind this is the steps i did.

I picked a random x, y position for vector v.(in quad 1)
then rotated it by 30 degrees counter clock wise.
Formed a right triangle(30,60,90), and made the hypotenuse 1, so i can attempt to solve for x and y.

I have a very similar example in my notes,
however in my example, it actually has a numerical value for the two components. such as vector m = <1,0>
 
  • #12
Jtechguy21 said:
I don't think I did, in my mind this is the steps i did.

I picked a random x, y position for vector v.(in quad 1)
then rotated it by 30 degrees counter clock wise.
Formed a right triangle(30,60,90), and made the hypotenuse 1, so i can attempt to solve for x and y.
Making the hypotenuse equal to 1 is the same as making the magnitude of the vector equal to 1 .
 
  • #13
SammyS said:
Making the hypotenuse equal to 1 is the same as making the magnitude of the vector equal to 1 .

True, I just thought about it You are right.
What would be the first step you suggest to take to begin solving this problem?
 
  • #14
Ray was implying that if you know how to transform the basis vectors, you can make the general form for the operation.
For example, a rotation by 90 degrees takes (1,0) to (0,1) and (0,1) to (-1,0).
Stacking the resulting vectors into a matrix ##\pmatrix{ 0, -1\\ 1, 0 } ## gives a matrix operation that does the job.
(edited matrix format)
You can verify this by doing the operation:
##\pmatrix{ 0, -1\\ 1, 0 }\pmatrix{ 1\\0 } =\pmatrix{ 0\\1 }, \pmatrix{ 0, -1\\ 1, 0 }\pmatrix{ 0\\1 } = \pmatrix{ -1\\0 }.##
In general, this is true for any (x,y) so:
##\pmatrix{ 0, -1\\ 1, 0 }\pmatrix{ x\\y } =\pmatrix{ -y\\x } . ##
Is the form for rotation by 90 degrees.
 
  • #15
RUber said:
Ray was implying that if you know how to transform the basis vectors, you can make the general form for the operation.
For example, a rotation by 90 degrees takes (1,0) to (0,1) and (0,1) to (-1,0).
Stacking the resulting vectors into a matrix ##\pmatrix{ 0, -1\\ 1, 0 } ## gives a matrix operation that does the job.
(edited matrix format)
You can verify this by doing the operation:
##\pmatrix{ 0, -1\\ 1, 0 }\pmatrix{ 1\\0 } =\pmatrix{ 0\\1 }, \pmatrix{ 0, -1\\ 1, 0 }\pmatrix{ 0\\1 } = \pmatrix{ -1\\0 }.##
In general, this is true for any (x,y) so:
##\pmatrix{ 0, -1\\ 1, 0 }\pmatrix{ x\\y } =\pmatrix{ -y\\x } . ##
Is the form for rotation by 90 degrees.

thanks for explaining that to me, it makes better sense.How do i approach this problem since I don't know what x or y is in vector v?
 
  • #16
Jtechguy21 said:
True, I just thought about it You are right.
What would be the first step you suggest to take to begin solving this problem?
*edited to show correct order for basis vectors*
So what does the rotation of (1,0) look like? Call that (a,b)
How about the rotation of (0,1)? Call that (c,d)
Make a matrix ##\pmatrix{ a, c \\ b, d } ##.
Multiply ##\pmatrix{ a, c \\ b, d }\pmatrix{ x \\ y } ##.
Boom! You're done.
 
Last edited:
  • #17
RUber said:
So what does the rotation of (0,1) look like? Call that (a,b)
How about the rotation of (1,0)? Call that (c,d)
Make a matrix ##\pmatrix{ a, c \\ b, d } ##.
Multiply ##\pmatrix{ a, c \\ b, d }\pmatrix{ x \\ y } ##.
Boom! You're done.
This is for a rotation of 90° .
 
  • #18
RUber said:
So what does the rotation of (0,1) look like? Call that (a,b)
How about the rotation of (1,0)? Call that (c,d)
Make a matrix ##\pmatrix{ a, c \\ b, d } ##.
Multiply ##\pmatrix{ a, c \\ b, d }\pmatrix{ x \\ y } ##.
Boom! You're done.

Looks easy enough, I understand the intuition behind your answer, and why you chose arbitrary variables to represent the position it rotated to.
But my main concern is where did (0,1) and (1,0) come from?
x = (0,1)
and y =(1,0) ?
 
  • #19
As you suggested earlier, this is due to the standard basis used for (x, y) .
 
  • #20
Oops, your basis should be in the right order, so (1,0) should go first, then (0,1) to make the right operation for (x,y).
 
  • #21
You could also look at my post #5 for some hints for the trig without using the basis vector method. The resulting matrix operation is the same either way.
 
  • #22
RUber said:
Oops, your basis should be in the right order, so (1,0) should go first, then (0,1) to make the right operation for (x,y).

yeah that's what i meant to write. thanks for being patient with me and explaining it to me.

Im using all my free time to study for my linear class(first time taking it), because i want to do very well in it since its 8 week course instead of 16.

I saw your post about the trig way , looks interesting, and honestly i will probably use your method for curiosity with a more concrete example to wrap my mind around it better.
 
Back
Top