If f(x) = ax + b and f(0) = 2 and f '(0) = 1, then the value of f(2) is
Open in App
Solution
We have,
f(x) = ax + b
Differentiating both sides w.r.t. x, we get
f '(x) = a
Therefore, f '(0) = 1 means a = 1.
f(0) = b means b = 2.
Therefore, f(x) = x + 2.
f(2) = 2 + 2 = 4.