How do you find the intervals of increasing and decreasing using the first derivative given y=(x+2)^2(x-1)y=(x+2)2(x1)?

1 Answer
Jun 5, 2018

Using the product rule:

dy/dx = 2(x+2)(x-1) +(x+2)^2 = (x+2)(2x-2+x+2) = 3x(x+2)dydx=2(x+2)(x1)+(x+2)2=(x+2)(2x2+x+2)=3x(x+2)

So:

dy/dx < 0 dydx<0 for x in (-2,0)x(2,0)

dy/dx > 0 dydx>0 for in in (-oo,-2) uu (0,+oo)(,2)(0,+)

which means that y(x)y(x) is increasing from -oo to x=-2x=2 where it has a local maximum, decreasing from x=-2x=2 to x=0x=0 where it has a local minimum, and again increasing from x=0x=0 to +oo+.

graph{(x+2)^2(x-1) [-4, 3, -10, 10]}