Question:

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
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Complete the square:
We write \(f(x) = x^2 - 4x + 5\) in vertex form.
\[ f(x) = (x-2)^2 + 1 \]
The graph is an upward parabola with vertex at \((2, 1)\).

Step 2: Test injectivity:
A function is injective if different inputs give different outputs.
Take \(x = 1\) and \(x = 3\). Then \(f(1) = 1 - 4 + 5 = 2\) and \(f(3) = 9 - 12 + 5 = 2\).
Two different inputs give the same output, so \(f\) is not injective.

Step 3: Test surjectivity:
Surjective means the range equals the codomain \(\mathbb{R}\).
Since \((x-2)^2 \geq 0\), we get \(f(x) \geq 1\) for every \(x\).
The range is \([1, \infty)\), so values like \(0\) or \(-3\) are never reached. \(f\) is not surjective.

Step 4: Check the options:
(A) says injective: false, because \(f(1) = f(3)\).
(B) says surjective: false, because the range is only \([1, \infty)\).
(C) needs both properties: false.
(D) says neither: true.

Final Answer:
The function is neither injective nor surjective, which is option (D). \[ \boxed{\text{(D) neither injective nor surjective}} \]
Was this answer helpful?
0
0

Top CBSE CLASS XII Mathematics Questions

View More Questions