UrbanXrisis
- 1,192
- 1
p is a real number
f(x)=1+2p(x-1)+(x-1)^2 for x=<1
My book says that the derivative of this function is:
f'(x)=2p+2(x-1)
Shouldnt it be 2p+2(x-1)+2(x-1)
since the derivative of 2p(x-1) is 2p+2(x-1)
and the derivative of (x-1)^2 is 2(x-1)
f(x)=1+2p(x-1)+(x-1)^2 for x=<1
My book says that the derivative of this function is:
f'(x)=2p+2(x-1)
Shouldnt it be 2p+2(x-1)+2(x-1)
since the derivative of 2p(x-1) is 2p+2(x-1)
and the derivative of (x-1)^2 is 2(x-1)