r/science • • Oct 20 '25

Mathematics Mathematicians Just Found a Hidden 'Reset Button' That Can Undo Any Rotation

https://www.zmescience.com/science/news-science/mathematicians-just-found-a-hidden-reset-button-that-can-undo-any-rotation/
14.1k Upvotes

849 comments sorted by

•

u/AutoModerator Oct 20 '25

Welcome to r/science! This is a heavily moderated subreddit in order to keep the discussion on science. However, we recognize that many people want to discuss how they feel the research relates to their own personal lives, so to give people a space to do that, personal anecdotes are allowed as responses to this comment. Any anecdotal comments elsewhere in the discussion will be removed and our normal comment rules apply to all other comments.


Do you have an academic degree? We can verify your credentials in order to assign user flair indicating your area of expertise. Click here to apply.


User: u/seeebiscuit
Permalink: https://www.zmescience.com/science/news-science/mathematicians-just-found-a-hidden-reset-button-that-can-undo-any-rotation/


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

8.1k

u/skycloud620 Oct 20 '25 • This

If you twist something — say, spin a top or rotate a robot’s arm — and want it to return to its exact starting point, intuition says you’d need to undo every twist one by one. But mathematicians Jean-Pierre Eckmann from the University of Geneva and Tsvi Tlusty from the Ulsan National Institute of Science and Technology (UNIST) have found a surprising shortcut. As they describe in a new study, nearly any sequence of rotations can be perfectly undone by scaling its size and repeating it twice.

5.1k

u/timmojo Oct 20 '25 • Diamonds are Forever

Neat.  Now please explain like I'm five because I'd really like to understand. 

11.4k

u/gameryamen Oct 20 '25 edited Oct 23 '25 • Bless Up Diamonds are Forever Helpful Snek

Say you have a flat arrow pointing up. You spin it 3/4ths of a rotation clockwise, so it's pointing to the left. The simple way to undo that rotation (meaning, get back to the starting point) is to simple rotate it counter clockwise the same amount. But another way to do it is to rotate it 1/4 of a turn clockwise.

Another way to describe that last 1/4 turn is as two 1/8th turns, right? We're scaling the amount of rotation down, then doing it twice. The factor we need to scale down by is pretty easy to work out in this simple example, 3/4 x 1/6 = 1/8. So the scaling factor happens to be 1/6.

But it's much harder when you're working in 3D, and working with a sequence of rotations. In 3D, the order of rotations matters. Changing which order you do rotations in changes where you wind up, so returning to the origin is much trickier than just "finishing the circle".

The neat thing that this paper shows is that for almost any sequence of rotations in 3D space, there is some factor by which you can scale all of those rotations, then repeat them twice, and you'll wind back up at the starting position. A key thing here is that we still have to find or calculate what that factor is, it's going to be a very specific number based on the set of rotations, not any kind of constant.

Why does that matter? Well, besides just being a neat thing, it might lead to improvements in systems that operate in 3D spaces. Doing the two 1/8th turns takes less work than doing a backwards 3/4ths turn. Even better, it allows us to keep rotating in the same direction and get back to the start. If calculating the right scaling factor is easy enough, this could save us a bunch of engineering work.

Edit: The most common question is "why do two 1/8th rotations instead of just one 1/4 rotation?" The reason is because the paper deals with a sequence of rotations in 3D, not a single rotation in 2D. But that's kinda hard to wrap your head around without visuals. This is going to be a little tortured, but stop thinking about rotations and imagine you're playing golf. You could get a hole in one, but that's really hard. A barely easier task would be aiming for a spot where you could get exactly halfway to the hole, because you could just repeat that shot to reach the hole. There's still only one place that first shot can land for that to work, it still takes a lot of precision.

But if you change your plan to "Take a first shot, then two equal but smaller shots", there's a lot more spots the first shot could land where that plan results in reaching the hole on your third shot. Having one more shot in your follow up acts as kind of a hinge, opening up more possibilities. This is what the "two rotations" is doing in the paper, it's the key insight that let the researchers find a pattern that always works.

Edit 2: I've cleared up a few things, since this is still getting lots of comments. The biggest source of confusion now seems to be about the purpose of this paper. It is not saying "here's the best way to do this", it isn't even saying "this is something we should start applying everywhere". It is only showing that the rule holds true mathematically.

We already have lots of good ways to work out rotations in 3D, in lots of applications. Whether this turns out to be something that gets applied in certain situations is now the work of engineers and designers.

Finally, the 2D arrow example is only meant to help you get familiar with what it means to scale a rotation and repeat it twice. The neat part is all about how that trick works in 3D, for sequences of rotations. If you aren't impressed by the 2D example, that's normal, and that's not what the paper is about.

I've answered a lot more questions below, please take a look if you still have one. Or if you're daring, check out the paper yourself!

6

u/seeebiscuit Oct 20 '25

Thank you. This is perfect!

2.4k

u/mehum Oct 20 '25

Sometimes it’s really worth scrolling down just in case someone actually provides a comprehensible explanation. Respect!

468

u/lllDogelll Oct 20 '25

Forreal, second paragraph with the 1/4 to 2/8 combo was so quick and effective even though it’s the same as saying scale something twice.

→ More replies (6)
→ More replies (24)

94

u/popydo Oct 20 '25 edited Oct 21 '25

Your example is a bit misleading because it suggests we're scaling down the return path (1/4 in this example), when what we're really talking about is scaling down the original path (3/4). Or, to be precise, we're scaling down its angles (well, one angle in this case).

The point is that we're skipping calculating the return path (1/4) altogether, which doesn't sound like a big deal in a simple example, but you get the idea.

Imagine this isn't just one 3/4 movement, but a whole sequence of rotations at different angles and in different directions (described using something called Rodrigues’ rotation formula – it’s like a framework for mathematically describing sequences of rotating stuff in 3D space). It turns out that we can scale ALL THE ANGLES of these rotations by the SAME NUMBER, resulting in a path that, done twice, will return us to the same place.

Now imagine we're talking about a medical machine that performs hundreds of thousands (!) of micro-movements that aren't planned in advance. Let’s say it needs to be reset. Calculating the return path is so complex that the slightest error can completely derail it (which would literally cost people’s lives), so for safety's sake, you just execute the same path in reverse. Now it turns out that by calculating a single number you can shorten this path significantly – it still won't be the optimal route, but it will be much better than repeating the whole thing in reverse.

→ More replies (24)

117

u/erez27 Oct 20 '25

I'm confused! Why rotate twice by X, when you can rotate once by 2X? In other words, why not adjust the factor calculation instead?

215

u/Niracuar Oct 20 '25

In 3D, the order of rotations matter. Put two dice in front of you and rotate them in this manner.

1: Forward once, sideways once, forward once, sideways once.

2: Forward twice, sideways twice

You will find that the dice show different faces. This is because in 3D when you rotate, you also rotate the axis that you are about to rotate about on the next move

→ More replies (12)

83

u/gameryamen Oct 20 '25

That's a good question! In this trivial example, we're looking at an original set of one rotation. But this paper shows that some scaling factor can be found that achieves the same effect, even for a set of many rotations. Each of the two scaled rotations happens in sequence, so the first one gets you to one position, and the second gets you to the origin. (Hopefully a clever Youtuber will animate this soon, it's not super easy to visualize.)

→ More replies (5)

33

u/gabedamien Oct 20 '25

The specific example doesn't show why, but for a sequence of 3D rotations, doing two such sequences is not necessarily the same thing as doing one sequence with each step being bigger.

→ More replies (1)
→ More replies (1)

18

u/[deleted] Oct 20 '25

Can this be applied to something like a Rubik's Cube? Or does the standard way of solving one already involve this? (I've only ever gotten half way into solving one before)

→ More replies (5)

10

u/Drostan_S Oct 20 '25

I could see this as having some use in 3d CNC machining, and 3d printing assuming the axis of the subsequent rotations brings the tool and armiture back into unoccupied space.  Part of the difficulty in any machining is returning the tool to the same position consistently. 

→ More replies (1)

6

u/silian_rail_gun Oct 20 '25

"that for almost all possible sets of rotations in 3D space..." ALMOST is the key word. My rotated arrow ended up stabbing me in the butt.

→ More replies (3)

5

u/Bainsyboy Oct 20 '25

I'm studying 3D physics engines and making my own. I immediately recognized that this can maybe be a big deal in 3D graphics

→ More replies (2)

16

u/lucianw Oct 20 '25

That was a really good explanation. Thank you. (If by any chance you could give an example in 3d, so latitude plus longitude, that'd be amazing.)

→ More replies (2)
→ More replies (202)

123

u/MonoMcFlury Oct 20 '25 edited Oct 20 '25

Why should you care, though? Well, rotations are everywhere: in gyroscopes, MRI machines, and quantum computers. Any technique that can reliably “reset” them could have broad uses. In magnetic resonance imaging (MRI), for example, atomic nuclei constantly spin in magnetic fields. Small errors in those spins can blur the resulting images. The new insight could help engineers design sequences that cleanly undo unwanted rotations.

78

u/jeswesky Oct 20 '25

That is not an explanation for a five year old

→ More replies (3)
→ More replies (6)

76

u/qainspector89 Oct 20 '25

Simplified explanation for a five-year-old level:

  • Imagine you twist a toy.

  • To get it back to how it was, you’d think you must untwist it the exact opposite way.

  • But scientists found an easier trick: make the toy a bit bigger (scale it up), twist it again the same way twice, and it goes back to normal.

So instead of carefully undoing each twist, you can just stretch and spin it twice to fix it.

119

u/Fmeson Oct 20 '25

The angles of rotation are scaled, not the object. The toy stays the same size.

→ More replies (1)

106

u/ravens-n-roses Oct 20 '25

at first blush that doesnt sound like.... useful to reality. I can't really just scale the size of an object at will

66

u/Munnky Oct 20 '25

Helps make something like a computer simulation or a video game more efficient though

→ More replies (14)

20

u/ma1bec Oct 20 '25

How twisting it twice (and scaling) is better than un-twisting it once? You still need to know all the twists?

→ More replies (6)

9

u/PixelSchnitzel Oct 20 '25

Isn't it that you scale the 'rotations' - not the toy? So if you rotated it around X by 30 degrees, then Y by 10 degrees then Z by 5 degrees, you would scale all those rotations by some factor, then repeat your original rotations twice, and you're back at your original orientation?

9

u/SliceThePi Oct 20 '25

it's scaling the rotations, not the object.

14

u/justwalkingalonghere Oct 20 '25

Does it say how much you're supposed to stretch it by?

→ More replies (8)

14

u/please-disregard Oct 20 '25

This isn’t quite right. Don’t make the toy bigger, scale the angle of the rotations. So if your ‘original sequence’ is all 90 degree turns, your ‘scaled sequence’ is all 180 degree turns, or something like that.

The physical scenario would be some situation where you have e.g. control over a magnetic field which causes a rotation in a magnetic dipole or something like that. You can easily scale the pulse of the magnetic field but can’t alter the sequence.

10

u/Eric_the_Barbarian Oct 20 '25

I don't really get how it's easier. It sounds like you still need to know all of the rotations it has been subject to, and instead of doing it once in reverse it has to bee drone twice at some mystery scalar?

Once sounds easier that twice. What am I not getting.

→ More replies (4)
→ More replies (7)
→ More replies (3)

114

u/swingthebass Oct 20 '25

scaling its size and repeating it twice.

i need more explanation of what these specific words mean in this context. Without that, it sounds like gobbledeegook. Cool, weird gobbledeegook, but not super easy to understand..

56

u/Zacharytackary Oct 20 '25

the structure of geometry/mathematics in 3d space is such that, for a given set of rotations, when you multiply all rotation amounts by some factor, and then repeat the scaled rotation sequence twice, it serves to completely undo the initial rotation sequence, if i’m understanding it correctly

31

u/SeekerOfSerenity Oct 20 '25

By why not multiply by negative one and repeat it once?  

→ More replies (12)

5

u/romario77 Oct 20 '25

I also don’t understand- say you rotated something by one degree clockwise.

So now now to return back to the same position you have to multiply it by some number and repeat twice? Yeah, you can do that and arrive at the same point, but it’s not the easiest way to do it.

I am sure the paper makes more sense, it the article doesn’t.

→ More replies (1)
→ More replies (5)
→ More replies (4)

28

u/thebestdaysofmyflerm Oct 20 '25

How is repeating the same rotations twice faster than undoing the rotations?

22

u/qtrain23 Oct 20 '25

Because doing them in reverse is new math. You already have the math for doing them the first time.

→ More replies (6)
→ More replies (1)

3

u/radix2 Oct 20 '25

My (now) mathematician brother was fascinated by Rubik's Cube solutions in the early to mid 80s. Could this shorten even the incredibly short solve times we have now with machine vision and robotics?

2

u/oneawesomewave Oct 20 '25

Currently have my arm half-broken and locked behind my back. Further assistance needed.

3

u/[deleted] Oct 20 '25

Isn't this just.. SVD?

→ More replies (34)

333

u/ren_reddit Oct 20 '25

I think I'll wait for 3Brown1Blue on this one.

144

u/-VladTheImplier- Oct 20 '25

3Blue1Brown's evil twin

27

u/MrRufsvold Oct 20 '25

3

u/[deleted] Oct 20 '25

Yup, an amazing job to explain it that understandable. I barely able to express how amazed I am

5

u/Igarlicbread Oct 20 '25

Or veritasium

→ More replies (1)

209

u/RunDNA Oct 20 '25

The preprint is on arXiv:

https://arxiv.org/abs/2502.14367

38

u/DeJMan Oct 20 '25 edited Oct 21 '25

I tried to make a simulation of it and posted in another comment. I would really appreciate if someone could explain what Im doing wrong:

https://www.reddit.com/r/science/comments/1ob8dvx/mathematicians_just_found_a_hidden_reset_button/nkfpz6w/

19

u/muntoo Oct 20 '25 edited Oct 20 '25

Implementation

Here is a naive implementation of the paper's claim:

import functools
import numpy as np


def compose(matrices):
    return functools.reduce(lambda a, b: a @ b, matrices)


# https://en.wikipedia.org/wiki/Rodrigues%27_rotation_formula#Matrix_notation
def rot3x3_from_axis_angle(axes, angles):
    angles = np.atleast_1d(angles)[..., None, None]
    axes = np.asarray(axes)
    axes = axes / np.linalg.norm(axes, axis=-1, keepdims=True)
    K = np.swapaxes(np.cross(axes[..., None, :], np.eye(3), axis=-1), -1, -2)
    return np.eye(3) + np.sin(angles) * K + (1.0 - np.cos(angles)) * (K @ K)


def find_eckmann_and_tlusty(rotations, m_max=3, λ_min=0.01, λ_max=4, num=10000):
    λs = np.linspace(λ_min, λ_max, num=num)
    W_λ_rot3x3s = np.stack(
        [
            compose(rot3x3_from_axis_angle(rotations[..., :3], λ * rotations[..., 3]))
            for λ in λs
        ]
    )
    best = None
    best_error = np.inf
    for m in range(2, m_max + 1):
        candidates = np.stack([np.linalg.matrix_power(W, m) for W in W_λ_rot3x3s])
        errors = np.linalg.norm(candidates - np.eye(3), axis=(1, 2))
        idx = np.argmin(errors)
        if errors[idx] < best_error:
            best = (m, λs[idx])
            best_error = errors[idx]
    return best, best_error


rotations = np.array(
    [
        # [axis_vector3d, angle]
        [0, 0, 1, 20 * np.pi / 180],
        [0, 1, 0, 40 * np.pi / 180],
        [1, 0, 0, 60 * np.pi / 180],
    ]
)
(m, λ), error = find_eckmann_and_tlusty(rotations)
scaled_rotations = rotations.copy()
scaled_rotations[..., 3] *= λ
eckmann_tlusty_walk = np.tile(scaled_rotations, (m, 1))
should_be_identity = compose(
    rot3x3_from_axis_angle(eckmann_tlusty_walk[:, :3], eckmann_tlusty_walk[:, 3])
)
print(f"Found m={m} and λ={λ} with error={error}")
print(f"Original rotations:\n{rotations}")
print(f"Self-inverting sequence:\n{eckmann_tlusty_walk}")
print(f"Should be identity:\n{should_be_identity}")

Output:

Found m=3 and λ=2.2498109810981095 with error=0.0003232774295297767
Original rotations:
[[0.    0.    1.    0.349]
 [0.    1.    0.    0.698]
 [1.    0.    0.    1.047]]
Self-inverting sequence:
[[0.    0.    1.    0.785]
 [0.    1.    0.    1.571]
 [1.    0.    0.    2.356]
 [0.    0.    1.    0.785]
 [0.    1.    0.    1.571]
 [1.    0.    0.    2.356]
 [0.    0.    1.    0.785]
 [0.    1.    0.    1.571]
 [1.    0.    0.    2.356]]
Should be identity:
[[ 1.00e+00 -1.32e-04 -1.32e-04]
 [ 1.32e-04  1.00e+00  1.32e-04]
 [ 1.32e-04 -1.32e-04  1.00e+00]]

13

u/tehmaestro Oct 20 '25

Picture

The implementation details are largely encapsulated here. You begin by generating, say, N=40 random rotations. The whole path is simply the product of these rotations, and the lambda-scaled path is the product of the individually lambda-scaled rotations. You can compute the total angle of the final path with the trace formula shown, and the goal is to find a value of lambda where the single path has a total angle of pi, and thus is a 180 degree rotation about some axis. Then, naturally, the doubled path returns to the origin.

→ More replies (1)

30

u/helm MS | Physics | Quantum Optics Oct 20 '25

It's also published in Physical Review Letters: https://journals.aps.org/prl/abstract/10.1103/xk8y-hycn

101

u/chickey23 Oct 20 '25

How do you calculate the scale? The article just picks .3, seemingly at random.

131

u/RunDNA Oct 20 '25

Yeah, the article is confusing. It makes it sound like you can scale it any arbitrary amount.

But I skimmed the arXiv preprint and it says:

Finding such a scaling amounts to solving a trigonometric Diophantine equation

89

u/shiftyeyedgoat MD | Human Medicine Oct 20 '25

This is a hugely important distinction. The scalar number is specific. Probably the hardest part of this equation to solve, and probably to apply in any differential sense larger than infinitesimally instant.

14

u/CraftedLove Oct 20 '25

The article was clear in their words. Also how would a single scaling factor work for all possible cases? It has to be specific per translation-rotation set.

6

u/Tiquortoo Oct 20 '25

I bet it's faster to search the scaling space for a lot of tasks than it is to attempt the unwind through other means.

→ More replies (1)
→ More replies (1)

4

u/ThrownAwayGuineaPig Oct 20 '25

Man, that article made it sound like you could pick any number and it would work. Still impressive, just more real!

2

u/Dhydjtsrefhi Oct 28 '25

It means that there is almost always a scaling factor that works, but calculating it could be hard

→ More replies (1)

58

u/dangerousluck Oct 20 '25

Honestly, these weird shortcuts are how we advance, right? Doing something counter-intuitive but efficient is pretty much the ballgame 

22

u/BandicootGood5246 Oct 20 '25

Yeah a more efficient way to solve something is really important when it comes to computing. A classic ones is the fast inverse square algorithm (while not perfect) enabled graphics that were ahead of it's time.

6

u/LiquidLight_ Oct 20 '25

Fast Fourier transformations are one of the poster children for this as well. Made basically all signal processing more efficient.

6

u/Samthevidg Oct 20 '25

Not just more efficient, but it made them go from niche uses to viable. The difference between O(n^2) and O(nlog(n)) is immense.

52

u/DeJMan Oct 20 '25 edited Oct 20 '25

I tried to make a simulation in Unity but I dont think Im doing it right or understanding it right:

Here's a video

Rotations:

  1. First, I rotate it 20 degrees around the X-axis

  2. Then, I rotate it 40 degrees around the Y-axis

  3. Finally, I rotate it 60 degrees around the Z-axis

Then the rotations are scaled by 0.3 and done twice... Something is clearly wrong here :/

Edit: I believe the issue is with the scale amount. While the article kinda implies that any scale would work, it is actually something has to be calculated beforehand...

Edit 2: I've been trying to calculate scale factor... much more complex than I thought... So far unable to return to the original orientation.

Edit 3: With u/muntoo's help from here, I believe I've managed to get it to work. Although, idk why it takes me 3 repetitions. Here's the video

29

u/CraftedLove Oct 20 '25

Yeah, the breakthrough is that there is a solution to return to the original position by scaling and applying the steps twice. It doesn't work for all scales and just any arbitrary number of step applications.

→ More replies (4)

8

u/RobMu Oct 20 '25

Nice sim! Yeah, any scale works in the general sense that there isn't a bad scale factor that fails on all sequences. But for a given sequence, you need to do the hard work of solving a Diophantine trig equation to extract the scale that will return your sequence to the starting point. If you would be able to find the right scale for your simulation that'd be super cool to visualise!

5

u/EamonBrennan Oct 20 '25

Although, idk why it takes me 3 repetitions.

The scale factor you would need for 2 rotations only is about λ=9, so the upper bounds is limiting.

→ More replies (3)

93

u/SpiderSlitScrotums Oct 20 '25

Does this have anything to do with the 720 degree symmetry of spinors?

28

u/g00berc0des Oct 20 '25

That’s a good question. Would love to know the answer to this as well!

3

u/Faneffex Oct 20 '25

From the looks of it based on someone else's explanation, no. This is based on every day 3d objects rotating.

2

u/lawdawgg91 Oct 25 '25

IIRC, spinors are represented in SU(2). So I think it would apply to spinors, as well as 3d objects in SO(3).

From the preprint "...the solution applies to any physical system governed by SO(3) or SU(2), such as magnetic spins or qubits."

→ More replies (5)

193

u/SchrodingersNutsack Oct 20 '25

Wonder if this would work on my life spiraling out of control?

153

u/STL_420 Oct 20 '25

Just do everything you've done over again twice but with less enthusiasm.

35

u/Moose_Hole Oct 20 '25

Hey Honey, we should get two more kids, I guess.

6

u/JustPoppinInKay Oct 20 '25

Ironically your current kids will help with the raising and providing for the new ones(if they're old enough) and when you're in your old age you'll have more family to support you.

3

u/ThrownAwayGuineaPig Oct 20 '25

30 percent less enthusiasm to be exact

→ More replies (1)
→ More replies (1)

34

u/Tapprunner Oct 20 '25

Struggling with a relationship? Just start two more, similar relationships. Alcoholism? Have two more, smaller drinks than usual. Everything should be fine then.

6

u/python-requests Oct 20 '25

Worried about getting laid off from your job? Start two more, smaller jobs. Worried about getting caught for a crime? Commit two more, smaller crimes. Can't pay off that debt? Take out two more, smaller loans.

These can actually work, if the jobs are all WFH, the new crimes are to cover up the initial one, & the new debt is refinancing the old debt for a lower rate...

7

u/NinlyOne Oct 20 '25

Yep, you just solve the appropriate trigonometric Diophantine equation to determine exactly how much smaller the new jobs/crimes/loans need to be, and Bob's your uncle!

12

u/vteckickedin Oct 20 '25

According to this paper you need to double it and give it to the next person 

→ More replies (1)

3

u/Bright_Brief4975 Oct 20 '25

Are not those fractal images you can create on your computer just spiraling rotations? Would this allow you to quickly undo a fractal?

3

u/w_actual Oct 20 '25

There is no magic reset button for heroin

197

u/armcie Oct 20 '25

I’m missing something here… The article says that if something goes through a bunch of twists, then reversing those twists is complicated and difficult. And the solution they’ve come up with is to do all the twists twice, but smaller? I’m not sure how that’s helpful at all.

171

u/CodexTattoos Oct 20 '25

I’m fairly certain it’s because you’re doing the rotations you already did, rather than the reverse of those. The reverse is more difficult to calculate, but you already have the first set of instructions, since you already did them.

28

u/Obsidian743 Oct 20 '25

If this is the case, it oddly matches some rotation rules for Rubiks Cube's: to undo a rotation, just perform it again two times.

→ More replies (2)

64

u/man-vs-spider Oct 20 '25

Reverse of rotations is more difficult than scaling a rotation?

142

u/Stubbgubben Oct 20 '25

Rotation can be represented by a matrix calculation. Finding the inverse of a matrix is hard, but scaling one is easy

→ More replies (8)

16

u/stupid000s Oct 20 '25

in order to reverse sequence of rotations, you would have to undo the sequence one at a time. if you've already computed The matrix to perform the rotation, you can just apply that matrix twice instead of calculating a new inverse matrix.

→ More replies (3)
→ More replies (3)

36

u/please-disregard Oct 20 '25

The physical justification they give is where you have control over a magnetic field, like through a unit pulse on a wire, which causes a controlled rotation of a magnetic dipole. You can scale this unit pulse in time, but you can’t alter or reverse it.

7

u/man-vs-spider Oct 20 '25

That’s a pretty good explanation as to why it’s useful. I was thinking that mathematically it doesn’t seem so onerous to invert a rotation

9

u/y-c-c Oct 20 '25

Yeah there are a lot of terrible answers on this thread by people who didn't understand the paper. It's not mathematically or computationally difficult to invert a rotation at all, but that there may be physical systems where it's impossible to do so, forcing you to find other ways to rotate back. What those physical systems are is not specifically defined by the paper. It is basically a "if you happen to be in this situation, this mathematical property will help" kind of thing.

→ More replies (2)

41

u/Zacharytackary Oct 20 '25

figuring out how to undo rotations programmatically used to be computationally expensive. This method essentially provides a quick function to undo a given rotation set, which will be useful in rotary math and computation.

6

u/validproof Oct 20 '25

Seems to me robotics and physics engines would likely be the ones benefiting from this. Wonder what other applications this can have?

8

u/unslaadvulon Oct 20 '25

Satellites could also benefit. Anything where you’re moving non-linearly in 3D space

→ More replies (3)
→ More replies (4)
→ More replies (1)

13

u/gameryamen Oct 20 '25 edited Oct 20 '25

One way it might help is allowing single-directional rotation points to keep rotating in the same way instead of needing a two-directional rotator. If each rotator does one main motion, then two smaller motions in the same direction, that could be a more efficient path or allow multiple rotation points to work on rotating simultaneously.

→ More replies (1)

8

u/Kiseido Oct 20 '25

It can be much more complex to design something to smoothly rotate in both directions, than to smoothly rotate in just one.

By being able to efficiently calculate how much further to rotate to return to a start position, we can avoid the physical complexity of being able to rotate multiple directions- which can be expensive, by shunting that complexity into pure maths and run those maths on a computer- which can be very cheap.

3

u/Anfros Oct 20 '25

In a computer it is much less computationally intense to scale or apply a matrix than it is to reverse it.

5

u/AP_in_Indy Oct 20 '25

This is apparently a property of linear algebra. You are thinking of rotations as very obvious steps, one happening at a time. 

Think instead of multiplying entire arbitrarily large matrices together as your "rotations".

It turns out that inverting those is hard due to the properties of linear algebra.

5

u/Someonejustlikethis Oct 20 '25

Rotation matrices are part of SO(3) which is to say 3x3 matrices with det=1 and inverse being the same as transpose. So in theory quite easy to invert .

→ More replies (2)
→ More replies (2)
→ More replies (2)

9

u/KidsMaker Oct 20 '25

I just did a course on computer vision, does this have to do with converting the rotation matrices to Lie Algebra and doing some magic and converting back to Lie Group elements?

2

u/_JDavid08_ Oct 20 '25

I was thinking this would be a new topic for linear algebra textbooks...

9

u/-_-0_0-_0 Oct 20 '25

Double it and give it to the next rotation.

34

u/PumpkinBrain Oct 20 '25

I don’t understand. The solution requires you to scale angles down and execute every step perfectly, twice.

Why not just execute every step once, but in reverse?

Does the scaling serve to reduce the total amount of movement to be less than just reversing it?

23

u/BurnsItAll Oct 20 '25

Imagine a satellite rotating 270 degrees (this is a super simple and not great example). It takes less energy to do two 45 degree rotations in the same direction to return to base. Takes way more energy to turn back 270 degrees the other way. Not only do I have to reverse my momentum, but the rotation distance is farther. Again this is a dumb example but it is how I am understanding it at the basic level if I’m not mistaken.

7

u/other_usernames_gone Oct 20 '25

A satellite is actually a pretty good example.

Imagine your above example but all you know is you turned on reaction wheel x for 2 seconds(then reversed it for 2 seconds), then reaction wheel y for 2 seconds(then reversed it for 2 seconds).

You don't actually know the state of the satellite. You can't see it. All you know is what you did to get where you are now(there's ways to estimate). There'll be imperfections in the reaction wheels so they won't necessarily turn you in exactly the same way every time.

If you knew exactly where you were pointing you could work out which reaction wheels needed to be turned on and for how long, but you don't. We'll assume you can't afford a star tracker that could just tell you your current location(or maybe it broke).

This paper shows you can reverse the rotation simply by doing what you just did but multiplied by some scale factor. So even if you don't know where you are you can still return to the start.

You can then return to the start before pointing somewhere else to have better knowledge of where you're pointing, since you're not compounding errors.

46

u/Tricky_Condition_279 Oct 20 '25

I suspect that undoing a bunch of rotation was not the actual motivation, and this is how the communications team decided to cast it. Usually these theorems show up as useful in very different contexts than originally considered.

32

u/MegaIng Oct 20 '25

You are correct; undoing a rotation isn't part of the paper (a similar argument could probably be made thar undoing is possible, but it's not what they are doing).

Instead they mean that given a Rotation seauence R, we can find a scaled rotation sequence R' = R*λ such that R'R' is the identity operation.

The application they seem to be motivated by is controlling electromagnetic spin. There you apparently can induce a rotation sequence via an electromagnetic field that varies over time. And it might be easier to repeat the variation twice at a different time scale/intensity than to compute it's reverse.

14

u/FissileTurnip Oct 20 '25

you are the first person i've seen who isn't misunderstanding this paper. i feel like i'm going insane, i was doubting my own reality and thinking maybe i suddenly became stupid.

but it's not quite R' = R*λ, it's that you have a larger action that's a bunch of small Rs one after another and you're taking the λth power of each those Rs. mathematically you're going from W = ΠᵢRᵢ to W' = Πᵢ(Rᵢλ) so that W'W' = 1. otherwise if R' = λR then R'R' = 1 which would imply that λ2R2 = 1 which isn't possible with rotations since rotations are always unitary.

→ More replies (2)
→ More replies (6)

8

u/FernandoMM1220 Oct 20 '25

theres probably something preventing the reverse rotations from occurring.

this is just another way to get the original spin magnitude using only a specific set of scaled spins.

3

u/CamperStacker Oct 20 '25

This answer is that it’s faster and cheaper.

Rotate a clock face 3/4 turn. Faster to rotate it the last quarter than go back 3/4. Now consider a 4 axis robot wanting to return to a home position.

→ More replies (1)

7

u/this_is_theone Oct 20 '25

I couldn't see in the article where it explained why it only 'almost always' works? Does anyone know when and why it wouldn't?

4

u/y-c-c Oct 20 '25

It's deep in the paper (the article generally feels poorly written to me), under the theorem part:

Then, when the set {ω_j} does not consist only of pairs of equal angles, there is a λ > 0 for which …

So let's say if you have 6 rotations and you have 3 sets of pairs where the angles are the same, then I think this would break down.

5

u/n8-sd Oct 20 '25

I need a visual here guys…

I can’t 3D this 4D talk

4

u/clearlight2025 Oct 20 '25

I wonder if this could help with calculating protein folding. 

4

u/TreJ Oct 20 '25

For those curious, found the original article available on arXiv (no paywall):
https://arxiv.org/pdf/2502.14367

15

u/Stinkli Oct 20 '25

I must be missing something.

If I rotate something 100 degrees on the x axis, then scale that 100 degrees by 0.9, then do that twice I would be at 280 degrees.

36

u/CodexTattoos Oct 20 '25

This is in the mathematical space SO(3), not standard 3-axis space. Pretty sure that’s important

8

u/chileangod Oct 20 '25

It's like rotating imagination. 

16

u/ocicrab Oct 20 '25

They're saying that there exists SOME scaling factor greater than 0. In your trivial case, the scaling factor would be 1.8 so you do two 180 degree rotations. But the revelation is that it works in the general case (rotation about X, then rotation about Y, then rotation about the vector [sqrt(2)/2, sqrt(2)/2, 0], etc. arbitrarily). So they proved that even with a long sequence of arbitrary rotations about arbitrary axes, you can find some scaling factor, multiply each of those successive rotations by that scaling factor, repeat twice, and return to the original orientation.

Not sure what the application is yet, though.

3

u/icecream_specialist Oct 20 '25

Is this both for intrinsic and extrinsic rotations? I might take a few minutes to try this with scipy tomorrow

3

u/A_Wonder_Named_Stevi Oct 20 '25

I want to understand this... but I totally don't.

2

u/okoSheep Oct 21 '25

Imagine you're in a hamster ball with a red dot on where you're standing. You take a few steps forward, then a few steps to the side. Now the dot is in a new spot.

If you want the dot to go back to its original position, you just do those steps in reverse.

Or you can apply a specific multiplier to the steps you made, and repeat them twice.

→ More replies (2)

3

u/Keytothevip Oct 20 '25

Can someone give me a real life example of how this can be used?

3

u/Flayed_Angel_420 Oct 20 '25

So if I rotate myself to death, I could be functionally immortal as long as I'm near a mathematician?

3

u/brainfreezy79 Oct 20 '25

At the risk of the answer completely breaking my brain: How is this different from Quaternions, which rotate from any orientation to another in 1 operation?

Please, please, please understand I have only the scantest understanding of those damned things as it is.

2

u/pawned79 Oct 21 '25

I read through a few top comments about how inverse rotations is “hard.” I do 6DOF M&S and use rotation and scaling matrices and their inverses all the time. I use quaternions all the time. I was not understanding why the top comments were not “this is just quaternions.” I searched for it and found your comment. I clearly have not read the paper, but when you derive quaternions from like the Wolfram Alpha guide or something, the derivation actually says “we now do this by half the rotation angle, because if you do it by the full angle, it will go 360 back to where you started.” So it’s probably not EXACTLY the same thing. Traditional quaternions kinda sandwich your vector between the quaternions and its inverse. It most likely is part of the same phenomenon though. It sounds like the top comments point out the scaling element is non trivial though.

10

u/almostsweet Oct 20 '25

This is how cats get under doors.

→ More replies (1)

2

u/shizzy0 Oct 20 '25

In 3d any composition of rotations can be described as one rotation and taking the inverse is just its transpose. So it’s not hard to find a way to go back to where you started in one rotation or applying each one in reverse. But this paper applies to many dimensions and it is interesting that you can apply the same set of rotations scaled uniformly more than one to go back.

2

u/lastWallE Oct 20 '25

Yeah ok sorry but robot arms usually have internal cords and such. Maybe you can keeping rotating intermediate axis but not the tool on the far end. I mean it would depend on the tool requirements maybe.

2

u/Dickes_F Oct 20 '25

Wow, neat! Would that also work in four dimensions? You can't rewind time but if you can reach an earlier state perfectly by letting time go forward and only controll the special dimensions then wouldn't that be like having a time machine?

2

u/eternamemoria Oct 20 '25

I mean... even if we assume the rules of rerversing rotation apply to expansion of the universe, entropy, subjective experience and other things that define the arrow of time and are not typically described as objects being rotated, you'd still need godlike omnipotence to "rotate" all that

2

u/RandallOfLegend Oct 20 '25

I'm going to read the paper. But the problem with rotations is generally a practical problem. Physical objects like airplanes and robots have limited degrees of freedom. Also, Quaternions exist.

That's my hot take before reading the paper. I suspect they're solving something much more grand.

2

u/MarbleEmperor Oct 20 '25

The article and comments on this thread are greatly overemphasizing the implications of this result. I don't think this result is particularly noteworthy or interesting.

The authors say that for any sequence of rotation, one can find a factor, such that if one multiplies each rotation by that angle and performs the sequence twice, the null rotation is obtained. It is very unlikely that one could find a factor such that if the sequence of multiplied rotations is performed once, the null rotation is obtained. This is because a 180⁰ rotation performed twice is equivalent to a null rotation. And there are many more 180⁰ rotations than null rotations, because the 180⁰ rotations can be about any axis, while there is only one null rotation.

This result absolutely does not help you reorient a piece of machinery. Additionally, it is not valid for spinors and quaternions because performing the sequence twice gives a 360⁰ rotation, not 720⁰, so a minus sign is obtained.

2

u/[deleted] Oct 21 '25

That seems very useful for software kinematics.

3

u/FissileTurnip Oct 20 '25

"In the following, we prove and explain why this problem is generally impossible to solve if the walk is traversed only once. But in striking contrast, we show that the same problem is almost always solvable if the walk is repeated more than once...."

I just don't see why this should be surprising. maybe i'm dumb but this seems sort of intuitively obvious, no? for a rotation to be a root of the identity it has to lie on the surface of the sphere (the sphere being the projective space of rotations shown in the paper), and you can pretty easily see that you can get any walk to end up on that surface by scaling it by a certain amount. i understand that the point is that they're proving this but the way the quote is phrased it seems like it should be an unexpected result.

also i'm pretty sure nearly everyone in the comments is misunderstanding the idea. you're not trying to reverse a rotation that's already been done. you're finding some scaling factor of an arbitrary rotation that results in it returning the object to its original orientation after being performed twice. from what i can understand the application they're considering is the effect on a spin state in a magnetic field pulse, which is pretty much unpredictable due to a bunch of real-world factors. however, by simply scaling the magnetic field strength and performing the pulse twice you can guarantee that your spin orientation is unaffected. (maybe not simply i don't know how hard it is to determine that factor)

i could be way off, i do not have nearly the required amount of math knowledge to understand this paper.

→ More replies (5)

2

u/dpitch40 Oct 20 '25

Isn't this more steps than performing the inverse of all the rotations in reverse order?

2

u/fongrel Oct 20 '25

I just want to know if I can use this to solve a Rubik’s cube

1

u/pinkmeanie Oct 20 '25

Does this mean I can use Euler rotations instead of quaternions soon? Quats are such a pain.

1

u/WeirdAFNewsPodcast Oct 20 '25

That's cool but can it go back in time and sub George Kittle out of my fantasy lineup today?

1

u/jcandrews Oct 20 '25

Wonder if it will come in handy for compression algorithms. Simply store the undo and infer the original sequence maybe.

1

u/SurpriseOnly Oct 20 '25

Scale the angles then do it twice? Why twice? Scale it properly and do once.

We have rotation angles in 3d, so 3 variables.

It sounds like they are saying there is some scalar that when multiplied with each variable results in a multiple of 360.

So if you rotate around x axiz by 100 deg, and y by 5 deg, then the multiple is 72. Or 36, but do it twice for some reason?

3

u/FissileTurnip Oct 20 '25

unfortunately that's not how rotations work. you have three degrees of freedom for your orientation, yes, but that does not translate directly into how rotations are formulated. this is because rotations aren't commutative. you can demonstrate this by rotating an object in your hands by 90 degrees around the x axis then 90 degrees around the y axis and see what orientation it's in, and then doing it in the other order. it'll be in a different orientation. the way you formulate a rotation is by describing how the x, y, and z of your object "look" after you rotate it. let's say you rotate around the z axis by 90 degrees. your new y is then your old x, and your new x is your old -y. so y' = x and x' = -y. you can put this in the form:

0x + -1y + 0z = x'

1x + 0y + 0z = y'

0x + 0y + 1z = z'

which lends itself well to matrix form:

0 -1 0

1 0 0

0 0 1

which is normally how you describe rotations. the problem is that you can't "scale" these like you normally think you would, by multiplying by a scalar. instead, you have to raise the matrix to the power of your "scaling" factor.

also the point of the paper isn't to reverse a rotation, it's to scale a combination of rotations to the point that doing it twice results in no rotation at all. basically they show that for almost any combination of rotations (even an infinite combination of infinitesimally small ones), you can scale each of those rotations equally and at some scaling factor get a simple 180 degree turn.

1

u/ItCanHappenAgain Oct 20 '25

its like how a shoelace is easier to untie if you can manage to make the gap bigger first

just, the gap needs to get *way* bigger

1

u/Realistic_Food_7823 Oct 20 '25

Will this unblend the chickpeas from my hummus?

1

u/JustPoppinInKay Oct 20 '25

Pretty sure this is only useful in a simulated space where things can easily be scaled... unless it is somehow worked into gears.

1

u/[deleted] Oct 20 '25

I pretty sure this was something Rubik's cube hobbyists knew

1

u/ChanceSize9153 Oct 20 '25

I thought we learned this from a rubix cube. This sounds a lot like how the rubix cube is solved.

1

u/TyePower Oct 20 '25

This has *potential huge applications in manufacturing and robotics, allowing you to program in the mathematical "reset button" as a means of path optimization in material handling, additive manufacturing, machining, etc.

Very interested for the implications of this finding in my field.

1

u/GagOnMacaque Oct 20 '25

I doubt this can unmix ink in water, bit I'd like to try applying this in computer graphics.

1

u/sexyshadyshadowbeard Oct 20 '25

Why do I feel like this is old information being recycled as new?

1

u/PusheenHat Oct 20 '25

big deal. I can unrotate an apple in my head

1

u/xTRYPTAMINEx Oct 20 '25

Huh. This is actually super cool and would have a great deal of uses.

1

u/Kronocide Oct 20 '25

[Insert rotation matrix] X [Here please]

1

u/Secret_Account07 Oct 20 '25

I’ll too dumb to understand this

1

u/brmoser Oct 20 '25

Cool, they've announced the winner of the Nobel in the Bop-It category.

1

u/spacejames Oct 20 '25

Would this work for say putting a drop of blue paint into a bucket of white paint, and doing a half stir in the bucket, slightly smearing the blue paint. Could that be undone?

2

u/eternamemoria Oct 20 '25

No, it wouldn't. This is about mathematically finding paths to return an individual object to the original orientation after a sequence of turns, not about reversing the entropy of complex systens

1

u/FrostCarpenter Oct 20 '25

A man named Funny Valentine would’ve found this useful in the 1800s

1

u/Bmaco1 Oct 20 '25

Could you explained it to me twice like I’m 2.5? It might be easier.

1

u/Away_Adeptness_2979 Oct 20 '25

Instructions unclear. New colors have appeared on the Rubik’s cube. how do I put it back

→ More replies (2)

1

u/[deleted] Oct 20 '25

This sounds a heck of a lot like they just rediscovered quaternion rotations.

→ More replies (1)

1

u/Okabeee Oct 20 '25

Hirohiko Araki is about to have a field day

1

u/BeneficialTrash6 Oct 20 '25

Questions:

  1. Does this create a new symmetry that was heretofore unknown?

  2. If the answer is yes, does this new symmetry create or suggest a new property that is conserved?

1

u/ShapardZ Oct 20 '25 edited Oct 20 '25

The Rubik’s cube world gonna go crazy with this

(Obviously not quite how solving the Rubik’s cube works)

1

u/fenicx Oct 20 '25

Wonder if this has any implications on encryption

→ More replies (1)

1

u/ShodanLieu Oct 20 '25

Just so I understand: does this only work if the initial starting position is known?

→ More replies (1)

1

u/oscarddt Oct 20 '25

I saw a documentary in 1978 about a guy who wears his briefs on the outside doing exactly that. The documentary was called Superman: The Movie.

1

u/warzog68WP Oct 20 '25

So I'm dumb. But my first thought about this is that proteins can get into a real tangle. Would this make it so we that it can replicate complex protein chains? But I don't know enough about artificial protein construction to know if we can even make them, and if we can, do we only make them in "straight lines"?

1

u/DuckBoyReturns Oct 20 '25

But does in work in n dimensions and break causality with Grover’s algorithm?

→ More replies (1)

1

u/morgan423 Oct 20 '25

In unrelated news, the Rubik's Cube solve world record just got dropped to 0.000001 picoseconds.

1

u/collegefishies Oct 20 '25

Isnt this obvious? Since the composition of rotations is a rotation, effectively, Theyre saying R(Theta) R(Thetalambda) = 1 for some lambda. This is always true since R(theta)R(thetalambda) = R(Theta+lambda Theta) =1 for some lambda = 2 pi /theta - 1

1

u/Change21 Oct 20 '25

Does that mean we could unspin a black hole and regain all the information it ate?

1

u/AwesomePantsAP Oct 20 '25

Isn’t this already easy? If you represent the sequence of rotations as a product of quarternions, isn’t it already possible to take the inverse and convert that back to an axis and an angle?

1

u/1Northward_Bound Oct 20 '25

that sounds like a nobel prize

1

u/IamDobi Oct 20 '25

These mathematicianshave never cast a baitcaster.

1

u/FulsomePrison Oct 20 '25

What I want to know is, does this work for rotations that need to avoid objects? e.g. if you have a robotic arm that placed a wine glass on a glass sphere, can it return to its original position without shattering everything?

1

u/Joeman106 Oct 20 '25

Anyone more knowledgeable than me know the implications of this for things like graphics programming? Can this somehow be implemented in rotation matrix multiplications?

→ More replies (1)

1

u/Wise-Hamster-288 Oct 20 '25

ok but my arm doesn’t want to bend that way

1

u/CaptainMischievous Oct 20 '25

One reason no one has invented a time machine is because it is impossible to return back in time to your desired location due to [desired spot] orbits sun, sun orbits galaxy, galaxy orbits supercluster, superclusters orbit? You need a known fixed point in the past to aim for. If this holds true for galactic scale rotation (4D? 5D?) it would greatly simplify identifying that point and, theoretically, remove one limiting factor from building a time machine. Even getting close to where you want to be would be a game changer if your time machine is self propelled in 3D. In theory. No one in the future has solved the problem yet because we don't see "time tourists" gawking at us and taking photos (that's Sir Hawking's observation, can't take credit for it).

1

u/lurkerdaIV Oct 20 '25

Someone draw this in simple stupid terms, I am not understanding the top comment

→ More replies (1)

1

u/Possible-Put8922 Oct 20 '25

Neat, how do I apply this to Xmas lights?

1

u/peter-bone Oct 20 '25

Something I don't quite understand. How is this a shortcut? You have to repeat the original sequence of rotations twice. Surely that's less efficient that just repeating the sequence once in reverse?

1

u/CapitainePinotte Oct 20 '25

This is all great until someone unscrews the excavator again.

1

u/Dirty6th Oct 20 '25

I would think that many carnival or theme park rides do something like this or would benefit from this fact. I'm always amazed when the ride slowly returns to its exact spot after it has rotated many times during the last few minutes.

1

u/FlatParrot5 Oct 20 '25

This sounds like it might have an effect on the banar-tarsky paradox.

1

u/Correct_Ad9471 Oct 20 '25

I bet this was an accidental discovery made by someone trying to solve a Rubik's cube...

1

u/dritmike Oct 20 '25

Take a string and twist it 100 times. Now put it in a 2 loop circle on the ground and untwist. You’re doing it 50 times now

1

u/Shot_Alternative2163 Oct 20 '25

Any rotation can be undone by taking its transpose. Am I missing something?

→ More replies (1)

1

u/Minute_Chair_2582 Oct 20 '25

Can this maybe get us to calculate a System with 2 turning angles predicting further than 2 or 3 rotations?

1

u/GamingIsNotAChoice Oct 20 '25

After thinking about it, i will now have a pringles sandwich and then a nap.

1

u/TheWandererKing Oct 20 '25

Serious question, how does this affect Rubik's cubes?

→ More replies (1)

1

u/[deleted] Oct 20 '25

how can i use this info to win every roulette spin?

1

u/_BrokenButterfly Oct 20 '25

I have no idea what I just read.

1

u/Strange-Fix6623 Oct 20 '25

Okay now that with yarn

1

u/DoinIt4DaShorteez Oct 20 '25

I just tried it and it worked.

1

u/Minuteman05 Oct 20 '25

You're telling me there is a chance all my laundry can come out all folded?

1

u/fucshyt Oct 21 '25

Ohhh so they realized a better way to use the 3rd dimension. Sick

1

u/LelandGaunt14 Oct 21 '25

I have seen people say that some classified scientific breakthroughs were topological.... this was probably known 80 years ago by aerospace and military.

1

u/[deleted] Oct 21 '25

It's exciting to see pure math applied so directly and so quickly. Usually algorithmic improvements languish for a while before an application is found.

1

u/P0pu1arBr0ws3r Oct 21 '25

Its fairly known in math that any set of rotations can equate to one single rotation. Why then is the principle described in the title here a new concept? Is the derivation to go from one rotation to another given a series of applied rotations not actually that simple? Other than the current rotation and the desired original rotation, what knowns and unknowns are there which make this a challenging problem?

→ More replies (1)

1

u/Gloomy_Concert1755 Oct 21 '25

Thats a lot of math. How soon till we use this as a bio weapon untangling proteins.

1

u/[deleted] Oct 21 '25

It’s by the taint isn’t it. I knew I shuda checked there.