CAT 2022 Slot 2 — QA Question 3
Composite FunctionsEasy
Suppose for all integers x, there are two functions f and g such that f(x) + f(x - 1) - 1 = 0 and g(x) = x2. If f(x2 - x) = 5, then the value of the sum f(g(5)) + g(f(5)) is
Answer & solution
Answer: 12
Solution
Easy
The recurrence forces to alternate between just two values. Pin down from the clue , then ride the recurrence to get at any integer. Finally evaluate the composite using .
1
Find . Put in : since ,
2
Use the recurrence to step along:
So and .
3
Evaluate the two pieces. Here and :
.