Not sure if it solves a differential equation by being a differential detector. The op amp contains a long-tail pair which acts as the differential detector. An unchanging current is shared by two networks resembling class A amplifiers. If the left-hand column draws less Amperes, this allows the right-hand column to increase the amount of Amperes it draws. And vice-versa and conversely. The resulting network is not too different from a Wheatstone bridge. And the Wheatstone bridge concept is frequently extended to the input network.
To determine slope (rising or falling) of a signal, I've seen a capacitor integrator at one input of the op amp causes the output to go high or low. The signal is split so it goes unchanged to one input, and a slightly delayed copy goes to the other input. If the delayed copy is greater than the initial signal, then the output goes one direction. If the delayed copy is less than the initial signal, the output goes the other way.