Skip to main content
Back to Quadratic Equations
JEE Main 2022
Quadratic Equations
Quadratic Equation and Inequalities
Medium

Question

Let λR\lambda \in \mathbb{R} and let the equation E be x22x+λ3=0|x{|^2} - 2|x| + |\lambda - 3| = 0. Then the largest element in the set S = {x+λ:xx+\lambda:x is an integer solution of E} is ______

Answer: 0

Solution

Key Concepts and Formulas

  • Quadratic Equation Discriminant: For a quadratic equation ax2+bx+c=0ax^2 + bx + c = 0, the discriminant is D=b24acD = b^2 - 4ac. The equation has real roots if and only if D0D \geq 0.
  • Absolute Value Inequality: xa|x| \leq a if and only if axa-a \leq x \leq a.
  • Quadratic Formula: The solutions to the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 are given by x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

Step 1: Determine the range of λ\lambda for real solutions of |x|

We are given the equation x22x+λ3=0|x|^2 - 2|x| + |\lambda - 3| = 0. Let y=xy = |x|. Since xx is an integer, x|x| must be a non-negative integer. The equation becomes y22y+λ3=0y^2 - 2y + |\lambda - 3| = 0. For this quadratic to have real solutions for y=xy = |x|, the discriminant must be non-negative. The discriminant is:

D=(2)24(1)(λ3)=44λ3D = (-2)^2 - 4(1)(|\lambda - 3|) = 4 - 4|\lambda - 3|

We require D0D \geq 0, so:

44λ304 - 4|\lambda - 3| \geq 0 1λ301 - |\lambda - 3| \geq 0 λ31|\lambda - 3| \leq 1

WHY: Ensuring the discriminant is non-negative guarantees that the quadratic equation has real roots, which are necessary for x|x| to be a real number.

Using the property of absolute value inequalities, we have:

1λ31-1 \leq \lambda - 3 \leq 1 2λ42 \leq \lambda \leq 4

WHY: This step isolates λ\lambda to determine its valid range, which is crucial for finding possible values of xx.

Step 2: Solve for |x| in terms of λ\lambda

Now, we solve for x|x| using the quadratic formula:

x=(2)±44λ32(1)=2±21λ32=1±1λ3|x| = \frac{-(-2) \pm \sqrt{4 - 4|\lambda - 3|}}{2(1)} = \frac{2 \pm 2\sqrt{1 - |\lambda - 3|}}{2} = 1 \pm \sqrt{1 - |\lambda - 3|}

WHY: This gives us the potential values for x|x|. Since xx must be an integer, x|x| must also be an integer. This expression will guide us in finding specific values of λ\lambda that lead to integer solutions for x|x|.

Step 3: Find integer solutions for x

Since xx is an integer, x|x| must be an integer. Let K=1λ3K = 1 - |\lambda - 3|. From Step 1, we know 0K10 \leq K \leq 1. The expression for x|x| is 1±K1 \pm \sqrt{K}. For x|x| to be an integer, K\sqrt{K} must be such that 1±K1 \pm \sqrt{K} yields an integer. This implies that KK itself must be a perfect square. Given 0K10 \leq K \leq 1, the only perfect squares are K=0K=0 and K=1K=1.

WHY: The problem specifically asks for integer solutions for xx. This constraint is crucial and significantly narrows down the possibilities for λ\lambda and x|x|.

Case A: K = 0

If 1λ3=01 - |\lambda - 3| = 0, then λ3=1|\lambda - 3| = 1. This implies λ3=1\lambda - 3 = 1 or λ3=1\lambda - 3 = -1. So, λ=4\lambda = 4 or λ=2\lambda = 2. For these values of λ\lambda, the solutions for x|x| are:

x=1±0=1|x| = 1 \pm \sqrt{0} = 1 If x=1|x|=1, then x=1x=1 or x=1x=-1. Both are integer solutions.

Now, we form the elements of set S={x+λ}S = \{x+\lambda\}:

If λ=4\lambda = 4: For x=1x=1, x+λ=1+4=5x+\lambda = 1+4 = 5. For x=1x=-1, x+λ=1+4=3x+\lambda = -1+4 = 3. If λ=2\lambda = 2: For x=1x=1, x+λ=1+2=3x+\lambda = 1+2 = 3. For x=1x=-1, x+λ=1+2=1x+\lambda = -1+2 = 1.

Case B: K = 1

If 1λ3=11 - |\lambda - 3| = 1, then λ3=0|\lambda - 3| = 0. This implies λ3=0\lambda - 3 = 0, so λ=3\lambda = 3. For this value of λ\lambda, the solutions for x|x| are:

x=1±1=1±1|x| = 1 \pm \sqrt{1} = 1 \pm 1 So, x=2|x|=2 or x=0|x|=0. If x=2|x|=2, then x=2x=2 or x=2x=-2. Both are integer solutions. If x=0|x|=0, then x=0x=0. This is an integer solution.

Now, we form the elements of set S={x+λ}S = \{x+\lambda\}:

If λ=3\lambda = 3: For x=2x=2, x+λ=2+3=5x+\lambda = 2+3 = 5. For x=2x=-2, x+λ=2+3=1x+\lambda = -2+3 = 1. For x=0x=0, x+λ=0+3=3x+\lambda = 0+3 = 3.

Step 4: Determine the largest element in set S

Collecting all the possible values for x+λx+\lambda from both cases: The set S={1,3,5}S = \{1, 3, 5\}.

The largest element in the set SS is 55.

Common Mistakes & Tips

  • Forgetting the ± sign: When solving for xx from x=a|x| = a, remember that xx can be both aa and a-a.
  • Not checking the discriminant: Always ensure the discriminant is non-negative for real roots.
  • Incorrectly solving absolute value inequalities: Remember the rule: xa|x| \leq a implies axa-a \leq x \leq a.

Summary

By systematically applying the conditions for real roots of a quadratic equation, understanding the properties of absolute values, and carefully considering the constraint that xx must be an integer, we identified the permissible values of λ\lambda and the corresponding integer solutions for xx. The final step involved calculating x+λx+\lambda for all valid pairs and finding the maximum value. This method ensures that all constraints are met and all possible scenarios are explored. The largest element in set S is 5.

Final Answer

The final answer is \boxed{5}.

Practice More Quadratic Equations Questions

View All Questions