# Is this a linear model? [closed]

mpg = mileage per gallon and hp = horsepower

Why is this model a linear model despite having a square of horsepower in it?

By comparing this function with your function, x1 would be similar to your hp (horsepower).
Actually what we have really done is, we have created a new feature x2 where