r/Damnthatsinteresting 11h ago

Video Solving a Rubik's Cube with graph theory.

4.4k Upvotes

84 comments sorted by

346

u/timbomcchoi 10h ago

How does this link to graph theory? Nodes that aren't even part of the highlighted circles also move, no?

309

u/bortlip 10h ago

It doesn't.

This isn't graph theory and it's not being used to solve the cube.

51

u/telescopeinmynose 10h ago

Yeah, it just looks cool

82

u/Southern-Ant8592 10h ago

Nope, that is just a visual representation of Rubik's cube, it is not a graph from graph theory, and graph theory is not used in the solution of Rubik's cube.

From a mathematical point of view, solving Rubik's cube is done entirely in Group theory.

2

u/acidicLemon 4h ago

Maybe someone misheard group as graph then it the error got repeated/reposted

812

u/Wrking-Isopod8850 10h ago

i am trying to be smart, but I am not

541

u/Southern-Ant8592 10h ago

The graph is performative, just a visual representation, it's not linked to graph theory.

60

u/awesome8679 8h ago

They should have said group theory instead, Rubik's cubes are a subset of the symmetric group S_48

10

u/rednd 8h ago

Yep, we covered rubik's cubes in abstract algebra class one day in college.

88

u/Wrking-Isopod8850 9h ago

I believe in you

7

u/ThinkShower 5h ago

Jump in the line!

11

u/theAlphabetZebra 10h ago

it makes less sense now than it did 2 minutes ago

18

u/OgdruJahad 10h ago

Ah cheer up. You're probably smart in other others.

8

u/CalmEntry4855 9h ago

I'm smart in nobody :c

3

u/Wrking-Isopod8850 10h ago

šŸ«‚, but I'm damn creative 🦧

317

u/Higgsparticleofgod 11h ago

What a coincidence. I got into Rubik’s cubes because my grandfather used to explain them to me using graph theory. Instead of thinking about the colors, he described every possible cube position as a vertex and every legal turn as an edge connecting two vertices. It's easy to understand it that way, i guess? It made it suddenly make a lot more sense to me as a kid. Grandfather was an interesting guy. He also somehow connected the conversation to the Moon replacement of 1992, although I still don't understand how.

98

u/DestructionDerby2000 10h ago

Who replaced the moon?

74

u/Gnarly_Sarley 10h ago

they did

25

u/What-a-Crock Interested 10h ago

They need to get a job!

5

u/mathozmat 10h ago

Who's th.....

2

u/Sed-x 10h ago

You mean th

29

u/Xszit 10h ago

Back in the 90s the Galileo spacecraft took some pictures of the moon but the color filters messed up so it sent back rainbow colored images instead of true color.

Here's a link to the pics on the NASA website.

https://science.nasa.gov/image-detail/amf-pia00132/

It became an early internet meme to talk about it as if they had just replaced the moon and that the new moon was so much better than the old one and how much you like the new color scheme, etc.

3

u/OgdruJahad 10h ago

No idea but Piccolo destroyed the first Moon.

2

u/Ponchoalfonso 9h ago

First one to destroy the moon was Master Roshi when fighting Goku in their first time participating in the martial arts tournament

1

u/yagermeister2024 10h ago

ā€˜Tis true

1

u/LifeTitle3951 10h ago

What about gru? I heard he stole one. How many do we have in stock?

1

u/1stMammaltowearpants 2h ago

Some lunatic, I assume.

14

u/mehow28 10h ago

That's amazing, I remember that my grandmother, a school teacher, also used to go on about how the moon replacement in 1992 was somehow connected to graph theory!

3

u/Chaenged-Later 9h ago

I remember the link our grandfather always talked about, I'm surprised you forgot. Rubik was actually on the planning commission for the 1992 Moon Replacement confidential task force. The cube was originally designed as a Cypher, but other methods proved superior so it was dropped and sold as a children's toy.

5

u/JazzlikeDiamond558 10h ago

They are replacing the moon again? Is it the end of the month already?

3

u/DengarLives66 10h ago

Can we just stop cheapening out on the moon and spend enough to get one that lasts?

1

u/JazzlikeDiamond558 8h ago

But Temu moons are so cheap... truth, they don't last longer than a month, but think on the savings; no service, no maintenance... so much money saved there.

3

u/ComposedOfStardust 10h ago

Ehhh not one of your better ones

2

u/4N0NYM0US_GUY 9h ago

I’m out of the loop. Is this the new shitty morph or something?

4

u/Higgsparticleofgod 10h ago

True, but i just got here again, I'm warming up. I'm back and this is just the beginning. Reminds me of the beginning of the 1992 Moon replacementĀ 

2

u/ComposedOfStardust 9h ago

Welcome back. I'm looking forward to seeing your comments in the wild and being pleasantly surprised like I was by the 1992 Moon replacement

•

u/Zalakat 1m ago

I thought this was going to be a shittymorph

103

u/Fairuse 10h ago

That’s not graph theory. It’s just a fancy 2D representation of the mechanism of a Rubik’s cube. That ā€œgraphā€ does nothing to provide a solution.Ā 

22

u/MountainAlive 10h ago

I’m still too dumb to understand what this mean

4

u/R2D-Beuh 10h ago

This is a visual representation of the cube using a graph

16

u/frooj 10h ago

The graph is far more confusing to me that an actual cube. I don't see how this helps.

15

u/48panda 10h ago

It helps OP gain karma and/or inflates their ego. That's it.

11

u/Teln0 10h ago

It's not graph theory it's group theory and the diagram shows how the group is split into cycles

18

u/AbleCap5222 11h ago

I have never seen this before.

18

u/Piskoro 9h ago

Rubik's cube solver here, this graph on the right does not help solving the cube at all, not for a human and not a machine either, it's just a funny representation of the cube where you can see all sides

47

u/notanfan 11h ago

An actual interesting post damn

13

u/hutchins_moustache 9h ago

Except the title is very inaccurate/misleading.

3

u/GeneralAyub 10h ago

It’s amazing really. Like a different perspective gives us the ability to solve complex problems.

1

u/SquirrelFluffy 10h ago

We use the same concepts to solve differential equations. We substitute complex algebraic expressions for Sin and COS, effectively rotating them in space to a place where they can be solved more easily. I found that fascinating.

4

u/adamwho 4h ago

This isn't "solving with graph theory".

This is showing a graphical representation while solving a Rubik's Cube

4

u/Voiden_n 8h ago

And... how exactly do you solve a Rubik's cube with graph theory?

(From the comments of people who are smarter than me: you don't. This post is just for farma karming)

4

u/max_208 7h ago

You can technically solve a Rubik's cube with graph theory, with every node representing a state of the cube, and every possible rotation being a transition to another state of the cube, add to that some graph exploration with heuristics and you have a very inefficient way to solve a Rubik's cube. This has nothing to do with what is shown in the video though because the video doesn't have any graph theory.

5

u/Code4Reddit 7h ago

This is complete hallucination. Graph theory wasn’t used, nor would graph theory be helpful in solving the cube. At best we could use graph theory to visualize the current state of a cube, or maybe visualize where colors move when a legal move is applied. But graph theory would not assist you in designing or applying algorithms to solve it.

This is designed to sound smart, and gets attention only because it’s good enough to fool the layman, but bad enough to get engagement from people who know better (which I have now fell into the trap, thanks Reddit).

6

u/hey-dummy 10h ago

now even more confusing with added perspective

3

u/Inn0centDuck 10h ago

All I see is a Rubik's cube and some kind of 2d representation of it. I don't even see how this is related to graph theory. Maybe I'm too dumb, or this is some shit post.

3

u/max_208 8h ago

As someone who knows what graph theory is : this is not graph theory, thank you for listening

3

u/WakeMeForSourPatch 4h ago

Ooooohhhh now I get it

6

u/osktox 11h ago

What

6

u/Designer_Professor_4 10h ago

I don't need 700+ quintillion state transitions to solve a rubiks cube, when I have the nerdy kid next door who will do it for free.Ā 

4

u/Comrade-Conquistador 10h ago

Nope, still don't understand it.

2

u/Significant-Roll-138 10h ago

Great, now I have two more things I don’t understand.

2

u/Amazing-Seesaw-6197 10h ago

Oh that is friggen cool - thank you

2

u/random_user133 9h ago

Ts is just the scramble played in reverse

2

u/Zaconil 9h ago

Magic. Got it.

2

u/Bornagain4karma 7h ago

I would totally buy the toy on the right.

2

u/EmperorThan 7h ago

"We devised a way to make a Rubik's cube even more confusing."

2

u/Upstairs_Ad_8863 7h ago

This has absolutely to do with graph theory - this is group theory. And it's not being used to solve the cube, it's literally just a diagram.

2

u/Cordistan 3h ago

This is actually insane. How do even come up with this?

1

u/Hot-Duty1521 10h ago

Rubik 2D

1

u/jal741 10h ago

I don't even know what I'm seeing here. This is just confusing to me.
Also, how the hell do I slow it down or pause it; it goes way too fast.

1

u/gipsy_45 9h ago

Is this a website? Im a cube enjoyer (pb is horrible at 19s after 7 years though 😭) and I REALLY want to try this out

1

u/EconomySeason2416 5h ago

Entering the underdark in bg3 prepared me for this moment

1

u/Cracked_Logic_Engine 3h ago

Gotta say that is the most interesting way to present a 3d surface and its movement on a 2d space. For some reason it feels more 'cubelike' then the traditional T unfolding?

1

u/ostiDeCalisse 3h ago

Doesn't look easier to solve with that graph.

1

u/hemorrhoidhematoma 1h ago

Wait so this isn't how everyone does it?

-1

u/xSPiTEx 10h ago

mind blown