Difference between revisions of "2021 JMPSC Accuracy Problems/Problem 13"
(→Solution) |
Mathdreams (talk | contribs) (→Solution) |
||
Line 3: | Line 3: | ||
==Solution== | ==Solution== | ||
− | |||
− | Case 1: <math>x+y= | + | Notice that since <math>x</math> and <math>y</math> are both integers, <math>x+y</math> and <math>xy</math> are also both integers. We can then use casework to determine all possible values of <math>x</math>: |
− | + | ||
− | Case | + | Case 1: <math>x+y=0,xy=5</math>. |
− | + | ||
− | Therefore, the answer is <math>9</math>. ~ kante314 | + | The solutions for <math>x</math> and <math>y</math> are the roots of <math>x^2 + 5</math>, which are not real. |
+ | |||
+ | Case 2: <math>x+y=3, xy=4</math>. | ||
+ | |||
+ | The solutions for <math>x</math> and <math>y</math> are the roots of <math>x^2 - 3 + 4</math>, which are not real. | ||
+ | |||
+ | Case 3: <math>x+y=4,xy=3</math>. | ||
+ | |||
+ | The solutions for <math>x</math> and <math>y</math> are the roots of <math>x^2 - 4 + 3</math>, which are <math>1</math> and <math>3</math>. | ||
+ | |||
+ | Case 4: <math>x+y=5, xy = 0</math> | ||
+ | |||
+ | The solutions for <math>x</math> and <math>y</math> are the roots of <math>x^2 - 5</math>, which are <math>0</math> and <math>5</math>. | ||
+ | |||
+ | Therefore, the answer is <math>1 + 3 + 0 + 5 = 9</math>. | ||
+ | |||
+ | |||
+ | ~kante314 | ||
+ | |||
+ | ~Revised and Edited by Mathdreams |
Revision as of 10:46, 11 July 2021
Problem
Let and be nonnegative integers such that Find the sum of all possible values of
Solution
Notice that since and are both integers, and are also both integers. We can then use casework to determine all possible values of :
Case 1: .
The solutions for and are the roots of , which are not real.
Case 2: .
The solutions for and are the roots of , which are not real.
Case 3: .
The solutions for and are the roots of , which are and .
Case 4:
The solutions for and are the roots of , which are and .
Therefore, the answer is .
~kante314
~Revised and Edited by Mathdreams