Given an equation P = a + b a b , where a b denotes a two-digit number. Find the maximum and minimum values of P .
Then the sum of maximum and minimum values of P can be expressed in the form of y x , where x and y are coprime positive integers. Type x + y .
Bonus: Find a b so that P achieves its maximum and minimum value.
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.
Yep, similar to but better than my solution. Nice that you found a way to solve max and min in one go.
By the way, you have a small typo at the end of your first line (you have a 1 in the numerator rather than a 9 ).
We have P = a + b 1 0 a + b = 1 + a + b 9 a
We can make this as big as possible by taking b = 0 , giving P m a x = 1 0 (this is achieved whenever a b is a multiple of 1 0 ).
Likewise, we make P as small as possible by taking b = 9 .
We have P = 1 + a + 9 9 a = 1 + a + 9 9 a + 8 1 − 8 1 = 1 0 − a + 9 8 1 .
This last form makes it clear that the minimum is found when a = 1 (the smallest allowed value), giving P m i n = 1 . 9 when a b = 1 9 .
The sum of these is 1 1 . 9 = 1 0 1 1 9 , leading to the answer 1 2 9 .
Problem Loading...
Note Loading...
Set Loading...
P = a + b a b = a + b 1 0 a + b = 1 + a + b 9 a = 1 + 1 + a b 9 . Therefore, P is maximum when a b is minimum, that is a b = 0 , ⟹ b = 0 and P m a x = 1 + 1 + 0 9 = 1 0 . P is minimum, when a b is maximum, that is a b = 9 , ⟹ b = 9 and a = 1 , and P m i n = 1 + 1 + 9 9 = 1 0 1 9 .
Therefore, P m a x + P m i n = 1 0 + 1 0 1 9 = 1 0 1 1 9 . ⟹ x + y = 1 1 9 + 1 0 = 1 2 9 .