Straight Line Graphs

MAT1501 - Fundamental Mathematics · MODULE 3: GRAPHS

Straight Line Graphs

Straight line graphs are essential in mathematics as they represent linear relationships between two variables. Understanding straight line graphs is crucial for solving problems in various fields, including natural and engineering sciences. This topic will help you learn how to draw and interpret straight line graphs, find their equations, and understand their properties.

Key idea: After studying this topic, you should be able to:

  • Draw a straight line using a table of values.
  • Determine the slope of a line from two points.
  • Identify the y-intercept and slope from a linear equation.
  • Find the equation of a line in different forms.
  • Recognise parallel and perpendicular lines based on their slopes.

Understanding the Cartesian Plane

The Cartesian plane is a two-dimensional space defined by two perpendicular axes: the x-axis (horizontal) and the y-axis (vertical). Each point on the plane can be represented by an ordered pair (x, y), where x is the horizontal coordinate and y is the vertical coordinate.

Relations and Functions

A relation is a set of ordered pairs, while a function is a special type of relation where each x-coordinate corresponds to exactly one y-coordinate. For example, the relation r = {(1, 2), (2, 3), (3, 4)} is a function because each x-value has a unique y-value.

Types of Correspondence

Relations can be classified into four types:

  • One-to-one: Each element in the domain maps to one unique element in the range.
  • One-to-many: One element in the domain can map to multiple elements in the range.
  • Many-to-one: Multiple elements in the domain can map to a single element in the range.
  • Many-to-many: Multiple elements in the domain can map to multiple elements in the range.

Drawing Straight Lines

To graph a straight line, you can use a table of values or identify specific points such as the x-intercept and y-intercept.

Using a Table of Values

Consider the linear equation:

y = 2x - 1

To draw this line, create a table of values for x and calculate the corresponding y values:

x | y = 2x - 1
-3 | -7
-2 | -5
-1 | -3
0  | -1
1  | 1
2  | 3
3  | 5

Plot these points on the Cartesian plane and connect them with a straight line. The graph will show a line that slopes upwards from left to right.

Identifying the Slope and Y-Intercept

The slope (m) of a line indicates its steepness and direction. It can be calculated using the formula:

m = (y2 - y1) / (x2 - x1)

Where (x1, y1) and (x2, y2) are any two points on the line. For example, using points (1, 1) and (3, 5):

m = (5 - 1) / (3 - 1) = 4 / 2 = 2

This means the line has a slope of 2, indicating it rises 2 units for every 1 unit it moves to the right.

The y-intercept (c) is the point where the line crosses the y-axis. It can be read directly from the equation or found by setting x to 0:

y = 2(0) - 1 = -1

Thus, the y-intercept is -1.

Finding the Equation of a Line

The general form of a linear equation is:

y = mx + c

Where m is the slope and c is the y-intercept. You can also express the equation in point-slope form:

y - y1 = m(x - x1)

Where (x1, y1) is a specific point on the line.

Example of Finding the Equation

Consider a line with slope 2 that passes through the point (1, 1). Using the point-slope form:

y - 1 = 2(x - 1)

Expanding this gives:

y - 1 = 2x - 2
y = 2x - 1

This matches our original equation.

Parallel and Perpendicular Lines

Lines can be parallel or perpendicular based on their slopes:

  • Parallel lines: Have the same slope. For example, lines y = 2x + 1 and y = 2x - 3 are parallel.
  • Perpendicular lines: Have slopes that are negative reciprocals of each other. For instance, if one line has a slope of 2, a perpendicular line will have a slope of -1/2.

Example of Parallel and Perpendicular Lines

Given the line y = 3x + 2, a parallel line would be y = 3x - 1, while a perpendicular line would be y = -1/3x + 1.

Watch out: Be careful when calculating slopes. Ensure you do not confuse positive and negative signs, and always simplify your fractions.

Summary

  • The Cartesian plane consists of two axes: x and y.
  • A straight line can be represented by a linear equation.
  • The slope indicates the steepness and direction of the line.
  • The y-intercept is where the line crosses the y-axis.
  • Lines can be parallel or perpendicular based on their slopes.

Check your understanding

  1. What is the slope of the line defined by the equation y = 5x + 3?
  2. How do you find the y-intercept of the line y = -2x + 4?
  3. Are the lines y = 3x + 2 and y = 3x - 5 parallel or perpendicular?
  4. What is the slope of a line that is perpendicular to the line with the equation y = 1/2x + 3?