A function assigns each domain element to exactly one range element, with operations defined via addition, multiplication, composition, and division under domain restrictions.
A function is a relation that assigns to each element \(x\) in the set \(X\) (called the domain) exactly one element \(y\) in the set \(Y\) (called the codomain). We write \(y = f(x)\).
Basic Concepts
Domain:The set of all values\(x\)which are\(f(x)\)It is known.
Range: The set of all values \(y = f(x)\) produced.
Vertical Line Test: A curve represents a function if and only if any vertical line intersects it at exactly one point.
Types of basic functions
Type
Formula
Domain
Linear
\(f(x) = mx + b\)
\(\mathbb{R}\)
Quadratic
\(f(x) = ax^2 + bx + c\)
\(\mathbb{R}\)
Radical
\(f(x) = \sqrt{x}\)
\(x \geq 0\)
Rational
\(f(x) = \frac{P(x)}{Q(x)}\)
\(Q(x) \neq 0\)
Measurement
\(f(x) = |x|\)
\(\mathbb{R}\)
Explanation and justification for each rule
The reason for defining a function as a relation that associates each element in the domain with exactly one element in the codomain is to ensure clarity and avoid ambiguity in the resulting value; if a single element were associated with more than one value in \(y\), it would be impossible to determine \(f(x)\) uniquely, which contradicts the concept of a function in mathematics.
The reason the domain is the set of all \(x\) values for which \(f(x)\) is defined is to avoid undefined operations such as division by zero or taking the square root of a negative number in the set of real numbers; every operation in the mathematical expression must be valid and well-defined.
The reason the range is the set of all values \(y = f(x)\) is to describe all possible outputs of the function when applied to every element of the domain, which helps in understanding the function's behavior and the extent of its influence.
The reason for the vertical line test is that it ensures each \(x\) value corresponds to exactly one \(y\) value; if a vertical line intersects the curve at more than one point, it means there is a \(x\) value corresponding to more than one \(y\) value, which violates the definition of a function.
Step-by-step solved examples
Example 1: Finding the domain and range of the function \(f(x) = \sqrt{x - 3}\)
Solution: Step by step
We need the expression inside the square root to be non-negative because we are dealing with real numbers: \(x - 3 \geq 0\).
Solving the inequality: \(x \geq 3\).
Therefore, the domain is \([3, \infty)\) or in set notation: \(\{x \in \mathbb{R} \mid x \geq 3\}\).
To calculate the range: since the square root always gives a non-negative value, and the smallest value of ⟦79⟧⟦80⟧{x - 3}⟦81⟧ when ⟦82⟧x = 3⟦83⟧ is ⟦84⟧⟦85⟧{0} = 0⟦86⟧.\(\sqrt{x - 3}\)When\(x = 3\)is\(\sqrt{0} = 0\).
As \(x\) increases, \(\sqrt{x - 3}\) increases without bound, so the range is \([0, \infty)\) or \(\{y \in \mathbb{R} \mid y \geq 0\}\).
Example 2: Determining whether the curve given by the equation \(x^2 + y^2 = 25\) represents a function using the vertical line test
Solution: Step by step
The equation \(x^2 + y^2 = 25\) represents a circle with radius 5 centered at the origin.
We draw a vertical line, for example at \(x = 0\): substitute into the equation: \(0^2 + y^2 = 25\) → \(y^2 = 25\) → \(y = 5\) or \(y = -5\).
Thus the vertical line at \(x = 0\) intersects the circle at two points: \((0, 5)\) and \((0, -5)\).
Since there exists a vertical line that intersects the curve at more than one point, the curve does not represent a function.
Conclusion: No, the equation \(x^2 + y^2 = 25\) does not represent a function because it fails the vertical line test.
List of "Common Mistakes" with correction for each error
Error:Assuming that the domain of the function \(f(x) = \frac{1}{x}\) is all real numbers.
Correction:The domain is all real numbers except zero, because division by zero is undefined. We write: \(\mathbb{R} \setminus \{0\}\) or \(\{x \in \mathbb{R} \mid x \neq 0\}\).
Error:Believing that the range of the function \(f(x) = x^2\) is all real numbers.
Correction: Since the square of any real number is non-negative, the range is \([0, \infty)\) or \({y \in \mathbbℝ \mid y \geq 0}\).
Error: Assuming that the function \(f(x) = \sqrt{x}\) is defined for all real numbers.
Correction: The domain is \(x \geq 0\) only, because the square root of a negative number is undefined in the set of real numbers. We write: \([0, \infty)\).
Error:Use the multiplication symbol\(*\)In expressions such as\(f(x) = 2 * x + 3\).
Correction: Use \(\times\) in LaTeX or simple juxtaposition: \(f(x) = 2x + 3\).
Test Tips
Always check the domain before computing the range or evaluating a function, especially with fractions, roots, and logarithms.
Use the vertical line test visually or analytically to determine whether a relation represents a function, and do not assume it without verification.
When writing mathematical expressions, ensure that every symbol or operation inside \( ... \) is correct, and do not use any LaTeX command outside of it.
Avoid using \(<\) or \(>\) outside LaTeX; place any comparison inside \( ... \), such as \(0 < x < 1\).
Review the list of common errors before the exam and pay special attention to the domains of rational and radical functions.
Basic Laws and Formulas
Operations on functions are defined as a way to construct new functions from existing ones through addition, multiplication, composition, and division, taking into account the domain conditions for each operation.
Operations on functions
Operation
Formula
Addition
\((f+g)(x) = f(x) + g(x)\)
Multiplication
\((f \cdot g)(x) = f(x) \cdot g(x)\)
Composition
\((f \circ g)(x) = f(g(x))\)
Division
\((f/g)(x) = \frac{f(x)}{g(x)}\), with the condition \(g(x) \neq 0\)
The reason behind these definitions is to maintain compatibility of functions with basic algebraic operations, so that the result is a function defined on the intersection of their domains (except for division, which excludes points where the denominator vanishes).
Step-by-step solved example: addition and multiplication
Assume that \(f(x) = 2x + 1\) and \(g(x) = x^2 - 3\).
Compute \((f+g)(x)\):
Step 1: Write the definition of addition: \((f+g)(x) = f(x) + g(x)\)
If the function \(f\) is one-to-one (injective), then it has an inverse \(f^{-1}\) such that \(f^{-1}(f(x)) = x\) and \(f(f^{-1}(x)) = x\) for every \(x\) in the appropriate domain. This is because a one-to-one function does not assign the same value to two different inputs, allowing the relationship to be reversed uniquely.
Steps to find the inverse:
Write \(y = f(x)\).
Swap \(x\) and \(y\) to get \(x = f(y)\).
Solve the equation for \(y\) to express it in terms of \(x\).
The result is \(y = f^{-1}(x)\).
Worked example step-by-step: Finding the inverse of a linear function
Step 4: Write the inverse: \(f^{-1}(x) = \frac{x + 5}{3}\)
Worked example step-by-step: Finding the inverse of a restricted quadratic function
Assume \(f(x) = x^2\) with the condition \(x \geq 0\) (to ensure it is one-to-one).
Step 1: Write \(y = f(x) \Rightarrow y = x^2\), with \(x \geq 0\), \(y \geq 0\).
Step 2: Swap \(x\) and \(y\): \(x = y^2\), with \(y \geq 0\) (because \(y\) represented the original \(x\), which is non-negative).
Step 3: Solve for \(y\):
Take the square root of both sides: \(y = \sqrt{x}\) (we take the positive root only because \(y \geq 0\))
Step 4: Write the inverse: \(f^{-1}(x) = \sqrt{x}\), with domain \(x \geq 0\) (because the domain of \(f^{-1}\) is the range of the original \(f\)).
Classification of Functions
Type
Condition
Example
Even
\(f(-x) = f(x)\)
\(f(x) = x^2\)
Odd
\(f(-x) = -f(x)\)
\(f(x) = x^3\)
The reason for classifying functions as even and odd is to simplify analysis and integration, since even functions are symmetric about the y-axis and odd functions are symmetric about the origin, allowing the use of simplifying properties in calculations.
Worked Example: Verifying Evenness and Oddness
Assume that \(f(x) = x^4 - 2x^2 + 1\).
Step 1: Compute \(f(-x)\):
\(f(-x) = (-x)^4 - 2(-x)^2 + 1 = x^4 - 2x^2 + 1\) (because even powers eliminate the negative sign)
Step 2: Compare \(f(-x)\) with \(f(x)\):
\(f(x) = x^4 - 2x^2 + 1\)
We see that \(f(-x) = f(x)\)
Step 3: Conclusion: Since \(f(-x) = f(x)\), the function is even.
Let \(g(x) = x^3 - x\).
Step 1: Compute \(g(-x)\):
\(g(-x) = (-x)^3 - (-x) = -x^3 + x\)
Step 2: Compute \(-g(x)\):
\(-g(x) = -(x^3 - x) = -x^3 + x\)
Step 3: Compare \(g(-x)\) with \(-g(x)\):
We find that \(g(-x) = -x^3 + x = -g(x)\)
Step 4: Conclusion: Since \(g(-x) = -g(x)\), the function is odd.
List of common errors and corrections
Error: Forgetting the condition\(g(x) \neq 0\)In the process of division\((f/g)(x)\).
Correction: Always state the condition explicitly: \((f/g)(x) = \frac{f(x)}{g(x)}\) with \(g(x) \neq 0\).
Error: Assuming that every function has an inverse without checking whether it is one-to-one.
Correction: Before seeking the inverse, ensure the function is one-to-one (i.e., each value in the range comes from exactly one input); otherwise, the inverse is not a function.
Error: When finding the inverse of a quadratic function, taking both the positive and negative square roots without restricting the domain.
Correction: If the original function is unrestricted, it is not one-to-one; therefore, the domain must be restricted first (e.g., \(x \geq 0\) or \(x \leq 0\)) and then the appropriate root (positive or negative, respectively) taken.
Error: Confusing \(f(-x)\) with \(-f(x)\) when testing for odd or even functions.
Correction: Remember that \(f(-x)\) means substituting \(x\) with \(-x\) in the expression, while \(-f(x)\) means multiplying the final function value by \(-1\).
Test Tips
In function operation questions, always begin by writing the general definition before substitution to avoid algebraic errors.
When dealing with composition, work from the inside out: compute \(g(x)\) first, then substitute the result into \(f\).
To find the inverse, follow the three steps precisely and do not swap variables arbitrarily; solving the equation for \(y\) after substitution is key.
In classifying functions, compute \(f(-x)\) accurately, then compare it with \(f(x)\) and \(-f(x)\); do not assume the result without explicit calculation.
Always check the domains and ranges, especially in division, roots, and composition, because neglecting them leads to incorrect answers even if the algebraic form is correct.
Detailed Solved Examples
Example 1: Finding the domain
Find the domain of \(f(x) = \frac{3x+5}{x^{2}-9}\).
Solution:The denominator \(x^{2}-9 = 0\) when \(x^{2}=9\), i.e. \(x=3\) or \(x=-3\). Since division by zero is undefined, we exclude these two values from the set of real numbers. Therefore, the domain is all real numbers except \(-3\) and \(3\).
Domain = \(\mathbb{R} \setminus \{-3, 3\}\).
Example 2: Domain of a radical function
Find the domain of \(f(x) = \sqrt{4-x^{2}}\).
Solution:Because the square root is defined only for non-negative quantities, we set \(4-x^{2} \geq 0\). Rearranging gives \(x^{2} \leq 4\). Taking the square root of both sides (noting that the square root yields a non-negative value) yields \(-2 \leq x \leq 2\). Hence, the domain is the closed interval from \(-2\) to \(2\).
Domain = \([-2, 2]\).
Example 3: Composition of functions
Given \(f(x)=x^{2}-1\) and \(g(x)=2x+3\), compute \((f\circ g)(x)\) and \((g\circ f)(x)\).
Solution:First, we compute \((f\circ g)(x) = f(g(x))\). Substitute \(g(x)\) into \(f\): \(f(g(x)) = (2x+3)^{2}-1\). Expand the square: \((2x+3)^{2} = 4x^{2}+12x+9\). Then subtract \(1\): \(4x^{2}+12x+9-1 = 4x^{2}+12x+8\). Thus \((f\circ g)(x) = 4x^{2}+12x+8\).
Second, we compute \((g\circ f)(x) = g(f(x))\). Substitute \(f(x)\) into \(g\): \(g(f(x)) = 2(x^{2}-1)+3\). Multiply: \(2x^{2}-2\). Then add \(3\): \(2x^{2}-2+3 = 2x^{2}+1\). Thus \((g\circ f)(x) = 2x^{2}+1\).
Since \((f\circ g)(x) \neq (g\circ f)(x)\) in general (for example, at \(x=0\) the first gives \(8\) and the second gives \(1\)), function composition is not commutative in this case.
Example 4: Inverse Function
Find the inverse of \(f(x) = \frac{3x-1}{x+2}\).
Solution:We start by writing \(y = \frac{3x-1}{x+2}\). Swapping the variables gives \(x = \frac{3y-1}{y+2}\). Multiply both sides by the denominator \(y+2\): \(x(y+2) = 3y-1\). Distribute the multiplication: \(xy + 2x = 3y - 1\). Collect the terms containing \(y\) on one side: \(xy - 3y = -1 - 2x\). Factor out the common factor \(y\): \(y(x-3) = -(1+2x)\). Divide both sides by \((x-3)\) (note that \(x \neq 3\) to avoid division by zero): \(y = \frac{-(1+2x)}{x-3}\). Change the signs in numerator and denominator to obtain a simpler form: \(y = \frac{2x+1}{3-x}\). Therefore, the inverse is \(f^{-1}(x) = \frac{2x+1}{3-x}\).
Example 5: Testing one-to-one
Determine whether \(f(x)=x^{2}\) is a one-to-one function on the set of real numbers \(\mathbb{R}\).
Solution:A function is one-to-one if each value in the domain corresponds to exactly one value in the range, and vice versa; that is, \(f(a)=f(b)\) implies \(a=b\). Take two different numbers, say \(a=2\) and \(b=-2\). Compute \(f(2)=2^{2}=4\) and \(f(-2)=(-2)^{2}=4\). Since \(f(2)=f(-2)\) but \(2 \neq -2\), the condition fails. Hence, \(f(x)=x^{}\) is not one-to-one on \(\mathbb{R}\).
However, if we restrict the domain to \([0,\infty)\), then any two distinct non-negative numbers yield different squares. For example, if \(0 \leq a < b\), then \(a^{2} < b^{2}\), and thus \(f(a) \neq f(b)\). Therefore, on \([0,\infty)\), the function is one-to-one.
Example 6: A Piecewise-Defined Function
Given the piecewise-defined function: \(f(x)=\begin{cases} x^{2}, & x<1 \\ 2x-1, & x\geq 1 \end{cases}\). Compute \(f(-2)\), \(f(1)\), \(f(3)\).
Solution:To compute \(f(-2)\), we note that \(-2 < 1\), so we use the first rule: \(f(-2)=(-2)^{2}=4\).
To compute \(f(1)\), we note that \(1 \geq 1\), so we use the second rule: \(f(1)=2(1)-1=2-1=1\).
To compute \(f(3)\), we note that \(3 \geq 1\), so we use the second rule: \(f(3)=2(3)-1=6-1=5\).
Thus, the values are: \(f(-2)=4\), \(f(1)=1\), \(f(3)=5\).
Explanations and Reasons:
In Example 1: we exclude values that make the denominator zero because division by zero is undefined in the real numbers.
In Example 2: we require the radicand to be non-negative because the square root of a negative number is undefined in the set of real numbers.
In Example 3: composition is not commutative because changing the order of the functions generally leads to different expressions.
In Example 4: To find the inverse, we swap the variables and solve for \(y\) with respect to \(x\), paying attention to excluding values that make the denominator zero in the final expression.
In Example 5: The one-to-one property requires that no two distinct elements in the domain map to the same value in the range; we use a counterexample to prove that the property does not hold.
In Example 6: When computing a piecewise-defined function, we determine which interval the input value belongs to, then apply the corresponding formula.
Step-by-step solved examples (additional):
Find the domain of \(g(x)=\frac{5x-2}{x^{2}+4x+3}\).
Solution: Solve \(x^{2}+4x+3=0\) by factoring: \((x+1)(x+3)=0\), so \(x=-1\) or \(x=-3\). The domain is \(\mathbb{R}\setminus\{-1,-3\}\).
Find the domain of \(h(x)=\sqrt{9-2x}\).
Solution: Set \(9-2x\geq0\), then \(2x\leq9\), so \(x\leq\frac{9}{2}\). The domain is \(\left(-\infty,\frac{9}{2}\right]\).
List of common errors with corrections for each:
Error: Writing the domain as \(\{x\mid x\neq -3,3\}\) without using the correct set notation.
Correction: Use \(\mathbb{R}\setminus\{-3,3\}\) or \((-\infty,-3)\cup(-3,3)\cup(3,\infty)\).
Error: When solving an inequality for a radical, writing \(\sqrt{4-x^{2}}\geq0\) instead of \(4-x^{2}\geq0\).
Correction: Remember that the square root itself is never negative when defined, so the condition applies only to the expression inside the radical.
Error: In composing functions, writing \((f\circ g)(x)=f(x)\cdot g(x)\) confuses composition with multiplication.
Correction: Recall that \((f\circ g)(x)=f(g(x))\), meaning substitute \(g(x)\) into \(f\).
Error: When finding the inverse, forgetting to swap \(x\) and \(y\) at the start or solving the equation for \(x\) instead of \(y\).
Correction: Follow the steps: write \(y=f(x)\), then swap the variables, then solve for \(y\).
Error: In the one-to-one test, merely stating that the function is even or odd as justification.
Correction: Remember that evenness or oddness does not reflect the one-to-one property; you must test whether \(f(a)=f(b)\) implies \(a=b\).
Error: In the piecewise-defined function, using the wrong rule at the boundary value (e.g., using ⟦296⟧x^{2}⟦297⟧ at ⟦298⟧x=1⟦299⟧).\(x^{2}\)The error: in the function defined piecewise, using the wrong rule at the boundary value (e.g., using ⟦296⟧x^{2}⟦297⟧ at ⟦298⟧x=1⟦299⟧).\(x=1\)).
Correction: Pay attention to the inequality included in the definition; if the condition is \(x\geq1\), use the second rule at \(x=1\).
Test Tips:
Always check for exceptions in the domain: values that make the denominator zero or the expression inside the radical negative.
When dealing with square roots, write the condition only on the radicand and remember that the root itself yields a non-negative value.
In function composition, work from the inside out: compute \(g(x)\) first, then substitute the result into \(f\).
To find the inverse, follow the steps precisely: write \(y=f(x)\), swap the variables, solve for \(y\), then replace \(y\) with \(f^{-1}(x)\).
To test for one-to-one, assume \(f(a)=f(b)\) and try to deduce \(a=b\); if you cannot, look for a counterexample.
For piecewise-defined functions, determine which interval the input value belongs to before applying the formula.
Use set symbols and parentheses precisely: \(\setminus\) for exclusion, \(\cup\) for union, \(\cap\) for intersection, and commas for intervals.
Review your calculations carefully, especially when expanding parentheses and combining like terms; a small sign error can change the result entirely.
Illustrative SVG Diagrams
Figure 1: The quadratic function f(x)=x²
The quadratic function is defined in the general form \(f(x)=ax^{2}+bx+c\), and in the given case we have \(a=1\), \(b=0\), \(c=0\), so it becomes \(f(x)=x^{2}\). This function represents an upward-opening parabola because the coefficient of \(x^{2}\) is positive. The axis of symmetry is the y-axis \(x=0\), and the vertex is at the point \((0,0)\), which is the minimum value of the function since the parabola opens upward. The domain is all real numbers \(\mathbb{R}\), and the range is \([0,\infty)\) because \(x^{2}\geq0\) for every \(x\in\mathbb{R}\).
Example 1: Calculate the value of\(f(3)\)and\(f(-2)\)for the function\(f(x)=x^{2}\).
Substituting \(x=3\) into \(f(x)=x^{2}\) gives \(f(3)=3^{2}=9\).
Substituting \(x=-2\) into \(f(x)=x^{2}\) gives \(f(-2)=(-2)^{2}=4\).
Example 2: Solve the equation \(x^{2}=16\).
Move all terms to one side: \(x^{2}-16=0\).
Factor using the difference of squares: \((x-4)(x+4)=0\).
Set each factor equal to zero: \(x-4=0\) or \(x+4=0\).
We obtain the solutions: \(x=4\) or \(x=-4\).
Common mistakes:
Error: Writing \((-2)^{2}=-4\) because the student forgets that the square of a negative number is positive.
Correction: \((-2)^{2}=(-2)\times(-2)=4\), because the product of two negative numbers is positive.
Error: Solving \(x^{2}=16\) by writing \(x=4\) only and neglecting the negative root.
Correction: When taking the square root of both sides, the sign must be considered: \(x=\pm\sqrt{16}=\pm4\).
Test tips: Remember that the square of any real number is non-negative, so \(x^{2}\geq0\) always holds. When solving equations of the form \(x^{2}=k\) with \(k\geq0\), the solution is \(x=\pm\sqrt{k}\). Always check the sign of the number before squaring it.
Figure 2: Linear function
A linear function is defined in the form \(f(x)=mx+b\), where \(m\) is the slope and \(b\) is the y-intercept. In the given figure, we have \(f(x)=2x+1\), so the slope \(m=2\) and the intercept \(b=1\). Since \(m>0\), the function is strictly increasing over its entire domain \(\mathbb{R}\). The line passes through the point \((0,1)\) because when \(x=0\), we get \(f(0)=1\). It also passes through the point \((1,3)\) because \(f(1)=2\times1+1=3\). The domain is \(\mathbb{R}\) and the range is also \(\mathbb{R}\), since a non-horizontal line covers all real values.
Example 1: Calculate the value of \(f(-1)\)and\(f(4)\)for the function\(f(x)=2x+1\).
Substituting \(f(x)=11\) into the equation: \(2x+1=11\).
Subtracting 1 from both sides: \(2x=10\).
Dividing both sides by 2: \(x=5\).
Common mistakes:
Error: Computing \(2\times(-1)+1\) and writing \(-2+1=1\) instead of \(-1\).
Correction: \(-2+1=-1\) because adding a negative and a positive number equals the difference between them with the sign of the number having the larger absolute value.
Error: Solving \(2x+1=11\) by writing \(2x=11\) and then \(x=5.5\) after forgetting to subtract 1.
Correction: Subtract 1 first: \(2x=11-1=10\), then \(x=10/2=5\).
Test tips: When evaluating a linear function, substitute the given value into \(x\) and perform multiplication before addition according to the order of operations. When solving a linear equation, isolate the term containing the variable using inverse operations by adding or subtracting the constant first, then divide by the coefficient.
Figure 3: The inverse function
The function \(f(x)=2x-3\) is a linear function with slope \(2\) and y-intercept \(-3\). Since the slope is nonzero, the function is one-to-one and has an inverse. To find the inverse \(f^{-1}(x)\), substitute \(y=f(x)\), then solve for \(x\) in terms of \(y\), and finally swap \(x\) and \(y\) to obtain \(f^{-1}(x)\).
Steps to find the inverse:
Write \(y=2x-3\).
Add 3 to both sides: \(y+3=2x\).
Divide both sides by 2: \(x=\frac{y+3}{2}\).
Substitute \(x\) and \(y\) to get the inverse: \(f^{-1}(x)=\frac{x+3}{2}\).
The graphs of the function and its inverse are symmetric with respect to the line \(y=x\), because the inverse reflects points across this line. For example, the point \((1,-1)\) lies on \(f(x)\) since \(f(1)=2\times1-3=-1\), and its inverse point \((-1,1)\) lies on \(f^{-1}(x)\) since \(f^{-1}(-1)=\frac{-1+3}{2}=1\).
Example 1: Compute \(f(0)\) and \(f^{-1}(3)\).
Substitute \(x=0\) into \(f(x)=2x-3\): \(f(0)=2\times0-3=-3\).
Substitute \(x=3\) into \(f^{-1}(x)=\frac{x+3}{2}\): \(f^{-1}(3)=\frac{3+3}{2}=\frac{6}{2}=3\).
Example 2: Verify that \(f(f^{-1}(x))=x\) for all \(x\).
Substitute \(f^{-1}(x)\) into \(f\): \(f(f^{-1}(x))=2\left(\frac{x+3}{2}\right)-3\).
We simplify inside the parentheses: \(2\times\frac{x+3}{2}=x+3\).
We obtain: \(f(f^{-1}(x))=(x+3)-3=x\).
Thus the condition is satisfied.
Common mistakes:
Error: When finding the inverse, writing \(f^{-1}(x)=2x-3\) instead of solving the equation for \(x\).
Correction: Isolate \(x\)from\(y=2x-3\)To obtain\(x=\frac{y+3}{2}\)Then swap the variables.
Error: Computing \(f^{-1}(3)\) and writing \(\frac{3+3}{2}=2\) instead of \(3\).
Correction: \(\frac{3+3}{2}=\frac{6}{2}=3\), because \(6\) divided by \(2\) equals \(3\).
Test tips: To verify that a function has an inverse, ensure it is strictly increasing or strictly decreasing (i.e., the slope is non-zero for linear functions). When finding the inverse, isolate the variable \(x\) step by step using inverse operations, then swap the variables. After obtaining the expression for the inverse, you can check by confirming that \(f(f^{-1}(x))=x\) and \(f^{-1}(f(x))=x\).
Comparison Tables
Comparison: Types of Functions
Type
Graph
Behavior
Linear
Straight line
Increasing (\(m>0\)), Decreasing (\(m<0\))
Quadratic
Parabola
Has a vertex (max/min)
Rational
Hyperbola
Asymptotic Lines
Comparison: Domain vs Range
Property
Domain
Range
Meaning
Allowed input x-values
Resulting y-values
On the axis
x-axis (horizontal)
y-axis (vertical)
Definition of functions, domain, and range
A function is a relation between two sets such that each element of the first set (the domain) corresponds to exactly one element of the second set (the range). A function is usually denoted by \(f\), and we write \(y=f(x)\), where \(x\) is an independent variable belonging to the domain, and \(y\) is a dependent variable belonging to the range.
Rule 1: Determining the domain of algebraic functions
To find the domain, we exclude values that make the expression undefined. The most common cases are:
The denominator cannot be zero.
The expression under an even root must be non-negative.
The argument of a logarithm must be strictly positive.
Example 1: Domain of the function \(f(x)=\frac{2x+1}{x^{2}-4}\)
Solution: Step by step
We identify the denominator: \(x^{2}-4\).
Set the denominator equal to zero to find the prohibited values: \(x^{2}-4=0\).
Solve the equation: \(x^{2}=4\), so \(x=2\) or \(x=-2\).
Exclude these two values from the set of real numbers.
Thus the domain is all real numbers except \(2\) and \(-2\).
Result: \(\displaystyle \text{domain}= \mathbb{R}\setminus\{-2,2\}\) or with commas: \((-∞,-2)\cup(-2,2)\cup(2,∞)\).
Example 2: Domain of the function \(g(x)=\sqrt{3x-6}\)
Solution: Step by step
We set the expression under the square root greater than or equal to zero: \(3x-6\geq 0\).
Solve the inequality: \(3x\geq 6\) Thus \(x\geq 2\).
Therefore the domain is all real numbers greater than or equal to \(2\).
Result: \(\displaystyle \text{domain}=[2,∞)\).
Rule 2: Determining the range of quadratic functions
The quadratic function in standard form \(f(x)=ax^{2}+bx+c\) has its vertex at \(x=-\frac{b}{2a}\). If \(a>0\), the vertex is the minimum point (minimum); if \(a<0\), the vertex is the maximum point (maximum).
Example 3: Range of the function \(h(x)=-2x^{2}+8x-5\)
Solution: Step by step
We determine the coefficients: \(a=-2\), \(b=8\), \(c=-5\).
We compute the axis of symmetry: \(x=-\frac{b}{2a}=-\frac{8}{2(-2)}=-\frac{8}{-4}=2\).
Substituting \(x=2\) into the function to find the maximum value: \(h(2)=-2(2)^{2}+8(2)-5=-2\cdot4+16-5=-8+16-5=3\).
Since \(a=-2<0\), the vertex is the highest point, so the range is all values less than or equal to \(3\).
Result: \(\displaystyle \text{range}=(-∞,3]\).
Example 4: Range of the function \(k(x)=x^{2}-4x+7\)
Solution: Step by step
We determine the coefficients: \(a=1\), \(b=-4\), \(c=7\).
We compute the axis of symmetry: \(x=-\frac{b}{2a}=-\frac{-4}{2(1)}=\frac{4}{2}=2\).
Substituting \(x=2\) into the function: \(k(2)=(2)^{2}-4(2)+7=4-8+7=3\).
Since \(a=1>0\), the vertex is the lowest point, so the range is all values greater than or equal to \(3\).
Result: \(\displaystyle \text{range}=[3,∞)\)
List of "Common Mistakes" with correction of each mistake
Error: Assuming that the domain of \(f(x)=\frac{1}{x-3}\) includes all real numbers. Correction: Must exclude \(x=3\) because it makes the denominator zero, so the domain is \(\mathbb{R}\setminus\{3\}\) or \((-∞,3)\cup(3,∞)\).
Error:Solve \(\sqrt{x+5}\geq 0\) and write \(x\geq -5\), then claiming that the range is \([-5,∞)\) for the function \(f(x)=\sqrt{x+5}\). Correction: \([-5,∞)\) is the domain, not the range. The range is \([0,∞)\) because the square root does not produce negative values.
Error: Neglecting the sign of the coefficient \(a\) when calculating the range of the quadratic function. Correction:Check the sign of \(a\): if \(a>0\), the vertex is a minimum; if \(a<0\), the vertex is a maximum.
Error:Writing the inequality \(x>0\) without LaTeX, causing formatting rejection. Correction:Enclose any comparison in \( ... \), such as \(x>0\).
Test Tips
Always check the denominator, radical, and logarithm before declaring the domain.
Sketch a rough graph of the quadratic function to determine whether the vertex is a maximum or minimum.
Write the domain and range in interval or set notation, and do not forget to use \(\cup\) for union and \(\setminus\) for exclusion.
In questions comparing domain and range, recall that the domain lies on the \(x\)-axis and the range on the \(y\)-axis.
Use LaTeX for all mathematical expressions, and do not write any comparison, radical, or fraction as plain text.
CSCA Tips and Common Mistakes
Before performing any operation on a function, its domain must be determined precisely, because the domain defines the set of values that the function can accept as inputs. If this condition is ignored, we may reach undefined or incorrect results, such as division by zero or taking the square root of a negative number in the set of real numbers.
The domain is of utmost importance in defining inverse and composite functions, as a function has an inverse only if it is one-to-one on its domain.
When dealing with rational functions, we must exclude the values that make the denominator equal to zero, because division by zero is undefined in mathematics.
In the case of functions involving even roots, the expression under the root must be greater than or equal to zero to ensure that the value is real.
Example 1: Finding the domain of the function \( f(x) = \frac{1}{x^2 - 4} \)
We set the denominator: \( x^2 - 4 \).
We set the denominator ≠ 0: \( x^2 - 4 \neq 0 \).
Solving the equation: \( x^2 \neq 4 \) → \( x \neq 2 \) and \( x \neq -2 \).
Therefore, the domain is: \( (-\infty, -2) \cup (-2, 2) \cup (2, \infty) \).
Example 2: Finding the domain of the function \( g(x) = \sqrt{5 - 2x} \)
We set the expression under the root ≥ 0: \( 5 - 2x \geq 0 \).
Solving the inequality: \( -2x \geq -5 \) → \( x \leq \frac{5}{2} \).
So the field is: \( (-\infty, \frac{5}{2}] \).
The inverse function is not the reciprocal.
The symbol \( f^{-1}(x) \) never means \( \frac{1}{f(x)} \), but represents the inverse function that cancels the effect of the original function, i.e., it satisfies the conditions: \( f(f^{-1}(x)) = x \) and \( f^{-1}(f(x)) = x \) for every \( x \) in the appropriate domain, whereas the reciprocal \( \frac{1}{f(x)} \) is merely a multiplicative inverse and has no relation to the functional inverse.
Confusing the two leads to serious errors in solving equations and determining inverse functions.
The inverse function exists only if the function is one-to-one (i.e., it passes the horizontal line test).
The reciprocal \( \frac{1}{f(x)} \) may be undefined even if \( f(x) \) is defined, for example, when \( f(x) = 0 \).
Example 1: Prove that \( f^{-1}(x) \neq \frac{1}{f(x)} \) for the function \( f(x) = 2x + 3 \)
We compute the inverse: set \( y = 2x + 3 \), then swap the variables: \( x = 2y + 3 \).
Solve for \( y \): \( 2y = x - 3 \) → \( y = \frac{x - 3}{2} \).
Thus \( f^{-1}(x) = \frac{x - 3}{2} \).
We compute the reciprocal: \( \frac{1}{f(x)} = \frac{1}{2x + 3} \).
Compare: \( \frac{x - 3}{2} \neq \frac{1}{2x + 3} \) in general, for instance at \( x = 0 \): \( f^{-1}(0) = -\frac{3}{2} \), while \( \frac{1}{f(0)} = \frac{1}{3} \).
Example 2: For the function \( f(x) = x^2 \) (with \( x \geq 0 \))
We compute the inverse: \( y = x^2 \) → \( x = \sqrt{y} \) (we take the positive root because \( x \geq 0 \)).
Thus \( f^{-1}(x) = \sqrt{x} \).
We compute the reciprocal: \( \frac{1}{f(x)} = \frac{1}{x^2} \).
At \( x = 4 \): \( f^{-1}(4) = 2 \), while \( \frac{1}{f(4)} = \frac{1}{16} \), clearly not equal.
Horizontal Line Test
This test is used to determine whether a function is one-to-one (i.e., each value in the domain corresponds to exactly one value in the range, and each value in the range comes from exactly one value in the domain), which is a necessary condition for the existence of an inverse function. If any horizontal line intersects the graph of the function more than once, then the function is not one-to-one and therefore does not have an inverse over its entire domain.
The test is visual and quick, and does not require complex calculations.
If the function passes the test, we can proceed to find the inverse by solving \( y = f(x) \) for \( x \).
If the test fails, we may need to restrict the domain to make the function one-to-one before finding the inverse.
Example 1: Applying the Horizontal Line Test to \( f(x) = x^2 \)
We graph the function \( f(x) = x^2 \), which is an upward-opening parabola.
We consider the horizontal line \( y = 4 \): it intersects the curve at \( x = -2 \) and \( x = 2 \), that is, two points.
Thus the horizontal line intersects the curve more than once → the function is not one-to-one on \( \mathbb{R} \).
But if we restrict the domain to \( [0, \infty) \), then the line \( y = 4 \) intersects at \( x = 2 \) only → it becomes one-to-one.
Example 2: Applying the horizontal line test to \( f(x) = 2x + 1 \)
The function is linear and strictly increasing.
Any horizontal line \( y = c \) intersects the line at exactly one point: \( x = \frac{c - 1}{2} \).
Thus the test succeeds → the function is one-to-one on \( \mathbb{R} \) and therefore has an inverse.
In function composition: compute the inner function first, then the outer function.
When computing the value of the composite function \( (f \circ g)(x) = f(g(x)) \), you must first evaluate the inner function \( g(x) \) at the input \( x \), then use the result as the input to the outer function \( f \). This order is essential because the operation is not commutative: \( f(g(x)) \) is generally not equal to \( g(f(x)) \).
The common mistake is reversing the order and computing \( f(x) \) first, then applying \( g \) to the result, which leads to an incorrect answer.
Function composition is widely used in function transformations, computing derivatives via the chain rule, and modeling sequential phenomena.
To check understanding, \( (g \circ f)(x) \) can be computed separately and the results compared.
Example 1: Compute \( (f \circ g)(x) \) where \( f(x) = x^2 \) and \( g(x) = x + 1 \).
We compute the inside first: \( g(x) = x + 1 \).
We substitute the result into the outside: \( f(g(x)) = f(x + 1) \).
We apply the rule \( f \): \( f(x + 1) = (x + 1)^2 \).
We expand if needed: \( (x + 1)^2 = x^2 + 2x + 1 \).
Thus \( (f \circ g)(x) = x^2 + 2x + 1 \).
Example 2: Compute \( (g \circ f)(x) \) for the same functions to compare order
We compute the inside first: \( f(x) = x^2 \).
We substitute the result into the outside: \( g(f(x)) = g(x^2) \).
We apply the rule \( g \): \( g(x^2) = x^2 + 1 \).
Thus \( (g \circ f)(x) = x^2 + 1 \).
We observe that \( (f \circ g)(x) = x^2 + 2x + 1 \neq x^2 + 1 = (g \circ f)(x) \), which proves that composition is not commutative.
Common Mistakes
Error
Correction
Explanation
Confusing \( f^{-1}(x) \) with \( \frac{1}{f(x)} \)
Functional inverse ≠ reciprocal
The inverse satisfies \( f(f^{-1}(x)) = x \), while the reciprocal is \( \frac{1}{f(x)} \) and only satisfies this property in very special cases.
In \( (f \circ g)(x) \), the inner function is \( g \) and the outer function is \( f \); reversing the order completely changes the result.
Forgetting to exclude zero denominators in rational functions
Denominator ≠ 0 is a fundamental condition for the expression.
If we do not exclude values that make the denominator zero, we obtain undefined expressions, leading to incorrect answers on the test.
Finding the inverse without verifying the one-to-one property
Use the horizontal line test first, or restrict the domain if necessary
If the function is not one-to-one, its inverse does not exist as a function over the entire original domain; we may need to restrict the domain (e.g., for \( x^2 \), we take \( x \geq 0 \)).
Applying the square root to both sides without considering the sign
When solving \( x^2 = a \), the solution is \( x = \pm \sqrt{a} \) only if there are no domain restrictions
In the context of finding an inverse, if the original domain is restricted (e.g., \( x \geq 0 \)), we take only the positive root; ignoring this leads to an incorrect inverse.
Test tips
Always start by determining the domain before any operation; it is the foundation upon which all other operations are built.
When seeing \( f^{-1}(x) \), ask yourself: 'Is this function one-to-one?' If unsure, apply the horizontal line test or solve \( f(a) = f(b) \) and deduce that \( a = b \).
In function composition, write clearly: inner = ..., outer = ..., then substitute; this reduces errors in order.
After finding the inverse, verify the property: \( f(f^{-1}(x)) = x \) and \( f^{-1}(f(x)) = x \); this ensures correctness.
Do not assume that \( \sqrt{x^2} = x \); instead, \( \sqrt{x^2} = |x| \), which is crucial when simplifying expressions and finding domains.
If you encounter a modulus or absolute value function, divide the domain into intervals based on the sign of the expression inside the absolute value.
Use scratch paper to sketch a quick graph of the function if needed; sometimes visual insight saves lengthy calculations.
Be careful to write units and symbols accurately inside \( \LaTeX \), and do not write any mathematical symbol as plain text.
Additional Exercises with Solutions
Exercise 1: Domain of a Radical Function
To find the domain of the function \(f(x) = \sqrt{x^2 - x - 6}\), the expression under the radical must be non-negative, i.e., \(x^2 - x - 6 \ge 0\).
Solution: We solve the inequality \(x^2 - x - 6 \ge 0\). Factoring the expression: \(x^2 - x - 6 = (x - 3)(x + 2)\). Thus the inequality becomes \((x - 3)(x + 2) \ge 0\). We find the critical points: \(x = -2\) and \(x = 3\). We analyze the sign on the number line intervals: \((-\infty, -2)\), \((-2, 3)\), \((3, \infty)\). Testing the sign of the product in each interval: in \((-\infty, -2)\), both factors are negative → product positive. In \((-2, 3)\), the factor \(x+2\) is positive and \(x-3\) is negative → product negative. In \((3, \infty)\), both factors are positive → product positive. Since the inequality includes equality, we include the points \(-2\) and \(3\). Therefore, the domain is \((-\infty, -2] \cup [3, \infty)\).
Step-by-Step Solved Examples:
Example: Compute \(f(-4)\) for the function \(f(x) = \sqrt{x^2 - x - 6}\).
Step 1: Substitute \(x = -4\) into the expression under the radical: \((-4)^2 - (-4) - 6 = 16 + 4 - 6 = 14\).
Step 2: We check that \(-6 \ge 0\) → false, so the square root cannot be computed in the real numbers.
Step 3: Therefore \(f(0)\) is undefined.
Result: \(f(0)\) is undefined.
Common Mistakes:
Error: Writing the domain as \((-2, 3)\) only.
Correction: Forgetting that the inequality \(\ge 0\) includes intervals where the product is positive or zero, not just negative. The correct domain is \((-\infty, -2] \cup [3, \infty)\).
Error: Assuming the square root is defined when the expression under the root is negative, such as writing \(f(0) = \sqrt{-6}\).
Correction: The square root of a negative number is undefined in the set of real numbers. One must ensure that the expression under the root \(\ge 0\) before computing the root.
Test Tips:
Always start by requiring that the expression under the square root \(\ge 0\) for functions containing a square root.
After factoring the expression, use a sign chart to determine the valid intervals precisely.
Remember to include the points where the expression under the root equals zero, if the inequality includes \(\ge\) or \(\le\).
Check that the value you substitute into the function lies within the domain before evaluating it.
Exercise 2: Composition of Functions
Given \(f(x) = \sqrt{x}\) and \(g(x) = x^2 - 1\), we want to find \((f \circ g)(x) = f(g(x))\) and its domain.
Solution: Substitute \(g(x)\) into \(f\): \((f \circ g)(x) = f(g(x)) = \sqrt{g(x)} = \sqrt{x^2 - 1}\). To find the domain, the expression under the radical must be non-negative: \(x^2 - 1 \ge 0\). Solve the inequality: \(x^2 - 1 = (x - 1)(x + 1) \ge 0\). The critical points are \(x = -1\) and \(x = 1\). Analyze the number line: \((-\infty, -1)\), \((-1, 1)\), \((1, \infty)\). Test the sign: In \((-\infty, -1)\), both factors are negative → product positive. In \((-1, 1)\), the factor \(x+1\) is positive and \(x-1\) is negative → product negative. In \((1, \infty)\), both factors are positive → product positive. Since the inequality includes equality, include the points \(-1\) and \(1\). Thus the domain is \((-\infty, -1] \cup [1, \infty)\).
Step-by-Step Solved Examples:
Example: Compute \((f \circ g)(-2)\) for the functions \(f(x) = \sqrt{x}\) and \(g(x) = x^2 - 1\).
Step 2: Substitute into \(f\): \(f(g(-2)) = f(3) = \sqrt{3}\).
Step 3: We verify that \(3 \ge 0\) → true, so the value is defined.
Result: \((f \circ g)(-2) = \sqrt{3}\).
Example: Compute \((f \circ g)(0)\) for the same functions.
Step 1: We compute \(g(0) = 0^2 - 1 = -1\).
Step 2: Substitute into \(f\): \(f(g(0)) = f(-1) = \sqrt{-1}\).
Step 3: We check that \(-1 \ge 0\) → false, so \(f(-1)\) is undefined in the real numbers.
Step 4: Therefore, \((f \circ g)(0)\) is undefined.
Result: \((f \circ g)(0)\) is undefined.
Common Mistakes:
Error: Writing the domain as \((-1, 1)\) only.
Correction: Forgetting that the inequality \(x^2 - 1 \ge 0\) holds when \(x^2 \ge 1\), i.e., \(x \le -1\) or \(x \ge 1\). The correct domain is \((-\infty, -1] \cup [1, \infty)\).
Error: Assuming that \((f \circ g)(x) = \sqrt{x^2} - 1 = |x| - 1\), i.e., incorrectly simplifying the square root.
Correction: The square root applies to the entire expression \(x^2 - 1\), not to each term separately. You cannot write \(\sqrt{x^2 - 1} = \sqrt{x^2} - \sqrt{1}\) because the property \(\sqrt{a - b} = \sqrt{a} - \sqrt{b}\) does not hold in general.
Test Tips:
When composing functions, first compute \(g(x)\), then substitute the result into \(f\).
To find the domain of \((f \circ g)(x)\), start by requiring that \(g(x)\) lies in the domain of \(f\), i.e., \(g(x)\) must satisfy the definition condition of \(f\).
Do not arbitrarily split radicals or exponents; ensure the properties you use are valid (e.g., \(\sqrt{ab} = \sqrt{a}\sqrt{b}\) only when \(a, b \ge 0\)).
Always verify that the value you substitute into the inner function lies within its domain before proceeding to the outer function.
Exercise 3: Inverse Function
We want to find the inverse of the function \(f(x) = 2x^2 + 1\) under the condition \(x \ge 0\).
Solution:We set \(y = f(x) = 2x^2 + 1\). Swapping the variables to solve for \(x\): \(x = 2y^2 + 1\). Solving for \(y\): subtract 1 from both sides: \(x - 1 = 2y^2\). Divide by 2: \(\frac{x - 1}{2} = y^2\). Take the square root of both sides: \(y = \pm \sqrt{\frac{x - 1}{2}}\). Since the original function is defined for \(x \ge 0\), its values are \(y = f(x) \ge f(0) = 1\), and its inverse must yield non-negative values (because \(x \ge 0\) in the original), so we take the positive root: \(y = \sqrt{\frac{x - 1}{2}}\). Thus, \(f^{-1}(x) = \sqrt{\frac{x - 1}{2}}\). To determine the domain of the inverse, note that the expression under the square root must be non-negative: \(\frac{x - 1}{2} \ge 0 \Rightarrow x - 1 \ge 0 \Rightarrow x \ge 1\). Additionally, the domain of the inverse is the range of the original function, which is \([1, \infty)\) because \(x \ge 0 \Rightarrow f(x) \ge 1\). Hence the domain is \(x \ge 1\).
Step-by-step solved examples:
Example: Compute \(f^{-1}(3)\) for the function \(f(x) = 2x^2 + 1\) with \(x \ge 0\).
Step 1: Substitute \(x = 3\) into the inverse formula: \(f^{-1}(3) = \sqrt{\frac{3 - 1}{2}} = \sqrt{\frac{2}{2}} = \sqrt{1}\).
Step 2: Compute the square root: \(\sqrt{1} = 1\).
Step 3: We verify that \(3 \ge 1\) → true, so the value is defined.
Result: \(f^{-1}(3) = 1\).
Example: Compute \(f^{-1}(0)\) for the same function.
Step 1: Substitute \(x = 0\) into the inverse formula: \(f^{-1}(0) = \sqrt{\frac{0 - 1}{2}} = \sqrt{-\frac{1}{2}}\).
Step 2: We observe that the expression under the square root is negative: \(-\frac{1}{2} < 0\).
Step 3: The square root of a negative number is undefined in the real numbers.
Step 4: Therefore, \(f^{-1}(0)\) is undefined.
Result: \(f^{-1}(0)\) is undefined.
Common Mistakes:
Error: Writing the inverse as \(f^{-1}(x) = \pm \sqrt{\frac{x - 1}{2}}\) without selecting the appropriate branch.
Correction: Since the original function is defined on \(x \ge 0\), it is increasing and one-to-one on this domain, and its inverse must yield non-negative values. Therefore, we must choose the positive root only: \(f^{-1}(x) = \sqrt{\frac{x - 1}{2}}\).
Error: Assuming the domain of the inverse is all real numbers, or forgetting the condition \(x \ge 1\).
Correction: The domain of the inverse function is the set of values of the original function. Since \(x \ge 0\), the minimum value of \(f(x)\) is \(f(0) = 1\), and the function increases without bound, so the domain of the inverse is \([1, \infty)\), i.e., \(x \ge 1\).
Test Tips:
To find the inverse, substitute \(y = f(x)\), then solve the equation for \(x\) in terms of \(y\), then replace \(x\) with \(f^{-1}(x)\) and \(y\) with \(x\).
After obtaining the inverse expression, ensure you select the correct branch of the root or logarithm, etc., based on the domain and range of the original function.
The domain of the inverse is the range of the original function, and the range of the inverse is the domain of the original function. Compute them precisely.
Verify that the inverse expression returns the original value upon composition: \(f(f^{-1}(x)) = x\) and \(f^{-1}(f(x)) = x\) on the appropriate domains.
Exercise 4: Classifying Functions
We want to classify the following functions according to symmetry: \(f(x) = x^4 - x^2\), \(g(x) = x^3 - x\), \(h(x) = x^2 + x\).
Solution:A function is even if \(f(-x) = f(x)\) holds for every \(x\) in its domain. A function is odd if \(f(-x) = -f(x)\) holds for every \(x\) in its domain. If neither condition is satisfied, the function is neither even nor odd.
For the function \(f(x) = x^4 - x^2\), we compute \(f(-x) = (-x)^4 - (-x)^2 = x^4 - x^2 = f(x)\). Since \(f(-x) = f(x)\), it follows that \(f\) is even.
For the function \(g(x) = x^3 - x\), we compute \(g(-x) = (-x)^3 - (-x) = -x^3 + x = -(x^3 - x) = -g(x)\). Since \(g(-x) = -g(x)\), it follows that \(g\) is odd.
For the function \(h(x) = x^2 + x\), we compute \(h(-x) = (-x)^2 + (-x) = x^2 - x\). Comparing with \(h(x) = x^2 + x\), clearly \(x^2 - x \neq x^2 + x\) (except when \(x = 0\)), and comparing with \(-h(x) = -(x^2 + x) = -x^2 - x\), we find \(x^2 - x \neq -x^2 - x\) (except when \(x = 0\)). Since neither condition holds for all \(x\), it follows that \(h\) is neither even nor odd.
Thus: \(f\) is even, \(g\) is odd, \(h\) is neither even nor odd.
Step-by-step solved examples:
Example: Verify that \(f(x) = x^4 - x^2\) is even using a specific value, say \(x = 2\).
Step 4: Compare: \(h(-1) = 0\) and \(-h(1) = -2\). Since \(0 \neq -2\), the condition \(h(-x) = -h(x)\) does not hold at \(x = 1\).
Step 5: As seen in the general solution, the even condition also fails. Therefore, the function is neither even nor odd.
Result: \(h(-1) \neq h(1)\) and \(h(-1) \neq -h(1)\), so it is neither even nor odd.
Common Mistakes:
Mistake: Assuming that any function containing only terms with even exponents is even, without checking odd terms. For example, one might think that \(h(x) = x^2 + x\) is even because it contains \(x^2\).
Correction: For a function to be even, it must satisfy \(f(-x) = f(x)\) for every term. In \(h(x) = x^2 + x\), the term \(x^2\) is even, but the term \(x\) is odd, so the sum is neither even nor odd.
Mistake: Assuming that the function \(g(x) = x^3 - x\) is not odd because it contains a negative term.
Correction: odd terms remain odd under multiplication by \(-1\): \((-x)^3 = -x^3\) and \(-(-x) = x\), so \(g(-x) = -x^3 + x = -(x^3 - x) = -g(x)\). Hence it is odd.
Test tips:
To check symmetry, substitute \(-x\) into the function expression and simplify carefully, then compare the result with \(f(x)\) and \(-f(x)\).
Remember that the sum of two even functions is even, the sum of two odd functions is odd, but the sum of an even and an odd function is neither even nor odd (unless one of them is zero).
Constant functions (e.g., \(f(x) = c\)) are even because \(f(-x) = c = f(x)\).
The function that equals zero for all \(x\) is both even and odd.
Exercise 5: Application
Given \(f(x) = 3x - 5\), we want to compute \(f(2)\) and \(f(a+1)\).
Solution:To compute \(f(2)\), substitute \(x = 2\) into the function expression: \(f(2) = 3 \times 2 - 5\). Perform multiplication first: \(3 \times 2 = 6\). Then subtract 5: \(6 - 5 = 1\). Thus \(f(2) = 1\).
To compute \(f(a+1)\), substitute \(x = a+1\) into the function expression: \(f(a+1) = 3 \times (a+1) - 5\). Apply the distributive property: \(3 \times (a+1) = 3 \times a + 3 \times 1 = 3a + 3\). Then subtract 5: \(3a + 3 - 5 = 3a - 2\). Hence \(f(a+1) = 3a - 2\).
Step-by-step solved examples:
Example: Compute \(f(-1)\) for the function \(f(x) = 3x - 5\).
Step 2: Compute the multiplication: \(3 \times 0 = 0\).
Step 3: Subtract 5: \(0 - 5 = -5\).
Result: \(f(0) = -5\).
Common Mistakes:
Error: Writing \(f(a+1) = 3a + 1 - 5 = 3a - 4\), i.e., forgetting to multiply 3 by both terms inside the parentheses.
Correction: When substituting, the coefficient must be multiplied by each term inside the parentheses: \(3 \times (a+1) = 3a + 3\), not \(3a + 1\). Therefore, \(f(a+1) = 3a + 3 - 5 = 3a - 2\).
Correction: Follow the order of operations: multiplication before subtraction. Thus \(3x - 5\) means \((3 \times x) - 5\), not \(3 \times (x - 5)\).
Test Tips:
When substituting into a linear function or any function, replace the variable with the given value or expression in full, then simplify using the correct order of operations.
Use the distributive property carefully: \(k \times (m + n) = k \times m + k \times n\), and do not forget to multiply the coefficient by each term inside the parentheses.
Pay attention to negative signs, especially when subtracting terms or substituting negative values.
Check that the result makes sense: for example, if the function is increasing, then as the input increases, the output should also increase.