Advertisements
Advertisements
Question
Draw the graph of the following function:
f(x) = |x – 2|
Advertisements
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))`
Determine whether the following function is odd or even?
f(x) = sin x + cos x
If f(x) = ex and g(x) = loge x then find (3f) (1).
Draw the graph of the following function:
f(x) = 16 – x2
If f(x) = `1/(2x + 1)`, x > `-1/2`, then show that f(f(x)) = `(2x + 1)/(2x + 3)`
If f(x) = `{(x^2 - 4x if x >= 2),(x+2 if x < 2):}`, then f(5) is
If f(x) = `(1 - x)/(1 + x)` then f(-x) is equal to:
The graph of the line y = 3 is
The graph of y = ex intersect the y-axis at:
If f(x) = x2 and g(x) = 2x + 1 then (fg)(0) is:
