Join TSR
 
About Us | FAQs | Sign in
 
Advanced
Search

Join The Student Room Today

Be part of the UK's largest and fastest growing student community.

It's free to join and a lot of fun - Get inspired, express your ideas, interact and share

Revision:Graphs

From The Student Room

TSR Wiki > Study Help > Subjects and Revision > Revision Notes > Mathematics > Graphs


Contents

The Equation of a Straight Line

Equations of straight lines are in the form

\displaystyle y = mx + c (m and c are numbers).

m is the gradient of the line and c is the y-intercept (where the graph crosses the y-axis).


NB1: If you are given the equation of a straight-line and there is a number before the 'y', divide everything by this number to get y by itself, so that you can see what m and c are.

NB2: Parallel lines have equal gradients.


Example

(diagram of the graph needed)


The above graph has equation:

\displaystyle y = \frac{4}{3} - 2 which is the same as \displaystyle 3y + 6 = 4x).


Gradient = change in y / change in x \displaystyle = \frac{4}{3} = m.

It cuts the y-axis at -2, and this is the constant (c) in the equation.


Note: for all straight line graphs, m is always the gradient of the line and c is always the point the line crosses the y-axis.


Graphs of Quadratic Equations

These are curves and will have a turning point. Remember, quadratic equations are of the form:

\displaystyle y = ax^2 + bx + c (a, b and c are numbers).

If a is positive, the graph will be 'U' shaped. If a is negative, the graph will be 'n' shaped. The graph will always cross the y-axis at the point c (so c is the y-intercept point). Graphs of quadratic functions are sometimes known as parabolas.


Examples

(graphs for an examples needed)



Drawing Other Graphs

Often the easiest way to draw a graph is to construct a table of values and then plot the points.


Example

Draw: y = x^2 + 3x + 2 for -3 \leq x \leq 3.


x -3 -2 -1 0 1 2 3

x^2 9 4 1 0 1 4 9
3x -9 -6 -3 0 3 6 9
2 2 2 2 2 2 2 2

y 2 0 0 2 6 12 20


The table shows that when x = -3, x^2 = 9, 3x = -9 and 2 = 2. Since y = x^2 + 3x + 2, we add up the three values in the table to find out what y is when x = -3, etc.

We then plot the values of x and y on graph paper and draw a smooth curve through all the points (WE DO NOT JOIN THEM UP 'DOT-TO-DOT' WITH STRAIGHT LINES).



(diagram of the plotted curve needed)



Intersecting Graphs

If we wish to know the coordinates of the point(s) where two graphs intersect, we solve the equations simultaneously. This can be done using the graphs.


Simultaneous Equations

You can solve simultaneous equations by drawing graphs of the two equations you wish to solve. The x and y values of where the graphs intersect are the solutions to the equations.


Example

Solve the simultaneous equations:

\displaystyle 3y = -2x + 6 and \displaystyle y = 2x -2 by graphical methods.


To do this, you simply plot the two equations on the same set of axes - as shown below. Their solution is where they cross.


(graph for an example needed)



From the graph, y = 1 and x = 1.5 (approx.). These are the answers to the simultaneous equations.


Solving Equations

Any equation can be solved by drawing a graph of the equation in question. The points where the graph crosses the x-axis are the solutions. So if you asked to solve:

\displaystyle x^2 - 3 = 0

using a graph, draw the graph of:

\displaystyle y = x^2 - 3

and the points where the graph crosses the x-axis are the solutions to the equation.


Example

If you are asked to draw the graph of:

\displaystyle y = x^2 - 3x + 5

and then are asked to use this graph to solve:

\displaystyle 3x + 1 - x^2 = 0 and

\displaystyle x^2 - 3x - 6 = 0,

you would proceed in the following way:

  1. Make a table of values for \displaystyle y = x^2 - 3x + 5 and draw the graph.
  2. Make the equations you need to solve like the one you have the graph of. So for \displaystyle3x + 1 - x² = 0:
    1. Multiply both sides by -1 to get \displaystyle x^2 - 3x -1 = 0
    2. Add 6 to both sides: \displaystyle x^2 - 3x + 5 = 6.


Now we know that \displaystyle y = x^2 - 3x + 5 and \displaystyle x^2 - 3x + 5 = 6, therefore, \displaystyle y = 6. Find out what x is when y = 6 and these are the answers (you should get two answers).


Try solving \displaystyle x^2 - 3x - 6 = 0 yourself using your graph of \displaystyle y = x^2 - 3x + 5. You should get a answers of around -1.4 and 4.4 .


Comments

The simultaneous section should have the example written and then linked to the simultaneous article stating there are other methods to solve them. The graphical section of the simultaneous article could link here.