DR.WANG Mathematics中文

2024 AMC 12B · Question 13

Algebra · completing the square · optimization · problem-solving

Problem outline

For real x,yx,y, define h=x2+y2−6x−8yh=x^2+y^2-6x-8y and k=x2+y2−10x+4yk=x^2+y^2-10x+4y. Find the smallest attainable value of h+kh+k. (A) −54-54 (B) −46-46 (C) −34-34 (D) −16-16 (E) 1616

Show answer and methods 2 methods

Answer

C. −34-34.

Method 1 Complete two independent squares

Adding the definitions gives h+k=2x2+2y2−16x−4yh+k=2x^2+2y^2-16x-4y. Grouping by variable produces h+k=2(x−4)2+2(y−1)2−34h+k=2(x-4)^2+2(y-1)^2-34.

Both squares are nonnegative and vanish together at (x,y)=(4,1)(x,y)=(4,1). That point gives h=−15h=-15 and k=−19k=-19, so the lower bound −34-34 is achieved.

Method 2 Minimise a sum of squared distances

Let P=(x,y)P=(x,y), A=(3,4)A=(3,4) and B=(5,−2)B=(5,-2). The equations read h=PA2−25h=PA^2-25 and k=PB2−29k=PB^2-29. The triangle inequality gives PA+PB≥ABPA+PB\ge AB, with AB2=22+62=40AB^2=2^2+6^2=40.

Since PA2+PB2≥(PA+PB)2/2PA^2+PB^2\ge(PA+PB)^2/2, this sum is at least 2020. Both inequalities are equalities at the midpoint of ABAB. Subtracting 25+2925+29 gives the minimum 20−54=−3420-54=-34.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)