Can I treat absolute value functions as separate functions for graphing?

Dell
Messages
555
Reaction score
0
when i am exploring a function eg. f(x)=|2x-6|

can i treat it as two separate function all the way through, one to the left of x=3 and one to the right, and only at the very end, when i draw the graph connect them, ie draw a graph according to all the values i found from each side? will this work whenever i have absolute value of a basic polynom, should this always come out as a mirror image?
 
Physics news on Phys.org
Dell said:
when i am exploring a function eg. f(x)=|2x-6|

can i treat it as two separate function all the way through, one to the left of x=3 and one to the right, and only at the very end, when i draw the graph connect them, ie draw a graph according to all the values i found from each side?
Yes. You won't have to connect them at the end, since the two halves will already be connected at x = 3.
Dell said:
will this work whenever i have absolute value of a basic polynom, should this always come out as a mirror image?
Yes, if you mean the mirror image across the x-axis. Take for example the function g(x) = |x^2 - 2x|. For x < 0 or x > 2, the graph looks exactly like that of the parabola y = x^2 - 2x. However, for 0 < x < 2, the portion of the graph of the parabola that lies below the x-axis is relected across it.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top