Questions & Answers about Hún kom á undan mér.
How does á undan compare to eftir from this current lesson?
While this lesson focuses on eftir + accusative to mean 'in [amount of time]' (like eftir tvo daga), á undan means 'before' or 'ahead of'. If she had arrived after you, you would use eftir + dative: Hún kom eftir mér.
Why is it mér (dative) instead of mig (accusative)?
The compound preposition á undan strictly governs the dative case. Anyone or anything that someone arrives 'ahead of' will always take the dative.
Could I use fyrir instead of á undan to say 'before me'?
Not in this context. While fyrir can mean 'before' for fixed points in time (like fyrir hádegi for 'before noon') or 'ago' (fyrir viku), when you mean 'ahead of' someone in a sequence or arrival time, you must use á undan.
Why is kom translated as 'arrived' rather than 'came'?
The verb að koma covers both 'to come' and 'to arrive' in Icelandic. While 'She came ahead of me' is a perfectly fine literal translation, 'She arrived before me' is usually the more natural English phrasing for this scenario.