Finding distance for a given value between vectors

  • Thread starter Thread starter Lanniakea
  • Start date Start date
  • Tags Tags
    Value Vectors
AI Thread Summary
The discussion revolves around finding the value of k such that the distance between vectors u = (2, k, 1, -4) and v = (3, -1, 6, -3) equals 6. The initial calculations led to confusion, particularly regarding the expansion of terms and the resulting quadratic equation. It was clarified that the correct expansion of (k + 1)² is k² + 2k + 1, which is crucial for solving the problem accurately. The user acknowledged a mistake in basic factorization, which contributed to their misunderstanding. Ultimately, the conversation emphasizes the importance of correct mathematical operations in solving vector distance problems.
Lanniakea
Messages
14
Reaction score
1

Homework Statement


Let u = (2,k,1,-4) and v = (3,-1,6,-3)

For which values of k is the distance d(u,v) = 6?

Homework Equations

The Attempt at a Solution



6 = √((3-2)2 + (-1-k)2 + (6-1)2 + (-3-4)2)
6 = √(1 + 1 + k2 + 25 + 21)
6 = √(k2 + 48)
36 = k2 + 48
k = √-12

The answers seem to be 6k, -16k and -k or k= 2 and -4 (the answer sheet makes no sense and is mislabeled and unorganized horrifically) and I don't even have a remote idea how to get multiple solutions. I suppose my whole approach is wrong and I can't for the life of me understand what to do (I'm working without any textbooks)

Kind regards
 
Physics news on Phys.org
Lanniakea said:

Homework Statement


Let u = (2,k,1,-4) and v = (3,-1,6,-3)

For which values of k is the distance d(u,v) = 6?

Homework Equations




The Attempt at a Solution



6 = √((3-2)2 + (-1-k)2 + (6-1)2 + (-3-4)2)
6 = √(1 + 1 + k2 + 25 + 21)
6 = √(k2 + 48)
36 = k2 + 48
k = √-12

The answers seem to be 6k, -16k and -k or k= 2 and -4 (the answer sheet makes no sense and is mislabeled and unorganized horrifically) and I don't even have a remote idea how to get multiple solutions. I suppose my whole approach is wrong and I can't for the life of me understand what to do (I'm working without any textbooks)

Kind regards

Remember that ##d(u,v) = ||u-v|| = \sqrt{(u_1-v_1)^2+(u_2-v_2)^2 ... + (u_n - v_n)^2}##, so you're on the right track. Recheck your math.
 
Student100 said:
Remember that ##d(u,v) = ||u-v|| = \sqrt{(u_1-v_1)^2+(u_2-v_2)^2 ... + (u_n - v_n)^2}##, so you're on the right track. Recheck your math.

I redid the working (both d(u,v) and d(v,u) which turn out to be the same so it seems correct this time) and get k = √8

I really have no idea what I'm doing wrong, can you specify where my mistake is? I have a lot more work to catch up on and I'm struggling with the basics...

and by ||u−v|| does this mean the two magnitudes?

So I could solve it by 6 = √(k2+21) - √(55) which gives me k = √2 which is also obviously wrong.

What exactly is my mistake? Am I messing up +/- signs somewhere?
 
Lanniakea said:
I redid the working (both d(u,v) and d(v,u) which turn out to be the same so it seems correct this time) and get k = √8

I really have no idea what I'm doing wrong, can you specify where my mistake is? I have a lot more work to catch up on and I'm struggling with the basics...

and by ||u−v|| does this mean the two magnitudes?

So I could solve it by 6 = √(k2+21) - √(55) which gives me k = √2 which is also obviously wrong.

What exactly is my mistake? Am I messing up +/- signs somewhere?

Your first expansion in the original problem description was wrong, you will get a quadratic which has two solutions.

||u-v|| means the length of some new vector ##\vec{r}## that is the resultant from the vector operation ##\vec{u}-\vec{v}##

My hint is that the expansion of say ##(k+1)^2## is ##(k^2+2k+1)##, not what you're doing. Or ##(k+1)(k+1)=(k+1)^2##
 
  • Like
Likes Lanniakea
Student100 said:
Your first expansion in the original problem description was wrong, you will get a quadratic which has two solutions.

||u-v|| means the length of some new vector ##\vec{r}## that is the resultant from the vector operation ##\vec{u}-\vec{v}##

My hint is that the expansion of say ##(k+1)^2## is ##(k^2+2k+1)##, not what you're doing. Or ##(k+1)(k+1)=(k+1)^2##

Ah I haven't done any maths in so long I had even forgotten basic factorization, I also thought that (k+1)2 = k2 + 12 for some reason, what a sin of a mistake! Thank you very much my friend.
 
  • Like
Likes Student100
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top