# In order for the function #f(x)=k(x-1)+x(k+3)+2# to be a constant function, what should be the value of #k# ?

##### 2 Answers

Jul 9, 2016

#### Explanation:

A constant function of x will have same value for any real value of x.

So f(0)=f(1)

We have

for x=0,

for x=1

Now

**Alternative**

Differentiating f(x) w.r.t x

f(x) being constat funtion f'(x)=0

Jul 9, 2016

k=0