Answer:
Cathy was born in 1980 and she was 18 years old in 1998
Step-by-step explanation:
Equations
This is a special type of equations where all the unknowns must be integers and limited to a range [0,9] because they are the digits of a number.
Let's say Cathy was born in the year x formed by the ordered digits abcd. A number expressed by its digits can be calculated as
[tex]x=1000a+100b+10c+d[/tex]
In 1998, Cathy's age was
[tex]1998-(1000a+100b+10c+d)[/tex]
And it must be equal to the sum of the four digits
[tex]1998-(1000a+100b+10c+d)=a+b+c+d[/tex]
Rearranging
[tex]1998=1001a+101b+11c+2d[/tex]
We are sure a=1, b=9 because Cathy's age is limited to having been born in the same century and millennium. Thus
[tex]1998=1001+909+11c+2d[/tex]
Operating
[tex]88=11c+2d[/tex]
If now we try some values for c we notice there is only one possible valid combination, since c and d must be integers in the range [0,9]
c=8, d=0
Thus, Cathy was born in 1980 and she was 18 years old in 1998. Note that 1+9+8+0=18