
David W. answered 08/10/15
Experienced Prof
THX for wanting to know HOW?; also, the question WHY? is very important. Getting the right answer is only a very little achievement; learning the process is the main goal.
This problem makes us think about the decimal number system (and you will use others, like binary, as you use math). Decimal is a positional number system (with units, tens, hundreds, … positions). That means that a value of digit d is different in the numbers represented by d, d4, 3d5, 99d3, and so on. In the number d, d is worth d, but in the numbers d4, 3d5, and 99d3, it is worth 10*d.
See if you can match these math equations to the words of the problem:
Let 'xy' be a two-digit number. (with 0<=x<=9 and 0<=y<=9;
and 'xy' means two digits, not multiply)
x + y = 15
'yx' = 9 + 'xy' (to make this easier to understand, we will rewrite it:
10y + x = 9 + (10x + y)
The problem asks us to find xy. Well, really, 10x + y, in regular math terms. So, let’s use those while we do the easy math:
From x + y = 15, we solve for one of them, say x = 15-y, then substitute that into the other equation:
10y + (15-y) = 9 + 10(15-y) + y (now it’s all y, so we can solve for y)
9y + 15 = 159 - 9y
18y = 144
y = 8
The original number was 78.
Now, plug that value back into either equation (x+y=15 is the easiest):
x + 8 = 15
x = 7
Checking (very important):
Is 7 + 8 = 15 ? yes.
Is 87 = 9 + 78 ? yes.
Suraj S.
what if you had 5.5 and 4.5 of x vlaues how would you check the answer11/09/18