It's scary when the rage implodes on those who are closest and often most vulnerable. For both parties. But more so for the child.
Home is supposed to be safe. Parents are supposed to be adults. Kids are not emotional punching bags.
Take ownership of your anger. Identify the trigger. Take time and openly apologize for your anger, lashing out at her because of your own issues. Be human. Then listen to her, don't talk.
Look at how hard she worked for a teacher when she feels inadequate. Imagine the effort she puts in to the parents she loves.