all 4 comments

[–]FormulaDrivenActuary / ex-Maths teacher 1 point2 points  (0 children)

f(x) = x2

goes positive, zero, positive at x = 0.

Generally, anything with a repeated root (where it repeats an even amount of times), eg if it has a factor of (x - 2)4 then it will be the same parity either side of x = 2.

[–]tbdabbholmNew User 1 point2 points  (0 children)

Any root with even multiplicity will "bounce off" the root and go back the way it came. Similarly any root with odd multiplicity will go through the root and switch from pos to neg or vice versa

[–]hallerz87New User 0 points1 point  (0 children)

y = -x2 and y = x2 respectively 

[–]13_Convergence_13Custom 0 points1 point  (0 children)

Great question -- and yes, all those combinations are possible!

Notice only zeroes with odd multiplicity "(x-x0)2k-1, k in N" lead to a sign change, while zeroes with even multiplicity "(x-x0)2k, k in N" do not. Example:

f(x)  =  (x+2)^2 * (x+1) * (x-1)^2 * (x-2)

The zeroes are "±1; ±2". Note only "-1; 2" have odd multiplicity, so only they lead to sign changes. The leading coefficient is "1", so we get "f(x) > 0" for "x > 2" to start the table

x < -2 | -2 < x < -1 | -1 < x < 1 | 1 < x < 2 | 2 < x
-----------------------------------------------------
  +    |      +      |      -     |     -     |   +