Placement AptitudeVery hardTCS NQT Digital · Infosys SP
f(x) = x² + 1 and g(x) = 2x − 3. What is the sum of all real x for which f(g(x)) = g(f(x))?
- A. 5
- B. 6
- C. 12
- D. 11/2
Correct answer: B. 6
f(g(x)) = (2x − 3)² + 1 = 4x² − 12x + 10 and g(f(x)) = 2x² − 1. Equating gives 2x² − 12x + 11 = 0, which has two real roots (discriminant 56 > 0) with sum 12/2 = 6.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many divisors of 30! (30 factorial) have no prime factor other than 2 and 3?
- How many integers from 1 to 600 are divisible by exactly two of the numbers 2, 3 and 5?
- What is the remainder when 25²⁵ is divided by 26?
- What is the remainder when 1² + 2² + 3² + … + 100² is divided by 9?
- How many zeros are there at the end of the product of all the even numbers from 2 to 100 (2 × 4 × 6 × … × 100)?
- How many three-digit numbers contain the digit 5 exactly once?