Angle between lines, with free variables in equations?

Click For Summary

Homework Help Overview

The discussion revolves around finding the cosine of the angle between two intersecting lines represented parametrically. The lines are defined by their equations, with free variables s and t indicating points along each line.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the nature of the parametric representations of the lines and the significance of the free variables. There are attempts to understand how to find the intersection point of the lines and how to apply the cosine formula correctly. Questions arise about the use of specific values for s and t, and whether to ignore the free variables.

Discussion Status

Participants are actively exploring the problem, with some providing guidance on how to approach finding the intersection of the lines and calculating the angle. There is a recognition of the need to substitute the correct vectors into the cosine formula, but no consensus has been reached on the best method to proceed.

Contextual Notes

There is mention of confusion regarding the use of free variables and the need to visualize the problem, suggesting that some participants may not fully grasp the geometric implications of the parametric equations.

Oliviacarone
Messages
18
Reaction score
1

Homework Statement


Find the cosine of the angle determined by the intersecting lines
m1: (x,y,z) = (-2,1,4)+s(1,-3,4)
m2: (x,y,z) = (-2,1,4)+t(-2,3,2)

s and t are free variables

Homework Equations


a⋅b = length(a)length(b) cosθ

The Attempt at a Solution


I just did this equation using no free variables, since I have no idea how to use them and someone told me to ignore them? So I did
((-2,1,4)⋅(-2,1,4))/(√(-2+1+4))((√(-2+1+4)) = cosθ and solved for θ.
 
Physics news on Phys.org
Oliviacarone said:

Homework Statement


Find the cosine of the angle determined by the intersecting lines
m1: (x,y,z) = (-2,1,4)+s(1,-3,4)
m2: (x,y,z) = (-2,1,4)+t(-2,3,2)

s and t are free variables

Homework Equations


a⋅b = length(a)length(b) cosθ

The Attempt at a Solution


I just did this equation using no free variables, since I have no idea how to use them and someone told me to ignore them? So I did
((-2,1,4)⋅(-2,1,4))/(√(-2+1+4))((√(-2+1+4)) = cosθ and solved for θ.
What you have here are parametric representations of your two lines. That means that different values of the parameter s give you different points on line m1, for example.

So if s = 1, then (x,y,z) = (-2,1,4)+1(1,-3,4) = (-1,-2,0).

If s = 0, then (x,y,z) = (-2,1,4)

If you want to find the angle formed by the two lines, the first thing you need to do is figure out at what point they intersect. That means you need to find a value of s and a value of t that give the same point (x,y,z). That shouldn't take you very long.

Once you know that, you can find the angle between the two lines using the equation you have written in the Relevant Equations section, but you need to substitute the correct vectors for a and b. Now that you know what s and t mean, that should not be difficult either.

Give it try!
 
tnich said:
What you have here are parametric representations of your two lines. That means that different values of the parameter s give you different points on line m1, for example.

So if s = 1, then (x,y,z) = (-2,1,4)+1(1,-3,4) = (-1,-2,0).

If s = 0, then (x,y,z) = (-2,1,4)

If you want to find the angle formed by the two lines, the first thing you need to do is figure out at what point they intersect. That means you need to find a value of s and a value of t that give the same point (x,y,z). That shouldn't take you very long.

Once you know that, you can find the angle between the two lines using the equation you have written in the Relevant Equations section, but you need to substitute the correct vectors for a and b. Now that you know what s and t mean, that should not be difficult either.

Give it try!
Oh, one more thing - you need to calculate the lengths of a and b correctly.
 
tnich said:
What you have here are parametric representations of your two lines. That means that different values of the parameter s give you different points on line m1, for example.

So if s = 1, then (x,y,z) = (-2,1,4)+1(1,-3,4) = (-1,-2,0).

If s = 0, then (x,y,z) = (-2,1,4)

If you want to find the angle formed by the two lines, the first thing you need to do is figure out at what point they intersect. That means you need to find a value of s and a value of t that give the same point (x,y,z). That shouldn't take you very long.

Once you know that, you can find the angle between the two lines using the equation you have written in the Relevant Equations section, but you need to substitute the correct vectors for a and b. Now that you know what s and t mean, that should not be difficult either.

Give it try!
Hmm should I just try s=0 and t=0? Not sure what else I would use.
 
Oliviacarone said:
Hmm should I just try s=0 and t=0? Not sure what else I would use.
I don't think you have a clear picture of the problem. Try drawing it in two dimensions. So plot y vs. x for m1 and m2. Let s and t go from -1 to 1. Look at the angle that forms.
 
Oliviacarone said:

Homework Statement


Find the cosine of the angle determined by the intersecting lines
m1: (x,y,z) = (-2,1,4)+s(1,-3,4)
m2: (x,y,z) = (-2,1,4)+t(-2,3,2)

s and t are free variables

Homework Equations


a⋅b = length(a)length(b) cosθ

The Attempt at a Solution


I just did this equation using no free variables, since I have no idea how to use them and someone told me to ignore them? So I did
((-2,1,4)⋅(-2,1,4))/(√(-2+1+4))((√(-2+1+4)) = cosθ and solved for θ.
m1 and m2 start at the same point (-2,1,4). The directions are (1,-3,4) and (-2,3,2). The dot product is -3, so cos(\theta )=\frac{-3}{\sqrt{442}}.
 
@Oliviacarone, please post homework questions in one of the forum sections under Homework & Coursework, not in the technical math sections. I think this is the second one of yours I have moved today.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 18 ·
Replies
18
Views
6K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K