Value vs. Location
You’ll learn that max tells you the best value, while argmax tells you where that best value occurs.
Max and Argmax are a simple pair: one names the best value, the other names where that value appears. By the end, you'll know: the largest number, the position it sits in, and how to tell them apart. Let’s start with the split itself. Max and argmax look almost the same, but they answer different questions. One asks, what is the best value? The other asks, which input gives that value? So if you have a function, max gives you the biggest output you can get. Argmax gives you the input where that biggest output happens. Before you use either one, ask yourself which part you actually need. If you care about the size of the best result, use max. It returns the largest output itself, so it tells you how good the best case is, not where it came from. If you care about the place where the best result happens, use argmax. It returns the input that produces the largest output, so it tells you where the best case lives.