If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Worked example: absolute value equations with one solution

To solve absolute value problems with one solution, identify expression in absolute value bars. Recall absolute value is zero only if expression is zero. Make expression equal right-hand side. Use algebra to find x values that satisfy equation. Check solutions by plugging in. Graph solutions on number line. Mark points. Created by Sal Khan and Monterey Institute for Technology and Education.

Want to join the conversation?

  • leaf green style avatar for user Noah
    why isn't there a number line?
    (39 votes)
    Default Khan Academy avatar avatar for user
  • mr pants teal style avatar for user Max
    What effect does the absolute value bring into an equation?
    (15 votes)
    Default Khan Academy avatar avatar for user
    • orange juice squid orange style avatar for user BcaT
      it means that if the the equation equals an integer greater or less than 0 it will have 2 answers, which correlate to the graph later on in algebra. as you can see with this video, when an absolute value equals 0, it is just 0. a special exception.
      (11 votes)
  • blobby green style avatar for user Kyle Moon
    Why is this video on the website twice in a row? The other video is just called absolute value equations and also shows the number line in the solution as well.
    (8 votes)
    Default Khan Academy avatar avatar for user
  • leaf yellow style avatar for user alyssa brown
    My algebra teacher is working on these type of equations with us in class, but she taught us to switch the signs in the middle. In this case we would of switched the negative to a positive. How come you do it different?
    (4 votes)
    Default Khan Academy avatar avatar for user
    • male robot donald style avatar for user Jeremy
      Alyssa,

      I think the reason that the method is a little bit different here than what you are used to is because in this particular problem there was a 0 on the right hand side of the equation.

      The equation Sal was solving was |3x-9|=0, right? Well, normally, you solve equations with an absolute value in them by considering two cases. In the first case, you assume that the stuff inside the parentheses is already a positive number, so you can just get rid of the absolute value signs and solve the problem as though they aren't even there. Then, once you've finished doing the problem that way, you have to come back and solve the second case. In the second case, you assume that the stuff inside the absolute value signs was negative, and taking the absolute value of it made it positive. Therefore, the absolute value symbols changed the sign of the stuff inside of them, which is the same thing as changing their signs. So you get rid of the absolute value signs and change the sign of everything inside the absolute value, and then you solve the whole problem a second time. When you do this method of accounting for case 1 and then case 2, you usually find that you get two different answers.

      But for THIS problem, we didn't need to do any of that, because the problem was equal to 0, which means that the stuff inside the absolute value sign also had to be equal to 0. We didn't need to think about the two different possibilities of the stuff inside the absolute value signs, because we knew that it had to be equal to 0.
      (3 votes)
  • blobby green style avatar for user Emily Vitale
    Okay, so this is a math question relating to a homework question! So I understand everything in the video, but how would you solve a absolute value equation that looked like: I X+5 I= 3x - 7? Would you move the X over to the 3X and get I 4X I = -12? and then solve? Any help is greatly appreciated :)
    (4 votes)
    Default Khan Academy avatar avatar for user
  • leafers sapling style avatar for user nia
    Can you explain to me why, for example |3x-9|=0, that the -9 does not change to positive even though it has the absolute value bars? thanks :)
    (2 votes)
    Default Khan Academy avatar avatar for user
    • stelly blue style avatar for user Kim Seidel
      You can't take the absolute value of the individual parts.
      We follow PEMDAS rules. The absolute value is a special case of parentheses. We do the work inside the parentheses 1st. The absolute value gets applied to the result, not the parts.
      Consider this numeric example: |3(5)-9|
      1) Using PEMDAS: Mulitply, substract, then do absolute value once there is one number.
      |3(5)-9| = |15 -9| = |6| = 6

      2) If you do absolute value 1st (make everything positie), do you still get 6?
      |3(5)-9| becomes 3(5)+9 = 15 + 9 = 24.

      We now have 2 different answers for the same problems. Math creates consistent answers if you follow the rules. The fact that these are not the same tells use one of them is the wrong approach.
      The 1st version follows the correct set of step.

      Hopefully, this makes it easier to see why we can't just go in and change all the signs to positive. We would get the wrong answers.
      (4 votes)
  • mr pink red style avatar for user zaenul
    WHAT to do is the equation is set to y=l3x-9l
    (2 votes)
    Default Khan Academy avatar avatar for user
  • leaf grey style avatar for user Kevin Shen
    Isn't this the same video as the last one?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Benjamin Giventer
    what does it mean to check for extraneous solutions?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • old spice man green style avatar for user jmascaro
      Hi Benjamin,
      An extraneous solution is a solution that, when plugged back in to the original equation, does not work. Extraneous solutions can occur when dealing with absolute values or quadratics. In certain situations, even though you may get two solutions, when the solutions are plugged back in to the original equation, one of them may not work. The solution that does not work would then be considered extraneous.
      Hope that helps :-)
      (2 votes)
  • starky ultimate style avatar for user Slatertron
    didn't you do this in you previous video? like the one before it?
    (2 votes)
    Default Khan Academy avatar avatar for user

Video transcript

We're told, solve the absolute value of 3x minus 9 is equal to 0, and graph the solution on a number line. So let's just rewrite the absolute value equation. They told us that the absolute value of 3x minus 9 is equal to 0. So we're told that the absolute value of the something-- in this case the something is 3x minus 9-- is equal to 0. If I told you that the absolute value of something is equal to 0, I'm telling you that something has to be exactly 0 away from 0, or 0 away from the origin on the number line. So the only thing that that something could be is 0. If I told you that the absolute value of x is equal to 0, you know that x has to be equal to 0. That's the only value whose absolute value is 0. So if I told you that the absolute value of 3x minus 9 is 0, than we know that 3x minus 9 has to be equal to 0, and that's kind of unique about the 0 is that, it's the only number the has a unique, that's only the absolute value of 0. If you had, say, a 1 here, you could say, oh well, then this thing could be a 1 or a negative 1. But here, if you have a 0, this thing can only be 0. So solving this equation is fairly straightforward. If we want to isolate the 3x, get rid of the negative 9 on the left-hand side, we add 9 to both sides of the equation. Add 9 to both sides of the equation, these 9's cancel out. That's the whole point. On the left-hand side, you're just left with 3x, and on the right-hand side, you are just left with 9. Now we want to solve for x, so we have 3 times x. Let's divide it by 3, because 3 times x divided by 3 is just going to be x. But if we divide the left side by 3, we have to divide the right side by 3. So we are left with-- these guys cancel out. x is equal to 9 over 3, which is 3. And that's our solution. Now let's try out. Let's make sure that this actually works. Let's substitute it back into our original equation. So we have the absolute value of 3 times x. Instead of x, I'll just put in our actual answer that we got, 3 times 3 minus 9 has got to be equal to 0. So what's this going to be equal to? 3 times 3 is 9. So it's the absolute value of 9 minus 9, which is the absolute value of 0, which is, indeed, 0. So it does, indeed, equal 0, and we are done.