what does a and b represent in linear regression Y=aX+b.

a is slope

b is initial value when x = 0 (y axis intercept)