Theory
Functions, domains and graph transformations
From finding domains and reading graphs to composing, inverting and transforming functions.
From an input to the value of a function
1. Domain, codomain and images
A function assigns to each element of exactly one element of . The set is the domain, the set of allowed inputs. The set is the codomain, the set from which outputs are drawn. The value is the image of . The set of all images is written and is contained in .
Reading a table in both directions
Let and . The following table describes the function on .
The image of is because . To find the preimages of , start in the second row. The value occurs under two inputs, so the equation has two solutions in . The only outputs in the table are and , so . The numbers and belong to the codomain but lie outside the range.
Substituting a negative number
To evaluate at , replace each with . This gives
The square applies to the entire number. The factor also multiplies the entire number, so the linear term contributes . On the graph, the result appears at the point .
2. Graphs and vertical lines
The graph of a real-valued function of a real variable is the set of pairs with . For a fixed horizontal coordinate , the vertical line meets the graph exactly once if belongs to the domain. If a vertical line meets a curve at two points, one input has two outputs, so the curve can describe only a relation.
One horizontal coordinate with two vertical coordinates
Setting in the circle gives . The vertical line therefore meets the circle at and . If the relation is restricted to , each has just one vertical coordinate, . The upper semicircle is therefore the graph of a function.
Graph of a piecewise function
Let for and for . The domain is because the two intervals cover every point from to . The second condition includes , so . The first piece, which applies only for , approaches the point . On the graph, is marked with an open circle and with a filled dot. The vertical line thus meets the graph exactly once.
To find the preimages of , solve an equation for each piece. The first gives , or , which lies in . The second gives , or , which lies in . The set of preimages is therefore .
A curve, its domain and a vertical line
The relation gives the vertical coordinates satisfying the equation at each input. At we get , so the line meets the curve at two points. The dashed segment highlights that the inputs agree and the outputs differ. If we keep only the half-plane , the same input retains just the value . At input , however, the two candidates coincide at , so the boundary point also belongs to the upper semicircle. To the right of , a vertical line does not even meet the circle, since the equation would require a negative square. This reading gives the right endpoint of the function’s domain.
A restriction keeps part of the graph
Given on , the restriction of to a subset uses the same rule at every point of and permits only the inputs in . For example, on has the same output as the full graph wherever both are defined. The output is attained on the full graph and absent from the restricted one. The output remains in the range, although it loses one of its two preimages. Thus restricting the domain can change the range and the number of solutions to an equation .
The real domain of a formula
Conditions for a formula to be defined
To find the largest real domain of a formula, every operation in the formula must be defined. A denominator must be nonzero, the radicand of an even root must be greater than or equal to zero, and the argument of a logarithm must be strictly positive. When several conditions apply, the domain is the intersection of their solution sets.
A domain specified in the question may be smaller. For example, can be evaluated at every real , but if counts the number of days since a trial began, the allowed values may be only the integers from to .
A square root in the numerator
For , the radicand must be nonnegative and the denominator must be nonzero. Both requirements must hold at the same time.
At the numerator is zero and the denominator is , so belongs to the domain. The point lies in the interval allowed by the square root, but it is excluded because it makes the denominator zero.
A square root in the denominator
For , the square root must exist and have a nonzero value. The square root of a nonnegative number is zero only when the number is zero, so the two conditions are equivalent to . Thus .
For , the entire quotient is under the square root. It is defined for and is nonnegative when and have the same sign or the numerator is zero. Therefore .
Simplifying can conceal an excluded point
For , . In the original formula, makes the denominator zero, so it remains excluded after simplification. The formula gives the values at the points in the domain and can be used to draw the graph. The point must be left open.
Square roots in the same sum
Let . Both square roots must exist, so and . The first condition gives and the second gives . The domain is the closed interval . At the left endpoint, the first square root is zero and the second is . The reverse happens at the right endpoint, so both ends have the same output. A square root in the denominator would impose a strict condition at the corresponding endpoint. For example, for , the point would be excluded, while would remain in the domain.
Square root of a fraction and boundary checks
For , the intervals are bounded by and . In the middle piece, for instance at , the quotient is , so no point in that piece is allowed. On the left, at the quotient is , while on the right, at it is . Each factor keeps its sign within each interval, so the two positive results identify both branches. The boundary is included because the quotient is zero. The boundary is excluded because the denominator is zero.
End of the free preview
The theory of this topic continues with 7 more sections
- Zeros, intercepts and sign
- Symmetry about the axis and the origin
- Composing two functions
- Recovering the input with the inverse function
- Shifting and reflecting a graph
- Range, monotonicity and extrema
- Keep studying
Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.
Unlock Maths 3rd year · €29Read the first 3 worked examples in this chapter for free.