Question:medium

A function \(f : \mathbb{R} \to \mathbb{R}\) defined as \(f(x) = x^2 - 4x + 5\) is :

Show Hint

Write the function as (x-2)^2 + 1 and check repeated values and the range [1, infinity).
Updated On: Nov 20, 2026
  • injective but not surjective.
  • surjective but not injective.
  • both injective and surjective.
  • neither injective nor surjective.
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Use the derivative:
Here \(f^{\prime}(x) = 2x - 4\), which is zero at $x = 2$.
So $f$ decreases on $(-\infty, 2)$ and increases on $(2, \infty)$.

Step 2: Decide injectivity:
A function that changes from decreasing to increasing cannot be one-one.
Points on both sides of $x = 2$ at equal distance give equal values, for example $f(0) = 5$ and $f(4) = 5$.
So $f$ is not injective.

Step 3: Decide surjectivity:
The minimum value is $f(2) = 4 - 8 + 5 = 1$.
There is no upper bound, so the range is $[1, \infty)$.
Real numbers below $1$ have no pre-image. So $f$ is not onto $\mathbb{R}$.

Step 4: Pick the option:
Both properties fail, so only option (D) fits.
Options (A), (B) and (C) each claim at least one property that fails.

Final Answer:
Neither injective nor surjective. \[ \boxed{\text{(D)}} \]
Was this answer helpful?
0