How to determine whether two lines are parallel or perpendicular to eachother

In summary, to find the values of k for which l1 and l2 are parallel, we can take the dot product of their directional vectors and solve for k. If the directional vectors are proportional, then the lines are parallel. If the directional vectors are not proportional, then the lines are not parallel.
  • #1
Nickg140143
30
0

Homework Statement


Let l1:x=3+t, y=1-t, z=2t and l2:x=-1+s, y=2s, z=1+kt (not sure if this one is just a typo, in which t should actually be s, or whether this is fundamental to the problem) be two lines in R3.
a) Find all value(s) of k, (if any) for which l1 and l2 are parallel. If not possible then explain why.
a) Find all value(s) of k, (if any) for which l1 and l2 are perpendicular. If not possible then explain why.


Homework Equations


These two lines are given in parametric forms, from which I should be able to get the directional vector, and the point associated with each one.

The Attempt at a Solution


After noticing that I could grab a little information about each line, I decided to take a look at their directional vectors.
[tex]l_1: <1,-1,2>[/tex]
[tex]l_2: <1,2,k>[/tex]
I'm assuming I'm supposed to be solving for k in this problem?

after looking at these, I can't see them being proportional to each other, so I don't think they are parallel, granted, I'm not sure how to necessarily show this mathematically.

My biggest problem is finding all k in which these may be perpendicular, the only idea I've been playing around with would be that if I took the Dot Product between the directional vectors of line 1 and line 2, it would need to equal 0 in order for these two lines to be perpendicular, but I'm not sure if this is the right track of thinking, since I'm not sure what to do about k.

Is my thinking somewhere along the right lines, or have I made a horrible mistake?

Any help would be great.
 
Physics news on Phys.org
  • #2
Yes, they are orthogonal if the dot product is 0 and parallel if the dot product is 1
 
  • #3
flyingpig said:
parallel if the dot product is 1

Not true at all. They are parallel if the directional vectors are a nonzero multiple of each other.

To the OP: your track of thinking is great, continue like that.
 
  • #4
micromass said:
Not true at all. They are parallel if the directional vectors are a nonzero multiple of each other.

To the OP: your track of thinking is great, continue like that.

Oh wait I meant the cosine between them is 1.
 
  • #5
flyingpig said:
Oh wait I meant the cosine between them is 1.

Not true either. It could be -1 as well.
 
  • #6
micromass said:
Not true either. It could be -1 as well.

But that's anti-parallel
 
  • #7
flyingpig said:
But that's anti-parallel

There is no such thing.
 
  • #8
micromass said:
There is no such thing.

Yeah when you are 180 degrees, i mean the vectors, not the lines...
 
  • #9
You can take the absolute value of its dot product and the do what is stated by the replies above.Otherwise, you can easily find a vector that is perpendicular to the first vector and "dot" with the second.
 
  • #10
flyingpig said:
Yeah when you are 180 degrees, i mean the vectors, not the lines...

If vectors make an angle of 180 degrees, then they are parallel.
 
  • #11
micromass said:
If vectors make an angle of 180 degrees, then they are parallel.

BUt they point in opposite directions, so they are ANTI- parallel!
 
  • #12
Alright, good to know my approach isn't a bust. So I'll try taking the dot product and solve for k.

[tex]<1,-1,2> . <1,2,k> = 0[/tex]
[tex]1(1)+2(-1)+2(k) = 0[/tex]
[tex]1-2+2k = 0[/tex]
[tex]-1+2k = 0[/tex]
[tex]2k = 1[/tex]
[tex]k = \frac{1}{2}[/tex]

how does this look?
 
  • #13
Nickg140143 said:
Alright, good to know my approach isn't a bust. So I'll try taking the dot product and solve for k.

[tex]<1,-1,2> . <1,2,k> = 0[/tex]
[tex]1(1)+2(-1)+2(k) = 0[/tex]
[tex]1-2+2k = 0[/tex]
[tex]-1+2k = 0[/tex]
[tex]2k = 1[/tex]
[tex]k = \frac{1}{2}[/tex]

how does this look?

That's good!

flyingpig said:
BUt they point in opposite directions, so they are ANTI- parallel!

No, they're not.
 
  • #14
Alright, thanks for the tips. Just one last thing, I wanted to know if my statement about these lines not being parallel is valid.

Since I can't see the directional vector of l1 and l2 being proportional for any value of k, they can't be parallel. This is because if their proportional, that would mean that they both point in the same direction, but have different magnitudes correct?

And also, what if these lines WERE parallel for some value of k, is there a way to mathematically solve for these values of k?

Thanks for all the help so far everyone.
 
  • #15
Nickg140143 said:
Alright, thanks for the tips. Just one last thing, I wanted to know if my statement about these lines not being parallel is valid.

Since I can't see the directional vector of l1 and l2 being proportional for any value of k, they can't be parallel. This is because if their proportional, that would mean that they both point in the same direction, but have different magnitudes correct?

And also, what if these lines WERE parallel for some value of k, is there a way to mathematically solve for these values of k?

Thanks for all the help so far everyone.

Yes, your solution for checking parallelism is ok.

But, let's say that our exercise was actually the following:
(1,-1,2)
(2,-2,k)

Then the lines are parallel for a certain k. Indeed, they are a multiple of each other if there is a t such that

1=2t
-1=-2t
2=kt

The first and second equation give us that t=1/2. Plugging in in the second gives us k=4. So this is when the lines are parallel!
 
  • #16
micromass said:
Yes, your solution for checking parallelism is ok.

But, let's say that our exercise was actually the following:
(1,-1,2)
(2,-2,k)

Then the lines are parallel for a certain k. Indeed, they are a multiple of each other if there is a t such that

1=2t
-1=-2t
2=kt

The first and second equation give us that t=1/2. Plugging in in the second gives us k=4. So this is when the lines are parallel!

Beautiful:cry:

Thanks, this helped a lot.
 

Related to How to determine whether two lines are parallel or perpendicular to eachother

1. How do I determine if two lines are parallel?

To determine if two lines are parallel, you can compare their slopes. If the slopes are equal, then the lines are parallel. You can also graph the lines and see if they are parallel to each other.

2. What is the equation for parallel lines?

The equation for parallel lines is y = mx + b, where m is the slope of the line and b is the y-intercept. The slopes of parallel lines will always be equal.

3. How do I know if two lines are perpendicular?

If the product of the slopes of two lines is -1, then the lines are perpendicular. Another way to determine if two lines are perpendicular is to check if their slopes are negative reciprocals of each other.

4. Can two lines be both parallel and perpendicular?

No, two lines cannot be both parallel and perpendicular to each other. Parallel lines have equal slopes, while perpendicular lines have negative reciprocal slopes.

5. How many points are needed to determine if two lines are parallel or perpendicular?

Two points are needed to determine the slope of a line. Therefore, if you have the slopes of two lines, you can determine if they are parallel or perpendicular.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
491
  • Calculus and Beyond Homework Help
Replies
3
Views
925
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Replies
6
Views
3K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Back
Top