Gravitational Interaction Between Infinite Rods

Two very long (infinite) and uniform rods with identical linear mass density ρ \rho do not intersect. Their directions form an angle α \alpha and their shortest separation is a a . Find the force of attraction between them due to Newton's law of gravity.

Note:

  • This problem is not original.

  • Take a = 1 a = 1 , α = π / 4 r a d \alpha = \pi/4 \ rad .

  • For simplicity take the product G ρ 2 = 1 G\rho^2 = 1 , where G G is the universal gravitational constant.

Bonus: Take a = 10 a = 10 and recompute the result. What do you observe? Why is that so?


The answer is 8.88577.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Steven Chase
Oct 26, 2019

I integrated over a length of 200 200 units ( 100 100 in each direction) for each rod. This yielded a result of 8.8 \approx 8.8 for a = 1 a = 1 . For a = 10 a = 10 , the result is about 7.8 \approx 7.8 . This is a fairly modest change, given that the separation has increased by a factor of ten. But this is not surprising, given that the rods are infinite in length. The smaller the value of a a , the higher the relative importance of the mass near the "center". As a a increases, the mass farther away from the center contributes more meaningfully, even as the central mass portions attract each other with less force. The result is that the overall attraction decreases only modestly with increasing separation.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import math

N = 10000

G = 1.0
rho = 1.0

C1x = 0.0
C1y = 0.0
C1z = 0.0

C2x = 0.0
C2y = 0.0
#C2z = 1.0
C2z = 10.0

u1x = 1.0
u1y = 0.0
u1z = 0.0

u2x = math.cos(math.pi/4.0)
u2y = math.sin(math.pi/4.0)
u2z = 0.0

############################################

dsigma1 = 200.0/N
dsigma2 = dsigma1

dm1 = dsigma1 * rho
dm2 = dsigma2 * rho

############################################

count = 0

Fx = 0.0
Fy = 0.0
Fz = 0.0

sigma1 = -100.0

while sigma1 <= 100.0:

    x1 = C1x + sigma1*u1x
    y1 = C1y + sigma1*u1y
    z1 = C1z + sigma1*u1z

    sigma2 = -100.0

    while sigma2 <= 100.0:

        x2 = C2x + sigma2*u2x
        y2 = C2y + sigma2*u2y
        z2 = C2z + sigma2*u2z

        Dx = x2 - x1
        Dy = y2 - y1
        Dz = z2 - z1

        D = math.sqrt(Dx**2.0 + Dy**2.0 + Dz**2.0)

        ux = Dx/D
        uy = Dy/D
        uz = Dz/D

        dF = G*dm1*dm2/(D**2.0)

        dFx = dF * ux
        dFy = dF * uy
        dFz = dF * uz

        Fx = Fx + dFx
        Fy = Fy + dFy
        Fz = Fz + dFz

        sigma2 = sigma2 + dsigma2

        count = count + 1

        if count%10**6 == 0:
            print count/10**6

    sigma1 = sigma1 + dsigma1

############################################

print ""
print ""

print Fx
print Fy
print Fz
print ""
Fmag = math.sqrt(Fx**2.0 + Fy**2.0 + Fz**2.0)

print Fmag
#approx 8.8 for a = 1
#approx 7.8 for a = 10

I did this in a different way. I evaluated a closed-form solution. First, I derived an expression for the gravitational field due to an infinite uniform rod at a point. Using that expression, I computed the force on an element length on the other wire, resolved it into components and integrated the resulting expression which came out to be:

F z = 2 G ρ 2 a d x x 2 sin 2 α + a 2 = 2 2 π 8.88577 F_z = 2G\rho^2a\int_{-\infty}^{\infty}\frac{dx}{x^2\sin^2{\alpha} + a^2} = 2\sqrt{2}\pi \approx 8.88577

So the result is actually independent of a a . I will post a detailed solution later if necessary. But the point of the bonus question was to illustrate that the result is independent of the separation.

Karan Chatrath - 1 year, 7 months ago

Log in to reply

That's interesting. Yeah, some of the qualitative features of a problem can get lost when doing a brute numerical approximation. I guess part of the art of problem solving is knowing when certain methods will be strong and when they will be weak.

Steven Chase - 1 year, 7 months ago

Log in to reply

Rightly said. Different problems warrant different approaches.

Karan Chatrath - 1 year, 7 months ago

Log in to reply

@Karan Chatrath @Karan Chatrath sir congratulations for 300 DS

A Former Brilliant Member - 1 year, 7 months ago

Log in to reply

@A Former Brilliant Member Thank you!

Karan Chatrath - 1 year, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...