Decompose a Recipe into Its Constituent Ingredients

  • Thread starter Thread starter Rocky9242
  • Start date Start date
Rocky9242
Messages
10
Reaction score
1
In the US, food products have an ingredient list and a "Nutrition Facts" panel.

The ingredient list lists all ingredients in order from most abundant to least abundant, e.g. "flour" would be the first ingredient for bread and "salt" would be further down the list.

The Nutrition Facts shows the abundance of macronutrients (protein, carbohydrate, fat) and micronutrients (minerals, vitamins) in the product.

Reliable nutritional information on ingredients is readily available online from the US Government.

What calculations would be necessary to reconstruct a recipe from nutritional data on the product and its ingredients and the ordered list of its ingredients?

So, maybe your bread contains flour, sugar, butter, yeast, and salt, listed in that order. You would start with the nutritional content of each of the ingredients and the nutritional information on the product and calculate the amount of ingredients in the bread, i.e. 6 cups flour, 2/3 cup sugar, 1/4 cup butter, 1-1/2 tsp salt. Assume the yeast has no effect on the figures and use the amount of yeast recommended on the package.
 
Physics news on Phys.org
Look at it this way: suppose you calculate the amounts of all the ingredients in the bread recipe. If you mix all the ingredients in a blender and put the thing into the oven, it's now easy to calculate the probability that you'll get a nice crispy bread, just use this formula:

P(\text{nice bread} | \text{no temporal info}) = 0
 
Agreed. A person wishing to use the ingredients in these proportions would have to know how to cook them.
 
A first try is to let W be a matrix that gives a table of data for how many units of each nutrient are in each ingredient. Let W<i>[j] </i> be the amount of nutrient i that is in ingredient j. Let x be a column vector whose entries are the unknown amounts of each ingredient. Let s be a column vectors whose entries are the known totals of each nutrient. The system of linear equations to solve is W x = s.

Such systems of equation do not always have a unique solution. If we have ordered the ingredients accoring to their amounts, we can add the constraint x[1] \ge x[2] \ge x[3] \ge .... We could make a more complicated mathematical description of the problem by considering further practical realities.
 
  • Like
Likes 1 person
I asked online questions about Proposition 2.1.1: The answer I got is the following: I have some questions about the answer I got. When the person answering says: ##1.## Is the map ##\mathfrak{q}\mapsto \mathfrak{q} A _\mathfrak{p}## from ##A\setminus \mathfrak{p}\to A_\mathfrak{p}##? But I don't understand what the author meant for the rest of the sentence in mathematical notation: ##2.## In the next statement where the author says: How is ##A\to...
The following are taken from the two sources, 1) from this online page and the book An Introduction to Module Theory by: Ibrahim Assem, Flavio U. Coelho. In the Abelian Categories chapter in the module theory text on page 157, right after presenting IV.2.21 Definition, the authors states "Image and coimage may or may not exist, but if they do, then they are unique up to isomorphism (because so are kernels and cokernels). Also in the reference url page above, the authors present two...
When decomposing a representation ##\rho## of a finite group ##G## into irreducible representations, we can find the number of times the representation contains a particular irrep ##\rho_0## through the character inner product $$ \langle \chi, \chi_0\rangle = \frac{1}{|G|} \sum_{g\in G} \chi(g) \chi_0(g)^*$$ where ##\chi## and ##\chi_0## are the characters of ##\rho## and ##\rho_0##, respectively. Since all group elements in the same conjugacy class have the same characters, this may be...
Back
Top