Lesson Product of Digits Problem
Algebra
->
Customizable Word Problem Solvers
->
Misc
-> Lesson Product of Digits Problem
Log On
Ad:
Over 600 Algebra Word Problems at edhelper.com
Word Problems: Miscellaneous Word Problems
Word
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'Product of Digits Problem'
This Lesson (Product of Digits Problem)
was created by by
oberobic(2304)
:
View Source
,
Show
About oberobic
:
MBA/Ph.D. University Administrator
<b>Problem:</b> A two-digit number is such that the product of its digits is 18. When 63 is subtracted from the number, the digits interchange their positions. Find the numbers. . <b>Solution:</b> With digit problems like this, you have to look at a number in terms of its appearance as well as the place values of its digits. Consider the number 'xy'. The number simply looks like 'xy', but the value of 'xy' is 10*x + 1*y. . Note well that 'xy' does <b>not</b> mean x*y, but rather the visual representation of 'x' sitting next to 'y'. . For this problem, we are told the product of its digits is 18: x*y = 18 so x = 18/y . Recall the value of the 'xy' is: 10x+y . We also are told that when 63 is subtracted from the number, the digits are reversed. This means xy -63 = yx . Remember that 'xy' and 'yx' are <b>not</b> multiplications. The numbers are just sitting beside one another. . So, when 63 is subtracted from the value of the number, the digits are reversed. 10x + y -63 = 10y + x . Substitute for 'x' to convert the equation to have only one unknown. . 10*18/y +y -63 = 10y +18/y . 180/y + y -63 = 10y + 18/y . Multiply both sides by y to eliminate the fractions. . 180 + y^2 -63y = 10y^2 + 18 . Collect terms. . 10y^ + 18 = y^2 -63y + 180 9y^2 +63y -162 = 0 . Divide both sides by 9. Or course, 0/9 is just 0. . y^2 +7y - 18 = 0 . Factor the quadratic equation if possible. . (y+9)(y-2) = 0 . y = -9 or 2 . Substitute y=2 to find x. . x*2 = 18 x = 9 . The original number appears to be: 92. . Always check your work. The product of 9*2 = 18, which is how the solution was found. To check these values, you have to use the other equation. . 92 - 63 = 29 . Great! The digits are interchanged. . <b>Answer:</b> The original number is 92. The other number is 29. . <b>Postscript:</b> But what about the y=-9? Why didn't we use it, too? . Well, -9 takes up two spaces when you type it, so it is not a single digit. But the algebra doubtless works, or the solution would be wrong. . x*-9 = 18 x = -2 . -29 -63 = -92 . So, the algebra works just fine. But when we say a "two-digit" number, we would not want it to take 3 or 4 spaces when typed out. We would need a means to show a negative number with a different symbol that takes only one space for this solution to make common sense.