Straight line graphs
Understanding Straight Line Graphs
Straight line graphs are a fundamental concept in algebra, representing linear relationships between variables. You need to learn how to recognise and draw horizontal and vertical lines. Let's break this down.
1. Horizontal and Vertical Lines
- Vertical Line: Every point on this line has the same x− coordinate.
- Horizontal Line: Every point on this line has the same y−coordinate.
Important Notes:
- The equation of the x−axis is y=0.
- The equation of the y−axis is x=0.
Example Questions
2. Drawing Straight Line Graphs from Their Equation
When asked to draw a straight line graph from its equation, there are some straightforward steps you can follow. This method works for most types of straight-line equations, including the more common ones like y=mx+c.
Steps to Draw the Graph:
- Choose Sensible Values for x
- Substitute x into the Equation
- Calculate Four Points
- Plot the Points
- Join the Points with a Straight Line
- Choose Sensible Values for x:
- Pick values for x that are easy to calculate with and that will fit on your graph paper.
- A good range might be x=−2,−1,0,1,2.
- Substitute x into the Equation:
- For each value of x you have chosen, substitute it into the equation to find the corresponding y value.
- For example, if your equation is y=2x−1:
- For x=−2:y=2(−2)−1=−4−1=−5.
- For x=0:y=2(0)−1=−1.
- Calculate Four Points:
- Repeat the substitution to get at least four points.
- This helps ensure accuracy when plotting your graph.
- Plot the Points:
- Plot each of the points you've calculated on your graph paper.
- Join the Points with a Straight Line:
- Once you have plotted the points, use a ruler to draw a straight line through them.
- All the points should lie on this line.
3. Types of Straight Line Equations
- Type 1: y=mx+c
- This is the most common form of a straight line equation, where m represents the gradient (or slope) of the line, and c represents the y−intercept (the point where the line crosses the y−axis).
- Type 2: ax+by=c
- Another common form, where a,b, and c are constants. This form is often used when x and y are on the same side of the equation.
4. Understanding the Equation of a Line: y=mx+c
The equation y=mx+c is a fundamental concept in algebra and describes a straight line. Let's break down what each part of this equation represents:
- y=mx+c
- m: This represents the gradient or steepness of the line.
- The bigger the number, the steeper the line.
- If m is positive, the line slopes upwards as you move from left to right.
- If m is negative, the line slopes downwards.
- Parallel lines have the same gradient.
- c: This is the y−intercept.
- It tells you where the line crosses the y−axis.
- The y−intercept is the value of y when x=0.
5. Working Out the Equation of a Line
Using the equation of a straight line, y=mx+c, we can figure out the equation of a line just by looking at it on a graph! Here's how to do it:
Step-by-Step Process:
- Identify Two Points on the Line
- Calculate the Gradient (m)
- Find the Y-Intercept (c)
- Write the Equation
- Identify Two Points on the Line:
- First, pick two points on the line that are easy to read off the graph. For instance, you might pick points where the line crosses the grid intersections.
- Calculate the Gradient (m):
- The gradient (or slope) of the line tells you how steep the line is.
- To calculate the gradient, use the formula:
Gradient=Change in xChange in y
- Draw a right-angled triangle between the two points you've chosen. The vertical side represents the "Change in y" and the horizontal side represents the "Change in x".
- For example, if the change in y is 6 and the change in x is 3, the gradient would be:
Gradient=36=2
- Find the Y-Intercept (c):
- The y−intercept is where the line crosses the y−axis. This point is where x=0.
- In our example, if the line crosses the y−axis at y=1, then c=1.
- Write the Equation:
- Now, combine your gradient (m) and y−intercept (c) to write the equation of the line.
- For our example, with m=2 and c=1, the equation is:
y=2x+1
6. Using Straight Line Graphs to Solve Simultaneous Equations
Straight line graphs can also be used to solve simultaneous equations. This graphical method involves plotting the equations as lines on a graph and finding the point where they intersect. The coordinates of this intersection give the solution to the simultaneous equations.
Step-by-Step Process:
- Write Down the Equations
- Rearrange the Equations (if necessary)
- Create Tables of Values
- Plot the Lines on the Graph
- Find the Intersection
- Write Down the Solution
- Write Down the Equations:
- You will typically be given two equations in the form:
y=mx+c
- For example, let's consider the following pair of simultaneous equations:
x+y=5
2x+y=6
- Rearrange the Equations (if necessary):
- Ensure both equations are in the form y=mx+c.
- For x+y=5, rearrange to get:
y=−x+5
- For 2x+y=6, rearrange to get:
y=−2x+6
- Create Tables of Values:
- Choose simple values for x, substitute them into each equation, and solve for y.
- For y=−x+5:
x05y50
- For y=−2x+6:
x03y60
- Plot the Lines on the Graph:
- Draw the axes on graph paper and plot the points from your tables of values.
- For y=−x+5, plot the points (0,5) and (5,0).
- For y=−2x+6, plot the points (0,6) and (3,0).
- Draw the lines through these points.
- Find the Intersection:
- The point where the two lines intersect is the solution to the simultaneous equations.
- In this example, the lines intersect at (1,4).
- Write Down the Solution:
- The coordinates of the intersection give the solution:
x=1andy=4
- Therefore, the solution to the simultaneous equations is x=1 and y=4.