Interstellar Basic Algebra

by Ken Stern and Ian Tullis
Answer: SOBER UP

These pictures represent the names of different mixed drinks. In order, they are: Americano, Black Russian, Brandy Alexander, Bronx, French Connection, Gibson, Godmother, Golden Cadillac, Harvey Wallbanger, Mimosa, Negroni, Screwdriver, White Russian. Each of these drinks has a standard International Bartenders Association recipe [1]; these also appear on the cocktails' Wikipedia pages. That is, Americano = 3 cl Campari + 3 cl Sweet Red Vermouth, etc. The recipes for these 13 cocktails involve a total of 13 ingredients, and they can be treated as a linear system of 13 equations in 13 unknowns.

UnknownIngredientAmericanoBlack RussianBrandy AlexanderBronxFrench ConnectionGibsonGodmotherGolden CadillacHarvey WallbangerMimosaNegroniScrewdriverWhite Russian
aAmaretto00003.503.5000000
bCampari3000000000300
cChampagne0000000007.5000
dCoffee Liqueur0200000000002
eCognac00203.500000000
fCrème de Cacao0020000200000
gDry Vermouth0001010000000
hFresh Cream0020000200003
iGin0003060000300
jLiquore Galliano000000021.50000
kOrange Juice0001.5000097.50100
lSweet Red Vermouth3001.5000000300
mVodka0500003.504.50055

That is, this is the 13x13 matrix M that can be used to solve equations of the form Mx = y, where x is a 13x1 vector of numbers of drinks and y is a 13x1 vector of total amounts of each ingredient.

a, b, c, d, etc. are unit vectors for each of the ingredients. The first equation in this puzzle allows their identities to be confirmed; a turns out to be for Amaretto, b for Campari, etc. Once that's been determined, the second equation can be solved using some matrix algebra. We have Mx = y, with M and y given and x unknown. M is invertible, so x = (M-1)y = [1 14 19 23 5 18 19 15 2 5 18 21 16]. Indexing into the alphabet gives ANSWER SOBER UP, so SOBER UP is the answer to the puzzle.