This paper uses multiple linear regression model to study the correlation between the ideological and political courses and the construction of university academic style, explores the calculation process of multiple linear regression, studies the impact analysis of linear regression model and the diagnosis of abnormal points, and analyzes the underfitting and overfitting respectively. The linear regression analysis model was used to study the differences in the academic style level of college students of different grades and genders, the correlation analysis of various dimensions of academic style and ideological and political level was carried out, and the linear fit of ideological and political curriculum education and academic style was analyzed by MATLAB to infer the significance level of ideological and political education and academic style. The results show that the correlation coefficient between ideology and politics and the dimension of learning purpose is 0.053, P=0.003<0.05. The correlation coefficient between ideology and politics and learning attitude was 0.239, P=0.008<0.05. The correlation coefficient between ideology and politics and learning effect dimension was 0.682, P=0.018<0.05. The data presented shows that ideology and politics have a significant impact on the construction of academic style.