topic badge
iGCSE (2021 Edition)

4.04 Transform functions to straight lines

Lesson

When linearising data, it may be necessary to determine the equation for the transformation so other values can be predicted. This often requires being able to determine an equation for these types of functions from a set of points or features from the data.

Worked examples

Example 1

Consider the data:

$x$x $0$0 $1$1 $2$2 $3$3 $4$4 $5$5
$y$y $1$1 $3$3 $9$9 $19$19 $33$33 $51$51

Using an appropriate linearising transformation, find the equation of the line for the transformed data.

Think: A graph of the data will help identify the type of transformation.

Do: Plot the data of $y$y against $x$x:

This data looks parabolic. The transformed data can be expressed in the following table:

$x$x $0$0 $1$1 $2$2 $3$3 $4$4 $5$5
$x^2$x2 $0$0 $1$1 $4$4 $9$9 $16$16 $25$25
$y$y $1$1 $3$3 $9$9 $19$19 $33$33 $51$51

Plotting $y$y against $x^2$x2 leads to the linear graph:

To determine the equation of the line $y=m\left(x^2\right)+c$y=m(x2)+c, from the table of values, when $x^2=0$x2=0, $y=1$y=1. So the $y$y-intercept is $c=1$c=1. Using the coordinate $(4,9)$(4,9) from the table, the gradient $m$m can be found:

$9$9 $=$= $m\times4+1$m×4+1
$m$m $=$= $2$2

So, the equation for the transformed data is $y=2\left(x^2\right)+1$y=2(x2)+1.

Example 2

Consider the following data:

$x$x $1$1 $2$2 $4$4 $8$8
$y$y $20$20 $16$16 $14$14 $13$13

(a) Plot a graph of the relationship between $x$x and $y$y.

(b) Describe the type of variation present in this data.

(c) Find the rule for this graph of the form $y=\frac{k}{x}+c$y=kx+c.

(d) Use an appropriate transformation for $x$x to linearise the data and graph the result.

 

Think: The data points from the table can be used to find the unknowns in the equations.

Do: 

(a) Plot the graph:

(b) From the graph, we can see the data is an example of inverse variation.

(c) Using the data from the table, the equation for this graph of the form $y=\frac{k}{x}+c$y=kx+c can be found. From the table of values, when $x=1$x=1, $y=20$y=20 and when  $x=2$x=2$y=16$y=16. This leads to the set of simultaneous equations:

$20$20 $=$= $k+c$k+c
$16$16 $=$= $\frac{k}{2}+c$k2+c

These equations can be solved using technology or by hand. By hand, subtracting the second equation from the first gives:

$4$4 $=$= $\frac{k}{2}$k2

which gives $k=8$k=8. Substituting this back into either equation leads to $c=12$c=12.

So, the equation for the graph is $y=\frac{8}{x}+12$y=8x+12.

(c) Since this data demonstrates inverse variation, the transformation of $x\rightarrow\frac{1}{x}$x1x will linearise the data. The table of values would be:

$\frac{1}{x}$1x $1$1 $0.5$0.5 $0.25$0.25 $0.125$0.125
$y$y $20$20 $16$16 $14$14 $13$13

The plot of the transformed data is linear, as expected, since the data is inversely related: 

Example 3

Consider the data:

$x$x $-1$1 $0$0 $1$1 $2$2 $3$3 $4$4
$y$y 3.5 $7$7 $14$14 $28$28 $56$56 $112$112

Using an appropriate linearising transformation, find the equation of the line for the transformed data.

Think: A graph of the data will help identify the type of transformation.

Do: Plot the data of $y$y against $x$x:

This data looks exponential. By looking at the original data we can see that the value of $y$y doubles as $x$x increases by one. This suggests that the base of the exponential function is $2$2. So the transformed data can be expressed in the following table:

$x$x $-1$1 $0$0 $1$1 $2$2 $3$3 $4$4
$2^x$2x $0.5$0.5 $1$1 $2$2 $4$4 $8$8 $16$16
$y$y $3.5$3.5 $7$7 $14$14 $28$28 $56$56 $112$112

Plotting $y$y against $2^x$2x leads to the linear graph:

To determine the equation of the line $y=A\left(2^x\right)$y=A(2x), from the table of values, using the coordinate $(1,7)$(1,7) from the table, the value of $A$A can be found:

$7$7 $=$= $A\times1$A×1
$A$A $=$= $7$7

So, the equation for the transformed data is $y=7\left(2^x\right)$y=7(2x).

Practice questions

Question 1

Consider the function $y=2x^2$y=2x2.

  1. Complete the following table of values.

    $x$x $-2$2 $-1$1 $0$0 $1$1 $2$2
    $y$y $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$
  2. Plot the graph.

    Loading Graph...

Question 2

Consider the function $y=\frac{1}{x}$y=1x which is defined for all real values of $x$x except at $0$0.

  1. Complete the following table of values.

    $x$x $-2$2 $-1$1 $-\frac{1}{2}$12 $-\frac{1}{4}$14 $\frac{1}{4}$14 $\frac{1}{2}$12 $1$1 $2$2
    $y$y $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$ $\editable{}$
  2. Plot the points in the table of values.

    Loading Graph...

  3. Hence draw the curve.

    Loading Graph...

 

 

Outcomes

0606C1.1

Understand the terms: function, domain, range (image set), one-one function, inverse function and composition of functions.

0606C1.2B

Use the notation f ^(–1)(x).

0606C1.4

Explain in words why a given function is a function or why it does not have an inverse.

0606C1.5A

Find the inverse of a one-one function.

0606C8.2

Transform given relationships, including y = ax^n and y = Ab^x, to straight line form and hence determine unknown constants by calculating the gradient or intercept of the transformed graph.

What is Mathspace

About Mathspace