Thread:

1. Composite function

If $f(x)=\frac{1}{x-1}$ for $x>2$ and $f(x)=x+1$ for $2 \geq x$, find $f(a-2)$ in terms of a.

Normally I would simply substitute a in, but I don't know if that is the right way to go about things?

I think I should have considered pre-calc a little more carefully before going into calc

2. Originally Posted by DivideBy0
If $f(x)=\frac{1}{x-1}$ for $x>2$ and $f(x)=x+1$ for $2 \geq x$, find $f(a-2)$ in terms of a.

Normally I would simply substitute a in, but I don't know if that is the right way to go about things?...
Hello,

of course your plan is OK - but you have to plug in the term (a-2) into the conditions too:

$f(x)=\left \{\begin{array}{lr}\frac{1}{x-1} & x>2 \\x+1 & x\leq 2\end{array}\right.$

Now you get:

$f(a-2)=\left \{\begin{array}{lr}\frac{1}{a-2-1} & a-2>2 \\a-2+1 & a-2\leq 2\end{array}\right.$ After simplifying a little bit you have:

$f(a-2)=\left \{\begin{array}{lr}\frac{1}{a-3} & a>4 \\a-1 & a\leq 4 \end{array}\right.$
{"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": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 13, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "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}, "english_confidence": 0.963476836681366, "perplexity_flag": "head"}