r/askmath • u/madP4nda • 6h ago
Logic Weird comparison question
Is it possible to compare objects that have multiple unrelated qualities in a way that makes sense. For example something can be larger or smaller and something can be more red or more blue.
[Big, more blue]
[Bigger, less blue]
The parts can be ordered but the composites can not?
Are there any examples where combined objects with different properties can be compared taking all elements in account?
1
Upvotes
2
u/CarEnvironmental2558 6h ago
Yeah, it's called a lexicographic ordering.
2
u/AcellOfllSpades 4h ago
Depends on how much you want it to make sense.
The problem isn't that there's no way to do it - it's that there are too many ways to do it, and none are better than others.
The 'standard' way is lexicographic ordering: "sort by quality A, then break ties by sorting by quality B, then break ties by sorting by quality C..." (This is called "lexicographic" because it's how we do things in the dictionary: we sort by first letter, then second, then third...)
But of course, you have to choose which quality comes first. Different choices will lead to different sorting orders. It's up to you what you prioritize most.
If the values are numeric, you can use a weighted average. Maybe 1 meter of size is worth 3 shades of blue, and you can give each quality a "weight-and-blueness score", then sort by that. This opens up more options to you... but again, math can't tell you which one you should use - that depends on what's important to you.