How can I use trigonometric functions to simplify my vector algebra problem?

Click For Summary

Discussion Overview

The discussion revolves around simplifying a vector algebra problem using trigonometric functions. Participants explore the relationship between vectors and their dot products, particularly in the context of finding the shortest distance from the origin to a line defined by two points, A and B.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses frustration with vector algebra and seeks assistance in manipulating the expression for the shortest distance from the origin to a line defined by vectors A and B.
  • Another participant clarifies that the notation used by the original poster is incorrect, specifically regarding the operation of taking the dot product of a vector with a squared vector.
  • A later reply acknowledges the notation issue and thanks the participant for the clarification.
  • One participant provides a detailed mathematical derivation of the expression for C(s) and explores the implications of substituting the value of s0 into the equation.
  • Another participant comments on the complexity of the solution, suggesting that brute force may be necessary to arrive at a solution.
  • One participant proposes that using trigonometric functions could simplify the manipulation of the expressions, specifically referencing the relationship between the dot product and the cosine of the angle between vectors.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to simplify the vector algebra problem. There are multiple competing views regarding the use of trigonometric functions versus direct algebraic manipulation.

Contextual Notes

Participants express uncertainty regarding the legality of certain operations in vector algebra and the implications of their notation. There are unresolved mathematical steps in the derivations presented.

The_Brain
Messages
41
Reaction score
3
I hate Vector Algebra!

I am having some trouble doing some vector algebra and any help or direction is greatly appreciated.

In our lecture we drew a vector C(s) = A + s(B-A) which described a line passing through points A and B and found that the vector of min. length (shortest dist. from origin to line) was given by so = [A (dot) (A-B)]/[|B-A|2. The actual problem is to plug so into C(s) to show that C(so) = (sqrt(|A|2|B|2 - (A dot B)2))/(|B-A|).

What I have so far consists of changing [A (dot) (A-B)]/[|B-A|2 to [-A (dot) (B-A)]/[|B-A|2 so I can square the (B-A) however, when I do that I do not know how to then multiply that by the dot product of A. I know that A dot (B-A) is A dot B minus A dot A (A squared) but I have no idea how to do A dot (B-A)2. Thanks for any help.
 
Physics news on Phys.org
The_Brain said:
... I have no idea how to do A dot (B-A)2. Thanks for any help.
For a vector V, the quantity V2= ( V (dot) V ) is a scalar.
Note that A (dot) ( (B-A)2 ) is not a legal operation.
 
Sorry about my notation - I should have been more obvious about the A squared part being a scalar but thanks for telling me that A (dot) ( (B-A)2 ) is not a legal operation, now I know not to work in that direction.
 
Maybe not the most elegant solution

[tex] \def\vA {\vec A}<br /> \def\vB {\vec B}<br /> \def\vC {\vec C}<br /> \begin{align*}<br /> \vC<br /> &= \vA + s(\vB-\vA)\\<br /> C^2 &= A^2 + 2s\vA\cdot(\vB-\vA)+s^2(\vB-\vA)\cdot(\vB-\vA)\\<br /> \end{align*}[/tex]

with
[tex] \def\vA {\vec A}<br /> \def\vB {\vec B}<br /> \def\vC {\vec C}<br /> s_0=\frac{\vA\cdot(\vA-\vB)}{|B-A|^2}[/tex]

[tex] \def\vA {\vec A}<br /> \def\vB {\vec B}<br /> \def\vC {\vec C}<br /> \def\vAB {(\vA\cdot\vB)}<br /> \begin{align*}<br /> C(s_0)^2<br /> &= A^2 + 2 \left[ \frac{\vA\cdot(\vA-\vB)}{|B-A|^2}\right]\vA\cdot(\vB-\vA)+\left[ \frac{\vA\cdot(\vA-\vB)}{|B-A|^2}\right]^2(\vB-\vA)\cdot(\vB-\vA)\\<br /> &= A^2 - 2 \left[ \frac{\vA\cdot(\vA-\vB)}{|B-A|^2}\right]\vA\cdot(\vA-\vB)+ \frac{(\vA\cdot(\vA-\vB))^2}{|B-A|^2}\\<br /> &= A^2 - \frac{(\vA\cdot(\vA-\vB))^2}{|B-A|^2}\\<br /> &= \frac{A^2 (\vB-\vA)\cdot(\vB-\vA)- (\vA\cdot(\vA-\vB))^2}{|B-A|^2}\\<br /> &= \frac{A^2 (B^2-2\vAB+A^2)- (A^2-\vAB)^2}{|B-A|^2}\\<br /> &= \frac{A^2 (B^2-2\vAB+A^2)- (A^4-2A^2\vAB +\vAB^2)}{|B-A|^2}\\<br /> &= \frac{A^2 B^2-2A^2\vAB+A^4- A^4+2A^2\vAB -\vAB^2}{|B-A|^2}\\<br /> &= \frac{A^2 B^2-\vAB^2}{|B-A|^2}\\<br /> \end{align*}[/tex]
 
I think that's as elegenat as it can get. After about an hour two days ago, I finally came up with a solution that was just as long if not longer than yours. It seems as if it's just brute force is the route here. :bugeye: Thanks for all your help.
 
If you allow yourself to use some trigonometric functions, it may have been easier to manipulate.
Note that [itex]\vec A\cdot \vec B=AB\cos\theta[/itex] so that [itex]A^2B^2-(\vec A\cdot \vec B)^2=A^2B^2-A^2B^2\cos^2\theta=A^2B^2(1-\cos^2\theta)=A^2B^2\sin^2\theta[/itex].
 

Similar threads

Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K