Deriving sin(a-b) trig identity using Cross Product of Unit Vectors

AI Thread Summary
The discussion focuses on deriving the trigonometric identity sin(a-b) = sin(a) cos(b) - sin(b) cos(a) using the cross product of unit vectors A and B in the x-y plane. The participants clarify that the cross product A x B results in a vector with a direction determined by the right-hand rule, leading to a negative sign in front of sin(a-b) when equating expressions. The confusion arises from the orientation of angles and the signs in the determinant calculation, which affects the final identity. The correct interpretation involves recognizing that the angle θ is measured from vector A to vector B, and adjustments to signs are necessary for consistency. Ultimately, the derivation aligns with the properties of the cross product and the definitions of sine and cosine in the context of vector operations.
deedsy
Messages
81
Reaction score
0

Homework Statement


A and B are two unit vectors in the x-y plane.
A = <cos(a), sin(a)>
B = <cos(b), sin(b)>

I need to derive the trig identity:
sin(a-b) = sin(a) cos(b) - sin(b) cos (a)

I'm told to do it using the properties of the cross product A x B

Homework Equations



A x B = |A||B| sinθ , where θ is the angle between the two vectors

The Attempt at a Solution



Well, |A|=|B|=1 *unit vectors
sinθ = sin(a-b) *for a > b
A x B = cos(a)sin(b) - cos(b)sin(a)

Putting this together, I get:
sin(a-b) = cos(a)sin(b) - cos(b)sin(a)

I can't figure out what I did wrong?
 
Physics news on Phys.org
Try using the determinant definition of the cross product.

Actually nevermind. I don't thin that'd work. It may though.

I'm going to try.

## \left( \begin{array}{cc}
a & b \\
d & e \end{array} \right)##

Where a and b are the 1st and 2nd entries of a, and d and e being the same for b.
##det(A)= a*e-b*d##

Which is what you got I think. Hmm.
 
Last edited:
well I did do the determinate, that's how I got:
A x B = cos(a)sin(b) - cos(b)sin(a)

But that by itself doesn't tell you the trig identity?
 
Hmm. Are you sure it's ##cos(\alpha), sin(\alpha)##and not the other way around?

Then it'd work.
Oh in the x y plane. I think that switching them around to (y,x) will give the negative of the first cross product. It would just "point" in the opposite direction. Possibly?
I'm not quite sure. Trying to help, though.
 
yeah, the question has it how I wrote it
 
I updated the above reply with a possibility. Since -(cos(a)sin(b)-sin(a)cos(b)) would give the identity
 
  • Like
Likes 1 person
yeah, you're right. That works if they are switched; it also works to derive the sin(a+b) trig identity if they are switched like that. I'm just thinking now if that is ok to switch the x and y components for both unit vectors..
 
Well by the definition of the cross product, it would have the same magnitude as (x,y) just pointing in the opposite direction. So it's just taking the negative of the (x,y) determinant, you don't actually have to switch them. It just shows how I set up the second determinant
 
deedsy said:

Homework Statement


A and B are two unit vectors in the x-y plane.
A = <cos(a), sin(a)>
B = <cos(b), sin(b)>

I need to derive the trig identity:
sin(a-b) = sin(a) cos(b) - sin(b) cos (a)

I'm told to do it using the properties of the cross product A x B

Homework Equations



A x B = |A||B| sinθ , where θ is the angle between the two vectors

The Attempt at a Solution



Well, |A|=|B|=1 *unit vectors
sinθ = sin(a-b) *for a > b
A x B = cos(a)sin(b) - cos(b)sin(a)

Putting this together, I get:
sin(a-b) = cos(a)sin(b) - cos(b)sin(a)

I can't figure out what I did wrong?

The problem is that you have neglected the vectors in the last expression .

##A \times B = [cos(a)sin(b) - cos(b)sin(a)]\hat{k}##

##A \times B = -sin(a-b)\hat{k}##

Equate the above two and you would get the desired result .
 
  • Like
Likes 1 person
  • #10
Tanya Sharma said:
The problem is that you have neglected the vectors in the last expression .
##A \times B = [cos(a)sin(b) - cos(b)sin(a)]\hat{k}##
##A \times B = -sin(a-b)\hat{k}##
Equate the above two and you would get the desired result .
That works too, and is mathematically "valid"

Thanks for clearing that up.
 
  • #11
I think that your "Relevant equation" needs theta to be the angle oriented positive starting at A and ending at B. You have it going the other way when a > b. Change the signs and you've got it.
 
  • #12
So I want to make sure I understand why there should be a negative sign in front of sin(a-b).

A x B gives me a vector with a magnitude equal to |A||B|sinθ. The direction of the vector, by the right hand rule, is perpendicular to these vectors (into the page). However, the determinate of A x B gives a direction k-hat (out of the page), so I need to make one of the terms negative to be consistent. Is this correct?
 
  • #13
Basically yes, but consistent because of the presence of k hat, no. . We're multiplying the entire expression of A x B by -1. See the post 2 above this one for an explanation by another user.
 
  • #14
How do you know which vector the angle should start from?
 
  • #15
That's why use use the determinant definition, avoiding the angle ##\phi## between A and B
 
  • #16
Actually for sin(a-b) b should be smaller than a so we get a positive angle ##\phi##. Is that what you meant. ?
 
Last edited:
  • #17
wait, what? If you want the angle between the vectors θ to be positive, you'd want a > b since it is sin(a-b)
 
  • #18
Tanya Sharma said:
The problem is that you have neglected the vectors in the last expression .

##A \times B = [cos(a)sin(b) - cos(b)sin(a)]\hat{k}##

##A \times B = -sin(a-b)\hat{k}##

Equate the above two and you would get the desired result .

thanks Tanya. but can you explain why there needs to be a negative sign in front of sin(a-b) ? Or was my explanation correct?
 
  • #19
deedsy said:
wait, what? If you want the angle between the vectors θ to be positive, you'd want a > b since it is sin(a-b)
That's what I meant. Basically there's a negative sign so we can flip around the terms. There's not anything ore to it, as far as I know.
 
  • #20
deedsy said:
How do you know which vector the angle should start from?

In the cross product notation, AxB, the angle is always measured starting from the first vector, A, and ending at the second vector, B. So in your notation, theta = b-a always. That agrees with the right hand rule.
 
Last edited:
  • Like
Likes 1 person
  • #21
deedsy said:
So I want to make sure I understand why there should be a negative sign in front of sin(a-b).

A x B gives me a vector with a magnitude equal to |A||B|sinθ. The direction of the vector, by the right hand rule, is perpendicular to these vectors (into the page). However, the determinate of A x B gives a direction k-hat (out of the page), so I need to make one of the terms negative to be consistent. Is this correct?

deedsy said:
thanks Tanya. but can you explain why there needs to be a negative sign in front of sin(a-b) ? Or was my explanation correct?

Right hand rule gives the cross product in ##-\hat{k}## direction.
 
  • Like
Likes 1 person
Back
Top