Worked examples · Sheet 1
Evaluating functions
Theory used:Domain, codomain and imagesGraphs and vertical lines
Go to: Exercise 1Exercise 2
Exercise 1
Evaluate for . State the coordinates of the point on the graph with horizontal coordinate .
The required point has a given horizontal coordinate. To find its vertical coordinate, substitute for both occurrences of . The square is because it multiplies by itself. The linear term is also because the coefficient multiplies the number . Adding these terms and the constant gives . At , the value is the input and is the image.
The square-of-a-binomial form offers an independent check. Expanding gives exactly the term , the cross term and the constant . The desired value is therefore also the squared distance from to . That distance is , so the square must be . On the graph, start at on the horizontal axis and go up to the parabola. Projecting that point onto the vertical axis gives . Looking for intersections of the parabola with the horizontal line would reverse the procedure and give two points, since both inputs and are units from .
Exercise 2
Let be defined on by for and for . Evaluate and , then find the preimages of .
At , use the rule because . At the boundary , the second rule applies because it includes equality. To find the preimages of , work backwards. Once the output is fixed at , each piece yields a candidate. The value belongs to the first interval, whereas belongs to the second. Both are valid. In the graph, the horizontal line meets the two pieces exactly at and .
The rule changes only once, at . In the first preimage equation the unknown is subject to , whereas in the second it is subject to . To check the results, gives , and gives . Although the extensions of the two segments have the same output at the join, the join occurs just once on the graph and gives . The horizontal line at height meets each segment just once because their rules are increasing and decreasing, respectively. The two intersections therefore account for every preimage.