Text this: Physical vs mathematical origin of the extended KdV and mKdV equations