SOLUTION: How do I write y = |2x-4| in a piecewise expression.

Algebra.Com
Question 477012: How do I write y = |2x-4| in a piecewise expression.
Answer by Edwin McCravy(20055)   (Show Source): You can put this solution on YOUR website!
y = |2x-4|
when 2x-4 is positive or zero then y = 2x-4
when 2x-4 is negative then y = -(2x-4)

That is,

when 2x-4 ≧ 0 then y = 2x-4
when 2x-4 < 0 then y = -(2x-4)

Solve 2x-4 ≧ 0
        2x ≧ 4
         x ≧ 2

Solve 2x-4 < 0
        2x < 4
         x < 2

Therefore 

when x ≧ 2, then y = 2x-4
when x < 2, then y = -(2x-4)

Normally that is written:

 

And you might want to write -(2x-4) as -2x+4

 

Sometimes they put "if" instead of "when"



And sometimes they just put a comma there,



Edwin


RELATED QUESTIONS

How do you graph a piecewise-defined function that has the lines y = 2x+3 and y =... (answered by stanbon)
Write the absolute value function y=|3x-4| in piecewise... (answered by ikleyn)
how do you write piecewise functions? f(x)={2x+1 , x≥1 {x/2-3 ,... (answered by Edwin McCravy)
How Do i Write Y(3-x) As a verbal expression... (answered by ankor@dixie-net.com)
how do you write this into a equivalent expression using the distributive property... (answered by coyote)
How do I graph piecewise functions? Please... (answered by swincher4391)
how do I graph... (answered by josgarithmetic,Alan3354)
how do i write an expression for a rectangles... (answered by Alan3354)
How do you write the correct equation in slope intercept form? A line perpendicular to... (answered by jerryguo41)