EDIT: Added difference equations