We need to find the largest element in the set S={x+λ:x is an integer solution of E}, where equation E is ∣x∣2−2∣x∣+∣λ−3∣=0.
Let t=∣x∣≥0. The equation becomes:
t2−2t+∣λ−3∣=0
This is a quadratic in t. Using the quadratic formula:
t=22±4−4∣λ−3∣=1±1−∣λ−3∣
For t to be real: 1−∣λ−3∣≥0, i.e., ∣λ−3∣≤1, which gives 2≤λ≤4.
For t≥0: We need 1±1−∣λ−3∣≥0. Since 1−∣λ−3∣≤1, the value 1−1−∣λ−3∣≥0 always. So both roots are non-negative.
Since t=∣x∣, for each valid t>0, we get x=±t. For t=0, we get x=0. We need t to be a non-negative integer (since x must be an integer and t=∣x∣).
For t to be an integer, we need 1−∣λ−3∣ to yield integer values of t=1±1−∣λ−3∣.
Case 1: ∣λ−3∣=0, i.e., λ=3. Then t=1±1, giving t=0 or t=2. Integer values of x: 0,±2. Elements of S: {0+3,2+3,−2+3}={3,5,1}. Largest = 5.
Case 2: ∣λ−3∣=1, i.e., λ=2 or λ=4. Then t=1±0=1. Integer value of x: ±1.
If λ=2: S={1+2,−1+2}={3,1}. Largest = 3.
If λ=4: S={1+4,−1+4}={5,3}. Largest = 5.
Now check other values where t is integer. We need 1−∣λ−3∣=k2 for some value that makes 1±k a non-negative integer.
If k=0: ∣λ−3∣=1, covered above.
If k=1: ∣λ−3∣=0, covered above.
For non-integer k, t would not be integer.
From Case 1 (λ=3): largest element in S is 5.
From Case 2 (λ=4): largest element in S is 5.
From Case 2 (λ=2): largest element in S is 3.
The largest element in S is 5.