Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Solve |x-1|e^x

  1. Sep 28, 2005 #1

    So Im a little confused about the absolute value sign here. Is the derivative right:

    [x-1/|x-1|]e^x + |x-1|e^x

    But what do I do when I set this to zero? Do I get two expressions, one for x>1 and one for x<1 ? (thus removing the absolute value signs)
  2. jcsd
  3. Sep 29, 2005 #2
    Hints anyone...?
  4. Sep 29, 2005 #3


    User Avatar
    Science Advisor
    Homework Helper

    [tex]|x-1|=x-1\quad\text{for}\quad x\geq 1[/tex]


    [tex]|x-1|=-(x-1)\quad\text{for}\quad x<1[/tex]

    Thus your expression represents this function:

    (x-1)e^x & \mbox{for} & x\geq 1 \\
    -(x-1)e^x & \mbox{for} & x<1

    and so the derivative will represent two functions likewise but will not exist at x=1. Try plotting this conditional function and you'll see what I mean.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook