Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

If I have a line segment that starts at origins and is parallel to the x-axis, how do I work out the position on the X axis of x if it is rotated by say 45 degrees?

I know the degree and I know the length of the line.. so I use what formula?

Is it cos(angle) / length?

share|improve this question
    
Draw a picture -- it's a right triangle. Then you're pretty much done. –  Jonathan Sep 21 '12 at 4:44
    
could you explain that.. I need a way to write is in a formula? –  aJynks Sep 21 '12 at 4:52
    
the hypotenuse is your line segment's length and the angle it makes with the $x$-axis is your angle. The answer will turn out to be $({\rm length})\cdot\cos({\rm angle})$. –  Jonathan Sep 21 '12 at 4:53
    
so what was that stuff on the wiki en.wikipedia.org/wiki/Rotation_%28mathematics%29#Matrix_algebra ... Like it semaed to say "the new position of x = cos(angle) - sin(angle) * length" –  aJynks Sep 21 '12 at 5:03
    
I'm not sure where you're finding the thing you're referring to. In your case, you are looking for $x'$ while $x={\rm length}$ and $y=0$. –  Jonathan Sep 21 '12 at 5:16
add comment

1 Answer 1

http://en.wikipedia.org/wiki/Rotation_%28mathematics%29

This article provides the complete detail of your requisite

share|improve this answer
    
yes i found that but i do not understand it. I need to find the location of x, after rotation? –  aJynks Sep 21 '12 at 4:43
    
like is it saying... "the new position of x = cos(angle) - sin(angle) * length" ? –  aJynks Sep 21 '12 at 4:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.