Let $k$ be any field and $L/k$ be a field extension. Suppose $a, b \in L$ are algebraic over $k$. Is the formula $[k(a,b):k][k(a) \cap k(b):k] = [k(a):k][k(b):k]$ true?
This formula comes from page 228 (Remark 2.4) in "An invitation to Arithmetic Geometry" by Prof. Dino Lorenzini. But the author didn't explain why this formula is true. Thank you for four answer.