Give a typical example of classification discussion of quadratic function in Senior High School To solve the process This is too simple, isn't it~~~~~~

Give a typical example of classification discussion of quadratic function in Senior High School To solve the process This is too simple, isn't it~~~~~~

If the function y = (A-1) x ^ (B + 1) + x ^ 2 + 1 is a quadratic function, try to discuss the value range of a and B. because the function y = (A-1) x ^ (B + 1) + x ^ 2 + 1 is a quadratic function, the exponent of X is B + 1 = 0 or B + 1 = 1 or B + 1 = 2. When B + 1 = 0, that is, B = - 1, A-1 is any real number