$${m_A a_A = m_B a_B,}$$