If f:R→(−∞,a] defined by f(x)=−x2+6x+15 is surjective, then the value of a is
Open in App
Solution
y=f(x)=−x2+6x+15 ⇒x2−6x−(15−y)=0 Since x is real, D≥0 ⇒36+4(15−y)≥0 ⇒4y≤96 ⇒y≤24 ∴ Range of f is (−∞,24] Given, f is surjective. ⇒ Range = Codomain ∴a=24