This is likely a duplicate, but I was unable to find a reference, so apologies if it is.
In the case of a polynomial with one variable, say $f=a_nX^n + ... + a_1X + a_0$, I would say the common definition of the leading term of $f$ is the term $a_nX^n$. Fixing a monomial ordering we can generalize this definition to multivariate polynomials, as is suggested for example here.
Yet, when reading about tangent cones in algebraic geometry, another notion of leading term arises: Any multivariate polynomial $f$ of degree $n$ has a unique decomposition $f = \sum_{k=0}^n f^{(k)}$ into homogeneous polynomials of degree $k=0...n$. The leading term of $f$ is the first (minimal $k$) nonzero $f^{(k)}$. This appears for example in Eisenbud Harris - Geometry of Schemes (p. 107) or Görtz Wedhorn - Algebraic Geometry I (p. 166)
Does the latter notion have another name? What is a good resource to read about it?
As ideals generated by the latter notion seem to be relevant, I would like to find more information, but the former notion makes searching for it rather difficult.
As always thank you very much for your time.