Question:

Let \(g(x)\) be a function such that \(g(x+1) + g(x-1) = g(x)\) for every real \(x\). Then for what value of \(p\) is the relation \(g(x+p) = g(x)\) necessarily true for every real \(x\)?

Show Hint

Replace x by x + 1 in the relation to get g(x+2) in terms of g(x+1) and g(x), and keep going until g(x + something) comes back to g(x).
Updated On: Nov 27, 2026
  • 5
  • 6
  • 2
  • 3
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Find g(x+2):
Replace \(x\) by \(x + 1\): \(g(x+2) + g(x) = g(x+1)\), so \(g(x+2) = g(x+1) - g(x)\).

Step 2: Find g(x+3):
Replace \(x\) by \(x + 1\) again: \(g(x+3) = g(x+2) - g(x+1) = \big(g(x+1) - g(x)\big) - g(x+1) = -g(x)\).

Step 3: Find the period:
Then \(g(x+6) = -g(x+3) = g(x)\). So \(p = 6\) always works.

Step 4: Other options fail:
The function \(g(x) = \cos\left(\tfrac{\pi x}{3}\right)\) satisfies the relation, since \(\cos\tfrac{\pi(x+1)}{3} + \cos\tfrac{\pi(x-1)}{3} = 2\cos\tfrac{\pi x}{3}\cos\tfrac{\pi}{3} = \cos\tfrac{\pi x}{3}\). At \(x = 0\): \(g(0) = 1\), \(g(2) = -\tfrac12\), \(g(3) = -1\), \(g(5) = \tfrac12\). So \(g(x+p) = g(x)\) fails for \(p = 2, 3, 5\).

Final Answer:
The correct option is (2): 6
Was this answer helpful?
0
0