document.write( "Question 217047: What integers are solutions to |a - 12| < 9 AND |a + 2| > 17? \n" ); document.write( "
Algebra.Com's Answer #163755 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
Replace a with x and your equations to solve are:
\n" ); document.write( "|x-12| < 9 AND |x+2| > 17
\n" ); document.write( "-----
\n" ); document.write( "I do this because I'm so used to working with x that I always write x even when I know it's a or b or whatever.
\n" ); document.write( "Converting to x eliminates the problems IF I remember to convert back at the end.
\n" ); document.write( "-----
\n" ); document.write( "Pure laziness on my part because I already started using x and didn't want to have to go back and convert them to a in all the equations.
\n" ); document.write( "-----
\n" ); document.write( "The operating principle is:
\n" ); document.write( "-----
\n" ); document.write( "The absolute value of an expression equals the expression if the expression is greater than or equal to 0.
\n" ); document.write( "-----
\n" ); document.write( "The absolute value of an expression equals minus the expression if the expression is less than or equal to 0.
\n" ); document.write( "-----
\n" ); document.write( "let E be the expression.
\n" ); document.write( "Let the equation be |E| > A
\n" ); document.write( "-----
\n" ); document.write( "If E >= 0, we remove the absolute value sign and get E > A.
\n" ); document.write( "-----
\n" ); document.write( "If E < 0, we remove the absolute value sign and set -E > A.
\n" ); document.write( "We multiply both sides of this equation by (-1) to get E < -A.
\n" ); document.write( "-----
\n" ); document.write( "We need to find when the expressions within the absolute value signs are positive and when the expressions within the absolute value signs are negative.
\n" ); document.write( "-----
\n" ); document.write( "You have a maximum of 4 possible cases.
\n" ); document.write( "case 1 is when both expressions are positive within the absolute value signs.
\n" ); document.write( "case 2 is when both expressions are negative within the absolute value signs.
\n" ); document.write( "case 3 is when the first expression is positive within the absolute value signs, and the second expression is negative within the absolute value signs.
\n" ); document.write( "case 4 is when the first expression is negative within the absolute value signs, and the second expression is positive within the absolute value signs.
\n" ); document.write( "-----
\n" ); document.write( "We test each expression separately to find out when the expression within the absolute value signs is positive and when the expression within the absolute value signs is negative.
\n" ); document.write( "-----
\n" ); document.write( "Take |x-12| < 9
\n" ); document.write( "-----
\n" ); document.write( "The expression within the absolute value sign is (x-12). This is our first expression.
\n" ); document.write( "-----
\n" ); document.write( "x-12 >= 0 when x >= 12
\n" ); document.write( "x-12 < 0 when x < 12
\n" ); document.write( "-----
\n" ); document.write( "The first expression is positive when x >= 12
\n" ); document.write( "The first expression is negative when x < 12
\n" ); document.write( "-----
\n" ); document.write( "Now take |x+2| > 17
\n" ); document.write( "-----
\n" ); document.write( "The expression within the absolute value sign is (x+2). This is our second expression.
\n" ); document.write( "-----
\n" ); document.write( "x+2 >= 0 when x >= -2
\n" ); document.write( "x+2 < 0 when x < -2
\n" ); document.write( "-----
\n" ); document.write( "The second expression is positive when x >= -2.
\n" ); document.write( "The second expression is negative when x < -2
\n" ); document.write( "-----
\n" ); document.write( "Our 4 cases reduce to 3.
\n" ); document.write( "-----
\n" ); document.write( "They are:
\n" ); document.write( "Case 1:
\n" ); document.write( "Both expressions are negative when x < -2.
\n" ); document.write( "Case 2:
\n" ); document.write( "Both expressions are positive when x >= 12.
\n" ); document.write( "Case 3:
\n" ); document.write( "The first expression is negative when x < 12 and the second expression is positive when x >= -2
\n" ); document.write( "Case 4:
\n" ); document.write( "We do not have a case when first expression is positive and second expression is negative so this one cancels out.
\n" ); document.write( "-----
\n" ); document.write( "We look at each of these 3 cases separately.
\n" ); document.write( "-----
\n" ); document.write( "case 1 (both expressions are positive within the absolute value signs).
\n" ); document.write( "This happens when x >= 12.
\n" ); document.write( "-----
\n" ); document.write( "|x-12| < 9 becomes (x-12) < 9 which becomes x < 21.
\n" ); document.write( "|x+2| > 17 becoming (x+2) > 17 which becomes x > 15.
\n" ); document.write( "-----
\n" ); document.write( "We have 2 possible solutions.
\n" ); document.write( "They are:
\n" ); document.write( "x < 21 or x > 15.
\n" ); document.write( "Since case 1 is when x >= 12, both these solutions are possible.
\n" ); document.write( "-----
\n" ); document.write( "We'll move to case number 2 which is when both expressions are negative within the absolute value signs.
\n" ); document.write( "-----
\n" ); document.write( "Case 2 (both expressions are negative within the absolute value signs).
\n" ); document.write( "-----
\n" ); document.write( "This happens when x < -2
\n" ); document.write( "-----
\n" ); document.write( "|x-12| < 9 becomes -(x-12) < 9 becomes (x-12) > -9 when you multiply both sides of this equation by (-1). This becomes x > 3
\n" ); document.write( "-----
\n" ); document.write( "|x+2| > 17 becomes -(x+2) > 17 which becomes (x+2) < -17 when you multiply both sides of this equation by (-1). This becomes x < -19
\n" ); document.write( "-----
\n" ); document.write( "Our two possible solutions are:
\n" ); document.write( "x > 3 or x < -19
\n" ); document.write( "-----
\n" ); document.write( "Since case 2 is when x < -2, the only possible solution is x < -19.
\n" ); document.write( "-----
\n" ); document.write( "We'll move on to case 3 and see what we get.
\n" ); document.write( "-----
\n" ); document.write( "Case 3 is: (x-12) is negative and (x+2) is positive.
\n" ); document.write( "-----
\n" ); document.write( "This happens when x >= 2 and x < 12
\n" ); document.write( "----
\n" ); document.write( "Since (x-12) is negative within the absolute value signs, we get:
\n" ); document.write( "|x-12| < 9 becomes -(x-12) < 9 becomes (x-12) > -9 becomes x > 3.
\n" ); document.write( "-----
\n" ); document.write( "Since (x+2) > 17 is positive within the absolute value signs, we get:
\n" ); document.write( "|x+2| > 17 becomes (x+2) > 17 becomes x > 15.
\n" ); document.write( "-----
\n" ); document.write( "We have two possible solutions of x > 15 and x > 3
\n" ); document.write( "-----
\n" ); document.write( "Since Case 2 is when x >= 2 ANDE x < 12, the only possible solution is x > 3 because x > 15 is outside the range of permissible values for Case 2.
\n" ); document.write( "-----
\n" ); document.write( "We have 3 possible solutions for this set of equations.
\n" ); document.write( "They are:
\n" ); document.write( "x > 15 and x < 21
\n" ); document.write( "x < -19
\n" ); document.write( "x > 3
\n" ); document.write( "-----
\n" ); document.write( "We look at each in turn.
\n" ); document.write( "-----
\n" ); document.write( "Our equations are:
\n" ); document.write( "|x-12| < 9
\n" ); document.write( "|x+2| > 17
\n" ); document.write( "-----
\n" ); document.write( "When x = -20 < -19, we get:
\n" ); document.write( "|x-12| = |-20-12| = |-32| = 32 NOT < 9.
\n" ); document.write( "This solution is not good because it does not satisfy one of the equations.
\n" ); document.write( "-----
\n" ); document.write( "When x = 4 > 3, we get:
\n" ); document.write( "|x-12| = |4-12| = |-8| = 8 < 9 which is OK so we check the second equation.
\n" ); document.write( "|x+2| = |4+2| = |6| = 6 NOT > 17.
\n" ); document.write( "This solution is not good because it does not satisfy one of the equations.
\n" ); document.write( "-----
\n" ); document.write( "When x = 16 > 15 and < 21, we get:
\n" ); document.write( "|x-12| = |16-12| = |4| = 4< 9 OK.
\n" ); document.write( "|x+2| = |16+2| = |18| = 18 > 17 OK.
\n" ); document.write( "-----
\n" ); document.write( "So far, when x > 15 and < 21, we can solve both equations simultaneously.
\n" ); document.write( "-----
\n" ); document.write( "We tested the lower limit of 16 for this possible solution set, so we test the upper limit of these solutions by testing when x = 20.
\n" ); document.write( "-----
\n" ); document.write( "When x = 20 > 15 < 21, we get:
\n" ); document.write( "|x-12| = |20-12| = 8 < 9 which is good.
\n" ); document.write( "|x+2| = |20+2| = 22 > 17 which is also good.
\n" ); document.write( "-----
\n" ); document.write( "Within the limits we are ok.
\n" ); document.write( "We test outside the limits next to see if the limits were expressed correctly.
\n" ); document.write( "-----
\n" ); document.write( "When x = 21, we get:
\n" ); document.write( "|x-12| = 9 NOT < 9 which is not good. The limits on the high end are correct.
\n" ); document.write( "-----
\n" ); document.write( "When x = 15, we get:
\n" ); document.write( "|x-12| = 3 < 9 which is good.
\n" ); document.write( "|x+2| > 17 = 17 NOT > 17 which is not good. The limits on the low end are correct.
\n" ); document.write( "-----
\n" ); document.write( "Before we answer the question, we set x = a to convert back to the original variable name.
\n" ); document.write( "-----
\n" ); document.write( "Our answer to the question is:
\n" ); document.write( "15 < a < 21
\n" ); document.write( "-----
\n" ); document.write( "Those values of a will satisfy both equations of:
\n" ); document.write( "|a-12| < 9
\n" ); document.write( "and
\n" ); document.write( "|a+2| > 17
\n" ); document.write( "simultaneously.
\n" ); document.write( "-----
\n" ); document.write( "
\n" ); document.write( "
\n" );