Proving f(x) = g(x) with absolute value function

  • Thread starter Thread starter razored
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
7 replies · 2K views
razored
Messages
173
Reaction score
0
This not homework(self-study book). I do not know where to begin to prove this. This is from "Essentials Calculus" page 45, problem # 11

[tex]f(x) = \left\{ \begin{array}{rcl}{-1} & \mbox{if}& -\infty < x < -1, \\ x & \mbox{if} & -1\leq x\leq1, \\1 & \mbox{if} & 1 < x <\infty ,\end{array}\right[/tex]
[tex]g(x) = \frac {1} {2} |x+1 | - \frac {1}{2}|x-1|[/tex]
Prove that [tex]f(x)\equiv g(x)[/tex]

Latex is awesome :biggrin: First time using it here!
 
Physics news on Phys.org
Glad you like latex. But, yes, as rock.freak667 points out, split into the three cases that define f.
 
rock.freak667 said:
where's your attempt at the proof?

But consider what g(x) is for the conditions for f(x)

Dick said:
Glad you like latex. But, yes, as rock.freak667 points out, split into the three cases that define f.

I don't understand ... "split into the three cases that define f." the cases are listed.

I have no idea where to begin to prove this; a profound explanation would be helpful.
 
He means split g(x) into the three cases that define f(x). You must show that when x < -1, g(x) = -1, when -1 < x < 1, g(x) = x, and when x > 1, g(x) = 1.
 
Consider this simpler problem:

[tex]f(x) = \begin{cases}-x & \text{if}\ x < 0 \\ \phantom{-}x & \text{if}\ x>=0 \end{cases}[/tex]

[tex]g(x) = |x|[/tex]

For [itex]x>=0[/itex], [itex]g(x)=|x|=x[/tex]. For [itex]x<0[/itex], [itex]g(x)=|x|=-x[/tex]. In both cases, [itex]g(x)=f(x)[/itex]. The functions are identical for all x.<br /> <br /> You can do the same thing with your [itex]f(x)[/itex] and [itex]g(x)[/itex]. In particular, what does [itex]g(x)[/itex] evaluate to in each of the three regions?[/itex][/itex]
 
If you want to see how to write it formally out you would do something like:
Case 1: Suppose x < -1 then g(x) = ... = f(x)
Case 2: Suppose x > 1 then g(x) = ... = f(x)
Case 3: Suppose -1<=x<=1 then g(x) = ... = f(x)

Two functions f,g are equal in an interval I if f(x)=g(x) for every x in I. (In your case your interval is all real #'s.)