Shapes of Linear, Quadratic & Cubic Graphs (AQA Level 3 Mathematical Studies (Core Maths)) : Revision Note

Jamie Wood

Written by: Jamie Wood

Reviewed by: Dan Finlay

Updated on

Shapes of Linear Graphs

What is the equation of a straight line?

  • y equals m x plus c is the equation for any straight line

  • m is gradient given by “difference in y” ÷ “difference in x

    • You may also see this written as fraction numerator straight d y over denominator straight d x end fraction

  • c is the y-axis intercept

  • An alternative form is a x plus b y plus c equals 0

    • Where a, b and c are integers

 

linear graph showing y-axis, and how to calculate the gradient

How do I find the equation of a straight line?

Linear graph with gradient and a point it passes through labelled
  •  Two features of a straight line are needed

    • Gradient, m

    • A point the line passes through, open parentheses x subscript 1 comma space y subscript 1 close parentheses

  • The equation can then be found using y minus y subscript 1 equals m open parentheses x minus x subscript 1 close parentheses

  • This can be arranged into either y equals m x plus c or a x plus b y plus c equals 0

Using a gradient and a point to write in y=mx+c or ax+by+c=0

 

How do I find the gradient of a straight line?

  • There are lots of ways to find the gradient of a line

  • Using two points on a line to find the change in y divided by change in x

bold italic m bold equals fraction numerator bold italic y subscript bold 2 bold minus bold italic y subscript bold 1 over denominator bold italic x subscript bold 2 bold minus bold italic x subscript bold 1 end fraction

Gradient as change in y divided by change in x

 

  • Using the fact that lines are parallel or perpendicular to another line

    • The gradient of parallel lines are equal

    • The gradient of perpendicular lines are negative reciprocals of each other

      • E.g. 1 third and negative 3

Gradients of parallel and perpendicular lines

Worked Example

The line space l passes through the points left parenthesis negative 2 comma space 5 right parenthesis and left parenthesis 6 comma space minus 7 right parenthesis.

Find the equation of space l , giving your answer in the form space a x plus b y equals c where space a comma space b andspace c are integers to be found.

First find the gradient of the line

m equals fraction numerator negative 7 minus 5 over denominator 6 minus open parentheses negative 2 close parentheses end fraction equals fraction numerator negative 12 over denominator 8 end fraction equals negative 3 over 2

Substitute the gradient and the coordinates of one of the points into  space y minus y subscript 1 equals m open parentheses x minus x subscript 1 close parentheses

table row cell y minus 5 end cell equals cell negative 3 over 2 open parentheses x minus open parentheses negative 2 close parentheses close parentheses end cell row cell y minus 5 end cell equals cell negative 3 over 2 open parentheses x plus 2 close parentheses end cell row cell y minus 5 end cell equals cell negative 3 over 2 x minus 3 end cell end table

Multiply both sides of the equation by 2 to get rid of the fraction

table row cell 2 open parentheses y minus 5 close parentheses end cell equals cell 2 open parentheses negative 3 over 2 x minus 3 close parentheses end cell row cell 2 y minus 10 end cell equals cell negative 3 x minus 6 end cell end table

Rearrange into the required form

bold 3 bold italic x bold plus bold 2 bold italic y bold equals bold 4

Shapes of Quadratic Graphs

What is a quadratic?

  • A quadratic is a function of the form y equals a x squared plus b x plus c where a is not zero

    • They are a very common type of function in mathematics, so it is important to know their key features

What does a quadratic graph look like?

  • The shape made by a quadratic graph is known as a parabola

  • The parabola shape of a quadratic graph can either look like a “u-shape” or an “n-shape”

    • A quadratic with a positive coefficient of x squared will be a u-shape

    • A quadratic with a negative coefficient of x squared will be an n-shape

  • A quadratic will always cross the y-axis

  • A quadratic may cross the x-axis twice, once, or not at all

    • The points where the graph crosses the x-axis are called the roots

  • If the quadratic is a u-shape, it has a minimum point (the bottom of the u)

  • If the quadratic is an n-shape, it has a maximum point (the top of the n)

  • Minimum and maximum points are both examples of turning points

A u shaped graph which is a positive quadratic, and an n shaped graph which is a negative quadratic

How do I sketch a quadratic graph?

  • We could create a table of values for the function and then plot it accurately, however we often only require a sketch to be drawn, showing just the key features

  • The most important features of a quadratic are

    • Its overall shape; a u-shape or an n-shape

    • Its y-intercept

    • Its x-intercept(s), these are also known as the roots

    • Its minimum or maximum point (turning point)

  • If it is a positive quadratic (a in a x squared plus b x plus c is positive) it will be a u-shape

  • If it is a negative quadratic (a in a x squared plus b x plus c is negative) it will be an n-shape

  • The y-intercept of y equals a x squared plus b x plus c will be open parentheses 0 comma space c close parentheses

  • The roots, or the x-intercepts will be the solutions to y equals 0a x squared plus b x plus c equals 0

    • You can solve a quadratic by factorising, completing the square, or using the quadratic formula

    • There may be 2, 1, or 0 solutions and therefore 2, 1, or 0 roots

  • The minimum or maximum point of a quadratic can be found by completing the square

    • Once the quadratic has been written in the form y equals p open parentheses x minus q close parentheses squared plus r, the minimum or maximum point is given by open parentheses q comma space r close parentheses

    • Be careful with the sign of the x-coordinate

      • E.g. if the equation is y equals open parentheses x minus 3 close parentheses squared plus 2 then the minimum point is open parentheses 3 comma space 2 close parentheses but if the equation is y equals open parentheses x plus 3 close parentheses squared plus 2 then the minimum point is open parentheses negative 3 comma space 2 close parentheses

Worked Example

(a) Sketch the graph of y equals x squared minus 5 x plus 6 showing the x and y intercepts.

It is a positive quadratic, so will be a u-shape

The plus c at the end is the y-intercept, so this graph crosses the y-axis at

(0,6)

Factorise

y equals open parentheses x minus 2 close parentheses open parentheses x minus 3 close parentheses

Solve y equals 0

open parentheses x minus 2 close parentheses open parentheses x minus 3 close parentheses equals 0

x equals 2 space or space x equals 3

So the roots of the graph are

(2,0)  and (3,0)

sketch of x^2 - 5x + 6

 

(b) Sketch the graph of y equals x squared minus 6 x plus 13 showing the y-intercept and the turning point.

It is a positive quadratic, so will be a u-shape

The plus c at the end is the y-intercept, so this graph crosses the y-axis at

(0,13)

We can find the minimum point (it will be a minimum as it is a positive quadratic) by completing the square

table row cell x squared minus 6 x plus 13 end cell equals cell open parentheses x minus 3 close parentheses squared minus 9 plus 13 end cell row blank equals cell open parentheses x minus 3 close parentheses squared plus 4 end cell end table

This shows that the minimum point will be

(3,4)

As the minimum point is above the x-axis, this means the graph will not cross the x-axis, i.e. it has no roots

We could also show that there are no roots by trying to solve x squared minus 6 x plus 13 equals 0

If we use the quadratic formula, we will find that x is the square root of a negative number
This is not a real number, which means there are no real solutions, and hence there are no roots

sketch of x^2 - 6x + 13

(c) Sketch the graph of y equals negative x squared minus 4 x minus 4 showing the root(s), y-intercept, and turning point.

It is a negative quadratic, so will be an n-shape

The plus c at the end is the y-intercept, so this graph crosses the y-axis at

(0, -4)

We can find the maximum point (it will be a maximum as it is a negative quadratic) by completing the square

negative x squared minus 4 x minus 4 equals negative 1 open parentheses x squared plus 4 x plus 4 close parentheses equals negative 1 open parentheses open parentheses x plus 2 close parentheses squared minus 4 plus 4 close parentheses equals negative open parentheses x plus 2 close parentheses squared

This shows that the maximum point will be

(-2, 0)

As the maximum is on the x-axis, there is only one root

We could also show that there is only one root by solving negative x squared minus 4 x minus 4 equals 0

If you use the quadratic formula, you will find that the two solutions for x are the same number; in this case -2

sketch of -x^2 - 4x - 4

Shapes of Cubic Graphs

What is a cubic?

  • A cubic polynomial is a function of the form a x cubed plus b x squared plus c x plus d

    • a comma space b comma space c and d are constants

    • It is a polynomial of degree 3

      • So b comma space c and/or d could be zero

  • To sketch the graph of a cubic polynomial it will need to be in factorised form

    • E.g.  open parentheses 2 x minus 1 close parentheses open parentheses x plus 2 close parentheses open parentheses x minus 3 close parentheses is the factorised form of 2 x cubed minus 3 x squared minus 11 x plus 6

What does the graph of a cubic polynomial look like?

  • In general the graph of a cubic polynomial will take one of the four forms

    • All are smooth curves that take some practice to sketch!

general shape of positive and negative cubic graphs
  • The exact form a particular cubic polynomial will depend on:

    • The number (and value) of roots (x-axis intercepts) of the cubic polynomial

    • The y-axis intercept

    • The sign of the coefficient of the x cubed term (a)

      • If a greater than 0 the graph is a positive cubic ('starts' in the third quadrant, 'ends' in the first)

      • If a less than 0 the graph is a negative cubic ('starts' in the second quadrant, 'ends' in the fourth)

    • The turning points

Key features of a polynomial graph - shape, intercept, turning points

How do I sketch the graph of a cubic polynomial?

  • STEP 1
    Find the y-axis intercept by setting x equals 0

  • STEP 2
    Find the x-axis intercepts (roots) by setting y equals 0
    Any repeated roots will mean the graph touches, rather than crosses, the x-axis

  • STEP 3
    Consider the shape of the graph; is it a positive cubic or a negative cubic?
    Where does the graph 'start' and 'end'?

  • STEP 4
    Consider where any turning points should go

  • STEP 5
    Sketch the graph with a smooth curve, labelling points where the graph intercepts the x and y axes

Worked Example

Sketch the graph of y equals open parentheses 2 x minus 1 close parentheses open parentheses x minus 3 close parentheses squared.

Find the y-axis intercept by substituting in x equals 0

y equals open parentheses negative 1 close parentheses open parentheses negative 3 close parentheses squared equals negative 9

Find the  x-axis intercepts by solving y equals 0
Either bracket can be equal to zero

table row cell open parentheses 2 x minus 1 close parentheses end cell equals cell 0 space end cell row cell space x end cell equals cell 1 half end cell end table

table row cell open parentheses x minus 3 close parentheses squared end cell equals 0 row x equals 3 end table
(repeated solution, as there are two open parentheses x minus 3 close parentheses brackets

Consider the shape, and the 'start' and 'end' points

a greater than 0 space open parentheses a equals 2 close parentheses so it is a positive cubic
x equals 3 is a repeated root so the graph will touch the x-axis at this point

Consider the turning points

One turning point (minimum) will need to be where the curve touches the x-axis
The other (maximum) will need to be between the two roots x equals 1 half and x equals 3

Sketch a smooth curve with labelled intercepts

worked example - final answer sketch of cubic showing intersections

You've read 0 of your 5 free revision notes this week

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Jamie Wood

Author: Jamie Wood

Expertise: Maths Content Creator

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Maths Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.