2 2 Graph FN Par Form
2 2 Graph FN Par Form
Introduction
Engineers often find mathematical ideas easier to understand when these are portrayed visually
as opposed to algebraically. Graphs are a convenient and widely-used way of portraying func-
tions. By inspecting a graph it is easy to describe a number of properties of a function. For
example, where is the function positive, and where is it negative? Where is it increasing and
where is it decreasing? Do function values repeat? Questions like these can be answered once
the graph of a function has been drawn. In this section we will describe how the graph of a
function is obtained and introduce various terminology associated with graphs.
We have seen in Section 2.1 that it is possible to represent a function using the form y = f (x).
An alternative representation is to write expressions for both y and x in terms of a third variable
known as a parameter. The variables t or θ are normally used to denote the parameter.
For example, when a projectile such as a ball or rocket is thrown or launched, the x and y
coordinates of its path can be described by a function in the form y = f (x). However, it is often
useful to also give its x coordinate as a function of the time after launch, that is x(t), and the
y coordinate similarly as y(t). Here time t is the parameter.
Table 1
input, x −2 −1 0 1 2
output, f (x) −4 −2 0 2 4
To construct the graph of this function we first draw a pair of axes - a vertical axis and a
horizontal axis. These are drawn at right-angles to each other and intersect at the origin as
shown in Figure 1.
vertical ( y ) axis
y = 2x
4
origin 3
2
1
−2 −1 1 1.5 2 horizontal ( x ) axis
−1
−2
−3
−4
Each pair of input and output values can be represented on a graph by a single point. The
input values are measured along the horizontal axis and the output values are measured along
the vertical axis. The horizontal axis is often called the x axis. The vertical axis is commonly
referred to as the y axis so that we often write the function as
y = f (x) = 2x
or simply
y = 2x
Each pair of x and y values in the table is plotted as a single point, shown as • in Figure 1. A
general point is often labelled as (x, y). The values x and y are said to be the coordinates of
the point. The points are then joined with a smooth curve to produce the required graph as
shown in Figure 1. Note that in this case the graph is a straight line. The graph can then be
used to find function values other than those given in the table. For example, directly from the
graph we can see that when x = 1.5, the value of y is 3.
Your solution
Complete the following table.
input, x −3 −2 −1 0 1 2 3
output, f (x) -27 -8 27
Your solution
Now add your points to the graph of f (x) = x3 and draw a smooth curve through them.
y
30
20
10
−3 −2 −1 1 2 3 x
− 10
−20
−30
y = g(x) = 5x + 2, −5 ≤ x ≤ 20
has any value of x between −5 and 20 inclusive as its domain because it has been stated as
this. If the domain of a function is not stated then it is taken to be the largest set possible. For
example
h(t) = t2 + 1
Solution
a) The domain is given as the interval −2 ≤ t ≤ 2, that is any value of t between −2 and 2
inclusive.
b) To construct the graph a table of input and output values must be constructed first . See
Table 2.
Table 2
t −2 −1 0 1 2
y = g(t) 9 3 1 3 9
Each pair of t and y values in the table is plotted as a single point shown as • in Figure 2. The
points are then joined with a smooth curve to produce the required graph.
y
9
g(t) = 2t2 + 1
−2 −1 0 1 2 t
c) The range is the set of values which the function takes. By inspecting the graph we see that
the range of g is the interval 1 ≤ g(t) ≤ 9.
Your solution
a) Recall that the domain of a function f (x) is the set of values that x is allowed to take. Write
down this set of values:
−3 ≤ x ≤ 3
Your solution
b) The table of values has been partially calculated. Complete this now:
input, x −3 −2 −1 0 1 2 3
2
output, x + 2 6 2
x2 + 2 11 6 3 2 3 6 11
x -3 -2 -1 0 1 2 3
Your solution
c) Part of the graph f (x) = x2 + 2 is shown in the figure. Complete it.
f (x) = x2 + 2
10
x
−3 −2 −1 0 1 2 3
Your solution
d) Recall that the range of the function is the set of values that the function takes as x is
varied. It is possible to deduce this from the graph. Write this set as an interval.
Exercises
1. Explain the meaning of the terms ‘dependent variable’ and ‘independent variable’. When
plotting a graph, which variables are plotted on which axes ?
2. When stating the coordinates of a point, which coordinate is given first ?
3. Explain the meaning of an expression such as y(x) in the context of functions. What is the
interpretation of x(t) ?
4. Explain the meaning of the terms ‘domain’ and ‘range’ when applied to functions.
5. Plot a graph of the following functions. In each case state the domain and the range of the
function.
a) f (x) = 3x + 2, −2 ≤ x ≤ 5
b) g(x) = x2 + 4, −2 ≤ x ≤ 3
c) p(t) = 2t2 + 8, −2 ≤ t ≤ 4
d) f (t) = 6 − t2 , 1 ≤ t ≤ 5
6. Explain why the value x = −7 should be excluded from the domain of f (x) = x+7 5
.
1
7. What value(s) should be excluded from the domain of f (t) = t2 ?
is undefined when x = −7. 7. t = 0.
5. a) domain [−2, 5], range [−4, 17]. b) [−2, 3], [4, 13], c) [−2, 4], [8, 40], d) [1, 5], [−19, 5]. 6. f
3. x(t) means that the dependent variable x is a function of the independent variable t.
2. The independent variable is given first, as in (x, y).
Answers 1. The independent variable is plotted on the horizontal axis.
For different values of t between −1 and 1, we can calculate pairs of values of x and y. For
example when t = 1 we see that x = 4(1) = 4 and y = 2 × 12 = 2. That is t = 1 corresponds to
the point with (x, y) coordinates (4, 2).
A table of values is given in Table 1.
t −1 −0.5 0 .5 1
x −4 −2 0 2 4
y 2 0.5 0 0.5 2
If the resulting points are plotted on a graph then different values of t correspond to different
points on the graph. The graph of (1) is plotted in Figure 1.
2
t = −1 t=1
t = −0.5 t = 0.5
−4 −3 −2 −1 1 2 3 4 x
t=0
It is often possible to convert a parametric representation of a function into the more usual form
by combining the two expressions to eliminate the parameter. Thus if x = 4t we can write t = x4
and so
x 2
y = 2t2 = 2
4
2
2x
=
16
x2
=
8
2
Using y = x8 we can, by giving x values, find corresponding values of y. Plotting these (x, y)
values gives, of course, exactly the same curve as in Figure 1.
Consider the function x = 12 t + 1t , y = 12 t − 1t , 1 ≤ t ≤ 8.
a) Draw up a table of values of this function.
b) Plot a graph of the function
Your solution
a) A partially completed table of values has been prepared. Complete the table.
t 1 2 3 4 5 6 7 8
x 1 1.25 1.67 4.06
y 0 0.75 3.94
4
3
2
1
x
1 2 3 4
Figure 2
It is possible to eliminate t between the two equations so that the original parametric form can
be expressed as x2 − y 2 = 1.
A particle with mass m falls under gravity so that at time t its distance from
2
the y-axis is 2t and its distance from the x-axis is −mg t2 + 3 where g is
a constant (the acceleration due to gravity). Find the value of t when the
particle crosses the x-axis and, at this time, find the distance from the y-axis.
x= y=
2
+3 y = −mg x = 2t
t2
t=
6/(mg) t=
x=
x = 2 6/(mg)
Exercises
1. Explain what is meant by the term ‘parameter’.
√
2. Consider the parametric equations x = + t, y = t, for t ≥ 0.
a) Draw up a table of values of t, x and y for values of t between 0 and 10.
b) Plot a graph of this function.
c) Obtain an explicit equation for y in terms of x.
10 2. c) y = x2 , 0 ≤ x ≤ Answers
√