x + 2 5 + x + 4 9 = 1 8
The value of x satisfying the equation above can be written as B A , where A and B are positive coprime integers. Find A + B .
Bonus: Solve the general case x + a + x + b = c .
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.
Very nice approach - you have a small typo, though: in your first paragraph, you have x − b instead of x + b .
the trick is, as the title suggests, to write 2 eqns. x + 2 5 + x + 4 9 = 1 8 → ( x + 2 5 + x + 4 9 ) ( x + 2 5 − x + 4 9 ) = 1 8 ( x + 2 5 − x + 4 9 ) → x + 2 5 − x + 4 9 = 1 8 x + 2 5 − ( x + 4 9 ) = − 3 4 we have the two eqns x + 2 5 + x + 4 9 = 1 8 x + 2 5 − x + 4 9 = − 3 4 adding the two eqns we get 2 x + 2 5 = 1 8 − 3 4 → x = 9 4 0 0 pluging this back into the eqn, we confirm it works.
It's beautiful
Wow! That's clever!
The problem is obviously symmetric in a , b , so the answer should be a function of their sum and difference, s = 2 1 ( a + b ) and d = 2 1 ∣ a − b ∣ .
Write a = s + d and b = s − d . The equation becomes c = x + s + d + x + s − d . Similar to Pi Han Goh's approach, we define q : = x + s + d − x + s − d , and observe that c q = ( x + s + d ) − ( x + s − d ) = 2 d ∴ q = c 2 d ; Adding and subtracting the equations shows that c ± c 2 d = 2 x + s ± d . From this we find that x = ( 2 c ± c d ) 2 − s ∓ d , = ( 2 c ) 2 + ( c d ) 2 ± d − s ∓ d = ( 2 c ) 2 + ( c d ) 2 − s . In this case, d = 2 1 ( 4 9 − 2 5 ) = 1 2 and s = 2 1 ( 4 9 + 2 5 ) = 3 7 , so that x = 9 2 + ( 3 2 ) 2 − 3 7 = 4 4 9 4 = 9 4 0 0 .
x + a + x + b = c
( x + a + x + b ) 2 = c 2
( x + a ) + 2 ( x + a ) ( x + b ) + ( x + b ) = c 2
2 ( x + a ) ( x + b ) = c 2 − ( x + a ) − ( x + b )
( 2 ( x + a ) ( x + b ) ) 2 = ( c 2 − ( x + a ) − ( x + b ) ) 2
4 ( x + a ) ( x + b ) = ( c 2 − ( x + a ) − ( x + b ) ) 2
which simplifies to x = 4 c 2 ( c 2 + a − b ) 2 − a or equivalently x = 4 c 2 ( c 2 − a + b ) 2 − b .
In the question, a = 2 5 , b = 4 9 , c = 1 8 , so x = 4 ⋅ 1 8 2 ( 1 8 2 + 2 5 − 4 9 ) 2 − 2 5 = 9 4 0 0 , so A = 4 0 0 , B = 9 , and A + B = 2 3 .
There are already great solutions to this so I'm not adding much, but wanted to highlight that there is a slightly neater way to clear the square roots.
If we square both sides of the equation as it is, we get a cross-term involving the product of two x -terms, and after rearranging and squaring again, end up with a quadratic in x . Everything cancels nicely here, but there's no need for the quadratic to appear at all.
Rearranging at the start to
x + a = c − x + b
and then squaring, we have
x + a = c 2 − 2 c x + b + x + b
Which simplifies to
2 c x + b = c 2 − a + b
Having already cancelled some x s, this is now a bit simpler to solve:
x = 4 c 2 ( c 2 − a + b ) 2 − b = 4 c 2 a 2 + b 2 + c 4 − 2 a b − 2 a c 2 − 2 b c 2
(the last form shows the symmetry in a and b a bit more clearly.)
Solving a + x + b + x = c for x gives 4 c 2 a 2 − 2 a b − 2 a c 2 + b 2 − 2 b c 2 + c 4 . Substituting a → 2 5 , b → 4 9 and c → 1 8 gives x as 9 4 0 0 . Denominator [ 9 4 0 0 ] + Numerator [ 9 4 0 0 ] ⇒ 2 3 .
Problem Loading...
Note Loading...
Set Loading...
Answer to the Bonus question :
Given x + a + x + b = c . Let x + a − x + b = d .
Using the difference of squares identity, A 2 − B 2 = C 2 , multiplying the two equations above gives a − b = c d ⇒ d = c a − b .
Now adding the two equations { x + a + x + b = c x + a − x + b = c a − b gives 2 x + a = c + c a − b ⇒ x = ( 2 c + c a − b ) 2 − a .