Number and Algebra Sec 2 E-Mathematics

Functions and Graphs

Functions and Graphs

Key Concepts

  • A function is a rule that links each input value to exactly one output value.

    • The input is usually called x.
    • The output is usually called y.
    • We often write a function as an equation, such as:
      • y=2x+3y = 2x + 3
      • y=x24x+1y = x^2 - 4x + 1
  • A graph is a visual representation of the relationship between two variables.

    • The horizontal axis is the x-axis.
    • The vertical axis is the y-axis.
    • The point where the two axes meet is called the origin, (0,0)(0,0).
  • A linear graph comes from an equation of the form:

    y=mx+c y = mx + c

    where:

    • mm is the gradient
    • cc is the y-intercept
  • In Sec 2, you also need to know the graphs of direct proportion and inverse proportion:

    • Direct proportion: y=kxy = kx — a straight line through the origin.
    • Inverse proportion: y=kxy = \dfrac{k}{x} — a curve (hyperbola) that approaches but never touches the axes.
  • For the direct proportion graph y=kxy = kx:

    • It is a straight line passing through the origin (0,0)(0, 0).
    • The steeper the line, the larger the value of kk.
    • If k>0k > 0, the line slopes upward to the right.
  • For the inverse proportion graph y=kxy = \dfrac{k}{x}:

    • The graph is a curve, not a straight line.
    • As xx increases, yy decreases.
    • The curve gets closer and closer to both axes but never touches them.
    • If k>0k > 0, the curve lies in the first and third quadrants.
    • If both xx and yy are positive (real-world contexts), the curve lies only in the first quadrant.

Not in Sec 2 2026: Quadratic functions (y=ax2+bx+cy = ax^2 + bx + c), parabolas, vertex, axis of symmetry, and sketching quadratic graphs are not part of the Sec 2 syllabus. These are Sec 3 E-Mathematics topics. The notes below on quadratic functions are kept for reference only.

  • A quadratic function has the form:

    y=ax2+bx+c y = ax^2 + bx + c

    where:

    • aa, bb, and cc are numbers
    • a0a \ne 0
    • The highest power of xx is 2
  • The graph of a quadratic function is called a parabola.

  • The value of a affects the shape and direction of the parabola:

    • If a>0a > 0, the parabola opens upwards.
    • If a<0a < 0, the parabola opens downwards.
    • If a|a| is larger, the parabola is narrower.
    • If a|a| is smaller, the parabola is wider.
  • The intercepts are where the graph crosses the axes:

    • x-intercept(s): where the graph crosses the x-axis
      • At these points, y=0y = 0
    • y-intercept: where the graph crosses the y-axis
      • At this point, x=0x = 0
  • The vertex of a parabola is its turning point.

    • For an upward-opening parabola, the vertex is the minimum point.
    • For a downward-opening parabola, the vertex is the maximum point.
  • The parabola has a line called the axis of symmetry.

    • It is a vertical line passing through the vertex.
    • The left and right sides of the parabola are mirror images of each other.
  • To interpret a graph means to read information from it and explain what it shows.

    • For example:
      • whether the graph is increasing or decreasing
      • the greatest or least value
      • where it crosses the axes
      • what the shape suggests about the relationship between variables
  • The gradient of a linear graph tells us how steep the line is.

    • It shows how much yy changes when xx increases by 1.

    • Formula:

      gradient=change in ychange in x \text{gradient} = \frac{\text{change in } y}{\text{change in } x}
  • The y-intercept of a linear graph is the value of yy when x=0x=0.

    • In y=mx+cy = mx + c, the y-intercept is cc.

Important Definitions

  • Function: a rule or relationship in which each input value has exactly one output value.

  • Variable: a symbol, such as xx or yy, that represents a value that can change.

  • Graph: a diagram that shows the relationship between two variables on axes.

  • x-axis: the horizontal number line on a graph.

  • y-axis: the vertical number line on a graph.

  • Origin: the point (0,0)(0,0) where the x-axis and y-axis meet.

  • Linear function: a function of the form y=mx+cy = mx + c, whose graph is a straight line.

  • Gradient: the steepness of a straight line, found by change in ychange in x\frac{\text{change in } y}{\text{change in } x}.

  • y-intercept: the point where a graph crosses the y-axis.

  • x-intercept: the point where a graph crosses the x-axis.

  • Direct proportion graph: the graph of y=kxy = kx, a straight line through the origin.

  • Inverse proportion graph: the graph of y=k/xy = k/x, a curve that approaches the axes but never touches them.

  • Quadratic function: a function of the form y=ax2+bx+cy = ax^2 + bx + c, where a0a \ne 0. (Sec 3 topic — not assessed in Sec 2 2026)

  • Parabola: the U-shaped or inverted U-shaped graph of a quadratic function. (Sec 3 topic)

  • Vertex: the turning point of a parabola. (Sec 3 topic)

  • Axis of symmetry: the vertical line passing through the vertex that divides the parabola into two equal halves. (Sec 3 topic)

  • Maximum point: the highest point on a downward-opening parabola. (Sec 3 topic)

  • Minimum point: the lowest point on an upward-opening parabola. (Sec 3 topic)

  • Intercept: a point where a graph crosses an axis.

  • Sketch: a neat graph showing the main features clearly, without needing every point plotted exactly.


Worked Examples

Example 1: Find the gradient and y-intercept of a linear graph

Given:

y=3x5 y = 3x - 5

Step 1: Compare with the form y=mx+cy = mx + c

y=3x5 y = 3x - 5

So:

  • m=3m = 3
  • c=5c = -5

Step 2: State the answers

  • Gradient = 3
  • y-intercept = -5

Step 3: Write the y-intercept as a point

When x=0x=0,

y=3(0)5=5 y = 3(0) - 5 = -5

So the y-intercept is:

(0,5) (0,-5)

Answer:

  • Gradient = 3
  • y-intercept = (0,5)(0,-5)


Not in Sec 2 2026: Examples 2 and 3 below involve quadratic graphs (parabolas), which are Sec 3 topics. They are kept here for reference only. Focus on Example 1 (linear graphs) for Sec 2.

Example 2: Find the intercepts of a quadratic graph

Given:

y=x25x+6 y = x^2 - 5x + 6

Find the y-intercept

Step 1: Let x=0x=0

y=025(0)+6=6 y = 0^2 - 5(0) + 6 = 6

So the y-intercept is:

(0,6) (0,6)

Find the x-intercepts

Step 2: Let y=0y=0

x25x+6=0 x^2 - 5x + 6 = 0

Step 3: Factorise

(x2)(x3)=0 (x-2)(x-3)=0

So:

  • x=2x=2
  • x=3x=3

Therefore the x-intercepts are:

(2,0) and (3,0) (2,0) \text{ and } (3,0)

Answer:

  • y-intercept = (0,6)(0,6)
  • x-intercepts = (2,0)(2,0) and (3,0)(3,0)

Example 3: Find the vertex and sketch the parabola

Given:

y=x24x+3 y = x^2 - 4x + 3

Step 1: Identify the value of aa

a=1 a = 1

Since a>0a>0, the parabola opens upwards.

Step 2: Find the intercepts

y-intercept: Let x=0x=0

y=00+3=3 y = 0 - 0 + 3 = 3

So y-intercept is:

(0,3) (0,3)

x-intercepts: Let y=0y=0

x24x+3=0 x^2 - 4x + 3 = 0

Factorise:

(x1)(x3)=0 (x-1)(x-3)=0

So:

  • x=1x=1
  • x=3x=3

x-intercepts are:

(1,0),(3,0) (1,0), (3,0)

Step 3: Find the axis of symmetry

The axis of symmetry is midway between the two x-intercepts. Take the average of the x-intercept values:

x=1+32=2 x = \frac{1+3}{2} = 2

So the axis of symmetry is x=2x=2.

Step 4: Find the vertex (turning point)

The vertex lies on the axis of symmetry. Substitute x=2x=2 into the equation to find the y-coordinate:

y=224(2)+3 y = 2^2 - 4(2) + 3
y=48+3=1 y = 4 - 8 + 3 = -1

So the vertex is:

(2,1) (2,-1)

Step 5: Describe the sketch

  • Upward-opening parabola
  • Crosses the x-axis at (1,0)(1,0) and (3,0)(3,0)
  • Crosses the y-axis at (0,3)(0,3)
  • Lowest point is the vertex (2,1)(2,-1)
  • Symmetrical about the line x=2x=2

Answer:

  • Vertex = (2,1)(2,-1)
  • Axis of symmetry = x=2x=2
  • x-intercepts = (1,0)(1,0), (3,0)(3,0)
  • y-intercept = (0,3)(0,3)

Common Mistakes to Avoid

  • Confusing x-intercept with y-intercept

    • x-intercept: set y=0y=0
    • y-intercept: set x=0x=0
  • Forgetting that in a quadratic function, a0a \ne 0

    • If a=0a=0, the function is no longer quadratic.
  • Drawing a parabola with the wrong opening direction

    • Check the sign of aa:
      • positive → upwards
      • negative → downwards
  • Plotting the vertex wrongly due to arithmetic errors when finding the average of the x-intercepts.

  • Forgetting to substitute the x-value of the axis of symmetry back into the equation to find the y-coordinate of the vertex.

  • Assuming every quadratic graph cuts the x-axis twice

    • Some parabolas touch the x-axis once.
    • Some do not cross the x-axis at all.
  • Using unequal scales on the axes

    • This makes the graph misleading.
  • Drawing the parabola with sharp corners

    • A parabola must be a smooth curve.
  • Mixing up gradient and y-intercept in y=mx+cy = mx + c

    • mm is gradient
    • cc is y-intercept
  • Calculating gradient incorrectly

    • Always use:

      change in ychange in x \frac{\text{change in } y}{\text{change in } x}
    • Not the other way round.


Exam Tips

  • When asked to state the gradient, write a number, not just “steep” or “positive”.

  • When asked to give the y-intercept, it is best to write it as a point, for example:

    • (0,4)(0,4)
  • In sketching questions, always show the important features:

    • intercepts
    • vertex
    • axis of symmetry
    • correct opening direction
  • If the equation is quadratic, check:

    • sign of aa
    • intercepts
    • turning point
  • Use mathematical keywords in your answer:

    • gradient
    • y-intercept
    • x-intercept
    • vertex
    • axis of symmetry
    • maximum
    • minimum
  • For graph interpretation, mention:

    • whether the graph increases or decreases
    • the highest or lowest point
    • where the graph crosses the axes
  • If the question asks for the relationship shown by a linear graph:

    • positive gradient means yy increases as xx increases
    • negative gradient means yy decreases as xx increases
  • Write coordinates in the correct form:

    (x,y) (x,y)
  • Check your final sketch:

    • Does it match the intercepts you found?
    • Is the graph symmetrical if it is a parabola?
    • Is the shape correct?

Quick Summary

  • A linear function has the form y=mx+cy = mx + c.

  • In y=mx+cy = mx + c, mm is the gradient and cc is the y-intercept.

  • Gradient is calculated using:

    change in ychange in x \frac{\text{change in } y}{\text{change in } x}
  • A direct proportion graph has the form y=kxy = kx: a straight line through the origin.

  • An inverse proportion graph has the form y=k/xy = k/x: a curve that approaches the axes but never touches them.

  • For linear graph sketching, show: gradient (steepness), y-intercept, and whether the line slopes up or down.

  • x-intercept is found by setting y=0y = 0; y-intercept is found by setting x=0x = 0.

Not in Sec 2 2026: Quadratic functions, parabolas, vertex, and axis of symmetry are Sec 3 topics. The following points are for future reference only.

  • A quadratic function has the form:

    y=ax2+bx+c,a0 y = ax^2 + bx + c,\quad a \ne 0
  • The graph of a quadratic function is a parabola.

  • If a>0a>0, the parabola opens upwards; if a<0a<0, it opens downwards.

  • The vertex is the turning point of the parabola.

  • The x-coordinate of the vertex is:

    x=b2a x=\frac{-b}{2a}
  • The parabola is symmetrical about its axis of symmetry.

  • A good sketch must show the intercepts, vertex, symmetry, and correct shape.

✏️ 29 practice questions available

30 questions from school exam papers

Q1

The table of values below is for the straight line y = -3 - 2x.

A table with two rows. First row shows x values: -1, 0, 1, 2. Second row shows corresponding y values: p, -3, -5, -7.
📊 Diagram: A table with two rows. First row shows x values: -1, 0, 1, 2. Second row shows corresponding y values: p, -3, -5, -7.
Math_Sec2NA_SA2_2023_ACS_Barker 2023
Q2

On the grid on page 9, draw the line with equation y = -3 - 2x.

Diagram for question 5b
2 marks
Math_Sec2NA_SA2_2023_ACS_Barker 2023
Q3

Using your graph, find the value of x when y = -4.6.

Diagram for question 5c
1 mark
Math_Sec2NA_SA2_2023_ACS_Barker 2023
Q4

On the same grid, draw and label the line y = -2.

Diagram for question 5d
1 mark
Math_Sec2NA_SA2_2023_ACS_Barker 2023
Q5

Using your graph, write down the coordinates of the point where the line y = -2 meets the line y = -3 - 2x.

Diagram for question 5e
1 mark
Math_Sec2NA_SA2_2023_ACS_Barker 2023
Q6

ABC is a straight line. AB = 5 cm, DB = 12 cm, DC = 16 cm and angle CBD = 90°. Find the length of AD.

A table with two rows (x and y) and five columns. First row (x values): -1, 1, 2, 3. Second row (y values): 7, 3, [blank], -1. The table shows given values and requires completion of missing y-value(s).
📊 Diagram: A table with two rows (x and y) and five columns. First row (x values): -1, 1, 2, 3. Second row (y values): 7, 3, [blank], -1. The table shows given values and requires completion of missing y-value(s).
1 mark
Math_Sec2NA_SA2_2023_Bartley_Sec 2023
Q7

Find the number of students who scored at least 40 marks.

A Cartesian coordinate grid with x-axis ranging from approximately -1 to 3 and y-axis ranging from approximately -6 to 9. Grid lines are shown with major gridlines. The origin is marked at (0,0). Axes are labeled with x and y. This is a blank grid awaiting the student to plot and draw the linear graph.
📊 Diagram: A Cartesian coordinate grid with x-axis ranging from approximately -1 to 3 and y-axis ranging from approximately -6 to 9. Grid lines are shown with major gridlines. The origin is marked at (0,0). Axes are labeled with x and y. This is a blank grid awaiting the student to plot and draw the linear graph.
2 marks
Math_Sec2NA_SA2_2023_Bartley_Sec 2023
Q8

Find the percentage of students who scored less than 20 marks.

Diagram for question 11c
1 mark
Math_Sec2NA_SA2_2023_Bartley_Sec 2023
Q9

Use your graph to find the value of x when y = − 0.6.

Diagram for question 13d
1 mark
Math_Sec2NA_SA2_2023_Bartley_Sec 2023
Q10

State the y - intercept of the graph.

Diagram for question 13e
1 mark
Math_Sec2NA_SA2_2023_Bartley_Sec 2023
Q11

State the gradient of the line y = 5 − 2x.

Diagram for question 13f
1 mark
Math_Sec2NA_SA2_2023_Bartley_Sec 2023
Q12

Write down the gradient of the line y = (x+4)/2.

A coordinate grid showing the graph of y = (x+4)/2, a straight line passing through approximately (-4, 0) and (6, 5), with x-axis ranging from -8 to 8 and y-axis ranging from -2 to 6.
📊 Diagram: A coordinate grid showing the graph of y = (x+4)/2, a straight line passing through approximately (-4, 0) and (6, 5), with x-axis ranging from -8 to 8 and y-axis ranging from -2 to 6.
1 mark
Math_Sec2NA_SA2_2023_Bedok_View_Sec 2023
Q13

Complete the following table for y = -3/2 x + 6.

A table with x values: 0, 2, 4 and corresponding y values to be filled in. y value for x=0 is given as 6.
📊 Diagram: A table with x values: 0, 2, 4 and corresponding y values to be filled in. y value for x=0 is given as 6.
2 marks
Math_Sec2NA_SA2_2023_Bedok_View_Sec 2023
Q14

Using the same axes provided, draw and label the graph of y = -2/2 x + 6.

Diagram for question 5c
1 mark
Math_Sec2NA_SA2_2023_Bedok_View_Sec 2023
Q15

The grid shows the points A, B and C.

A coordinate grid with x-axis and y-axis. Point A is located at approximately (3, -1), Point B is located at approximately (0, 3), and Point C is located at approximately (2, 4).
📊 Diagram: A coordinate grid with x-axis and y-axis. Point A is located at approximately (3, -1), Point B is located at approximately (0, 3), and Point C is located at approximately (2, 4).
Math_Sec2NA_SA2_2023_Broadrick_Sec 2023
Q16

State the coordinates of point C.

Diagram for question 9a
1 mark
Math_Sec2NA_SA2_2023_Broadrick_Sec 2023
Q17

Find the gradient of the line AB.

Diagram for question 9b
2 marks
Math_Sec2NA_SA2_2023_Broadrick_Sec 2023
Q18

State the coordinates of point C.

Diagram for question 9(a)
1 mark
Math_Sec2NA_SA2_2023_Broadrick_Sec 2023
Q19

Find the gradient of the line AB.

Diagram for question 9(b)
2 marks
Math_Sec2NA_SA2_2023_Broadrick_Sec 2023
Q20

Complete this table of values for y = 1/2 x + 1.

A table with two rows (x and y) and four columns. The x values given are: -4, 0, 2. The y value given is: 1. One cell is empty in the x row and three cells are empty in the y row.
📊 Diagram: A table with two rows (x and y) and four columns. The x values given are: -4, 0, 2. The y value given is: 1. One cell is empty in the x row and three cells are empty in the y row.
2 marks
Math_Sec2NA_SA2_2023_Canberra_Sec 2023
Q21

On the axes given below, draw the line y = 1/2 x + 1.

A coordinate grid with x-axis ranging from -5 to 5 and y-axis ranging from -3 to 5. The grid has gridlines marking unit squares. Axes are labeled with x and y.
📊 Diagram: A coordinate grid with x-axis ranging from -5 to 5 and y-axis ranging from -3 to 5. The grid has gridlines marking unit squares. Axes are labeled with x and y.
2 marks
Math_Sec2NA_SA2_2023_Canberra_Sec 2023
Q22

Express (x+1)/5 - (5x+2)/6 as a fraction in its simplest form.

A Cartesian coordinate system with x-axis ranging from approximately -3 to 4 and y-axis ranging from approximately -10 to 10. The graph shows a straight line y = 2x - 1 with a negative y-intercept at -1, passing through points and having a slope of 2. Line m is a horizontal line positioned at y = 10, parallel to the x-axis.
📊 Diagram: A Cartesian coordinate system with x-axis ranging from approximately -3 to 4 and y-axis ranging from approximately -10 to 10. The graph shows a straight line y = 2x - 1 with a negative y-intercept at -1, passing through points and having a slope of 2. Line m is a horizontal line positioned at y = 10, parallel to the x-axis.
Math_Sec2NA_SA2_2023_Chung_Cheng_Yishun 2023
Q23

Using your graph of y = 2x - 1, find the value of x when y = 2.2.

Diagram for question 4a
1 mark
Math_Sec2NA_SA2_2023_Chung_Cheng_Yishun 2023
Q24

Write down the coordinates of the point where the line y = 2x - 1 cuts the x-axis.

1 mark
Math_Sec2NA_SA2_2023_Chung_Cheng_Yishun 2023
Q25

Calculate the price of water (before GST) that the water tanker, in (a), holds when full.

Diagram for question d
1 mark
Math_Sec2NA_SA2_2023_Chung_Cheng_Yishun 2023
Q26

The table of values for y = -2x - 3 is given below. Find the value of p.

A table with x values: -3, -1, 1, 3 and corresponding y values: 3, p, -5, -9
📊 Diagram: A table with x values: -3, -1, 1, 3 and corresponding y values: 3, p, -5, -9
1 mark
Math_Sec2NA_SA2_2023_Chung_Cheng_Yishun 2023
Q27

Draw and label the graph of y = -2x - 3 on the diagram provided on page 5.

Diagram for question e(ii)
2 marks
Math_Sec2NA_SA2_2023_Chung_Cheng_Yishun 2023
Q28

Using your graph of y = 2x - 1, find the value of x when y = 2.2.

A coordinate plane showing two lines: y = 2x - 1 (a line with positive slope passing through approximately (0.5, 0) and (4, 7)) and Line m (a horizontal line at y = 10). The graph has x-axis ranging from approximately -5 to 6 and y-axis ranging from -10 to 10, with grid lines at unit intervals. There is also a line labeled y = -2x - 3 (negative slope line) visible on the graph.
📊 Diagram: A coordinate plane showing two lines: y = 2x - 1 (a line with positive slope passing through approximately (0.5, 0) and (4, 7)) and Line m (a horizontal line at y = 10). The graph has x-axis ranging from approximately -5 to 6 and y-axis ranging from -10 to 10, with grid lines at unit intervals. There is also a line labeled y = -2x - 3 (negative slope line) visible on the graph.
1 mark
Math_Sec2NA_SA2_2023_Chung_Cheng_Yishun 2023
Q29

Write down the coordinates of the point where the line y = 2x - 1 cuts the x-axis.

1 mark
Math_Sec2NA_SA2_2023_Chung_Cheng_Yishun 2023

Past year papers cover the full exam — browse by subject below.

View All Papers ›