Skip to content

Functions (Advanced) | DSE - Wyatt's Notes

This note assumes the reader is already familiar with:

  • Basic functions: notation, domain, range, evaluation, and graphing.
  • Linear and quadratic functions: slopes, intercepts, vertex form, factorisation.
  • Simple graph transformations: translation, reflection, and scaling of y=f(x)y = f(x).

These topics are covered in the introductory Functions note. Readers who have completed the DSE compulsory mathematics core should proceed directly; others should review the introductory functions material first.

This note extends the treatment of functions covered in Functions, focusing on Domain restrictions, composite and inverse functions with non-trivial domains, and graphical Transformations.

The natural domain of a function is the largest subset of R\mathbb{R} for which the function Expression is defined. Restrictions arise from:

RestrictionConditionExample
Division by zeroDenominator 0\neq 0f(x)=1x2f(x) = \dfrac{1}{x - 2}: dom(f)=R{2}\mathrm{dom}(f) = \mathbb{R} \setminus \{2\}
Even rootRadicand 0\geqslant 0f(x)=x3f(x) = \sqrt{x - 3}: dom(f)=[3,)\mathrm{dom}(f) = [3, \infty)
LogarithmArgument >0\gt 0f(x)=ln(x+1)f(x) = \ln(x + 1): dom(f)=(1,)\mathrm{dom}(f) = (-1, \infty)

To find the range of f(x)f(x):

  1. Complete the square (for quadratics).
  2. Consider the behaviour of the function at critical points and at the boundaries of the domain.
  3. For rational functions, find horizontal asymptotes and analyse sign changes.

Find the domain and range of f(x)=4x2f(x) = \sqrt{4 - x^2}.

Domain: 4x20    x24    2x24 - x^2 \geqslant 0 \implies x^2 \leqslant 4 \implies -2 \leqslant x \leqslant 2.

Range: Since 4x24 - x^2 ranges from 00 (at x=±2x = \pm 2) to 44 (at x=0x = 0), and \sqrt{\cdot} is Non-negative: range(f)=[0,2]\mathrm{range}(f) = [0, 2].


Given ff and ggThe composite fgf \circ g is:

(fg)(x)=f(g(x))(f \circ g)(x) = f(g(x))

dom(fg)={xdom(g):g(x)dom(f)}\mathrm{dom}(f \circ g) = \{x \in \mathrm{dom}(g) : g(x) \in \mathrm{dom}(f)\}

Let f(x)=x+1f(x) = \sqrt{x + 1} and g(x)=x24g(x) = x^2 - 4. Find dom(fg)\mathrm{dom}(f \circ g).

dom(g)=R\mathrm{dom}(g) = \mathbb{R}.

dom(f)=[1,)\mathrm{dom}(f) = [ -1, \infty) So we need g(x)1g(x) \geqslant -1I.e., x241    x23x^2 - 4 \geqslant -1 \implies x^2 \geqslant 3.

dom(fg)=(,3][3,)\mathrm{dom}(f \circ g) = (-\infty, -\sqrt{3}] \cup [\sqrt{3}, \infty)

Let f(x)=1xf(x) = \dfrac{1}{x} and g(x)=x+1g(x) = x + 1. Find fgf \circ g, gfg \circ f And their domains.

(fg)(x)=f(g(x))=f(x+1)=1x+1(f \circ g)(x) = f(g(x)) = f(x + 1) = \dfrac{1}{x + 1} dom=R{1}\mathrm{dom} = \mathbb{R} \setminus \{-1\}.

(gf)(x)=g(f(x))=g ⁣(1x)=1x+1(g \circ f)(x) = g(f(x)) = g\!\left(\dfrac{1}{x}\right) = \dfrac{1}{x} + 1 dom=R{0}\mathrm{dom} = \mathbb{R} \setminus \{0\}.


A function ff has an inverse f1f^{-1} if and only if ff is bijective (one-to-one and onto). If the Natural domain of ff does not yield injectivity, restrict the domain.

  1. Set y=f(x)y = f(x).
  2. Solve for xx in terms of yy.
  3. Interchange xx and yy to obtain f1(x)f^{-1}(x).

The domain of f1f^{-1} equals the range of ff And vice versa.

The graph of y=f1(x)y = f^{-1}(x) is the reflection of y=f(x)y = f(x) in the line y=xy = x.

Find the inverse of f(x)=2x3x+1f(x) = \dfrac{2x - 3}{x + 1} for x1x \neq -1.

Set y=2x3x+1y = \dfrac{2x - 3}{x + 1}.

y(x+1)=2x3    yx+y=2x3    yx2x=3y    x(y2)=(y+3)y(x + 1) = 2x - 3 \implies yx + y = 2x - 3 \implies yx - 2x = -3 - y \implies x(y - 2) = -(y + 3)

x=(y+3)y2=y+32yx = \frac{-(y + 3)}{y - 2} = \frac{y + 3}{2 - y}

Therefore f1(x)=x+32xf^{-1}(x) = \dfrac{x + 3}{2 - x}With domain R{2}\mathbb{R} \setminus \{2\}.


Given y=f(x)y = f(x):

| Transformation | Effect on Graph | | -------------- | ------------------------------------------------------------- | --- | ----------------------------------- | | y=f(x)+cy = f(x) + c | Vertical shift up by cc (c>0c \gt 0) or down (c<0c \lt 0) | | | | y=f(xh)y = f(x - h) | Horizontal shift right by hh (h>0h \gt 0) or left (h<0h \lt 0) | | | | y=af(x)y = af(x) | Vertical stretch by factor a| a |; reflect in xx-axis if a<0a \lt 0 | | y=f(kx)y = f(kx) | Horizontal stretch by factor 1/k1/ | k |; reflect in yy-axis if k<0k \lt 0 |

Combined Transformation: y=af(x+b)+cy = af(x + b) + c

Section titled “Combined Transformation: y=af(x+b)+cy = af(x + b) + cy=af(x+b)+c”

Apply in order from inside out:

  1. Horizontal shift by b-b
  2. Vertical stretch/reflection by factor aa
  3. Vertical shift by cc

The graph of y=f(x)y = f(x) passes through (2,5)(2, 5) and (4,1)(4, -1). Find the corresponding points on y=2f(x3)+1y = -2f(x - 3) + 1.

For (2,5)(2, 5): set x3=2    x=5x - 3 = 2 \implies x = 5. Then y=2(5)+1=9y = -2(5) + 1 = -9. Point: (5,9)(5, -9).

For (4,1)(4, -1): set x3=4    x=7x - 3 = 4 \implies x = 7. Then y=2(1)+1=3y = -2(-1) + 1 = 3. Point: (7,3)(7, 3).

Describe the transformation from y=xy = \sqrt{x} to y=3x+2y = \sqrt{3 - x} + 2.

y=(x3)+2=f((x3))+2y = \sqrt{-(x - 3)} + 2 = f(-(x - 3)) + 2 where f(x)=xf(x) = \sqrt{x}.

  1. Reflect in yy-axis: y=xy = \sqrt{-x}
  2. Shift right by 3: y=(x3)=3xy = \sqrt{-(x - 3)} = \sqrt{3 - x}
  3. Shift up by 2: y=3x+2y = \sqrt{3 - x} + 2

Domain: 3x0    x33 - x \geqslant 0 \implies x \leqslant 3. Range: [2,)[2, \infty).


A piecewise function is defined by different expressions on different intervals of its domain.

f(x)={x2ifx<02x+1if0x310xifx>3f(x) = \begin{cases} x^2 & \mathrm{if } x \lt 0 \\ 2x + 1 & \mathrm{if } 0 \leqslant x \leqslant 3 \\ 10 - x & \mathrm{if } x \gt 3 \end{cases}

Find f(2)f(-2), f(0)f(0), f(3)f(3) And f(5)f(5).

f(-2) = (-2)^2 = 4$$f(0) = 2(0) + 1 = 1$$f(3) = 2(3) + 1 = 7$$f(5) = 10 - 5 = 5.


  • When finding the domain of fgf \circ gApplying the domain restrictions of ff to xx instead of to g(x)g(x). The argument of ff must be valid, so it is g(x)g(x) that must fall in dom(f)\mathrm{dom}(f).
  • Forgetting that fggff \circ g \neq g \circ f . Always check the order.
  • When finding an inverse, forgetting to verify that the function is one-to-one on the given domain.
  • Confusing y=f(x)y = f(-x) (reflection in yy-axis) with y=f(x)y = -f(x) (reflection in xx-axis).
  • For piecewise functions, using the wrong expression for a given xx-value.

flowchart TD
A[2_Functions Advanced] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]
TopicKey Result
Domain of fgf \circ g{xdom(g):g(x)dom(f)}\{x \in \mathrm{dom}(g) : g(x) \in \mathrm{dom}(f)\}
Inverse existenceff must be bijective
f1(f(x))=xf^{-1}(f(x)) = xFor all xdom(f)x \in \mathrm{dom}(f)
f(f1(x))=xf(f^{-1}(x)) = xFor all xdom(f1)x \in \mathrm{dom}(f^{-1})
Graph of inverseReflection in y=xy = x
y=f(xh)y = f(x - h)Shift right by hh

Wrap-up Questions
  1. Question: Let f(x)=x+2x1f(x) = \dfrac{x + 2}{x - 1} and g(x)=2x3g(x) = 2x - 3. Find (fg)(x)(f \circ g)(x) and its domain.

(fg)(x)=f(2x3)=2x3+22x31=2x12x4(f \circ g)(x) = f(2x - 3) = \dfrac{2x - 3 + 2}{2x - 3 - 1} = \dfrac{2x - 1}{2x - 4}.

dom(g)=R\mathrm{dom}(g) = \mathbb{R}. dom(f)=R{1}\mathrm{dom}(f) = \mathbb{R} \setminus \{1\} So g(x)1g(x) \neq 1: 2x31    x22x - 3 \neq 1 \implies x \neq 2. Also 2x40    x22x - 4 \neq 0 \implies x \neq 2. dom(fg)=R{2}\mathrm{dom}(f \circ g) = \mathbb{R} \setminus \{2\}.

  1. Question: Find f1f^{-1} for f(x)=3x+1x2f(x) = \dfrac{3x + 1}{x - 2} (x2x \neq 2).

Set y=3x+1x2y = \dfrac{3x + 1}{x - 2}. Then y(x2)=3x+1    yx2y=3x+1    x(y3)=2y+1y(x - 2) = 3x + 1 \implies yx - 2y = 3x + 1 \implies x(y - 3) = 2y + 1.

f^{-1}(x) = \dfrac{2x + 1}{x - 3}$$\mathrm{dom}(f^{-1}) = \mathbb{R} \setminus \{3\}.

  1. Question: Let f(x)=x24x+3f(x) = x^2 - 4x + 3 with domain [1,)[1, \infty). Find f1(0)f^{-1}(0).

First find f1f^{-1}. Set y=(x2)21y = (x - 2)^2 - 1. Since domain is [1,)[1, \infty)Range is [1,)[-1, \infty).

(x2)2=y+1    x2=y+1(x - 2)^2 = y + 1 \implies x - 2 = \sqrt{y + 1} (positive root since x1x \geqslant 1).

f^{-1}(x) = 2 + \sqrt{x + 1}$$\mathrm{dom}(f^{-1}) = [-1, \infty).

f1(0)=2+0+1=2+1=3f^{-1}(0) = 2 + \sqrt{0 + 1} = 2 + 1 = 3.

Verification: f(3)=912+3=0f(3) = 9 - 12 + 3 = 0. Confirmed.

  1. Question: The graph of y=f(x)y = f(x) has a minimum at (1,2)(1, -2) and passes through (0,3)(0, 3). Find the corresponding points on y=3f(2x)+1y = 3f(2x) + 1.

(1,2)(1, -2) \to set 2x = 1 \implies x = 0.5$$y = 3(-2) + 1 = -5. Point: (0.5,5)(0.5, -5).

(0,3)(0, 3) \to set 2x = 0 \implies x = 0$$y = 3(3) + 1 = 10. Point: (0,10)(0, 10).

  1. Question: A function ff is defined by f(x)=2x2f(x) = 2 - x^2 for x0x \leqslant 0. State the range of ff and find f1f^{-1}.

Since x0x \leqslant 0: x20x^2 \geqslant 0 So f(x)=2x22f(x) = 2 - x^2 \leqslant 2. As xx \to -\infty f(x)f(x) \to -\infty. Range: (,2](-\infty, 2].

Set y=2x2    x2=2y    x=2yy = 2 - x^2 \implies x^2 = 2 - y \implies x = -\sqrt{2 - y} (negative root since x0x \leqslant 0).

f^{-1}(x) = -\sqrt{2 - x}$$\mathrm{dom}(f^{-1}) = (-\infty, 2].

  1. Question: Given f(x)=x1f(x) = \sqrt{x - 1} and g(x)=x2+x+1g(x) = x^2 + x + 1Find dom(gf)\mathrm{dom}(g \circ f).

\mathrm{dom}(f) = [1, \infty)$$\mathrm{dom}(g) = \mathbb{R}.

(gf)(x)=g(x1)=(x1)2+x1+1=x1+x1+1=x+x1(g \circ f)(x) = g(\sqrt{x - 1}) = (\sqrt{x - 1})^2 + \sqrt{x - 1} + 1 = x - 1 + \sqrt{x - 1} + 1 = x + \sqrt{x - 1}.

Since gg has no domain restriction, dom(gf)=dom(f)=[1,)\mathrm{dom}(g \circ f) = \mathrm{dom}(f) = [1, \infty).

  1. Question: Find the domain and range of f(x)=1x2+1f(x) = \dfrac{1}{x^2 + 1}.

Domain: x2+10x^2 + 1 \neq 0 for all real xx (since x20x^2 \geqslant 0). dom(f)=R\mathrm{dom}(f) = \mathbb{R}.

Range: x2+11x^2 + 1 \geqslant 1 So 0<1x2+110 \lt \dfrac{1}{x^2 + 1} \leqslant 1. range(f)=(0,1]\mathrm{range}(f) = (0, 1].

  1. Question: Let f(x)=x3+x+1f(x) = |x - 3| + |x + 1|. Express ff as a piecewise function and find its minimum value.

Critical points at x=3x = 3 and x=1x = -1:

f(x)={(x3)+(x+1)=2x+2ifx<1(x3)+(x+1)=4if1x3(x3)+(x+1)=2x2ifx>3f(x) = \begin{cases} -(x - 3) + -(x + 1) = -2x + 2 & \mathrm{if } x \lt -1 \\ -(x - 3) + (x + 1) = 4 & \mathrm{if } -1 \leqslant x \leqslant 3 \\ (x - 3) + (x + 1) = 2x - 2 & \mathrm{if } x \gt 3 \end{cases}

For x<1x \lt -1: f(x)=2x+2f(x) = -2x + 2Which is decreasing (as xx increases towards 1-1). As x1x \to -1^-: f(x)4f(x) \to 4.

For 1x3-1 \leqslant x \leqslant 3: f(x)=4f(x) = 4 (constant).

For x>3x \gt 3: f(x)=2x2f(x) = 2x - 2Which is increasing.

Minimum value: 44Attained for all x[1,3]x \in [-1, 3].


Worked Example 8: Domain of a composite with square root and rational function

Let f(x)=x+1x2f(x) = \dfrac{x + 1}{x - 2} and g(x)=x3g(x) = \sqrt{x - 3}. Find dom(fg)\mathrm{dom}(f \circ g) and dom(gf)\mathrm{dom}(g \circ f).

Solution

dom(g)=[3,)\mathrm{dom}(g) = [3, \infty). dom(f)=R{2}\mathrm{dom}(f) = \mathbb{R} \setminus \{2\}.

For fgf \circ g: We need g(x)dom(f)g(x) \in \mathrm{dom}(f)I.e., x32\sqrt{x-3} \neq 2.

x3=2    x=7\sqrt{x-3} = 2 \implies x = 7. So exclude x=7x = 7.

dom(fg)=[3,){7}\mathrm{dom}(f \circ g) = [3, \infty) \setminus \{7\}.

For gfg \circ f: We need xdom(f)x \in \mathrm{dom}(f) and f(x)3f(x) \geq 3.

x+1x23    x+13(x2)x20    2x+7x20\frac{x+1}{x-2} \geq 3 \implies \frac{x+1-3(x-2)}{x-2} \geq 0 \implies \frac{-2x+7}{x-2} \geq 0

Critical points: x=72x = \dfrac{7}{2} and x=2x = 2.

IntervalSign of 2x+7x2\dfrac{-2x+7}{x-2}
x<2x \lt 2negative / negative == positive
2<x<722 \lt x \lt \dfrac{7}{2}positive / positive == positive
x>72x \gt \dfrac{7}{2}negative / positive == negative

At x=72x = \dfrac{7}{2}: expression equals 00Which satisfies 0\geq 0.

dom(gf)=(2,  72]\mathrm{dom}(g \circ f) = \left(2,\; \dfrac{7}{2}\right].

Worked Example 9: Inverse of a restricted quadratic

Let f(x)=2x28x+5f(x) = 2x^2 - 8x + 5 with domain [2,)[2, \infty). Find f1f^{-1} and state its domain and range.

Solution

Complete the square: f(x)=2(x24x)+5=2 ⁣[(x2)24]+5=2(x2)23f(x) = 2(x^2 - 4x) + 5 = 2\!\left[(x-2)^2 - 4\right] + 5 = 2(x-2)^2 - 3.

Since the domain is [2,)[2, \infty) and the vertex is at x=2x = 2The function is strictly increasing and hence one-to-one.

Range: [3,)[-3, \infty).

Set y=2(x2)23y = 2(x-2)^2 - 3:

(x2)2=y+32(x-2)^2 = \frac{y+3}{2}

x=2+y+32x = 2 + \sqrt{\frac{y+3}{2}}

(positive root since x2x \geq 2)

f1(x)=2+x+32f^{-1}(x) = 2 + \sqrt{\frac{x+3}{2}}

\mathrm{dom}(f^{-1}) = [-3, \infty)$$\mathrm{range}(f^{-1}) = [2, \infty).

Verification: f1(f(3))=f1(1)=2+1=3f^{-1}(f(3)) = f^{-1}(-1) = 2 + \sqrt{1} = 3. Correct.

Worked Example 10: Transformation of multiple points

The graph of y=f(x)y = f(x) passes through (1,4)(1, 4) and has a local minimum at (2,1)(2, -1). Find the corresponding points on y=2f(3x6)+5y = 2f(3x - 6) + 5.

Solution

Rewrite: y=2f(3(x2))+5y = 2f(3(x-2)) + 5.

For (1,4)(1, 4) on y=f(x)y = f(x): Set 3(x2)=13(x-2) = 1 So x2=13x - 2 = \dfrac{1}{3}Giving x=73x = \dfrac{7}{3}.

y=2(4)+5=13y = 2(4) + 5 = 13

Corresponding point: (73,  13)\left(\dfrac{7}{3},\; 13\right).

For the minimum at (2,1)(2, -1): Set 3(x2)=23(x-2) = 2 So x2=23x - 2 = \dfrac{2}{3}Giving x=83x = \dfrac{8}{3}.

y=2(1)+5=3y = 2(-1) + 5 = 3

Corresponding point: (83,  3)\left(\dfrac{8}{3},\; 3\right). This is the minimum of the transformed graph.

Worked Example 11: Composite with logarithm

Let f(x)=ln(x1)f(x) = \ln(x - 1) and g(x)=x2+1g(x) = x^2 + 1. Find (fg)(x)(f \circ g)(x), (gf)(x)(g \circ f)(x) And their domains.

Solution

dom(g)=R\mathrm{dom}(g) = \mathbb{R}, dom(f)=(1,)\mathrm{dom}(f) = (1, \infty).

(fg)(x)=f(g(x))=ln(x2+11)=ln(x2)(f \circ g)(x) = f(g(x)) = \ln(x^2 + 1 - 1) = \ln(x^2).

Domain: need g(x)dom(f)g(x) \in \mathrm{dom}(f)I.e., x2+1>1    x2>0    x0x^2 + 1 \gt 1 \implies x^2 \gt 0 \implies x \neq 0.

dom(fg)=R{0}\mathrm{dom}(f \circ g) = \mathbb{R} \setminus \{0\}.

(gf)(x)=g(f(x))=[ln(x1)]2+1(g \circ f)(x) = g(f(x)) = [\ln(x-1)]^2 + 1.

Domain: dom(gf)=dom(f)=(1,)\mathrm{dom}(g \circ f) = \mathrm{dom}(f) = (1, \infty).

Worked Example 12: Self-inverse function

Show that f(x)=3x2x3f(x) = \dfrac{3x - 2}{x - 3} (x3x \neq 3) is self-inverse.

Solution

Set y=3x2x3y = \dfrac{3x - 2}{x - 3}:

y(x3)=3x2    xy3y=3x2    xy3x=3y2y(x - 3) = 3x - 2 \implies xy - 3y = 3x - 2 \implies xy - 3x = 3y - 2

x(y3)=3y2    x=3y2y3x(y - 3) = 3y - 2 \implies x = \frac{3y - 2}{y - 3}

Interchanging xx and yy:

f1(x)=3x2x3=f(x)f^{-1}(x) = \frac{3x - 2}{x - 3} = f(x)

Since f1=ff^{-1} = fThe function is self-inverse.


  1. Applying domain restrictions to xx instead of g(x)g(x). When finding dom(fg)\mathrm{dom}(f \circ g)The condition g(x)dom(f)g(x) \in \mathrm{dom}(f) must be applied to the expression g(x)g(x)Not to xx directly. Always substitute first, then impose domain conditions.

  2. Assuming injectivity on the natural domain. A quadratic ax2+bx+cax^2 + bx + c is only one-to-one on a half-domain (,  b/(2a)](-\infty,\; -b/(2a)] or [b/(2a),  )[-b/(2a),\; \infty). Before finding an inverse, verify or restrict the domain.

  3. Choosing the wrong branch of the inverse. When f(x)=x2f(x) = x^2 is restricted to (,0](-\infty, 0]The inverse is f1(x)=xf^{-1}(x) = -\sqrt{x}Not +x+\sqrt{x}. Always match the sign to the restricted domain.

  4. Composition order confusion. (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)) means gg is applied first, then ff. The notation reads right-to-left: (fg)(x)(f \circ g)(x) is ”ff of gg of xx”.

  5. Transformation order errors. For y=af(kx+b)+cy = af(kx + b) + cApply from inside out: horizontal shift by b-bHorizontal stretch by 1/k1/kVertical stretch by aaVertical shift by cc. Mixing up this order is a very common mistake.

  6. Ignoring the range when checking invertibility. Even if ff is one-to-one on its domain, the codomain must equal the range for ff to be bijective. In DSE problems, the codomain is assumed to be the range unless stated otherwise.

  7. Forgetting that fgf \circ g and gfg \circ f differ. , fggff \circ g \neq g \circ f. Always compute each separately and check domains independently.

  8. Piecewise function boundary values. At the boundary between two pieces, always check which expression applies. If the definition uses \leq for one piece and <\lt for the next, the boundary point belongs to the \leq piece.


Problem 1. Let f(x)=2x+3x1f(x) = \dfrac{2x + 3}{x - 1} (x1x \neq 1) and g(x)=x+2g(x) = \sqrt{x + 2}. Find (fg)(x)(f \circ g)(x) and its domain.

Solution

(fg)(x)=f(x+2)=2x+2+3x+21(f \circ g)(x) = f(\sqrt{x+2}) = \frac{2\sqrt{x+2} + 3}{\sqrt{x+2} - 1}

dom(g)=[2,)\mathrm{dom}(g) = [-2, \infty). dom(f)=R{1}\mathrm{dom}(f) = \mathbb{R} \setminus \{1\}.

Need x+21    x+21    x1\sqrt{x+2} \neq 1 \implies x + 2 \neq 1 \implies x \neq -1.

dom(fg)=[2,1)(1,)\mathrm{dom}(f \circ g) = [-2, -1) \cup (-1, \infty).

Problem 2. Find the inverse of f(x)=2x1x+3f(x) = \dfrac{2x - 1}{x + 3} (x3x \neq -3). Hence determine whether f(x)=f1(x)f(x) = f^{-1}(x) has any real solutions.

Solution

Set y=2x1x+3y = \dfrac{2x-1}{x+3}: y(x+3)=2x1    xy+3y=2x1    x(y2)=13yy(x+3) = 2x-1 \implies xy + 3y = 2x - 1 \implies x(y-2) = -1 - 3y.

f1(x)=13xx2=3x+12xf^{-1}(x) = \frac{-1-3x}{x-2} = \frac{3x+1}{2-x}

For f(x)=f1(x)f(x) = f^{-1}(x):

2x1x+3=3x+12x\frac{2x-1}{x+3} = \frac{3x+1}{2-x}

(2x1)(2x)=(3x+1)(x+3)(2x-1)(2-x) = (3x+1)(x+3)

4x2x22+x=3x2+9x+x+34x - 2x^2 - 2 + x = 3x^2 + 9x + x + 3

2x2+5x2=3x2+10x+3-2x^2 + 5x - 2 = 3x^2 + 10x + 3

5x25x5=0    x2+x+1=0-5x^2 - 5x - 5 = 0 \implies x^2 + x + 1 = 0

Δ=14=3<0\Delta = 1 - 4 = -3 \lt 0. No real solutions.

Problem 3. The function ff is defined by f(x)=x2+4xf(x) = x^2 + 4x for x2x \geq -2. Find f1(5)f^{-1}(5).

Solution

f(x)=(x+2)24f(x) = (x+2)^2 - 4. Since x2x \geq -2 and the vertex is at x=2x = -2, ff is strictly increasing.

Range: [4,)[-4, \infty). Since 545 \geq -4, f1(5)f^{-1}(5) exists.

Set (x+2)24=5    (x+2)2=9    x+2=3(x+2)^2 - 4 = 5 \implies (x+2)^2 = 9 \implies x + 2 = 3 (positive root).

x=1x = 1

f1(5)=1f^{-1}(5) = 1. Verification: f(1)=1+4=5f(1) = 1 + 4 = 5. Correct.

Problem 4. Describe fully the sequence of transformations mapping y=x2y = x^2 to y=2(3x)2+1y = 2(3-x)^2 + 1.

Solution

y=2(3x)2+1=2[(x3)]2+1=2(x3)2+1y = 2(3-x)^2 + 1 = 2[-(x-3)]^2 + 1 = 2(x-3)^2 + 1.

  1. Translate right by 33 units: y=(x3)2y = (x-3)^2.
  2. Vertical stretch by factor 22: y=2(x3)2y = 2(x-3)^2.
  3. Translate up by 11 unit: y=2(x3)2+1y = 2(x-3)^2 + 1.

The vertex moves from (0,0)(0, 0) to (3,1)(3, 1). The parabola opens upward in both cases.

Problem 5. Let f(x)=1x+1f(x) = \dfrac{1}{x+1} (x1x \neq -1) and g(x)=x2g(x) = x^2. Find (fgf)(x)(f \circ g \circ f)(x) and its domain.

Solution

First, (gf)(x)=g(f(x))=(1x+1)2=1(x+1)2(g \circ f)(x) = g(f(x)) = \left(\dfrac{1}{x+1}\right)^2 = \dfrac{1}{(x+1)^2}.

Then:

(fgf)(x)=f ⁣(1(x+1)2)=11(x+1)2+1=(x+1)2(x+1)2+1=(x+1)2x2+2x+2(f \circ g \circ f)(x) = f\!\left(\frac{1}{(x+1)^2}\right) = \frac{1}{\dfrac{1}{(x+1)^2} + 1} = \frac{(x+1)^2}{(x+1)^2 + 1} = \frac{(x+1)^2}{x^2 + 2x + 2}

Domain: need x+10    x1x + 1 \neq 0 \implies x \neq -1 And 1(x+1)2+10\dfrac{1}{(x+1)^2} + 1 \neq 0.

Since 1(x+1)20\dfrac{1}{(x+1)^2} \geq 0 for all x1x \neq -1The second expression is always at least 1>01 > 0.

dom(fgf)=R{1}\mathrm{dom}(f \circ g \circ f) = \mathbb{R} \setminus \{-1\}.

Problem 6. Given f(x)=2x1+x+3f(x) = |2x - 1| + |x + 3|Find the minimum value of ff.

Solution

Critical points: 2x1=0    x=122x - 1 = 0 \implies x = \dfrac{1}{2} And x+3=0    x=3x + 3 = 0 \implies x = -3.

For x<3x \lt -3: f(x)=(2x1)+(x+3)=3x2f(x) = -(2x-1) + -(x+3) = -3x - 2 (decreasing as xx increases).

For 3x<12-3 \leq x \lt \dfrac{1}{2}: f(x)=(2x1)+(x+3)=x+4f(x) = -(2x-1) + (x+3) = -x + 4 (decreasing).

For x12x \geq \dfrac{1}{2}: f(x)=(2x1)+(x+3)=3x+2f(x) = (2x-1) + (x+3) = 3x + 2 (increasing).

The minimum occurs at the transition from decreasing to increasing, i.e., at x=12x = \dfrac{1}{2}:

f ⁣(12)=3 ⁣(12)+2=72f\!\left(\frac{1}{2}\right) = 3\!\left(\frac{1}{2}\right) + 2 = \frac{7}{2}

Minimum value: 72\dfrac{7}{2}Attained at x=12x = \dfrac{1}{2}.

Problem 7. If f(x)=xx2+1f(x) = \dfrac{x}{x^2 + 1}Find the range of ff.

Solution

Let y=xx2+1y = \dfrac{x}{x^2 + 1}. Then yx2+y=x    yx2x+y=0yx^2 + y = x \implies yx^2 - x + y = 0.

For real xxThis quadratic in xx must have Δ0\Delta \geq 0:

Δ=14y20    y214    12y12\Delta = 1 - 4y^2 \geq 0 \implies y^2 \leq \frac{1}{4} \implies -\frac{1}{2} \leq y \leq \frac{1}{2}

When y=12y = \dfrac{1}{2}: 12x2x+12=0    (x1)2=0    x=1\dfrac{1}{2}x^2 - x + \dfrac{1}{2} = 0 \implies (x-1)^2 = 0 \implies x = 1. Attainable.

When y=12y = -\dfrac{1}{2}: 12x2+x+12=0    (x+1)2=0    x=1\dfrac{1}{2}x^2 + x + \dfrac{1}{2} = 0 \implies (x+1)^2 = 0 \implies x = -1. Attainable.

Range: [12,  12]\left[-\dfrac{1}{2},\; \dfrac{1}{2}\right].

Problem 8. If f(x)=2x1f(x) = 2x - 1 and g(x)=x+3g(x) = x + 3Find the linear function h(x)h(x) such that (fh)(x)=(gf)(x)(f \circ h)(x) = (g \circ f)(x) for all xx.

Solution

(gf)(x)=g(2x1)=2x1+3=2x+2(g \circ f)(x) = g(2x - 1) = 2x - 1 + 3 = 2x + 2.

(fh)(x)=f(h(x))=2h(x)1(f \circ h)(x) = f(h(x)) = 2h(x) - 1.

Setting equal: 2h(x)1=2x+2    h(x)=x+322h(x) - 1 = 2x + 2 \implies h(x) = x + \dfrac{3}{2}.

Verification: (fh)(x)=2 ⁣(x+32)1=2x+2(f \circ h)(x) = 2\!\left(x + \dfrac{3}{2}\right) - 1 = 2x + 2. Correct.


  • Basic Functions: Foundational definitions and notation are in Functions.
  • Quadratics: Quadratic functions feature heavily in inverse function problems. See Quadratics.
  • Inequalities: Domain restrictions often involve solving inequalities. See the inequalities notes.
  • Coordinate Geometry: Graphical interpretations of functions and transformations. See Coordinate Geometry.

Behind every scientific discovery and technological innovation lies mathematics. Functions model relationships between variables, statistics reveals patterns in data, and logic ensures rigorous reasoning. Mathematics teaches us to think precisely, solve systematically, and communicate evidently - skills that are valuable far beyond the classroom.