# Algorithm for orientating flipped middle layer pieces

THANKS!!!

## Comment viewing options

### RU'R'UF'U2FU2F'UF to flip a s

### Re: RU'R'UF'U2FU2F'UF to flip a s

By the way, a web search for "F2L" should give several sites that have an "algorithm" for this case of no side effects in the bottom two layers except for flipping a middle-layer edge.

### Re: Algorithm for orientating flipped middle layer pieces

It shouldn't be hard to find web sites that have such sequences. I assume that by "middle layer" you mean the layer between the top and bottom layers.

If you want two edges flipped, with everything else unchanged, there are a number of ways to do that. If you only care about the middle layer between the top and bottom layers, then there are two cases: two edges on the same face to be flipped (such as FL and FR) and two diagonally opposed edges (such BL and FR).

There is a sequence that has been called "Rubik's maneuver" that flips the UF and UB edges, but if you have two edges from the middle layer (but on the same face) to orient, you need to reorient the cube so that the two edges are at UF and UB. (Or you could translate the moves appropriately.) "Rubik's maneuver" is:

M' U M' U M' U2 M U M U M U2

M means to move the inner layer between the L and R faces such that the front face center moves down to the bottom face. M' means to do the inverse of that (so that the front face center moves to the top face). For more on notation, see http://www.speedcubing.com/moves.html.

You could also use a commutator such as the following to flip FL and FR:

(R' S R2 S2 R') F2 (R S2 R2 S' R) F2

S means to move the inner layer between the F and B faces such that the top face center moves to the right face. Of course, S' means to do the inverse of that, and S2 means to do a half-turn of the same layer.

Cube Explorer can be used to find optimal face turn metric. I get this sequence (for FR and FL):

U F L' U F' L U' D F' R U' F R' D'

For diagonally opposite edges, you could do use Rubik's maneuver (with appropriate cube orientation) to flip FL and FR. That will flip one of them correct and mis-orient another. Then the two that are mis-oriented can be fixed by another Rubik's maneuver. Or you could turn a side face a half-turn so that the two bad edges are on the same face. Then a single Rubik's maneuver can be used to orient them, followed by the same side face being turned a half-turn again to restore the positions of the cubies.

For BL and FR, I get the optimal sequence from Cube Explorer:

U2 R F' U R' F U2 D2 B' L U' B L' D2

(While these sequences are longer than the earlier ones, the earlier ones use inner layer turns which count as two moves in the face-turn metric.)

### Sequences with Cube Explorer

If the optimal solution is not longer as 14-15 moves there is another "trick" which works even better. You undefine (grey out) just one edge with right mouseclicks in the facelet editor (for example the UF edge). Then the solver for incomplete cubes is invoked which outputs all sequences in a seperate window.

## Hint