Lights Out - A Different Angle for Linear Algebra #some3
17K views · Aug 18, 2023 · Education
Comments · 21
@jb31842 · 3 years ago (edited)
I remember looking at the Lights Out puzzle in the years after it came out. One of the group theory classes I had taken used the term "nontrivial stabilizer" for what you demonstrated at the end (sequences of button presses other than "do nothing" which nevertheless had no net effect on the light state), which implied that there are boards that are impossible. This was because reachability of the all-off state by a sequence of moves was an equivalence class, and somehow the nontrivial stabilizers were how you proved that there were multiple equivalence classes.<br><br>So just by picking a pattern of lights by hand (which the original toy allowed you to do) you could come up with something unsolvable, which the box or manual did warn you about. I guess that's the moral equivalent of repasting the stickers on a Rubik's Cube to make something unsolvable! 😉
17
@DeathSugar · 3 years ago
and here we are intervening linear algebra , polynomials , group theory. I thought it's gonna be about hyperreals
4
@scrungozeclown836 · 3 years ago
Can i recommend adding subtitles, or reposting with higher volume? I (and plenty of others who might want to see this) have hearing issues, and it would make it easier to enjoy if i knew what you were saying 😅
64
@mattgsm · 3 years ago
Heres a weird thing: create a (2^n)-1 by (2^n)-1 board. Go down starting from the second row turning off the lights above that row. Do the next row etc. There will be some lights left on at the bottom since theres no row beneath. Those lights that are on, do that pattern on the top row and repeat this. This will always solve the game.<br><br>This is my strategy for almost all nxn boards bjt instead I memorise what pattern to do onto the top row such that it'll turn all lights off on the bottom row
2
@spacelem · 3 years ago
I did a maths degree (early 2000s), and I remember they showed us how to solve this puzzle, but I'd completely forgotten how. Thanks for reminding me!
@duncathan_salt · 3 years ago
excellent vid! you were very clear
3
@Kyoz · 3 years ago (edited)
Super paper mario has a lights out puzzle. Easy to solve with intuition, but I had learned of this shortly before playing that game and used the math to solve the puzzle.<br>Coded up my own version of the game with a solver around that time, too.
3
@Alpasonic · 3 years ago
Thank you. Fine things
@ZephyrysBaum · 3 years ago
Love this vid! Gives me a whole new outlook on this. Amazing how little games can explain so many complex things!
4
@ai_serf · 3 years ago (edited)
Let me share why I adore this video. While I've self-studied calculus and logic, I've always been keen to delve deeper into linear algebra, beyond just basic vector and matrix calculations. <br> <br>This video serves as an overview of linear algebra, uniquely applied to a real-world problem. It's brimming with terminology: PLU, LU, Triangle Matrices, Shear Matrices, determinants, and more. I particularly appreciate witnessing the presenter's logical progression—it's enlightening to observe mathematical reasoning in real-time. <br> <br>This format is ideal for me. Whenever I encounter unfamiliar concepts, I can pause the video, reflect on the topic, consult Wikipedia, or even converse with ChatGPT. I'm confident that with some dedication, I'll be able to harness numerical analysis for my projects. <br> <br>I appreciate a relatively concise video that encompasses a broad scope. As they say, "the devil is in the details," and now, with the help of our expansive language models, I can unravel those intricate details and underlying "whys." Life is indeed good. Thank you for the video!
@xonram1637 · 3 years ago
Great video !
1
@DavidConnerCodeaholic · 3 years ago
Cool now do it with int64 or simd 😅 interesting how it almost assembles a program of instructions.<br><br>I almost got the last part. The combinations of those last two kinda corresponds to a natural transformation that has to send to zero, I think.<br><br>I once wrote a WebGL shader that used similar rules to generate random numbers, but I wrapped the coordinates of the texture around. At each time step, it basically just pushes all the “lights out” buttons. If the space wraps around, you can imagine that some decomposed image of the values just propagates like waves. The same image will return after some n*m timesteps unless my math is off. So to address this, I xor’d a random nonce into a random coord at every timestep… which didn’t shuffle the bits.<br><br>That works for pretty much any lattice.
3
Up next

Solving Lights Out Puzzles | Light Chasing vs Linear Algebra
Random Noise · 92K views

The two points that lie on every circle (???) #SoME3
Taran Knutson · 43K views

Computational Mechanics - Livestream
Professor Ryan C. Cooper · 64 views

Beyond Exponentiation: A Tetration Investigation
Tetrolith · 133K views

Pascal's Triangle But The World Isn't Flat #SoME3
Viks · 28K views

The First Real Application of Category Theory #SoME3
GeometricSquirtle · 157K views

Give Me 30 min, I will make Linear Algebra Click Forever
Zachary Huang · 159K views

A deceivingly difficult differential equation.
Michael Penn · 135K views

Anthropic Took On the Riemann Hypothesis. Here’s What Actually Happened
Ellie Sleightholm · 492K views

Linear Algebra Explained Visually — Full Course (Vectors to Eigenvalues)
First Principles AI · 11K views

Investigating Why Can't We Solve Every Equation
Perhaps Barksley and Bub Explains · 35K views

Visualize Different Matrices part1 | SEE Matrix, Chapter 1
Visual Kernel · 174K views

Casually Explained: Evolution VI - Choosing Your Build
Casually Explained · 209K views

It's Over: Bonds COLLAPSE to WORST Levels Since 2002 - Netherlands BANS Microsoft
House of El · 229K views

When CAN'T Math Be Generalized? | The Limits of Analytic Continuation
Morphocular · 708K views

Applied Linear Algebra (part 7) Matrix Multiplication Actually Makes Sense (Here’s Why)
Math The World · 76K views

Linear subspaces | Vectors and spaces | Linear Algebra | Khan Academy
Khan Academy · 1.6M views

Random Matrices in Unexpected Places: Atomic Nuclei, Chaotic Billiards, Riemann Zeta #SoME2
ℏistas · 152K views

How Do We Solve Difficult Problems in Mathematics?
EpsilonDelta · 65K views

The Mathematician's Weapon | An Intro to Category Theory, Abstraction and Algebra
Eyesomorphic · 465K views