The numbers are 45, 54
<em><u>Solution:</u></em>
Given a 2 digit number:
a = the 10's digit of the 1st number
b = units digit of the 1st number
From given information,
The sum of both digits, of either of two two-digit numbers, in whatever order the digits are written, is 9
a + b = 9 ---- eqn 1
The square of either of the digits of either number, minus the product of both digits, plus the square of the other digit is the number 21
Square of "a" - product of "a" and "b" + square of "b" = 21
--- eqn 2
<em><u>Let us solve eqn 1 and eqn 2</u></em>
From eqn 1,
a = 9 - b --- eqn 3
Substitute eqn 3 in eqn 2
Let us solve the above equation using quadratic formula,
Using the above formula,
<em><u>Substituting the values of a, b, c in above formula,</u></em>
<em><u>Thus the required numbers are:</u></em>
when b = 5,
a = 9 - b
a = 9 - 5
a = 4
Thus the number is 45
When b = 4,
a = 9 - b
a = 9 - 4
a = 5
Thus the number is 54