The Golden Spiral - Calculating intersections with circles.

In summary, the conversation discusses the creation of a program that graphs the Golden Spiral and lays circles on top of it. The equation for the Golden Spiral is provided, and the goal is to find the x and y coordinates where the circle intersects the spiral. The formula for calculating T is given, and it is used to find the coordinates using the same formula used for drawing the spiral. The concept of logarithms is also mentioned as a way to solve for the coordinates. Eventually, the program is successfully created by using the provided formula.
  • #1
Jdo300
554
5
The "Golden Spiral" - Calculating intersections with circles.

Hello all, I am working on a program that graphs the Golden Spiral and then lays a set of circles on top of it. I was curious to know if there is a formula I can use to figure out the x, y coordinates where a circle of a given radius intersects the spiral. Two assumptions can be made here. The circle's center will always be on the origin of the graph as well as the spiral. I attached a picture of a template with the spiral on it so you can see what I mean. Here is the equation for the Golden spiral that I am using (I added sine and cosine so that I could draw it with rectangular coordinates).

X = Cos (T) * Phi ^ ((2 / Pi) * T)
Y = Sin (T) * Phi ^ ((2 / Pi) * T)

T represents the Time constant but also the angle of the spiral.

Phi is the golden ration which is (1 + Sqr(5)) / 2

And of course, Pi is just pie.

Using that set of formulas, I want to be able to figure out the X and Y coordinates of a point on a circle where it intersects the spiral. I thought I came up with an equation for it but it didn't work... any help would be much appreciated.

One note about the diagram, the black dots are the points I want my program to be able to calculate (I just drew them in the picture to illustrate my point)

Jason O
 

Attachments

  • p.jpg
    p.jpg
    27.2 KB · Views: 761
Mathematics news on Phys.org
  • #2
The spiral hits the circle of radius r at the (unique) point on the spiral of distance r from the origin.

r^2= x^2+y^2 = phi^(T*4/pi)so 2logr= (4T/pi)log(phi)

so you can find T in terms of r, and hence the x,y coordinates
 
  • #3
Hello, thank you for the insight. I think I get the gist of what you are saying but I'm still not quite sure how to move the equations around to solve for the individual X Y coordinates (I'm just a student in pre-calc, and we haven't done logarithms yet). What do I do to solve for the point?
 
  • #4
Don't worry too much about log just now, log(x) is the (unique) number such that e^(log(x)) = x

where e is what'll you learn about soon if not already. (I don't know what precalc means exactly. At the risk of getting flamed again, not all of us understand this terminology, and I've taught at a US university).

The point is that for a given, r you can use your calculator, or computer to find the T that corresponds to the point on the curve that is the intersection.

Try it for a few points to see.

Now you know what T is - (pi*logr)/(2logphi) - for a given number r this is just another number you can calculate, but not by hand. So you can put this in for the x-y coordinates.

That isnt' really offering you any more information is it?

Sorry, I don't see a way of doing it without logs, or more difficult concepts.
 
  • #5
Hello Mat,

Thank you very much for your help! I finally got the program working correctly now. That formula you gave me to calculate T was exactly what I needed. Then I believe I was thinking too hard when I was trying to figure out how to translate the T value into X and Y coordinates. All I had to do was use the exact same formula I used when I was drawing the spiral graph but just put in the T value and it would spit out my coordinates. DERRR! Did you mention this before? If so, I think I just didn't pick up on it right away. Again, thank you much!
 

FAQ: The Golden Spiral - Calculating intersections with circles.

1. What is the Golden Spiral?

The Golden Spiral is a mathematical concept that is derived from the Fibonacci sequence. It is a logarithmic spiral that appears in nature and has a special ratio known as the golden ratio.

2. How is the Golden Spiral calculated?

The Golden Spiral can be calculated by using the golden ratio, which is approximately 1.618, and applying it to the radius of a circle. This results in a logarithmic spiral that expands and intersects with the circle at specific points.

3. What is the significance of the Golden Spiral?

The Golden Spiral has been observed in many natural phenomena, such as the shape of galaxies, seashells, and even the human ear. It is also used in art and design to create visually pleasing compositions.

4. How is the Golden Spiral used in science?

In science, the Golden Spiral is used to model growth patterns and predict the behavior of certain systems. It is also used in various fields of study, such as biology, physics, and astronomy, to better understand the natural world.

5. Can the Golden Spiral be used to calculate intersections with circles?

Yes, the Golden Spiral can be used to calculate intersections with circles by using the golden ratio and the radius of the circle. This can help determine the points at which the spiral intersects with the circle and can be useful in various applications, such as architecture and design.

Similar threads

Replies
4
Views
1K
Replies
2
Views
995
Replies
1
Views
2K
Replies
2
Views
1K
Replies
8
Views
1K
Replies
8
Views
1K
Replies
1
Views
1K
Replies
2
Views
1K
Back
Top