Stasis with Unequal Rods

Two uniform rods are hinged about the origin. Each rod can rotate about the z z axis independently of the other (the axis being perpendicular to the page). The other ends of both rods are connected by a spring. The diagram shows the masses and lengths of both rods, the force constant and natural length of the spring, and the ambient gravitational acceleration.

Given that angles θ 1 \theta_1 and θ 2 \theta_2 are in the range 0 < θ < 9 0 0 < \theta < 90^\circ , and that the system is in stasis, determine angles θ 1 \theta_1 and θ 2 \theta_2 (in degrees). Give your answer as 100 θ 1 \lfloor 100 \, \theta_1 \rfloor .

Bonus: There is another solution as well, that doesn't conform to the angle constraints given above. Can you find it?


The answer is 6605.

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.

3 solutions

Karan Chatrath
Jan 25, 2020

For me, this was not an easy one to solve. In fact, I think there is a lot more to this problem than meets the eye. I will first present the solution that worked for me.

Notice how the spring and the two rods form a triangle. More specifically, an isosceles triangle. This is because of the rods having an equal length. From here, two equations can be formed by calculating the torque about the origin.

The angle between either rod and the spring is:

A = θ 1 + θ 2 2 A = \frac{\theta_1 + \theta_2}{2}

The above result follows from elementary geometry. Now the torque experienced by rod 1 about the origin is:

T 1 = m 1 g L 1 2 cos θ 1 F s L 1 sin A T_1 = \frac{m_1 g L_1}{2}\cos{\theta_1} - F_s L_1 \sin{A}

The torque experienced by rod 2 about the origin is:

T 2 = m 2 g L 2 2 cos θ 2 F s L 2 sin A T_2 = \frac{m_2 g L_2}{2}\cos{\theta_2} - F_s L_2 \sin{A}

Here,

F s = K ( ( cos θ 1 + cos θ 2 ) 2 + ( sin θ 2 sin θ 1 ) 2 1 ) F_s = K\left(\sqrt{\left(\cos{\theta_1}+\cos{\theta_2}\right)^2 + \left(\sin{\theta_2}-\sin{\theta_1}\right)^2} - 1\right)

At equilibrium, the net torques experienced by each rod must be zero. The angles at which this occur can be found by writing a simple code which sweeps through the angles within the specified range. I have not attached the code here now. From there, the answer comes out to be:

θ 1 = 66.056 8 o \theta_1 = 66.0568^o

Hence the final answer is 6605 \boxed{6605} .

Now, arriving at this answer took me more than one try. Whenever I encounter an equilibrium problem which involves no dissipative forces, my first instinct is to minimise the potential energy of the system.

The total potential energy of the system is the sum of gravitational potential energies of the rods and the energy stored in the spring.

V = m 1 g L 1 2 sin θ 1 + m 2 g L 2 2 sin θ 2 + 1 2 K ( ( cos θ 1 + cos θ 2 ) 2 + ( sin θ 2 sin θ 1 ) 2 1 ) 2 V = \frac{m_1 g L_1}{2} \sin{\theta_1} + \frac{m_2 g L_2}{2} \sin{\theta_2} + \frac{1}{2} K \left(\sqrt{\left(\cos{\theta_1}+\cos{\theta_2}\right)^2 + \left(\sin{\theta_2}-\sin{\theta_1}\right)^2} - 1\right)^2

Computing its gradient and equating it to zero (steps omitted here) would lead to a couple of nonlinear equations which would need to be solved numerically. I chose the Newton-Raphson method. The answer depends on the initial assumption. I was getting many weird equilibrium configurations but after some tries, found the required answer. Usually, the solution should be found with ease but that was not the case here. It involved quite a bit of work for me. And soon enough I realised why. The following 3D plot shows the variation of PE with the angles.

Given the odd shape of this surface, one can see that the required equilibrium point is definitely not stable. The odd shape also explains why the Newton Raphson iteration is so sensitive to the starting point.

That's an interesting plot. Are there two potential minima? I have only found two solutions, so that's why I ask

Steven Chase - 1 year, 4 months ago

Log in to reply

There are more than two minima. I found them by choosing random starting points in the Newton-Raphson iterations. Another configuration is when the rods are diametrically opposite and horizontal.

Karan Chatrath - 1 year, 4 months ago

May I use the diagram in the problem statement for a follow-up problem? I have gone down a rabbit hole with this system and I want to draw attention to some details through a question.

Karan Chatrath - 1 year, 4 months ago

Log in to reply

In the "A" equation, are the angular velocities in degrees per second or radians per second?

Steven Chase - 1 year, 4 months ago

Log in to reply

Apologies for not specifying. It is in rad/s.

Karan Chatrath - 1 year, 4 months ago

Most certainly. I look forward to it

Steven Chase - 1 year, 4 months ago
Uros Stojkovic
May 10, 2020

I used energy approach mentioned by @Karan Chatrath which is very convenient in this case.

Physics says that equilibrium will occur once the potential energy of the system is minimal subject to the constraints. The rest of the problem is then of a mathematical kind. Here, it's obvious that there are two degrees of freedom, two independent coordinates - namely two angles. If we use l l to denote the length of the spring, by cosine theorem we have: l 2 = L 1 2 + L 2 2 2 L 1 L 2 cos ( π θ 1 θ 2 ) = L 1 2 + L 2 2 + 2 L 1 L 2 cos ( θ 1 + θ 2 ) 2 l l θ i = 2 L 1 L 2 sin ( θ 1 + θ 2 ) , \begin{aligned}l^{2} &= L_{1}^{2} + L_{2}^{2} - 2L_{1}L_{2}\cos(\pi - \theta_{1} - \theta_{2}) \\ &= L_{1}^{2} + L_{2}^{2} + 2L_{1}L_{2}\cos(\theta_{1} + \theta_{2}) \\ 2l\frac{\partial l}{\partial \theta_{i}} &= -2L_{1}L_{2}\sin(\theta_{1} + \theta_{2}),\end{aligned} for i = 0 , 1. i = 0,1. Expression for potential energy is: U = m 1 g L 1 sin θ 1 2 + m 2 g L 2 sin θ 2 2 + 1 2 k ( l L 0 ) 2 U = \frac{m_{1}gL_{1}\sin{\theta_{1}}}{2} + \frac{m_{2}gL_{2}\sin{\theta_{2}}}{2} + \frac{1}{2}k(l-L_{0})^{2} Equations are obtained by finding partial derivatives with respect to each coordinate and setting them to zero: U θ i = m i g L i cos θ i 2 + k ( l L 0 ) l θ i = m i g L i cos θ i 2 k L 1 L 2 sin ( θ 1 + θ 2 ) ( 1 L 0 L 1 2 + L 2 2 + 2 L 1 L 2 cos ( θ 1 + θ 2 ) ) = 0 \begin{aligned} \frac{\partial U}{\partial \theta_{i}} &= \frac{m_{i}gL_{i}\cos{\theta_{i}}}{2} + k(l-L_{0})\frac{\partial l}{\partial \theta_{i}} \\ &= \frac{m_{i}gL_{i}\cos{\theta_{i}}}{2} - kL_{1}L_{2}\sin(\theta_{1} + \theta_{2})\left(1-\frac{L_{0}}{\sqrt{L_{1}^{2} + L_{2}^{2} + 2L_{1}L_{2}\cos(\theta_{1} + \theta_{2})}} \right ) = 0\end{aligned} I used GeoGebra to plot these equations in θ 1 θ 2 \theta_{1}\theta_{2} -plane and find the intersection which satisfies given condition.

Steven Chase
Jan 25, 2020

I used a hill-climbing algorithm which mutates the unknown angle parameters θ 1 \theta_1 and θ 2 \theta_2 until the net torque on each rod is zero. I have found the following solutions:

Solution 1
θ 1 66.05 4 θ 2 35.73 3 \theta_1 \approx 66.054^\circ \\ \theta_2 \approx 35.733^\circ

Solution 2
θ 1 89.58 7 θ 2 89.17 5 \theta_1 \approx 89.587^\circ \\ \theta_2 \approx -89.175^\circ

In the second solution, the two rods are nearly co-linear, almost lining up with the y y axis. Also, the second and third decimal points in solution 2 are not as consistent as they are for solution 1.

 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
import random

# Constants

g = 10.0

k = 20.0
L0 = 1.0

m1 = 2.0
L1 = 1.0

m2 = 1.0
L2 = 1.0

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

delta = 0.001

minres = 99999999.0

theta1 = (math.pi/2.0)*random.random()
theta2 = math.pi - (math.pi/2.0)*random.random()

for j in range(0,4*10**6):

    if j > 2*10**6:
        delta = 0.0001

    theta1m = theta1 + delta * (-1.0 + 2.0 * random.random())  # mutated angles
    theta2m = theta2 + delta * (-1.0 + 2.0 * random.random())

    x1 = L1*math.cos(theta1m)  # rod end points
    y1 = L1*math.sin(theta1m)

    x2 = L2*math.cos(theta2m)
    y2 = L2*math.sin(theta2m)

    Dx = x2 - x1  # vector between rod end points
    Dy = y2 - y1

    D = math.hypot(Dx,Dy)

    ux = Dx/D   # unit vector between rod end points
    uy = Dy/D

    s = D - L0  # stretch
    Fs = k*s   # spring force magnitude

    Fs1x = Fs*ux  # spring force on rod 1
    Fs1y = Fs*uy

    Fs2x = -Fs1x  # spring force on rod 2
    Fs2y = -Fs1y

    r1x = x1  # lever arm for spring force on rod 1
    r1y = y1

    r2x = x2   # lever arm for spring force on rod 2
    r2y = y2

    Fg1x = 0.0     # gravity forces
    Fg1y = -m1*g

    Fg2x = 0.0
    Fg2y = -m2*g

    T1s = r1x*Fs1y - r1y*Fs1x   # spring torques
    T2s = r2x*Fs2y - r2y*Fs2x

    T1g = (r1x/2.0)*Fg1y - (r1y/2.0)*Fg1x  # gravity torques
    T2g = (r2x/2.0)*Fg2y - (r2y/2.0)*Fg2x

    T1 = T1s + T1g  # net torques
    T2 = T2s + T2g

    res = math.fabs(T1) + math.fabs(T2)   # residual is sum of torque magnitudes

    if res < minres:  # store mutated angles if residual becomes smaller

        minres = res

        theta1 = theta1m
        theta2 = theta2m

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

print minres
print ""

theta1_deg = 180.0*theta1/math.pi
theta2_deg = 180.0*theta2/math.pi

print theta1_deg
print math.floor(100.0*theta1_deg)
print ""
print theta2_deg
print (180.0 - theta2_deg)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...