Advertisements
Advertisements
Question
Draw the graph of the following function:
f(x) = |x – 2|
Solution
Let y = f(x) = |x – 2|
f(x) = `{(x - 2 if x - 2 >= 0),(- (x - 2) if x - 2 < 0):}`
f(x) = `{(x - 2 if x >= 2),(- x + 2 if x < 2):}`
y = x - 2, x ≥ 2
x | 2 | 3 | 4 | 5 |
y | 0 | 1 | 2 | 3 |
y = - x + 2, x < 2
x | 0 | -1 | -2 | -3 |
y | 2 | 3 | 4 | 5 |
Plot the points (2, 0), (3, 1) (4, 2), (5, 3), (0, 2), (-1, 3), (-2, 4), (-3, 5) and draw a line.
The graph is as shown in the figure.
APPEARS IN
RELATED QUESTIONS
Determine whether the following function is odd or even?
f(x) = `((a^x - 1)/(a^x + 1))`
Let f be defined by f(x) = x3 – kx2 + 2x, x ∈ R. Find k, if ‘f’ is an odd function.
Draw the graph of the following function:
f(x) = x |x|
Draw the graph of the following function:
f(x) = e2x
Draw the graph of the following function:
f(x) = e-2x
Draw the graph of the following function:
f(x) = `|x|/x`
The graph of the line y = 3 is
The graph of y = 2x2 is passing through:
The graph of y = ex intersect the y-axis at:
If f(x) = 2x and g(x) = `1/2^x` then (fg)(x) is: