Completing the Square

Geometry Level 5

{ x d + x c y c + y d = 0 . . . ( 1 ) ( d y ) ( c y ) = ( d + x ) ( c x ) . . . ( 2 ) \large \begin{cases} xd+xc-yc+yd=0 & ...(1) \\ (d-y)(c-y)=(d+x)(c-x) & ... (2) \end{cases}

For the above system of equations, c c and d d are positive constants, that x x and y y are non-zero, and that x + y x+y can be expressed in the form A c 2 + B d 2 + C c + D d + E Ac^2+Bd^2+Cc+Dd+E , find the value of A + B + C + D + E \lfloor A+B+C+D+E\rfloor .

Notation : \lfloor \cdot \rfloor denotes the floor function .


The answer is 2.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Patrick Bamba
Jul 23, 2016

First, we notice that E q n . 1 Eqn. 1 is equivalent to ( x + d ) 2 + ( y c ) 2 = ( x c ) 2 + ( y d ) 2 \sqrt{(x+d)^2+(y-c)^2} = \sqrt{(x-c)^2+(y-d)^2}

Second, we notice that E q n . 2 Eqn. 2 is equivalent to ( ( d y ) / ( c x ) ) ( ( c y ) / ( d x ) ) = 1 ((d-y)/(c-x))((c-y)/(-d-x))=-1

Now, if we let P ( c , d ) P(c, d) , Q ( d , c ) Q(-d, c) , and R ( x , y ) R(x, y) , we can conclude, using the first two statements, that P R = R Q PR = RQ and P R R Q PR \perp RQ . Thus, if P P and Q Q were opposite vertices of a square, then R R would represent the other two vertices.

We notice that x = y = 0 x = y = 0 would've been a solution, if not for the restriction that x x and y y are non-zero. Thus, O ( 0 , 0 ) O(0, 0) is another vertex of the square.

Now, we construct s q u a r e square H J K L HJKL such that its sides are parallel to the axes and pass through P P , O O , Q Q , and R R .

From the resulting figure, we conclude that x = c d x = c - d and y = c + d y = c + d .

Thus, x + y = 2 c x + y = 2c \rightarrow A = 0 A=0 , B = 0 B=0 , C = 2 C=2 , D = 0 D=0 , E = 0 E=0 \rightarrow [ A + B + C + D + E ] = 2 [A+B+C+D+E]=\boxed{2}

Yeah. Nice solution.

I related this problem to the title and then did it the same way. This requires deep knowledge of coordinate geometry.

Also can we do it without geometry? Id it possible with number theory way?

Priyanshu Mishra - 4 years, 10 months ago

Log in to reply

Yes. Look at Mark Gilbert's solution below.

Patrick Bamba - 4 years, 10 months ago

Amazing construction! You have a well-deserved award. ;)

Grant Bulaong - 4 years, 10 months ago
Mark Gilbert
Jul 30, 2016

It can also be solved using algebra:

From the first condition we have that:

y ( c d ) = x ( c + d ) y(c-d)=x(c+d) .

So we can let x = k ( c d ) x=k(c-d) and y = k ( c + d ) y=k(c+d) where k k is some non-zero real number.

Expanding the second condition, we get:

x 2 + y 2 = ( c d ) x + ( c + d ) y x^2+y^2=(c-d)x+(c+d)y .

Plugging in x = k ( c d ) x=k(c-d) and y = k ( c + d ) y=k(c+d) , we get:

( ( c d ) 2 + ( c + d ) 2 ) k 2 = ( ( c d ) 2 + ( c + d ) 2 ) k ((c-d)^2+(c+d)^2)k^2=((c-d)^2+(c+d)^2)k

Since c c and d d are greater than 0 0 , then ( c d ) 2 + ( c + d ) 2 (c-d)^2+(c+d)^2 must be greater than 0 0 .

So we can divide by ( c d ) 2 + ( c + d ) 2 (c-d)^2+(c+d)^2 on both sides:

k 2 = k k^2=k .

So k = 0 k=0 or k = 1 k=1 . Since k k must be non-zero, k k must be 1 1 .

Good solution and thanks for posting by algebraic method.

Priyanshu Mishra - 4 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...