# Thread:

1. ## Vector-points-angle problem

Hi all,

I have a 2 points - 1 vector - 1 angle problem in 3D:

- There are two points, S and N.
- The x,y,z-coordinates of S are known.
- Only the z-coordinate of N is known.
- The distance between N and S is known!
- there is a vector U which is the direction of a line going through S
- the vector V is the direction vector (N-S) of the points mentioned
- the angle between vector U and V is known!

Problem: calculate the other coordinates (x,y) of point N. If anybody could help me solve it, it would be greatly appreciated!!

2. ## More information please

Hello hobbyist

Welcome to Math Help Forum!

Sorry, but your question doesn't make sense. What does this mean?
Originally Posted by hobbyist
- there is a vector U which is the direction of a line going through S
Grandad

3. ## Trying to make it more clear

point S is on a line. The direction vector of the line is U. So the line's equation would be $S + U$. Is it clear ? There's another line which is the line going through point S and point N. The director vector of that line is V. That line's equation is $S+V$. So there are two lines which are at an angle with each other. The angle is known. THe only thing that is not known is the X and Y coordinaties of point S , or (the same) the x + y vector components of direction vector V. If you have Vx and Vy, then you can calculate N (which is the goal), because you know the distance between S and N.

4. Hello hobbyist
Originally Posted by hobbyist
point S is on a line. The direction vector of the line is U. So the line's equation would be $S + U$. Is it clear ? There's another line which is the line going through point S and point N. The director vector of that line is V. That line's equation is $S+V$. So there are two lines which are at an angle with each other. The angle is known. THe only thing that is not known is the X and Y coordinaties of point S , or (the same) the x + y vector components of direction vector V. If you have Vx and Vy, then you can calculate N (which is the goal), because you know the distance between S and N.
Sorry, but it still doesn't make sense. The information supplied about U being the direction of a line through S tells us nothing about the point S itself - its direction will be the same no matter where it is, and so will the angle between U and V. How does this supply any more information about the point S?

(Incidentally, the vector equation of the line with direction given by the vector $\vec{u}$ that passes through the point with position vector
$\vec{s}$ is $\vec{r}=\vec{s} + \lambda\vec{u}$, not $\vec{r} = \vec{s} + \vec{u}$.)

Grandad

The coordinates of points S are known! U is also known, and you're right, the equation is $<br /> \vec{r} = \vec{s} + \lambda\vec{u}$ . What else do you want to know about S? I think the information about S and U are complete ?
The goal is to calculate point N. Only the z-coordinate of N is known.

To recapulate, there are two lines:
$<br /> \vec{r} = \vec{s} + \lambda\vec{u}$

and

$\vec{v} = \vec{s} + \mu(\vec{n}-\vec{s})$

Assumptions:
• line r is known
• the angle between r and v is known.
• the length of vector v is known
• Only the x and y components of n are not known.
Goal: calculate x and y components of vector $\vec{v}$.

I was thinking about using two equations to solve for Nx and Ny:

1) the formula for the angle between vectors $\vec{r}$ and $\vec{v}$ :

$\alpha = \arccos (\vec{r} \cdot \vec{v} ) \div ( \mid \vec{r} \mid \ast \mid \vec{r} \mid )$

2) and the formula for the length of the vector v :

$<br /> \mid \vec{v} \mid = Vx^2 + Vy^2 + Vz^2$

by re-arranging (2) you get the expression for Vy, which you can fill in in the formula of (1) to solve for Vx. Once you have Vx, ofcourse you can use equation (2) to find Vy. What do you think?

6. there's a small mistake iny my previous reply, formula 1 should be:

$<br /> \alpha = \arccos ( (\vec{r} \cdot \vec{v}) \div (\mid \vec{r} \mid \ast \mid \vec{v} \mid))<br />$

you can also take the normalized versions of r and v to make it simpler:
$<br /> \alpha = \arccos (\vec{rnorm} \cdot \vec{vnorm}) <br />$

but then you also have to change the 2nd formula to

$<br /> 1= vnorm_{x}^2 + vnorm_{y}^2 + vnorm_z^2<br />$
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 19, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9662911891937256, "perplexity_flag": "head"}