Math · Pre-Calculus ★★☆ Medium UNIT 1 OF 0

Functions and Their Graphs — Free Pre-Calculus Review Games.

This unit covers domain and range, transformations, piecewise functions and composition of functions — essential concepts for Pre-Calculus. Use our interactive study games to test your understanding, or review questions in traditional format below.

📋 60 questions ⏱ ~25 min
Math Beast
Practice arena

Pick a mode. Play.

Answer questions as fast as you can. 2 minutes on the clock. Build streaks for bonus points!

Plain-text mode

Don't want to play?

All 60 questions below, each with the worked answer and a written explanation. Click any question to expand it.

Q1. What is the domain of f(x) = 1/(x - 2)?
A All reals except x = 2
B All reals
C x > 2
D x >= 2

The denominator is zero at x = 2, so exclude that value.

Q2. What is the range of \(f(x) = x^2\)?
A \(y \geq 0\)
B All reals
C \(y > 0\)
D \(y \leq 0\)

\(x^2\) is always non-negative, so the range is \(y \geq 0\).

Q3. If f(x) = x + 3, what is f(-2)?
A 1
B 5
C -5
D -1

f(-2) = -2 + 3 = 1.

Q4. A function passes the:
A Vertical line test
B Horizontal line test
C Diagonal test
D Area test

A graph represents a function if every vertical line hits it at most once.

Q5. The graph of y = f(x) + 3 is the graph of f(x) shifted:
A Up 3 units
B Down 3 units
C Right 3 units
D Left 3 units

Adding to the output shifts the graph vertically upward.

Q6. The graph of y = f(x - 2) is shifted:
A Right 2 units
B Left 2 units
C Up 2 units
D Down 2 units

Replacing x with (x-2) shifts the graph right by 2.

Q7. If \(f(x) = 2x - 1\) and \(g(x) = x^2\), what is \((f \circ g)(3)\)?
A 17
B 5
C 35
D 8

\(g(3) = 9\), \(f(9) = 2(9)-1 = 17\).

Q8. What is the domain of \(f(x) = \sqrt{3 - x}\)?
A \(x \leq 3\)
B \(x \geq 3\)
C \(x < 3\)
D All reals

\(3 - x \geq 0\) means \(x \leq 3\).

Q9. The graph of y = -f(x) is a reflection over the:
A x-axis
B y-axis
C Origin
D Line y = x

Negating the output reflects the graph over the x-axis.

Q10. Evaluate the piecewise function \(f(x) = \begin{cases} x^2 & \text{if } x < 0 \\ 2x+1 & \text{if } x \geq 0 \end{cases}\) at \(x = -3\).
A 9
B -5
C 7
D -7

\(x = -3 < 0\), so use \(x^2\): \((-3)^2 = 9\).

Q11. Find \((g \circ f)(x)\) if \(f(x) = x + 1\), \(g(x) = x^2 - 1\).
A \(x^2 + 2x\)
B \(x^2 + 1\)
C \(x^2 + 2x + 2\)
D \(x^2 - 1\)

\(g(f(x)) = (x+1)^2 - 1 = x^2+2x+1-1 = x^2+2x\).

Q12. What is the inverse of f(x) = (x - 3)/2?
A f^(-1)(x) = 2x + 3
B f^(-1)(x) = 2x - 3
C f^(-1)(x) = (x+3)/2
D f^(-1)(x) = x/2 + 3

y = (x-3)/2, swap: x = (y-3)/2, 2x = y-3, y = 2x+3.

Q13. A function is even if:
A f(-x) = f(x)
B f(-x) = -f(x)
C f(x) = 0
D f(x) = x

Even functions satisfy f(-x) = f(x), symmetric about the y-axis.

Q14. Which is an odd function?
A \(f(x) = x^3\)
B \(f(x) = x^2\)
C \(f(x) = |x|\)
D \(f(x) = x^2 + 1\)

\(f(x) = x^3\) satisfies \(f(-x) = -f(x)\), making it odd.

Q15. The graph of y = 2f(x) is a vertical:
A Stretch by factor 2
B Compression by factor 2
C Shift up 2
D Shift right 2

Multiplying the output by 2 stretches the graph vertically.

Q16. What is the domain of \(f(x) = \sqrt{x + 5}\)?
A \(x \geq -5\)
B \(x \leq -5\)
C \(x \geq 5\)
D All real numbers

The expression under a square root must be non-negative, so \(x + 5 \geq 0\) gives \(x \geq -5\). The choice "\(x \geq 5\)" is wrong because it incorrectly solves the inequality by ignoring the sign of the constant. Always set the radicand greater than or equal to zero when finding the domain of a square root function.

Q17. What is the range of \(f(x) = -x^2 + 4\)?
A \(y \leq 4\)
B \(y \geq 4\)
C All real numbers
D \(y \leq 0\)

Since the parabola opens downward with vertex at \((0,4)\), the maximum \(y\)-value is 4 and all outputs are less than or equal to it. The choice "\(y \geq 4\)" is wrong because it describes the range of an upward-opening parabola, not this downward one. Remember that the sign of the leading coefficient determines whether the vertex is a maximum or minimum.

Q18. If \(f(x) = 3x - 5\), what is \(f(4)\)?
A \(7\)
B \(12\)
C \(-1\)
D \(17\)

Substituting \(x = 4\) gives \(f(4) = 3(4) - 5 = 12 - 5 = 7\). The choice "\(12\)" is wrong because it stops after multiplying and forgets to subtract 5. Always complete every arithmetic step when evaluating a function at a given input.

Q19. Which transformation describes \(y = f(x + 4)\) compared to \(y = f(x)\)?
A Shift left 4 units
B Shift right 4 units
C Shift up 4 units
D Shift down 4 units

Adding a constant inside the function argument shifts the graph horizontally in the opposite direction of the sign, so \(f(x+4)\) moves left 4 units. The choice "Shift right 4 units" is wrong because that would correspond to \(f(x - 4)\), not \(f(x + 4)\). Remember that horizontal shifts behave opposite to their apparent sign inside the parentheses.

Q20. What is the domain of the function \(f(x) = \frac{x + 1}{x^2 - 9}\)?
A All real numbers except \(3\) and \(-3\)
B All real numbers except \(9\)
C All real numbers except \(-1\)
D All real numbers

The denominator \(x^2 - 9\) equals zero when \(x = 3\) or \(x = -3\), so these values must be excluded from the domain. The choice "All real numbers except \(9\)" is wrong because it confuses the constant term with the actual roots of the factored denominator. When finding domains of rational functions, always factor the denominator and exclude its zeros.

Q21. What is the range of \(f(x) = \sqrt{x}\)?
A \(y \geq 0\)
B \(y \leq 0\)
C All real numbers
D \(y > 0\)

The principal square root function only outputs non-negative values, so its range is \(y \geq 0\). The choice "\(y > 0\)" is wrong because it excludes zero, but \(f(0) = 0\) is a valid output. Recall that the square root function always produces values greater than or equal to zero, including zero itself.

Q22. Which transformation describes \(y = f(x) - 6\) compared to \(y = f(x)\)?
A Shift down 6 units
B Shift up 6 units
C Shift left 6 units
D Shift right 6 units

Subtracting a constant outside the function shifts the entire graph vertically downward by that amount. The choice "Shift up 6 units" is wrong because that would result from \(f(x) + 6\), not \(f(x) - 6\). Vertical shifts move directly in the direction of the sign added outside the function.

Q23. If \(f(x) = x^2\) and \(g(x) = x + 5\), what is \((f \circ g)(0)\)?
A \(25\)
B \(5\)
C \(0\)
D \(10\)

First evaluate \(g(0) = 0 + 5 = 5\), then substitute into \(f\) to get \(f(5) = 5^2 = 25\). The choice "\(5\)" is wrong because it stops after finding \(g(0)\) and never applies \(f\) to that result. Composition always requires evaluating the inner function first, then applying the outer function to that output.

Q24. What is the domain of \(f(x) = \frac{1}{\sqrt{x - 4}}\)?
A \(x > 4\)
B \(x \geq 4\)
C \(x < 4\)
D All real numbers

Because the square root is in the denominator, the radicand must be strictly positive (not just non-negative) so the expression is defined and never divides by zero, giving \(x > 4\). The choice "\(x \geq 4\)" is wrong because at \(x = 4\) the denominator becomes zero, making the function undefined. When a radical appears in a denominator, exclude the value that makes the radicand exactly zero.

Q25. Evaluate the piecewise function \(f(x) = \begin{cases} 2x & x < 0 \\ x + 1 & x \geq 0 \end{cases}\) at \(x = 0\).
A \(1\)
B \(0\)
C \(2\)
D \(-1\)

Since \(x = 0\) satisfies the condition \(x \geq 0\), we use the second rule: \(f(0) = 0 + 1 = 1\). The choice "\(0\)" is wrong because it mistakenly applies the first rule \(2x\), which only applies when \(x < 0\). Always check which condition the input satisfies before selecting the correct piece of a piecewise function.

Q26. What is the domain and range of the constant function \(f(x) = 7\)?
A Domain: all real numbers; Range: \(\{7\}\)
B Domain: \(\{7\}\); Range: all real numbers
C Domain: all real numbers; Range: all real numbers
D Domain: \(\{7\}\); Range: \(\{7\}\)

A constant function accepts any real number input, so its domain is all real numbers, but it always outputs the single value 7, giving a range of \(\{7\}\). The choice "Domain: \(\{7\}\); Range: all real numbers" is wrong because it reverses the roles of domain and range for a constant function. Constant functions always have an unrestricted domain paired with a single-element range.

Q27. Which describes the transformation \(y = f(-x)\) compared to \(y = f(x)\)?
A Reflection over the \(y\)-axis
B Reflection over the \(x\)-axis
C Shift left
D Shift right

Replacing \(x\) with \(-x\) flips every input's sign, which reflects the graph horizontally across the \(y\)-axis. The choice "Reflection over the \(x\)-axis" is wrong because that transformation is represented by \(-f(x)\), which negates the output rather than the input. Distinguish carefully between negating the input (reflect over \(y\)-axis) and negating the output (reflect over \(x\)-axis).

Q28. What is the domain of \(f(x) = \sqrt{9 - x^2}\)?
A \([-3, 3]\)
B \((-3, 3)\)
C \([0, 3]\)
D $(-\infty, 3]$

We need \(9 - x^2 \geq 0\), which factors to \((3-x)(3+x) \geq 0\), giving the closed interval \([-3, 3]\) where the expression stays non-negative. The choice "\((-3, 3)\)" is wrong because it excludes the endpoints, even though \(9 - x^2 = 0\) at \(x = \pm 3\), which is allowed since the square root of zero is defined. When solving quadratic inequalities under a square root, test the sign of the factored expression across all intervals including endpoints.

Q29. If \(f(x) = |x - 2|\), what transformation of \(y = |x|\) does this represent?
A Shift right 2 units
B Shift left 2 units
C Shift up 2 units
D Shift down 2 units

Replacing \(x\) with \(x - 2\) inside the absolute value moves the vertex of the graph from \((0,0)\) to \((2,0)\), a shift to the right by 2 units. The choice "Shift left 2 units" is wrong because that would correspond to \(|x + 2|\), not \(|x - 2|\). Remember horizontal shifts move opposite to the apparent sign written inside the function's argument.

Q30. Given \(f(x) = 2x^2 - 3\) and \(g(x) = x + 1\), find \((f \circ g)(-1)\).
A \(-3\)
B \(-1\)
C \(5\)
D \(0\)

First compute \(g(-1) = -1 + 1 = 0\), then substitute into \(f\): \(f(0) = 2(0)^2 - 3 = -3\). The choice "\(5\)" is wrong because it likely results from evaluating \(g(f(-1))\) instead, mixing up the composition order. The order of composition matters greatly, so always evaluate the innermost function first as indicated by the notation.

Q31. What is the range of \(f(x) = |x + 3| - 4\)?
A \(y \geq -4\)
B \(y \geq 4\)
C \(y \leq -4\)
D All real numbers

The absolute value expression \(|x+3|\) has a minimum value of 0, so the vertex of the shifted graph occurs at \(y = -4\), and all outputs are greater than or equal to \(-4\). The choice "\(y \geq 4\)" is wrong because it incorrectly treats the vertical shift as adding 4 rather than subtracting it. When finding the range of a transformed absolute value function, locate the vertex by identifying the minimum of the base function shifted vertically.

Q32. Evaluate the piecewise function \(f(x) = \begin{cases} x^2 - 1 & x \leq 1 \\ 3x - 2 & x > 1 \end{cases}\) at \(x = 4\).
A \(10\)
B \(15\)
C \(-2\)
D \(4\)

Since \(4 > 1\), we use the rule \(3x - 2\), giving \(f(4) = 3(4) - 2 = 10\). The choice "\(15\)" is wrong because it incorrectly applies \(x^2 - 1\), which is 15 when \(x=4\), but that piece only applies for \(x \leq 1\). Always confirm which interval the input belongs to before applying the corresponding piece of a piecewise-defined function.

Q33. Describe the transformation from \(y = x^2\) to \(y = (x + 2)^2 - 5\).
A Shift left 2 units and down 5 units
B Shift right 2 units and up 5 units
C Shift left 2 units and up 5 units
D Shift right 2 units and down 5 units

The \(+2\) inside the parentheses shifts the graph left 2 units, and the \(-5\) outside shifts it down 5 units, giving the combined transformation. The choice "Shift right 2 units and up 5 units" is wrong because it reverses the direction of both the horizontal and vertical shifts. Remember that inside shifts act opposite to their sign while outside shifts act in the direction of their sign.

Q34. What is the domain of \(f(x) = \frac{\sqrt{x + 2}}{x - 3}\)?
A $[-2, 3) \cup (3, \infty)$
B $[-2, \infty)$
C \((-\infty, 3)\)
D \([-2, 3]\)

The radicand requires \(x \geq -2\), and the denominator requires \(x \neq 3\), so combining these gives $[-2, 3) \cup (3, \infty)$. The choice "$[-2, \infty)$" is wrong because it fails to exclude \(x = 3\), where the function is undefined due to division by zero. When a function has both a radical and a rational expression, address each restriction separately, then combine them.

Q35. If \(f(x) = \sqrt{x}\) and \(g(x) = x - 4\), what is the domain of \((f \circ g)(x)\)?
A \(x \geq 4\)
B \(x \geq 0\)
C \(x \geq -4\)
D All real numbers

The composition \((f \circ g)(x) = \sqrt{x - 4}\) requires the radicand to be non-negative, so \(x - 4 \geq 0\) gives \(x \geq 4\). The choice "\(x \geq 0\)" is wrong because it applies the restriction on \(f\)'s original input directly to \(x\), ignoring that \(g(x)\) has shifted the expression under the root. When finding the domain of a composed function, substitute the inner function first and then apply the restriction to the resulting expression.

Q36. What is the range of the piecewise function \(f(x) = \begin{cases} x^2 & x < 0 \\ -x + 2 & x \geq 0 \end{cases}\)?
A All real numbers
B \(y \geq 0\)
C \(y \leq 2\)
D \(y > 0\)

For \(x<0\), \(x^2\) produces values approaching but not including 0 up to positive infinity, and for \(x \geq 0\), \(-x+2\) produces values from 2 down to negative infinity, so together the outputs cover all real numbers. The choice "\(y \leq 2\)" is wrong because it ignores the first piece, which contributes arbitrarily large positive values as \(x\) becomes very negative. When finding the range of a piecewise function, analyze each piece separately over its restricted domain, then union the results.

Q37. Which transformation maps \(y = f(x)\) to \(y = \frac{1}{2}f(x)\)?
A Vertical compression by a factor of \(\frac{1}{2}\)
B Vertical stretch by a factor of \(\frac{1}{2}\)
C Horizontal compression by a factor of \(\frac{1}{2}\)
D Horizontal stretch by a factor of \(\frac{1}{2}\)

Multiplying the entire function by a constant between 0 and 1 compresses the graph vertically toward the \(x\)-axis, so \(\frac{1}{2}f(x)\) is a vertical compression. The choice "Vertical stretch by a factor of \(\frac{1}{2}\)" is wrong because stretches occur when the multiplier's absolute value is greater than 1, not less than 1. A coefficient outside the function between 0 and 1 always compresses vertically, while a coefficient greater than 1 stretches vertically.

Q38. If \(g(x) = x^2 + 1\) and \(f(x) = \sqrt{x - 1}\), what is \((f \circ g)(2)\)?
A \(2\)
B \(5\)
C \(\sqrt{4}\)
D \(1\)

First compute \(g(2) = 2^2 + 1 = 5\), then substitute into \(f\): \(f(5) = \sqrt{5-1} = \sqrt{4} = 2\). The choice "\(5\)" is wrong because it only computes the inner function and stops before applying \(f\) to that result. Always finish both steps of a composition problem, evaluating the inner function completely before substituting into the outer function.

Q39. What is the domain of the piecewise function \(f(x) = \begin{cases} \sqrt{x} & 0 \leq x < 4 \\ x - 2 & x \geq 4 \end{cases}\)?
A \(x \geq 0\)
B \(x \geq 4\)
C \(0 \leq x < 4\)
D All real numbers

The two pieces together cover \(0 \leq x < 4\) and \(x \geq 4\), and combining these intervals gives all \(x \geq 0\) with no gaps. The choice "\(0 \leq x < 4\)" is wrong because it only accounts for the first piece and ignores the second piece that extends the domain to infinity. When determining the domain of a piecewise function, take the union of the domains specified for each individual piece.

Q40. Which function is even?
A \(f(x) = x^4 - 3x^2 + 1\)
B \(f(x) = x^3 - x\)
C \(f(x) = 2x + 1\)
D \(f(x) = x^5 - x\)

A function is even if \(f(-x) = f(x)\), and since \(f(-x) = (-x)^4 - 3(-x)^2 + 1 = x^4 - 3x^2 + 1 = f(x)\), this function satisfies that condition because it contains only even powers of \(x\). The choice "\(f(x) = x^3 - x\)" is wrong because it contains only odd powers of \(x\), making it an odd function rather than an even one. To quickly identify even functions, check whether every exponent of \(x\) in the expression is even, including the constant term treated as \(x^0\).

Q41. Describe how the graph of \(y = f(2x)\) relates to \(y = f(x)\).
A Horizontal compression by a factor of \(\frac{1}{2}\)
B Horizontal stretch by a factor of 2
C Vertical compression by a factor of \(\frac{1}{2}\)
D Vertical stretch by a factor of 2

Multiplying \(x\) by a constant greater than 1 inside the function compresses the graph horizontally toward the \(y\)-axis, so \(f(2x)\) represents a horizontal compression by a factor of \(\frac{1}{2}\). The choice "Horizontal stretch by a factor of 2" is wrong because stretches happen when the coefficient inside the parentheses is between 0 and 1, not greater than 1. Remember that transformations applied to the input \(x\) behave inversely compared to their numerical value, unlike transformations applied outside the function.

Q42. What is the range of \(f(x) = -2\sqrt{x} + 3\)?
A \(y \leq 3\)
B \(y \geq 3\)
C \(y \leq 0\)
D All real numbers

Since \(\sqrt{x} \geq 0\), multiplying by \(-2\) makes the term \(-2\sqrt{x} \leq 0\), and adding 3 shifts the maximum possible output to 3, so the range is \(y \leq 3\). The choice "\(y \geq 3\)" is wrong because it fails to account for the negative coefficient, which flips the inequality direction from what a standard square root function would have. When a function is scaled by a negative number, remember that it reverses the direction of the inequality describing its range.

Q43. If \(f(x) = 2x + 1\) and \((f \circ g)(x) = 4x^2 + 1\), what is \(g(x)\)?
A \(2x^2\)
B \(4x^2\)
C \(2x^2 + 1\)
D \(x^2\)

Since \((f \circ g)(x) = 2g(x) + 1 = 4x^2 + 1\), solving for \(g(x)\) gives \(2g(x) = 4x^2\), so \(g(x) = 2x^2\). The choice "\(x^2\)" is wrong because substituting it into \(f\) gives \(2x^2 + 1\), which does not match the required composed result of \(4x^2 + 1\). When working backward to find an inner function from a known composition, set up and solve an equation using the outer function's definition.

Q44. What is the domain of \(f(x) = \log(x - 5)\)?
A \(x > 5\)
B \(x \geq 5\)
C \(x < 5\)
D All real numbers

Logarithmic functions require their argument to be strictly positive, so \(x - 5 > 0\) gives \(x > 5\). The choice "\(x \geq 5\)" is wrong because at \(x = 5\) the argument becomes zero, and the logarithm of zero is undefined. Always remember that logarithms are only defined for strictly positive arguments, never zero or negative numbers.

Q45. A function \(f\) satisfies \(f(x+2) = f(x)\) for all \(x\). What must be true about the graph of \(f\)?
A It repeats every 2 units, indicating periodic behavior
B It is symmetric about the \(y\)-axis
C It is strictly increasing
D It has a horizontal asymptote

The equation \(f(x+2) = f(x)\) means the function's output repeats identically every time \(x\) increases by 2, which is the defining characteristic of a periodic function with period 2. The choice "It is symmetric about the \(y\)-axis" is wrong because that describes even functions, which satisfy \(f(-x) = f(x)\), a completely different condition than periodicity. Recognize that periodicity conditions like \(f(x+c) = f(x)\) indicate the graph's pattern repeats at regular intervals along the \(x\)-axis.

Q46. Given \(f(x) = \frac{2x-1}{x+3}\), for what value of \(x\) is \(f\) undefined, and what does this imply about the graph?
A \(x = -3\); the graph has a vertical asymptote or hole there
B \(x = 3\); the graph has a vertical asymptote or hole there
C \(x = \frac{1}{2}\); the graph crosses the \(x\)-axis there
D \(x = -3\); the graph has a horizontal asymptote there

Setting the denominator \(x + 3 = 0\) gives \(x = -3\), and since this factor does not cancel with the numerator, the graph has a vertical asymptote at that value. The choice "\(x = -3\); the graph has a horizontal asymptote there" is wrong because vertical asymptotes arise from zeros of the denominator, whereas horizontal asymptotes come from the degrees and leading coefficients of numerator and denominator. Always find domain restrictions of rational functions by setting the denominator equal to zero and solving.

Q47. If \(f(x) = x^2 - 4\) for \(x \geq 0\), find \(f^{-1}(x)\) and state its domain.
A \(f^{-1}(x) = \sqrt{x+4}\), domain \(x \geq -4\)
B \(f^{-1}(x) = \sqrt{x-4}\), domain \(x \geq 4\)
C \(f^{-1}(x) = \sqrt{x+4}\), domain \(x \geq 0\)
D \(f^{-1}(x) = x^2 + 4\), domain all real numbers

Swapping \(x\) and \(y\) in \(y = x^2 - 4\) gives \(x = y^2 - 4\), and solving for \(y\) (taking the positive root since the original domain is \(x \geq 0\)) yields \(y = \sqrt{x+4}\); the domain of the inverse equals the range of the original, which is \(x \geq -4\). The choice "\(f^{-1}(x) = \sqrt{x-4}\), domain \(x \geq 4\)" is wrong because it incorrectly reverses the sign inside the radical during the algebraic solving step. When finding an inverse function's domain, remember it always equals the range of the original function.

Q48. If \(f(x) = \begin{cases} x^2 & x < 2 \\ 3x - 2 & x \geq 2 \end{cases}\), is \(f\) continuous at \(x = 2\)?
A Yes, because both pieces equal 4 at \(x=2\)
B No, because the pieces give different values at \(x=2\)
C Yes, because piecewise functions are always continuous
D No, because \(f\) is not defined at \(x=2\)

Evaluating the limit from the left using \(x^2\) as \(x \to 2^-\) gives 4, and evaluating the actual function value using \(3x-2\) at \(x=2\) gives \(3(2)-2=4\), so both sides match and continuity holds. The choice "Yes, because piecewise functions are always continuous" is wrong because piecewise functions are not automatically continuous; continuity must be verified by checking that the pieces meet at the boundary point. To test continuity of a piecewise function at a boundary, always compare the left-hand limit, right-hand limit, and the function's defined value at that point.

Q49. Let \(f(x) = 3x - 2\) and \(g(x) = \frac{x+2}{3}\). What can you conclude about \(f\) and \(g\)?
A \(g\) is the inverse of \(f\), since \((f \circ g)(x) = x\)
B \(g\) is the inverse of \(f\), since \(f(x) = g(x)\) for all \(x\)
C \(f\) and \(g\) are unrelated functions
D \(g\) is a horizontal shift of \(f\)

Computing \((f \circ g)(x) = 3\left(\frac{x+2}{3}\right) - 2 = x+2-2 = x\) confirms that \(g\) undoes \(f\), satisfying the defining property of inverse functions. The choice "\(f\) and \(g\) are unrelated functions" is wrong because the composition explicitly returns the identity function \(x\), which is the hallmark test for verifying an inverse relationship. To confirm two functions are inverses, always check that composing them in either order returns the input unchanged.

Q50. Given \(f(x) = \sqrt{x-1}\) and \(g(x) = x^2 + 1\) for \(x \geq 0\), find \((g \circ f)(x)\) and simplify.
A \(x\), for \(x \geq 1\)
B \(x - 1\), for \(x \geq 1\)
C \(\sqrt{x-1} + 1\), for \(x \geq 1\)
D \(x^2\), for \(x \geq 1\)

Substituting \(f(x)\) into \(g\) gives \(g(f(x)) = (\sqrt{x-1})^2 + 1 = (x-1) + 1 = x\), valid for \(x \geq 1\) where \(f\) is defined. The choice "\(\sqrt{x-1}+1\), for \(x \geq 1\)" is wrong because it fails to square the square root term correctly before adding 1, leaving the radical unsimplified. When composing functions involving roots and squares, carefully simplify the algebra step by step rather than leaving expressions partially combined.

Q51. The graph of \(y = f(x)\) has domain \([-3, 5]\) and range \([-2, 6]\). What is the domain of \(y = f(x - 2) + 1\)?
A \([-1, 7]\)
B \([-3, 5]\)
C \([-5, 3]\)
D \([-1, 8]\)

The horizontal shift \(x - 2\) shifts every domain value to the right by 2, so the new domain becomes \([-3+2, 5+2] = [-1, 7]\); the vertical shift of \(+1\) does not affect domain. The choice "\([-3, 5]\)" is wrong because it ignores the horizontal transformation entirely, applying no shift when one clearly exists inside the function argument. Always apply horizontal transformations to the domain and vertical transformations to the range, keeping the two separate.

Q52. If \(f(x) = x^2\) and \((f \circ g)(x) = 4x^2 - 12x + 9\), which of the following could be \(g(x)\)?
A \(g(x) = 2x - 3\)
B \(g(x) = 2x + 3\)
C \(g(x) = 4x - 3\)
D \(g(x) = x - 3\)

Since \((f \circ g)(x) = [g(x)]^2\), we need \([g(x)]^2 = 4x^2 - 12x + 9 = (2x-3)^2\), so \(g(x) = 2x - 3\) satisfies this exactly. The choice "\(g(x) = 2x+3\)" is wrong because squaring it gives \(4x^2 + 12x + 9\), which has the wrong sign on the middle term compared to the target expression. When reverse-engineering an inner function from a squared composition, factor the resulting quadratic as a perfect square to identify the correct linear expression.

Q53. A piecewise function is defined as \(f(x) = \begin{cases} k x + 1 & x < 1 \\ 3x - k & x \geq 1 \end{cases}\). For what value of \(k\) is \(f\) continuous at \(x = 1\)?
A \(k = 1\)
B \(k = 2\)
C \(k = -1\)
D \(k = 3\)

Setting the two pieces equal at \(x = 1\) gives \(k(1)+1 = 3(1)-k\), which simplifies to \(k+1 = 3-k\), or \(2k = 2\), so \(k = 1\). The choice "\(k=2\)" is wrong because substituting it gives \(2(1)+1=3\) on the left but \(3(1)-2=1\) on the right, values that do not match. To find an unknown parameter that makes a piecewise function continuous, set the two pieces equal at the shared boundary and solve algebraically.

Q54. If \(f(x) = x^2 + 2x\) is restricted to \(x \geq -1\) to make it one-to-one, what is \(f^{-1}(x)\)?
A \(f^{-1}(x) = -1 + \sqrt{x+1}\)
B \(f^{-1}(x) = -1 - \sqrt{x+1}\)
C \(f^{-1}(x) = 1 + \sqrt{x-1}\)
D \(f^{-1}(x) = \sqrt{x+1} - 2\)

Completing the square gives \(f(x) = (x+1)^2 - 1\); setting \(y = (x+1)^2 -1\), solving for \(x\) gives \(x = -1 + \sqrt{y+1}\) (taking the positive root since \(x \geq -1\)), so \(f^{-1}(x) = -1+\sqrt{x+1}\). The choice "\(f^{-1}(x) = -1 - \sqrt{x+1}\)" is wrong because it selects the negative root, which would produce outputs less than \(-1\), contradicting the restricted domain used to define the inverse. When inverting a restricted quadratic function, always choose the root sign that matches the given domain restriction of the original function.

Q55. Suppose \(f\) is an odd function and \(g\) is an even function, both defined for all real numbers. What can be said about \(h(x) = f(x) \cdot g(x)\)?
A \(h\) is odd
B \(h\) is even
C \(h\) is neither odd nor even
D \(h\) is always zero

Since \(f(-x) = -f(x)\) and \(g(-x) = g(x)\), we get \(h(-x) = f(-x)g(-x) = -f(x)g(x) = -h(x)\), which is exactly the definition of an odd function. The choice "\(h\) is even" is wrong because it would require \(h(-x) = h(x)\), but the negative sign from the odd function carries through the product, preventing that equality. Memorize that the product of an odd and an even function is always odd, just as the product of two odds is even and two evens is even.

Q56. The function \(f(x) = \frac{1}{x-2} + 3\) has what domain and range?
A Domain: \(x \neq 2\); Range: \(y \neq 3\)
B Domain: \(x \neq 3\); Range: \(y \neq 2\)
C Domain: \(x \neq 2\); Range: all real numbers
D Domain: all real numbers; Range: \(y \neq 3\)

The vertical asymptote at \(x = 2\) excludes that value from the domain, and the horizontal asymptote created by the added constant 3 excludes \(y=3\) from the range since the fractional term never actually reaches zero. The choice "Domain: \(x \neq 3\); Range: \(y \neq 2\)" is wrong because it swaps the roles of the vertical and horizontal asymptotes, misplacing which value affects domain versus range. When transforming a basic rational function by shifting, remember that horizontal shifts affect the domain restriction while vertical shifts affect the range restriction.

Q57. If \(f(x)\) has domain \([0, 10]\), what is the domain of \(g(x) = f(2x - 4)\)?
A \([2, 7]\)
B \([0, 10]\)
C \([-4, 16]\)
D \([4, 24]\)

We need the inner expression to satisfy \(0 \leq 2x-4 \leq 10\); solving gives \(4 \leq 2x \leq 14\), then dividing by 2 gives \(2 \leq x \leq 7\), so the domain is \([2,7]\). The choice "\([0,10]\)" is wrong because it applies the original domain directly to \(x\) without accounting for the horizontal compression and shift introduced by \(2x - 4\). When finding the domain of a transformed function, set the entire inner expression within the bounds of the original domain and solve for \(x\).

Q58. Which function's graph is symmetric about the origin?
A \(f(x) = x^3 - 4x\)
B \(f(x) = x^2 - 4\)
C \(f(x) = x^3 + 4x^2\)
D \(f(x) = |x| + 4\)

A graph is symmetric about the origin when \(f(-x) = -f(x)\), and testing \(f(-x) = (-x)^3-4(-x) = -x^3+4x = -(x^3-4x) = -f(x)\) confirms this property holds for this function since it contains only odd-degree terms. The choice "\(f(x) = x^2-4\)" is wrong because it only contains even-degree terms, making it symmetric about the \(y\)-axis instead of the origin. To identify origin symmetry, check that every term in the function has an odd exponent, with no even-degree or constant terms present.

Q59. A piecewise function is \(f(x) = \begin{cases} \frac{x^2 - 9}{x-3} & x \neq 3 \\ 5 & x = 3 \end{cases}\). What can be said about \(f\) at \(x = 3\)?
A \(f\) has a removable discontinuity at \(x=3\) since the limit is 6, not 5
B \(f\) is continuous at \(x=3\) since the piece defines it there
C \(f\) has a vertical asymptote at \(x=3\)
D \(f\) is undefined at \(x=3\)

Simplifying \(\frac{x^2-9}{x-3} = \frac{(x-3)(x+3)}{x-3} = x+3\) for \(x \neq 3\), the limit as \(x \to 3\) equals 6, but the function is defined to equal 5 there, creating a mismatch known as a removable discontinuity. The choice "\(f\) is continuous at \(x=3\) since the piece defines it there" is wrong because simply having a defined value does not guarantee continuity; the defined value must match the limit for continuity to hold. Always check that the limit of a function as \(x\) approaches a point equals the function's actual value there before declaring continuity.

Q60. If \(f(x) = \sqrt{4 - x}\) and \(g(x) = x^2\), what is the domain of \((g \circ f)(x)\)?
A \(x \leq 4\)
B \(x \geq 4\)
C All real numbers
D \(x \leq 0\)

Since \((g \circ f)(x) = (\sqrt{4-x})^2\), the domain is still restricted by the requirement that the inner radicand \(4-x\) be non-negative even though the square root and square operations appear to cancel algebraically, giving \(x \leq 4\). The choice "All real numbers" is wrong because it ignores that \(f(x)\) must be defined before \(g\) can be applied, so the domain restriction from the inner function carries through the composition regardless of algebraic simplification. Always determine the domain of a composed function based on the original inner function's restrictions, not just the simplified final expression.

Study tip

Focus on understanding.

Focus on understanding core concepts before memorizing details. Use the game modes to test yourself repeatedly — spaced repetition is proven to boost long-term retention.

Up next

Related units

Quick summary

This unit covers domain and range, transformations, piecewise functions and composition of functions — essential concepts for Pre-Calculus. Use our interactive study games to test your understanding, or review questions in traditional format below.

Key concepts
  • Domain and range
  • Transformations
  • Piecewise functions
  • Composition of functions
What you need to know

Key Concepts Breakdown

1 Domain And Range

Domain is the set of all valid input values (x) for a function, and range is the set of all valid output values (y). Students must identify restrictions caused by square roots (radicand ≥ 0), fractions (denominator ≠ 0), and logarithms (argument > 0). Answers are expressed in interval notation or set-builder notation.

Key Points

  • For fractions: set denominator ≠ 0 and solve for excluded x-values
  • For even roots: set the radicand ≥ 0 and solve the inequality
  • For range: analyze the graph or solve the function for x in terms of y, then find valid y-values
  • Interval notation: use parentheses for strict inequalities, brackets for ≤ or ≥
Example

Find the domain of f(x) = √(2x − 6) / (x − 5)

Explanation

The square root requires 2x − 6 ≥ 0, giving x ≥ 3. The denominator requires x − 5 ≠ 0, giving x ≠ 5. Combining both restrictions, the domain is [3, 5) ∪ (5, ∞).

2 Transformations

Transformations shift, reflect, stretch, or compress a parent function's graph in predictable ways based on changes to the equation. Students must correctly identify whether a change affects the graph horizontally (inside the function, opposite direction) or vertically (outside the function, same direction). Knowing the parent functions (quadratic, absolute value, square root, cubic) is required.

Key Points

  • f(x) + k shifts UP k; f(x) − k shifts DOWN k (vertical, same direction)
  • f(x − h) shifts RIGHT h; f(x + h) shifts LEFT h (horizontal, opposite direction)
  • −f(x) reflects over the x-axis; f(−x) reflects over the y-axis
  • a·f(x) with |a| > 1 is a vertical stretch; 0 < |a| < 1 is a vertical compression
Example

Describe the transformations applied to f(x) = x² to obtain g(x) = −2(x + 3)² − 1

Explanation

The (x + 3) shifts the graph left 3 units. The factor of −2 reflects it over the x-axis and vertically stretches it by a factor of 2. The − 1 at the end shifts the graph down 1 unit. The vertex moves from (0, 0) to (−3, −1).

3 Piecewise Functions

A piecewise function uses different expressions for different intervals of the domain, and students must apply the correct piece based on the input value. On exams, students are asked to evaluate piecewise functions at specific values, graph them, or determine continuity at boundary points. Checking whether endpoints are included (closed vs. open dots on a graph) is frequently tested.

Key Points

  • To evaluate f(a), first identify which interval a belongs to, then substitute into that expression only
  • At a boundary x = c, check if left-hand and right-hand pieces give the same output to determine continuity
  • Graph each piece only over its stated interval; use open circles for strict inequalities, closed for ≤ or ≥
  • A piecewise function can still pass the vertical line test and be a valid function
Example

Given f(x) = { x² + 1, x < 2 ; 3x − 1, x ≥ 2 }, find f(2) and f(−1), then determine if f is continuous at x = 2

Explanation

For f(2): since 2 ≥ 2, use 3(2) − 1 = 5. For f(−1): since −1 < 2, use (−1)² + 1 = 2. To check continuity at x = 2, the left piece gives 2² + 1 = 5 and the right piece gives 3(2) − 1 = 5; both equal 5, so f is continuous at x = 2.

4 Composition Of Functions

Composition of functions means substituting one entire function into another, written as (f ∘ g)(x) = f(g(x)), where g is applied first and f is applied second. Students must correctly substitute the full expression for g(x) into f and then simplify. The domain of the composition is restricted to x-values in the domain of g whose outputs are also in the domain of f.

Key Points

  • (f ∘ g)(x) = f(g(x)): apply g first, then f — order matters and is not commutative in general
  • To find (f ∘ g)(a) numerically: compute g(a) first, then plug that result into f
  • For the domain of f ∘ g: start with the domain of g, then also exclude values where g(x) falls outside the domain of f
  • Decomposing a composite function (finding f and g such that h(x) = f(g(x))) is a common exam task
Example

Let f(x) = 2x + 1 and g(x) = x² − 3. Find (f ∘ g)(x) and evaluate (f ∘ g)(4).

Explanation

First, substitute g(x) into f: (f ∘ g)(x) = f(g(x)) = 2(x² − 3) + 1 = 2x² − 6 + 1 = 2x² − 5. To evaluate at x = 4: (f ∘ g)(4) = 2(4)² − 5 = 2(16) − 5 = 32 − 5 = 27.

FAQ

Questions, answered.

What is Functions and Their Graphs?

Functions and Their Graphs is Unit 1 of Pre-Calculus, covering domain and range, transformations, piecewise functions and composition of functions.

How to study for Pre-Calculus Unit 1?

Start with the Quick Summary above, review the Key Concepts, then test yourself with our interactive study games. Aim for 80%+ accuracy before moving on.

How many questions are in this unit?

This unit has 60 review questions, each with a written explanation, playable across 5 different game modes or readable in plain-text mode.