Weird Science

Brilliant Solution in a Maze: The Marangoni Effect and Surface Tension

Polish ver­sion is here

The fol­lo­wing article was ori­gi­nally publi­shed in the jour­nal for edu­ca­tors Che­mia w Szkole (eng. Che­mi­stry in School) (4/2021):

Ilustracja

Ples M., Genialny roz­twór w labi­ryn­cie - efekt Maran­go­niego i napięcie powierzch­niowe (eng. Bril­liant Solu­tion in a Maze: The Maran­goni Effect and Sur­face Ten­sion), Che­mia w Szkole, 4 (2021), Agen­cja AS Józef Szew­czyk, pp. 46-50

Ilustracja
ani­ma­tion: sup­ple­men­tary mate­rial

We typi­cally describe a maze as a struc­ture or a buil­ding cha­rac­te­ri­zed by a com­plex arran­ge­ment of nume­rous rooms and inter­con­nec­ting cor­ri­dors. Sca­led-down models of such edi­fi­ces can also serve as mazes. These con­struc­tions date back to ancient times — for exam­ple, in Meso­po­ta­mia and Egypt — where they func­tio­ned as secu­rity mea­su­res and impe­di­ments to richly ador­ned, tre­a­sure-fil­led tombs. In Greek and Roman art, repre­sen­ta­tions of mazes (often sym­bo­lic and highly sty­li­zed) were com­mon in vase pain­tings, mosa­ics, and coi­nage.

One of the most fre­qu­en­tly reco­un­ted laby­rinth is said to have been built by the legen­dary Greek archi­tect and inven­tor Dae­da­lus. Accor­ding to tra­di­tion, this struc­ture stood in Knos­sos on Crete and was used to con­fine the Mino­taur, a cre­a­ture por­trayed as a giant with the head of a bull.

The laby­rinth motif also appe­a­red as an orna­men­tal design fea­tu­ring intri­cate, usu­ally spi­ral or mean­de­ring pat­terns. In Gothic cathe­drals, such mazes were often inlaid into the flo­o­ring. A 12th-cen­tury exam­ple can be seen in the cathe­dral at Char­tres in nor­thern France. These desi­gns were not purely deco­ra­tive; wal­king the intri­cate path on the cathe­dral floor sym­bo­li­zed under­ta­king a pil­gri­mage.

Mazes con­ti­nue to be cre­a­ted today as attrac­tions or forms of enter­ta­in­ment, for instance in parks and gar­dens where hed­ges are plan­ted and sha­ped to form maze-like pas­sa­ges.

The com­plex struc­ture of a maze serves both as a puz­zle and as a test of pro­blem-solving abi­lity. Thus, many of us are fami­liar with bio­lo­gi­cal expe­ri­ments in which ani­mals — mice, rats, gui­nea pigs, and others — are pla­ced in mazes. Such expe­ri­ments have been con­duc­ted histo­ri­cally and some­ti­mes con­ti­nue in con­tem­po­rary rese­arch. I myself have descri­bed some sim­pli­fied expe­ri­ments in neu­ro­bio­logy and beha­vio­rism that can be per­for­med in a school labo­ra­tory; these used the rough woo­dlo­use Por­cel­lio sca­ber [1].

Ilustracja
Beha­vior of the woo­dlo­use in a maze
ani­ma­tion: sup­ple­men­tary mate­rial

Solving the pro­blem of navi­ga­ting a maze by the shor­test route is far from tri­vial and has attrac­ted rese­ar­chers from various fields. The first prac­ti­cal solu­tion was a device built in 1953 by Ame­ri­can cyber­ne­tics pio­neer Claude E. Shan­non — dub­bed “Shan­non’s mouse” by others and “The­seus” by the inven­tor him­self. The appa­ra­tus com­pri­sed three main com­po­nents: a maze with a moving mouse model, an elec­tro­ma­gne­tic sys­tem con­trol­ling the mouse’s move­ments, and a memory sys­tem based on elec­tro­me­cha­ni­cal relays. The­seus demon­stra­ted memory mecha­ni­sms inspi­red by nature and illu­stra­ted the prac­ti­cal pos­si­bi­lity of buil­ding a device capa­ble of lear­ning by trial and error.

Today, maze-rela­ted and ana­lo­gous pro­blems remain highly rele­vant and are typi­cally solved by spe­cia­li­zed com­pu­ter pro­grams.

Before moving on, I would like to recall a pas­sage from Sta­ni­sław Lem’s “Star Dia­ries”, in which during the Twenty-First Voy­age, Ijon Tichy visits the pla­net Dicho­tica. The inha­bi­tants there advan­ced arti­fi­cial thin­king to such an extent that they could pro­duce “minds and intel­li­gen­ces in liqu­ids. Sen­tient, rea­so­ning solu­tions were syn­the­si­zed, and these could be bot­tled, pou­red, mixed, and each time you would end up with a new per­so­na­lity, often more spi­ri­tual and wiser than all the Dicho­ti­cans put toge­ther[2].

Lem’s bold ima­gi­na­tion ven­tu­red into realms of science we have yet to explore, and it is dif­fi­cult to envi­sion how such a thin­king solu­tion might be rea­li­zed. Howe­ver, I can con­fi­den­tly assert that after rea­ding this article, you — Dear Rea­der — will be able to cre­ate a solu­tion that, under appro­priate con­di­tions, will find the shor­test path thro­ugh a maze from start to finish. While it may not be as inge­nious a liquid as Lem descri­bed, the expe­ri­men­tal results will demon­strate that an arti­fi­cial infor­ma­tion-pro­ces­sing con­struct (i.e., intel­li­gent in a limi­ted sense) need not take the form of an elec­tro­nic device or com­pu­ter pro­gram, but can be a rela­ti­vely sim­ple phy­si­co­che­mi­cal sys­tem, as in our case.

Expe­ri­ment

To carry out the expe­ri­ment, gather the fol­lo­wing che­mi­cals:

Oleic acid is an unsa­tu­ra­ted fatty acid, a color­less liquid under nor­mal con­di­tions, gra­du­ally yel­lo­wing and then dar­ke­ning on expo­sure to air (Photo 1).

Photo 1 – oleic acid

This com­po­und occurs natu­rally in fats and is a major com­po­nent of olive oil and cod liver oil [3]. Due to its dou­ble bond, oleic acid can be hydro­ge­na­ted to ste­a­ric acid, a pro­cess known as fat har­de­ning. It is used in the pro­duc­tion of lubri­cants and deter­gents.

Oleic acid itself is not highly toxic, but the other rea­gents requ­ire cau­tion. Both sodium hydro­xide and hydro­ch­lo­ric acid are cor­ro­sive and can cause severe, hard-to-heal burns. Bro­mo­thy­mol blue (Fig. 1) and methyl red (Fig. 2) are car­ci­no­gens. As always in the labo­ra­tory, appro­priate per­so­nal pro­tec­tive equ­ip­ment is man­da­tory.

Ilustracja
Fig. 1 – struc­tu­ral for­mula of bro­mo­thy­mol blue
Ilustracja
Fig. 2 – struc­tu­ral for­mula of methyl red

You will also need to fabri­cate a sui­ta­ble maze. The chan­nels sho­uld be rela­ti­vely nar­row, appro­xi­ma­tely 1–2 mm (0.04–0.08 in) wide. Various fabri­ca­tion methods are pos­si­ble, such as mil­ling or engra­ving in pla­stic, but 3D prin­ting is par­ti­cu­larly conve­nient.

I used an FDM (fused depo­si­tion mode­ling) 3D prin­ter, which depo­sits mol­ten mate­rial layer by layer. Such desk­top units are rea­dily ava­i­la­ble both com­mer­cially and as DIY kits, and many scho­ols and uni­ver­sity labs have acqu­i­red them thro­ugh fun­ding pro­grams. The fila­ment is extru­ded thro­ugh a noz­zle hea­ted to its mel­ting tem­pe­ra­ture, for­ming the object one layer at a time.

In my works, I used poly­lac­tic acid (PLA), a poly­e­ster of lac­tic acid with repe­a­ting unit −[−CH(CH3)C(O)O−]−. This bio­de­gra­da­ble poly­mer is made from rene­wa­ble reso­ur­ces such as corn starch and finds appli­ca­tions in bio­me­di­cine.

PLA degra­des faster under UV light, moi­sture, and other envi­ron­men­tal fac­tors, so prin­ted parts sho­uld be sto­red appro­pria­tely if long-term use is inten­ded. Of course, other non­bio­de­gra­da­ble fila­ments could also be used, but prin­ting para­me­ters would need adju­st­ment.

I desi­gned the maze in Fre­e­CAD (ver. 0.19.2) and expor­ted it as an *.stl file com­pa­ti­ble with most sli­cers. Photo 2 shows the maze design ren­de­red in Blen­der (ver. 2.93.1). Both pro­grams are free and open-source, so any­one can cre­ate their own lay­out. For ini­tial expe­ri­ments, you can down­load the maze file here.

Photo 2 – maze design

Print set­tings were stan­dard for PLA: white fila­ment, a 0.4 mm (0.016 in) noz­zle, and a 0.2 mm (0.008 in) layer hei­ght. Higher reso­lu­tion was unne­ces­sary. Scale the model to your requ­i­re­ment­s—in my case, the side length was 55 mm (2.17 in). The print took appro­xi­ma­tely 45 minu­tes, yiel­ding a ready-to-use maze (Photo 3).

Photo 3 – fini­shed 3D-prin­ted maze

As you can see, the maze is sim­ple, but let’s see how our solu­tion han­dles it.

To pre­pare the agar gel, dis­so­lve 2 % (w/w) agar-agar in boi­ling water, pour the mixture into Petri dishes, and let it set at room tem­pe­ra­ture. Once firm, you can cut out uni­form disks (Photo 4).

Photo 4 – soli­di­fied agar disk

Cut the disks into small frag­ments that fit the maze exit area, then immerse them in ~3.7 % HCl solu­tion for 5-6 hours (Photo 5).

Photo 5 – agar cubes in acid

If agar is una­va­i­la­ble, a small acid-soa­ked sponge or cloth works simi­larly.

Next, pre­pare the solu­tion by dis­so­lving 0.28 g (0.01 oz) KOH in 100 cm3 (3.4 fl oz) distil­led water, then adding ~0.2 cm3 (0.007 fl oz) oleic acid with vigo­rous stir­ring. The result is a clear, foa­ming solu­tion (Photo 6).

Photo 6 – solu­tion

Level the maze care­fully, then fill its chan­nels to half hei­ght with the solu­tion (Photo 7A).

Photo 7 – expe­ri­ment and result; A – maze fil­led with solu­tion, B – dye added, C – dye flow; labels: S – start, M – finish

Place an acid-soa­ked agar frag­ment at the maze end (M), then quic­kly intro­duce a small amo­unt of solid bro­mo­thy­mol blue at the start (S), ensu­ring the pow­der rests on the liquid sur­face. Within moments, the colo­red streak flows not ran­domly but along the shor­test path to the finish (Photo 7C), chan­ging hue from blue thro­ugh green to yel­low as it pro­ce­eds.

Ilustracja
ani­ma­tion: sup­ple­men­tary mate­rial

You may also use methyl red (Photo 8), altho­ugh its color change — from yel­low-orange to red — is sli­gh­tly less pro­no­un­ced.

Photo 8 – methyl red indi­ca­ting the path

A time-lapse sequ­ence (Photo 9) using a dif­fe­rent but simi­lar maze and bro­mo­thy­mol blue fur­ther illu­stra­tes the effect with one-second inte­rvals between fra­mes.

Photo 9 – dye path thro­ugh the maze

Expla­na­tion

The obse­rved effect and the sys­tem’s “abi­lity” to solve the shor­test-path pro­blem stem from sur­face-ten­sion phe­no­mena [4]. Sur­face ten­sion is the phy­si­cal energy per unit area at the inter­face between a liquid and a solid, gas, or ano­ther liquid; it beha­ves like an ela­stic mem­brane cove­ring the liquid sur­face. Quan­ti­ta­ti­vely, it equ­als the work requ­i­red to incre­ase the sur­face area by one unit.

Sur­face ten­sion ari­ses from cohe­sive for­ces between liquid mole­cu­les exce­e­ding adhe­sive for­ces at the inter­face. One key fac­tor influ­en­cing ten­sion is the pre­sence of sur­face-active agents (sur­fac­tants), which accu­mu­late at inter­fa­ces and faci­li­tate con­tact between pha­ses. These mole­cu­les fea­ture a hydro­phi­lic (polar) “head” and a hydro­pho­bic (non­po­lar) “tail”. A sur­fac­tant that redu­ces the water-air inter­fa­cial ten­sion must con­tain both ele­ments.

One mani­fe­sta­tion of ten­sion gra­dients is the Maran­goni effect, which dri­ves fluid flow from regions of low to high sur­face ten­sion. You can obse­rve this by adding a drop of soap to a talc- or pep­per-cove­red water sur­face: par­tic­les are sud­denly pro­pel­led away from the drop due to the local ten­sion reduc­tion [5].

In our sys­tem, oleic acid (HR, with R deno­ting its hydro­car­bon chain) depro­to­na­tes in the alka­line solu­tion:

HR ⇌ R + H+

This rever­si­ble equ­i­li­brium shi­fts toward depro­to­na­tion in basic con­di­tions and toward pro­to­na­tion in aci­dic con­di­tions. Ole­ate ions (R) are excel­lent sur­fac­tants: their polar head car­ries a nega­tive charge (hydro­phi­lic), while their long hydro­car­bon tail is hydro­pho­bic, ena­bling foam for­ma­tion (Photo 6).

Fil­ling the maze with this solu­tion esta­bli­shes uni­form sur­face ten­sion thro­u­ghout the chan­nels. Intro­du­cing the acid-soa­ked agar at the start cre­a­tes a pH gra­dient — higher pH near S and lower pH near M. Con­se­qu­en­tly, the sur­fac­tant con­cen­tra­tion and thus the sur­face ten­sion incre­ase toward the finish. The Maran­goni effect then dri­ves a sur­face flow car­ry­ing dye par­tic­les along the shor­test route from S to M. Note that the flow is con­fi­ned to the sur­face; the under­ly­ing liquid moves oppo­si­tely, so dye appli­ca­tion must tar­get the inter­face.

The color tran­s­i­tions of the pH indi­ca­tors visu­a­lize the envi­ron­men­tal gra­dient. Cru­cially, if two paths exist, the dye stream cho­o­ses the shor­ter one first, illu­stra­ting the sys­tem’s inhe­rent path-fin­ding pro­perty.

Refe­ren­ces:

All pho­to­gra­phs and illu­stra­tions were cre­a­ted by the author.

The above text inc­lu­des minor edi­to­rial modi­fi­ca­tions com­pa­red to the ver­sion publi­shed in the jour­nal, aimed at sup­ple­men­ting and adap­ting it for online pre­sen­ta­tion.

Marek Ples

Aa