Consider these two cases:
1)An object of mass $m_1$ is on a movable cart of mass $m_2$, coefficient of friction between the object and cart is known.If a force $F$ acts on the object and it's not strong enough to overcome the friction, then the acceleration of the cart and the whole system is $a=\frac{F}{m_1+m_2}$.
However, if the force is strong enough to overcome friction, the acceleration of the cart is actually equal to $\frac{F_{friction}}{m_2}$.How does friction affect the cart and where is mass of the object ($m_1$)?I don't remember any textbook telling this about friction forces.
2)Similar example but external force is now gravitational force.This time the cart is sloped.The force acting on the sloped cart isn't just due to friction between the cart and object, but due to the resultant force acting on the object that is on the slope (sum of gravitational force and friction force).Why is second (gravitational) force considered in this example but not in the previous one (first example considers only the friction but not the force $F$).
The force on the object in second example is
$F=m_2gsin(\alpha)-\mu m_2gcos(\alpha)$
And the horizontal force is
$F_x=Fcos(\alpha)$
The force that pushes the cart (in second example) is equal to $F_x$ but has opposite direction