成人快手

Horizontal and vertical lines (in the form y = c and x = c)

Plotted points on a graph are referred to as coordinates.

Coordinates are pair of numbers written in the form \(({x},~{y})\) where \({x}\) is the amount moved horizontally, and \({y}\) the amount moved vertically from the origin on a graph.

The two values are referred to, in order, as the \({x}\)-coordinate and the \({y}\)-coordinate.

Graphs of the form \({y} = {c}\) and \({x} = {c}\), will either be a horizontal or vertical line.

y = c

Example

All the points on the horizontal line below have a y-coordinate of \(4\), so you can say that the equation of the line is \(y = 4\).

Graph showing y = 4

x = c

Example

All the points on the vertical line below have an x-coordinate of \(7\), so you can say that the equation of the line is \(x = 7\).

Graph showing x = 7

Graph forms

All vertical line graphs have an equation of the form:

\(x = c\)

For example:

\(x = 1\), \(x = -3\), \(x = 4\), etc

All horizontal line graphs have an equation of the form:

\(y = c\)

For example:

\(y = 3\), \(y = -2\), \(y = 1\), etc.

If you are unsure whether the equation of the line is of the form \(x = 鈥) or \(y = 鈥), find the coordinates of at least two points on the line.

If the \(x\)-coordinates are the same, the equation of the line will be of the form \(x = 鈥).

If the \(y\)-coordinates are the same, the equation of the line will be of the form \(y = 鈥).

Equations of other straight line graphs

The equation of a straight line on a graph is made up of a \(y\) term, an \(x\) term and a number, and can be written in the form of \(y = mx + c\).

  1. The slope of the line is known as the gradient and is represented by the value of \(m\) in the equation.
  2. The point at which the line crosses the \(y\)-axis is the value of \(c\) in the given
    equation, and is referred to as the \(y\)-intercept.

For a line with equation \({y}={2}{x}+{4}\):

\({m}={2}\) so the gradient of the line is \({2}\).

\({c} = {4}\) so the line will cut the \({y}\) axis at \({4}\).

Question

What is the gradient of the line with the equation \({y}={3}x{-2}\)?

Question

Where does the line \({y}={3}x{-2}\) intersect with the \(y\) axis?

Straight line graph

All the points that lie on the green line have a \(y\)-coordinate that is the same as the \(x\)-coordinate, eg:

\(({-1},~{-1})\) and \(({2},~{2})\)

We say that the equation of the line is \(y = x\).

All the points that lie on the purple line have a \(y\)-coordinate that is one number higher than the \(x\)-coordinate of the same line, eg:

\(({-3},~{-2})\) and \(({0},~{1})\).

In other words, the \(y\)-coordinate equals the \(x\)-coordinate \(+ 1\).

So the equation of the line is \(y = x + 1\).

Question

What is the equation of the line shown below?

Straight line graph

Test yourself

Question 1

What kind of line is \({y}={6}\)?

Question 2

What kind of line is \({x}={-5}\)?

Question 3

What is the equation of the line that goes through points \({(0,~0)}\), \({(1,~3)}\), \({(2,~6)}\)?

Question 4

What's the gradient of a line whose equation is \({y}={7}{x}-{3}\)?

Question 5

What's the gradient of a line whose equation is \({y}={-2x}+{5}\)?

Question 6

What's the value of \({y}\) when the line \({y}={-4}{x}+{1}\) intersects the \({y}\)-axis?

Question 7

What's the value of y when the line \({y}={5x}-{2}\) intersects the \({y}\)-axis?

Question 8

What's the value of \({y}\) when the line \({2y}={6x}-{8}\) intersects the \({y}\)-axis?

Where next?

Discover more about this topic from Bitesize.

Algebra

More on Algebra

Find out more by working through a topic