I have a problem understanding this German sentence:
Du musst an deine Mutter schreiben.
You must write to your mother.
It means you must write something (for example a letter) to your mother.
That something is the direct object (accusative case) and the person to whom the letter is written is the indirect object (dative case) here.
So, Mutter is dative case and dein should be deiner but it is deine, why? I don't understand it. I didn't find the preposition an in the list of accusative prepositions either.