Vector intersecting other vectors in a specific manner

In summary, the conversation discusses a problem involving finding a vector that crosses three coplanar vectors in a way that creates equal distances between the intersection points. The solution is to use analytic geometry and find the angles between the vectors. The method provided by haruspex involves dropping a perpendicular line and solving for the angle θ using the tangent function. The person seeking help expresses their gratitude and plans to further understand the solution.
  • #1
HKragh
12
0
Hi. I'm new here, first post. I hope I do it correctly :)

I'm trying to solve a specific problem, which I need solved for a programming task. Now, my first approach was to iterate a solution which was close enough within some error boundaries I defined. But... it needs to be done correctly, if it can.

So, I have made an illustration of the problem below. I hope it makes sense. And I would be very happy, if a method of directly solving this, exists! And as it seems only one solution is possible, it would make sense to have one formula with the answer.

MathQuestion-1.png


Just to make sure this is understandable: I have three vectors in 3D space of nonimportant length, extending from origin. These three vectors will be coplanar, and because of this, a fourth vector, hitting them all, is possible. I need this vector to cross the three vectors in a way, which makes the intersection points have equal distances. Is this possible to solve directly, or do I need to iterate a solution? At which distance from origin this intersection takes place, is of no importance!

I normally just LOVE to dig out an answer myself, but this one I have no idea where to begin. I hope someone is capeable of solving this for me...
 
Mathematics news on Phys.org
  • #2
We can solve this by analytic geometry.

First of all, we notice that this is a 2D-problem as everything is coplanar.

Second of all, I will not assume that any line is parallel to the y-axis. You should make the necessary adjustments to cope with this.

So, let the line generated by a (resp b, c) have the form [itex]y=\alpha x[/itex] (resp. [itex]y=\beta x[/itex], [itex]y=\gamma x[/itex].

Pick an arbitrary point on the line generated by a. This point has the form [itex](x_0,\alpha x_0)[/itex]. A line through this point is given by

[tex]y-\alpha x_0=\epsilon (x-x_0)[/tex]

with [itex]\epsilon[/itex] an parameter.

Now, what you do is find the intersection of that line with b and c. Then express that the distances have the same length.
 
  • #3
Drop a perpendicular (vector v) from O to d. Let the angles between the lines ab, bc, cv be α, β, θ respectively. You can derive α and β from the dot products. Based on the distances between points of intersection with d, you can write an equation involving tangents of the three angles (and nothing else). Solve for θ.
 
  • #4
Thx. for the replies, guys. I need to make VERY clear, that I'm not educated in anything math related, so the language you´re using, while probably simple within these forums, is very alien to me. But... that´s a good thing! But even though I´m not trained in the language, I do have a good intuition about the subject. So this is what I get from your replies:

micromass:
I will look into your solution. At the moment I first need to find out how I plot vectors in 3d space into a 2d space. Even though they are coplanar to themselves, they are in no way coplanar to the axis' of the 3D space they exist in... It may be trivial to do, but I need to research that first. My intuition tells me I can just pick the up axis along with either of the other (as long as as this is the same for all three), and then solve for that. And when done, project the new line back onto the three lines, perpedicular to the axis of my 2D system. So...I´ll be back, when I have a clue what your solution offers :)

haruspex:
How do I drop a perpendicular line to a vector which I have no idea of? Maybe I misunderstand your solution (maybe you drop this v vector in some hypothetical way, which I don't get ;)).

Thx again. Some day I will indeed take some course to make sure I understand the terminology of math, it's a constant blocker for me, especially when trying to understand the math of some paper. I'm looking forward to being part of this community, and learn.
 
  • #5
HKragh said:
haruspex:
How do I drop a perpendicular line to a vector which I have no idea of? Maybe I misunderstand your solution (maybe you drop this v vector in some hypothetical way, which I don't get ;)).
Yes, you just imagine having done so. The equation you should get is
tan(α+β+θ) + tan(θ) = 2 tan(β+θ)
This reduces to tan(θ) = (B-A-2AB2)/(B(A+B)) where A = tan(α), B = tan(β).
You can get α and β from cos(α) = [itex]\vec{a}[/itex].[itex]\vec{b}[/itex], cos(β) = [itex]\vec{b}[/itex].[itex]\vec{c}[/itex], if [itex]\vec{a}[/itex], [itex]\vec{b}[/itex] and [itex]\vec{c}[/itex] are unit vectors.
Having found θ, the angle between [itex]\vec{c}[/itex] and [itex]\vec{d}[/itex] is π/2-θ.
 
  • #6
Haruspex: That actually sounds very straight forward to implement. And yes, a,b and c are indeed unit vectors, so it will be very easy getting the angles. Though getting the angle had they not been unit vectors, is as well very easy in the environment (3D engine) I work in. I'll get back, and tell you about my succees, if the method works as intended.
Thank you so much!
 
  • #7
UPDATE: It works perfectly, thank you very much for your help. Next step is understanding fully, why it works, which I haven't yet gone through.
 

1. How do you determine if two vectors intersect in a specific manner?

To determine if two vectors intersect in a specific manner, you can use the dot product or cross product. If the dot product is equal to zero, the vectors are perpendicular and do not intersect. If the cross product is equal to zero, the vectors are parallel and may or may not intersect.

2. Can two vectors intersect at more than one point?

It is possible for two vectors to intersect at more than one point. This can occur when the vectors are not parallel and do not lie on the same line. In this case, they will intersect at the point where they cross each other.

3. How do you find the point of intersection between two vectors?

To find the point of intersection between two vectors, you can set their equations equal to each other and solve for the variables. The resulting values will give you the coordinates of the point where the vectors intersect.

4. What are some common ways in which vectors can intersect?

Vectors can intersect in various ways, such as perpendicular, parallel, skew, or coincident. Perpendicular vectors intersect at a 90-degree angle, parallel vectors lie on the same line, skew vectors do not intersect but are not parallel, and coincident vectors are essentially the same and intersect at an infinite number of points.

5. How can vector intersection be applied in real-world situations?

Vector intersection has various applications in fields such as physics, engineering, and computer graphics. For example, it can be used to calculate the trajectory of a projectile, determine the forces acting on a structure, or create realistic 3D graphics by calculating the intersection of light rays.

Similar threads

  • General Math
Replies
11
Views
1K
Replies
2
Views
272
Replies
2
Views
1K
Replies
24
Views
2K
Replies
3
Views
710
Replies
1
Views
741
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
9
Views
541
Replies
5
Views
1K
  • General Math
Replies
3
Views
2K
Back
Top