Consider the parabola with focus and directrix , as shown in the figure. Among the points on this parabola, let be a point in the first quadrant, and let be the foot of the perpendicular from to the directrix. Consider the ellipse whose foci lie on the -axis and which passes through the three points , , and . Let be the focus of this ellipse with positive -coordinate. Suppose that triangle has perimeter and area . Let the length of segment be . Compute . [4 points]
The problem asks for where is the length of segment . The points are , , . is on the parabola . is the projection of on . The ellipse passes through with foci on the x-axis.
[PYTHON] import sympy from sympy import symbols, solve, sqrt, Abs
def solve_problem(): p, xA = symbols('p xA', real=True, positive=True)
# yA is positive (1st quadrant)
yA = sqrt(4 * p * xA)
# Area of triangle AHB
# Base AH is horizontal. x-coords are -p and xA. Length = xA - (-p) = xA + p.
# Height is yA.
# Area = 0.5 * (xA + p) * yA
area_eq = 0.5 * (xA + p) * yA - (2 * p + 12)
# Ellipse parameters
# Center xc is midpoint of x-coords of A and H (since they have same y and are on ellipse)
xc = (xA - p) / 2
# F(p, 0) is on the ellipse. Since foci are on x-axis, vertices are on x-axis.
# The y-coord of F is 0, so F is a vertex.
# Semi-major axis a is distance from center to vertex F.
a = Abs(p - xc)
# Equation of ellipse: (x - xc)^2 / a^2 + y^2 / b^2 = 1
# Point A(xA, yA) is on it.
# (xA - xc)^2 / a^2 + yA^2 / b^2 = 1
# Solve for b^2
# term1 = (xA - xc)**2 / a**2
# yA^2 / b^2 = 1 - term1
# b^2 = yA^2 / (1 - term1)
term1 = ((xA - xc)**2) / (a**2)
b2 = yA**2 / (1 - term1)
# Focal distance c_foc
# c_foc^2 = a^2 - b^2
c_foc2 = a**2 - b2
c_foc = sqrt(c_foc2)
# Foci coordinates: (xc - c_foc, 0) and (xc + c_foc, 0)
# B is the focus with positive x-coordinate.
# We need to check which one is positive or if both are, which one is B.
# The problem says "B be the focus ... with positive x-coordinate".
# Let's assume there is a unique such focus or we check conditions later.
# Let's define Bx1 and Bx2.
Bx1 = xc - c_foc
Bx2 = xc + c_foc
# Perimeter equation: AH + AB + HB = p + 27
# AH = xA + p
# We need to solve the system for p and xA.
# Since symbolic solution might be hard with Abs and sqrt, let's try to simplify or use numerical solver if needed.
# But first, let's try to express everything in terms of p and xA and see if we can simplify.
# Let's print the expressions to see complexity
print(f"Area Eq: {area_eq}")
print(f"xc: {xc}")
print(f"a: {a}")
print(f"b2: {b2}")
solve_problem() [/PYTHON]
The problem asks for , where is the length of the segment . The parabola is defined by with focus and directrix . Point is on the parabola in the first quadrant, so . Point is the projection of onto the directrix, so . The ellipse passes through with foci on the -axis. Let the center of the ellipse be . Since and are on the ellipse and share the same -coordinate, and the ellipse is symmetric about its major axis (the -axis) and its minor axis (vertical line ), the center's -coordinate must be the midpoint of the -coordinates of and . . Since is on the ellipse and on the major axis, is a vertex. The semi-major axis is the distance from the center to the vertex: (assuming , which turns out to be true).
Let be a focus of the ellipse. The sum of distances from any point on the ellipse to the two foci is . Due to the symmetry of and with respect to the vertical line , and the symmetry of the foci with respect to the same line, the distance from to focus is equal to the distance from to the other focus . Thus, . The perimeter of triangle is . is the horizontal distance between and , so . Perimeter . Given perimeter is , we have: .
The area of triangle is . Base . Height . Area . Given area is . Substituting : . . . Let . . . The only real positive solution is , so .
We need to compute . . . .
[THOUGHT] The calculation is verified. p = 9 xA = 1 H = (-9, 6) F = (9, 0) k^2 = 18^2 + 6^2 = 324 + 36 = 360. [/THOUGHT]
\boxed{360}