His father then asked him to study in medicine, and Daniel Bernoulli agreed under the condition that his father would teach him mathematics privately, which they continued for some time.