For vector AB, how to find vector B given vector A and the angle between

  • Context: Undergrad 
  • Thread starter Thread starter aamirnshah
  • Start date Start date
  • Tags Tags
    Angle Vector
Click For Summary

Discussion Overview

The discussion revolves around finding a new vector B given a fixed vector A, the angle between them, and the condition that both vectors remain in the same plane with unchanged magnitudes. Participants explore various mathematical approaches and methods to derive the new vector B as the angle changes.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests using the equation |A||B|cos(theta) = A*B to relate the vectors and the angle, but expresses the need for an additional equation to solve the system.
  • Another participant proposes converting the vectors to polar coordinates for easier manipulation of angles and suggests that if angle A is unknown, it can be set to zero for simplification.
  • A different approach is mentioned involving the rotation of vector B about an axis perpendicular to both A and B, with a reference to using a rotation matrix for calculations.
  • One participant notes that the problem may not have a unique solution, highlighting that multiple points can satisfy the angle condition in a given plane.
  • Another participant describes how to express the new vector B's components in terms of the angle and the original vector A's components, using trigonometric identities to relate the angles.

Areas of Agreement / Disagreement

Participants express differing views on the uniqueness of the solution and the methods to derive the new vector B. There is no consensus on a single approach or solution, as multiple methods and interpretations are presented.

Contextual Notes

Some participants note the complexity of the equations involved and the potential for multiple solutions based on the geometric configuration of the vectors in the plane.

aamirnshah
Messages
4
Reaction score
0
Hello,

I have a problem I've been trying to solve. I originally have vector AB. I know both vector A, vector B, and the angle between. They are on the same plane.

Now say I change the angle between the two vectors. They still remain the same magnitudes, and remain on the same plane. Assume vector A is fixed. How can I find the new updated vector B.

My attempt at a solution:

|A||B|cos theta = A*B

A, |B|, and theta are known

Equation 1)
|A||B|cos theta = axbx + ayby + azbz

Equation 2)
ax + by + cz = d
This is the equation of the plane that the vectors are located on.

My problem is I need one more equation to solve this. Maybe I am going about this the wrong way? Any help is appreciated.

Thanks,
AS
 
Physics news on Phys.org
Whoa, hold up.

"I originally have vector AB."

I'll assume that, by this, you mean you know vector A, and you know vector B, in some sort of coordinate system... say, polar, for convenience.

It just so happens that the vectors have an angle between them which can be found by subtracting angle_B - angle_A = angle_difference.

Then if the angle is changed so that angle_difference' = angle_difference + angle_delta, then angle_B' = angle_B + angle_delta... no problem.

If you have the vectors in cartesian form... well, convert to polar, then convert back when you're done using the above method.

If you don't originally know angle_A, then just call angle_A = 0, and go from there.

Maybe I'm just missing some subtlety here...
 
Hi,
First, you have to convert your second equation into a an equation with bx, by, bz.

For your third equation how about one saying that the length of the new vector B is the same as the length as the original B.


Another way you might think about the problem is to find the direction about which you want to rotate B. If you want to keep B coplanar with A then rotate B about the axis perpendicular to both A and B.

Then the wikipedia page "Rotation Matrix" has the explicit matrix which will rotate a vector by any angle about an arbitray axis. It's a horrible looking matrix multiplication but you would just be plugging in numbers and doing arithmetic rather than solving a system of equations.
 
alexgs said:
Hi,
First, you have to convert your second equation into a an equation with bx, by, bz.

If I took 3 points on the plane, and obtained some formula ax + by + cz + d = 0 with the normal vector (a,b,c), isn't this sufficient enough for the second equation?

alexgs said:
For your third equation how about one saying that the length of the new vector B is the same as the length as the original B.

I tried this. I end up with a complex third equation that looks something like this :

some scalar = x^2 + x + y^2 + y + z^2 + z.

I am unsure how to use this equation with the other 2.

alexgs said:
Another way you might think about the problem is to find the direction about which you want to rotate B. If you want to keep B coplanar with A then rotate B about the axis perpendicular to both A and B.

This method might work. I will try it. Thanks a lot!
 
aamirnshah said:
Hello,

I have a problem I've been trying to solve. I originally have vector AB. I know both vector A, vector B, and the angle between. They are on the same plane.

Now say I change the angle between the two vectors. They still remain the same magnitudes, and remain on the same plane. Assume vector A is fixed. How can I find the new updated vector B.

Thanks,
AS


I think the solution won't be unique. Imagine the plane to be z=1 and the point A is (0,0,1). Given an angle \theta we want to look for the point (x,y,1) such that
\tan^2 \theta = x^2 + y^2.
There will be infinite solutions.
 
I assume you have some vector A, which, in a given coordinate system, can be represented as \left(x_0, y_0)\right), and want to find vector A, having the same length as A but at angle \theta to A.

Let \phi be the angle A makes with the x-axis. Then, assuming that \theta is measured counterclockwise from A, B makes angle \theta+ \phi with the x-axis. Its components are (|A|cos(\theta+ \phi),|A|sin(\theta+ \phi).

Now use the facts that cos(\theta+ \phi)= cos(\theta)\cos(\phi)- sin(\theta)sin(\phi), sin(\theta+ \phi)= sin(\theta)cos(\phi)+ cos(\theta)sin(\phi), cos(\phi)= x_0/|A|, and sin(\phi)= y_0/|A|.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
5
Views
875