Simple linear algebra problem (points on circle for a given vector and angle)

In summary, The conversation discusses a linear algebra problem involving a circle on the unit sphere and an arbitrary vector. The goal is to find a vector function with a given range that satisfies a dot product with the vector. The approach involves finding an expression for x and z using substitutions and solving a quadratic formula. However, there may be no solution if the vector lies in the xy plane. The initial equation is also corrected to form a circle.
  • #1
skydave
1
0
Hi all,

I have a seemingly simple linear algebra problem which I have trouble with and I would like to ask for some advice how to solve it. Here is the problem:
Given is a circle on the unit sphere:

[itex]
x^2 + \mu_s^2 + z^2 = 1
[/itex]

where [itex]\mu_s[/itex] is a known constant. So the circle lies in the x z plane at a given height.

Also given is an arbitrary vector [itex]v[/itex].

The problem is to find the vector function [itex]s(\nu)[/itex] with [itex]\nu \in [-1,1][/itex] such that the dot product between the solution and vector [itex]v[/itex] equals [itex]\nu[/itex]:

[itex]
xv_x + yv_y + zv_z = \nu
[/itex]


Here are my thoughts about this:

It is clear that a solution is not always defined for the whole range of [itex]\nu[/itex] and that for a given [itex]\nu[/itex] there can be 2 solutions. So I expect a quadratic formula to pop up. Also since the solution is on the circle I expect a sinus of some angle (or [itex]1-cos^2[/itex]) to be there as well.

The way I tried to approach it was to find an expression for [itex]x[/itex] and [itex]z[/itex]:

[itex]x=\sqrt{1-\mu_s^2-z^2}[/itex]

[itex]z = \frac{\nu-xv_x-\mu_s y}{v_z}[/itex]

and substitute z within the expression of [itex]x[/itex] which after some massaging gives me:

[itex]x^2 - \frac{2\nu \mu_s v_y v_x}{v_z^2 - v_x^2}x - \frac{(1-\mu_s^2)v_z^2 + \nu + \mu_s v_y}{v_z^2 - v_x^2}=0[/itex]

I get [itex]x_1[/itex] and [itex]x_2[/itex] from solving the quadratic formula and insert it into the formula I got for [itex]z[/itex]. The problem here is that I need to divide by [itex]v_z[/itex] which means there is no solution if [itex]v[/itex] lies in the [itex]xy[/itex] plane. I don't understand why this is geometrically.

However, the problem I now have is that if I check my solutions they don't lie on the given circle and the angle doesn't satisify the given constrain. So I must be doing something wrong and my hope is that somebody here can point me into the right direction. Does the overall approach make sense? Is there something I miss? Is there a different way to solve the problem?

Any comment is much appreciated.

Thanks,
David
 
Physics news on Phys.org
  • #2
Hey skydave and welcome to the forums.

The first thing to notice is that your first equation is not a circle if it's in R^3: it's a cylinder since the y variable is allowed to take on any real value. If you want a circle you need to fix y = a for some constant a. This will then effect the equations you have derived later.
 

FAQ: Simple linear algebra problem (points on circle for a given vector and angle)

How do I calculate the coordinates of points on a circle for a given vector and angle?

To calculate the coordinates of points on a circle for a given vector and angle, you can use the trigonometric functions sine and cosine. First, determine the radius of the circle and use the formula x = r * cos(theta) and y = r * sin(theta) to calculate the coordinates for each point.

What is the significance of the vector in this problem?

The vector represents the direction and magnitude of the line that connects the center of the circle to the points on the circle. It is used to determine the angle at which the points are located on the circle.

Can I use any angle measurement unit for this problem?

Yes, you can use any angle measurement unit such as degrees or radians. Just make sure to use the corresponding trigonometric functions for the chosen unit.

Is it possible to have multiple points on a circle for the same vector and angle?

Yes, it is possible to have multiple points on a circle for the same vector and angle. This is because a circle is a continuous shape and the points can be distributed evenly around the circumference.

How can I graph the points on a circle for a given vector and angle?

You can graph the points on a circle by plotting the calculated coordinates on a Cartesian plane. The center of the circle will be the origin and the points will be located at the calculated coordinates, forming a circle when connected.

Similar threads

Back
Top