Content code
m1122
Slug (identifier)
sketching-a-linear-function
Grades
Secondary III
Secondary IV
Topic
Mathematics
Tags
linear
table of values
points
rate of change
slope
linear function graph
sketch linear function
Content
Contenu
Corps

In a Cartesian plane, a linear function is represented by a line. It is generally drawn using a table of values or using parameters |a| and |b.|

Content
Corps

When sketching a linear function, it is necessary to determine at least two points which satisfy it. However, it may be beneficial to find additional points for a more accurate graph.

Links
Title (level 2)
Graphing a Linear Function Using a Table of Values
Title slug (identifier)
table-of-values
Contenu
Corps

Follow these steps to graph a linear function from a table of values.

Content
Corps
  1. Create the table of values.

  2. Plot the points in a Cartesian plane.

  3. Draw the line.

Content
Corps

To build a table of values, place the |x| values in ascending order. It is not necessary to have regular jumps between each value.

Content
Corps

Sketch the linear function with the rule |y=2x-4.|

  1. Create the table of values
    We assign random values to |x| and then determine the corresponding value of |y.|

Columns number
2 columns
Format
50% / 50%
First column
Corps

We use |x=1.| ||\begin{align}y&=2\color{#3B87CD}x-4\\y&=2(\color{#3B87CD}{1})-4\\y&=2-4\\y&=-2 \end{align}|| When |x=1,| |y=-2.| Therefore, the first point is |(1,-2).|

We continue by choosing a different  |x| value. We use |x=0.|||\begin{align}y&=2\color{#3B87CD}x-4\\y&=2(\color{#3B87CD}{0})-4\\y&=0 -4\\y&=-4\end{align}|| Therefore, the second point is |(0,-4).|

Second column
Corps
|x| |y|
|-1| |-6|
|0| |-4|
|1| |-2|
|3| |2|
Corps

We continue building the table of values in the same way to determine more points. We get the points |(3,2)| and |(-1,-6).|

  1. Plot the points in a Cartesian plane
    We draw the |x|-axis and the |y|-axis. The appropriate scale is determined by the points found in the previous step. Here, a scale of |1| unit works well.

Image
Four points in a Cartesian plane with their coordinates
Corps
  1. Draw the line
    Using a ruler, we connect the points to draw the line that represents the linear function.

Image
An increasing linear function intersecting four points in a Cartesian plane
Content
Corps

To fully use the Cartesian plane, we generally choose both negative and positive |x| values. Additionally, choosing |x=0| is a good strategy given that the determined value corresponds to the |y|-intercept (i.e., where the line intersects |y|-axis).

Finally, since a linear function extends to infinity, we must extend the line before and after the chosen points.

Title (level 2)
Graphing a Linear Function Using Parameters |a| and |b|
Title slug (identifier)
parameters
Contenu
Corps

The graph of a linear function can be drawn using its parameters. In fact, parameter |a| is the rate of change (also called the slope) and parameter |b| corresponds to the |y|-intercept (also called the initial value). These two pieces of information are sufficient to graph the function. Proceed as follows.

Content
Corps
  1. Place the |y|-intercept  |(b).|

  2. Place the next point(s) using the rate of change  |(a).| To do this, use the formula for calculating the slope. ||a=\dfrac{\Delta y}{\Delta x}=\dfrac{\text{Change in }y}{\text{Change in }x}||

  3. Draw the line.

Content
Columns number
2 columns
Format
50% / 50%
First column
Corps

When the rate of change is positive, |y| moves up in the Cartesian plane and |x| moves to the right. ||\color{#EC0000}+a=\dfrac{\color{#EC0000}+\Delta y}{\color{#EC0000}+\Delta x}||

Second column
Image
A positive rate of change moves upwards and then to the right in the Cartesian plane.
Columns number
2 columns
Format
50% / 50%
First column
Corps

When the rate of change is negative, |y| moves down in the Cartesian plane and  |x| moves to the right. ||\color{#EC0000}-a=\dfrac{\color{#EC0000}-\Delta y}{\color{#EC0000}+\Delta x}||

Second column
Image
A negative rate of change moves downwards and then to the right in the Cartesian plane.
Content
Corps

Sketch the linear function with the rule |y=-\dfrac{3}{2}x+1.|

Columns number
2 columns
Format
50% / 50%
First column
Corps
  1. Place the |y|-intercept |(b)|
    The |y|-intercept corresponds to the constant term in the rule. ||\begin{align}y&=ax+\color{#3A9A38}b\\y&=-\dfrac{3}{2}x+\color{#3A9A38}1\end{align}||||\color{#3A9A38}b=\color{#3A9A38}1||
    The |y|-intercept is at point |(0,1).|

Second column
Image
The y-intercept of a linear function placed in a Cartesian plane
Corps
  1. Place the next points according to the rate of change
    The rate of change corresponds to the coefficient of variable |x| in the rule. ||\begin{align}y&=\color{#3B87CD}ax+b\\y&=\color{#3B87CD}{-\dfrac{3}{2}}x+1\\\\\color{#3B87CD}{a}&=\color{#3B87CD}{-\dfrac{3}{2}}\end{align}||

Columns number
2 columns
Format
50% / 50%
First column
Corps

We use the slope formula. ||\begin{align}a=\dfrac{\color{#FA7921}{-3}}{\color{#FF55C3}2}=\dfrac{\color{#FA7921}{\text{Change in }y}}{\color{#FF55C3}{\text{Change in }x}}\end{align}||From the |y|-intercept, we must descend |\color{#FA7921}3| units, and then move |\color{#FF55C3}2| units to the right. We get the point |(2,-2).|

By repeating the same process from the point |(2,-2),| we get points |(4,-5)| and |(6,-8).|

Second column
Image
Four points in a Cartesian plane with their coordinates
Columns number
2 columns
Format
50% / 50%
First column
Corps
  1. Draw the line
    Using a ruler, we connect the points to draw the line that represents the linear function.

Second column
Image
A decreasing linear function intersecting four points in a Cartesian plane
Content
Corps

When the rate of change is written in decimal notation, it helps to change it to fractional notation. Moreover, if |a| is negative, the numerator of the fraction is negative.

For example:

If |a=2{.}5,| write |a=\dfrac{5}{2}.|

If |a=4,| write |a=\dfrac{4}{1}.|

If |a=\color{#EC0000}{-}\dfrac{4}{3},| write |a=\dfrac{\color{#EC0000}{-}4}{3}.|

Content
Corps

Sketch the linear function with the rule |y=-3{.}75x+10.|

Columns number
2 columns
Format
50% / 50%
First column
Corps
  1. Place the |y|-intercept |(b)|
    ||\begin{align}y&=ax+\color{#3A9A38}b\\y&=-3{.}75x+\color{#3A9A38}{10}\end{align}||||\color{#3A9A38}b=\color{#3A9A38}{10}||The |y|-intercept is at point |(0,10).|

Second column
Image
The y-intercept of a linear function in a Cartesian plane.
Corps
  1. Place the next points according to the rate of change||\begin{align}y&=\color{#3B87CD}ax+b\\y&=\color{#3B87CD}{3{.}75}x+10\end{align}|| We convert decimal notation to fractional notation. ||\color{#3B87CD}{a}=\color{#3B87CD}{-3{.}75}=\color{#3B87CD}{\dfrac{-15}{4}}||

Columns number
2 columns
Format
50% / 50%
First column
Corps

We use the slope formula. ||\begin{align}a=\dfrac{\color{#FA7921}{-15}}{\color{#FF55C3}4}=\dfrac{\color{#FA7921}{\text{Change in }y}}{\color{#FF55C3}{\text{Change in }x}}\end{align}|| From the |y|-intercept, we must descend |\color{#FA7921}{15}| units, and then move |\color{#FF55C3}{4}| units to the right.

When the rate of change indicates a large variation, it is necessary to change the scale. Here, we can make leaps of |5| units in |y| and |1| unit in |x.| In this way, we descend the equivalent of |3| squares only. We get the point |(4,-5).|

Second column
Image
Two points in a Cartesian plane with their coordinates.
Columns number
2 columns
Format
50% / 50%
First column
Corps
  1. Connect the points
    Using a ruler, we connect the points to draw the line that represents the linear function.

Second column
Image
A decreasing linear function intersecting two points in a Cartesian plane.
Title (level 2)
Exercise
Title slug (identifier)
exercises
Contenu
Contenu
Title (level 2)
See also
Title slug (identifier)
see-also
Contenu
Links
Remove audio playback
No
Printable tool
Off