Среди всех значений параметра a, при которых квадратное уравнение x^2+5x+|a^2+4a+3|+a имеет два различных корня, найдите значение, при котором модуль разности этих корней будет наибольшим.
Assistant
To solve this problem, we need to determine the value of the parameter ( a ) that maximizes the modulus of the difference between the roots of the quadratic equation:
[ x^2 + 5x + |a^2 + 4a + 3| + a = 0 ]
First, recall that for a quadratic equation ( ax^2 + bx + c = 0 ), the difference between its roots is:
[ |x_1 - x_2| = \frac{\sqrt{D}}{|a|} ]
where ( D = b^2 - 4ac ) is the discriminant of the quadratic equation.
Our quadratic equation has ( a = 1 ), ( b = 5 ), and ( c = |a^2 + 4a + 3| + a ). Therefore, the discriminant is:
[ D(a) = b^2 - 4ac = 25 - 4(|a^2 + 4a + 3| + a) ]
To maximize ( |x_1 - x_2| ), we need to maximize ( \sqrt{D(a)} ), which in turn requires maximizing ( D(a) ), ensuring that ( D(a) > 0 ).
We need to handle the absolute value in ( c ):
Find where ( a^2 + 4a + 3 ) changes sign. Solve ( a^2 + 4a + 3 = 0 ) to get ( a = -3 ) and ( a = -1 ).
Determine the intervals:
( a \in (-\infty, -3) ) and ( a \in (-1, \infty) ): ( |a^2 + 4a + 3| = a^2 + 4a + 3 )
From these expressions, we see that the maximum ( D(a) ) in both cases occurs at ( a = -\frac{5}{2} ). However, ( a = -\frac{5}{2} ) is within the interval ( (-3, -1) ) (Case 2).
Evaluating ( D(a) ) at the endpoints of the intervals:
Case 2: Not applicable since ( a = -1 ) is not in Case 2.
The maximum value of ( D(a) ) occurs at ( a = -3 ) with ( D(-3) = 37 ). Therefore, the modulus of the difference of the roots is maximized when ( a = -3 ).