Close Menu
TechCentralTechCentral

    Subscribe to the newsletter

    Get the best South African technology news and analysis delivered to your e-mail inbox every morning.

    Facebook X (Twitter) YouTube LinkedIn
    WhatsApp Facebook X (Twitter) LinkedIn YouTube
    TechCentralTechCentral
    • News
      Vodacom targets satellite-to-phone service in South Africa next year

      Vodacom targets satellite-to-phone service in South Africa next year

      10 November 2026
      Vodacom eyes SA and Kenya for AI data centre hubs after Egypt - Shameel Joosub

      Vodacom eyes SA and Kenya for AI data centre hubs after Egypt

      10 November 2026
      Eskom chairman Mteto Nyati and energy minister Kgosientsho Ramokgopa speak to the media in Irene, Pretoria

      South Africa’s first new nuclear reactors could be online by 2036

      10 November 2026
      Comsol's 5G network pricing comes into view

      Comsol’s 5G network pricing comes into view

      10 November 2026
      Safaricom ruling tripped default clauses in Vodacom's loans

      Safaricom ruling tripped default clauses in Vodacom’s loans

      10 November 2026
    • World
      John Ternus faces first big test as Apple CEO - John Ternus

      John Ternus faces first big test as Apple CEO

      2 November 2026
      Alleged Israeli spy company heavily targeted Starlink users

      How online ads were used to hunt Starlink users

      28 October 2026
      Anthropic's IPO stands alone

      Anthropic’s IPO stands alone

      23 October 2026
      PHP flaws trigger global scramble as hackers pounce

      PHP flaws trigger global scramble as hackers pounce

      22 October 2026
      OpenAI turns the tables on Apple in trade secrets fight

      OpenAI turns the tables on Apple in trade secrets fight

      15 October 2026
    • In-depth
      Ducking hell: inside Apple's hidden list of words the iPhone won't suggest

      Ducking hell: inside Apple’s hidden list of words the iPhone won’t suggest

      6 November 2026
      Why investors are souring on Netflix

      Why investors are souring on Netflix

      22 October 2026

      10 days that changed the course of AI

      21 September 2026
      Meta to the AI industry: slow down without us - Mark Zuckerberg

      Meta to the AI industry: slow down without us

      16 September 2026
      Google DeepMind CEO Demis Hassabis. Image: John Sears

      The plan to stop AI from breaking the world

      16 July 2026
    • TCS
      TCS+ | Old Mutual's Celiwe Ross on leading people through AI - Old Mutual

      TCS+ | Old Mutual’s Celiwe Ross on leading people through AI

      6 November 2026
      TCS+ | How the Apple ecosystem drives productivity for SMEs - Sudesh Pillay iStore and Kevin McLennan

      TCS+ | How the Apple ecosystem drives productivity for SMEs

      6 November 2026
      TCS+ | Vox on AI, data rules and omnichannel communication for SMEs

      TCS+ | Vox on AI, data rules and omnichannel communication for SMEs

      26 October 2026
      TCS | The Cape Town firm quietly connecting Eskom, Pep and 6 000 ATMs - Réan van Niekerk, Metacom

      TCS | The Cape Town firm quietly connecting Eskom, Pep and 6 000 ATMs

      23 October 2026
      TCS+ | Boards are underestimating the cost of a cyberattack, says Arctic Wolf - Jason Oehley and Andre Den Hond

      TCS+ | Boards are underestimating the cost of a cyberattack, says Arctic Wolf

      22 October 2026
    • Opinion
      Icasa's Sim rules need a privacy backstop - Lloyd Matthew and Heinz Vollmer

      Icasa’s Sim rules need a privacy backstop

      5 November 2026
      AI's boardroom honeymoon is over - Gary Stocks

      AI’s boardroom honeymoon is over

      22 October 2026
      Before South Africa licenses Starlink, it should look at Ukraine - Duncan McLeod

      Before South Africa licenses Starlink, it should look at Ukraine

      21 October 2026
      Nonkqubela Thathakahle Jordan-Dyani

      Why cybersecurity is now a national security issue for South Africa

      15 October 2026
      When a machine can choose, who does it become? Fanie van Rooyen

      When a machine can choose, who does it become?

      9 October 2026
    • Company News
      • 1Stream
      • Africa Data Centres
      • AfriGIS
      • Altron Digital Business
      • Altron Document Solutions
      • Altron Group
      • Arctic Wolf
      • Ascent Technology
      • AvertITD
      • BBD
      • Braintree
      • CallMiner
      • CambriLearn
      • CM.com
      • Contactable
      • CYBER1 Solutions
      • Digicloud Africa
      • Digimune
      • Domains.co.za
      • ESET
      • Euphoria Telecom
      • HOSTAFRICA
      • Incredible Business
      • iONLINE
      • IQbusiness
      • Iris Network Systems
      • Kaspersky
      • LSD Open
      • Mitel
      • NEC XON
      • Netstar
      • Network Platforms
      • Next DLP
      • Ovations
      • Paracon
      • Paratus
      • Publishared
      • Q-KON
      • SevenC
      • SkyWire
      • Solid8 Technologies
      • Telit Cinterion
      • Telviva
      • Tenable
      • Vertiv
      • Videri Digital
      • Vodacom Business
      • Vox
      • Wipro
      • Workday
      • XLink
    • Sections
      • AI and machine learning
      • Banking
      • Broadcasting and media
      • Cloud services
      • Contact centres and CX
      • Cryptocurrencies
      • Education and skills
      • Electronics and hardware
      • Energy and sustainability
      • Enterprise software
      • Fintech and payments
      • HealthTech
      • Information security
      • Internet and connectivity
      • Internet of things
      • Investment
      • IT services
      • Lifestyle
      • Policy and regulation
      • Public sector
      • Retail and e-commerce
      • Satellite communications
      • Science
      • SMEs and start-ups
      • Social media
      • Talent and leadership
      • Telecoms
      • Watts & Wheels
    • Events
    • Advertise
    TechCentralTechCentral
    Home » Top » How to solve a Rubik’s cube in five seconds

    How to solve a Rubik’s cube in five seconds

    By The Conversation29 November 2015
    Twitter LinkedIn Facebook WhatsApp Email Telegram Copy Link
    Get breaking news on WhatsApp

    This week, 14-year-old Lucas Etter, in Clarksville, Maryland, in the US, set a new world record for solving the classic Rubik’s cube, solving the scrambled cube in an astonishing 4,9 seconds.

    The maximum number of face turns needed to solve the classic Rubik’s cube, one that is segmented into squares laid out 3×3 on each face, is 20, and the maximum number of quarter turns is 26. It took 30 years to discover these numbers, which were finally proved by Tomas Rokicki and Morley Davidson using a mixture of mathematics and computer calculation. The puzzle does have 43 252 003 274 489 856 000 (43 times 1018, or 43 quintillion) possible configurations after all.

    So how do the likes of Lucas Etter work out how to solve Rubik’s cube so quickly? They could read instructions, but that rather spoils the fun. If you want to work out how to do it yourself, you need to develop cube-solving tools. In this sense, a tool is a short sequence of turns which results in only a few of the individual squares on the cube’s faces changing position. When you have discovered and memorised enough tools, you can execute them one after the other in order as required to return the cube to its pristine, solved condition.

    These tools require experimentation to discover. Here’s how I did it myself: go on holiday with a Rubik’s cube and a screwdriver. Do experiments to find tools. The trouble is that most experiments just scramble the cube horribly and you forget what you did so you cannot undo your moves.

    Now you have a choice, either buy another Rubik’s cube, or take out your trusty screwdriver. Turn one face through 45 degrees, and place the screwdriver under a central piece of the rotated face. Using the screwdriver as a lever to gently prise it out, it’s then easy to take the cube apart completely and reassemble it in pristine form.

    The final move of reassembly will be the reverse of the screwdriver trick: rotate one face 45 degrees and apply gentle pressure to put the final piece back in place.

    Sequences of moves of a cube form something that mathematicians call a group. If A is a sequence of moves, then let A-1 (that’s “A inverse”) be the same sequence of moves performed in reverse. So if you perform A and then A-1, the cube will be in the same state as was it when you began. The same is true if you first perform A-1 followed by A.

    rubiks-cube-640

    Now suppose that B is another sequence of moves. Many tools have the form of what mathematicians call a commutator: do A, then B, then A-1 and finally B-1. If A and B commute, so that performing A then B is the same as doing B then A, then the commutator does nothing. From a mathematical point of view, a commutator measures failure to commute, and is a key notion in group theory. When I had a Rubik’s cube in one hand, and a screwdriver in the other, it was natural to look at how commutators behave.

    Think of the overall structure of the different configurations of a Rubik’s cube as a labyrinth, which has that many chambers, each of which contains a Rubik’s cube in the state which corresponds to that chamber. From each chamber there are 12 doors leading to other chambers, each door corresponding to a quarter turn of one of the six faces of a cube. The type of turn needed to pass through each door is written above it, so you know which door is which. Your job is to navigate your way from a particular chamber to the one where the cube on the table is in perfect condition.

    The tools that you have discovered are ways of getting nearer to the goal. So you don’t need to plan your route in advance, you just execute the rotations of each tool so that you get steadily closer to and finally reach the winning chamber. The mathematical result in Rokicki and Davidson’s paper shows that, no matter where you are in the labyrinth, it’s possible to reach the winning chamber by passing through at most 26 doors — although the route you find using your tools is not likely to be that efficient.

    How to put this to use to solve the cube in five seconds? Someone like young Lucas Etta who is interested in speed solutions will not only have memorised a large number of tools, they’ll also have practised them until they can perform it very quickly. This is mostly a matter of dexterity and practice, but it’s also important to have a high-quality cube that can be manipulated smoothly and with great precision.

    Others, rather than going for speed, develop the skill of solving Rubik’s cube while blindfolded or with the cube held behind their back. In the competitive version of this variation, the solver is given a limited amount of time to study the scrambled cube and plan their solution, before they have to carry out their solution from memory without looking at the cube again.

    In terms of our metaphor of a labyrinth, this corresponds to all the Rubik’s cubes in all the chambers being removed, except for the one on which you start. You can’t take that cube with you, but you can study it carefully and plan your whole route to the winning chamber in advance. Quite a feat of memory, and not for those with just a passing interest in the cube.The Conversation

    • Geoff Smith is senior lecturer in mathematics at the University of Bath
    • This article was originally published on The Conversation
    Add TechCentral as a preferred source on GoogleFollow TechCentral on Google NewsGet breaking news on WhatsApp


    Geoff Smith Lucas Etter Rubik's cube
    WhatsApp YouTube
    Share. Facebook Twitter LinkedIn WhatsApp Telegram Email Copy Link
    Previous ArticleSpectre is haunted by ghosts of Bond’s past
    Next Article Zuma, Buhari said to meet over MTN
    Company News
    The hidden risks of fragmented IT and unenforced SLAs - ITC Systems Durban

    The hidden risks of fragmented IT and unenforced SLAs

    10 November 2026
    Why AI-powered customer experience will decide South Africa's festive retail winners - CM.com

    Why AI-powered customer experience will decide South Africa’s festive retail winners

    10 November 2026
    You do not have a data estate. You have copies of one - Ascent Technology, Johan Lamberts

    You do not have a data estate. You have copies of one

    10 November 2026
    Opinion
    Icasa's Sim rules need a privacy backstop - Lloyd Matthew and Heinz Vollmer

    Icasa’s Sim rules need a privacy backstop

    5 November 2026
    AI's boardroom honeymoon is over - Gary Stocks

    AI’s boardroom honeymoon is over

    22 October 2026
    Before South Africa licenses Starlink, it should look at Ukraine - Duncan McLeod

    Before South Africa licenses Starlink, it should look at Ukraine

    21 October 2026

    Subscribe to Updates

    Get the best South African technology news and analysis delivered to your e-mail inbox every morning.

    Latest Posts
    Vodacom targets satellite-to-phone service in South Africa next year

    Vodacom targets satellite-to-phone service in South Africa next year

    10 November 2026
    Vodacom eyes SA and Kenya for AI data centre hubs after Egypt - Shameel Joosub

    Vodacom eyes SA and Kenya for AI data centre hubs after Egypt

    10 November 2026
    Eskom chairman Mteto Nyati and energy minister Kgosientsho Ramokgopa speak to the media in Irene, Pretoria

    South Africa’s first new nuclear reactors could be online by 2036

    10 November 2026
    Comsol's 5G network pricing comes into view

    Comsol’s 5G network pricing comes into view

    10 November 2026
    © 2009 - 2026 NewsCentral Media
    Built and maintained by Chronon
    • Cookie policy (ZA)
    • TechCentral – privacy and Popia

    Type above and press Enter to search. Press Esc to cancel.

    Manage consent

    TechCentral uses cookies to enhance its offerings. Consenting to these technologies allows us to serve you better. Not consenting or withdrawing consent may adversely affect certain features and functions of the website.

    Functional Always active
    The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
    Preferences
    The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
    Statistics
    The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
    Marketing
    The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
    • Manage options
    • Manage services
    • Manage {vendor_count} vendors
    • Read more about these purposes
    View preferences
    • {title}
    • {title}
    • {title}
    🇿🇦 Sign up to the TechCentral newsletter