Review question

# Can we sketch the graph of $y = |x| + |x-1| + |x-4|$? Add to your resource collection Remove from your resource collection Add notes to this resource View your notes for this resource

Ref: R9130

## Question

If $p$ is real the value of $\big|p\big|$ is $p$ if $p \ge 0$ and is $-p$ if $p < 0$.

By considering the ranges $x < 0$, $0 \le x < 1$, $1 \le x < 4$ and $x \ge 4$, show that the graph of $\begin{equation*} y = \big|x\big| + \big|x-1\big| + \big|x-4\big| \end{equation*}$

consists of four line segments and give the equation of each segment. Sketch the graph.

Calculate the roots of the equations

1. $\big|x\big| + \big|x-1\big| + \big|x-4\big| = 6 - \dfrac{1}{3}x$,
2. $\big|x\big| + \big|x-1\big| + \big|x-4\big| = \dfrac{1}{x}$.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 3, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.4693034589290619, "perplexity": 556.5511592093696}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2018-05/segments/1516084891543.65/warc/CC-MAIN-20180122213051-20180122233051-00488.warc.gz"}