# Math Help - Find derivative of f(x)=(x-1)^2+1

1. ## Find derivative of f(x)=(x-1)^2+1

The problem is: Find the derivative of the function using the limit definition. f(x)=(x-1)^2+1

Am I suppose to factor out the (x-1)^2 first? Or would I write it as: (x+h-1)^2+1-(x-1)^2+1?

$\frac{[(x-1+h)^2+1] - [(x-1)^2 +1]}{h}$ you should end up with 2x-2 which is the same as 2(x-1)