How do you describe a straight line algebraically, and how do gradient and angle let you decide whether lines are parallel, perpendicular or concurrent?
The gradient of a line including the connection to the angle it makes with the x-axis, the equation of a line through a point with a given gradient, parallel and perpendicular lines, and the medians, altitudes and perpendicular bisectors of a triangle.
A focused answer to the SQA Higher Mathematics straight line content, covering gradient and its link to the angle with the x-axis, the equation of a line through a point, parallel and perpendicular lines, and finding medians, altitudes and perpendicular bisectors in a triangle.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
The SQA wants you to find a gradient and connect it to the angle a line makes with the positive direction of the x-axis, write the equation of a line through a point with a given gradient, recognise parallel and perpendicular lines, and use these tools to find the medians, altitudes and perpendicular bisectors of a triangle.
Gradient and angle
The gradient between two points is . It is linked to the angle the line makes with the positive direction of the x-axis by . A positive gradient gives an acute angle; a negative gradient gives an obtuse angle. To go from a gradient back to an angle, use , but add when the gradient is negative so the angle is measured correctly between and .
The equation of a line
The point-gradient form is the workhorse: every line problem in the Higher reduces to finding a gradient and a point, then substituting. You can leave the answer in this form or rearrange to or as asked.
Lines inside a triangle
The strategy is identical for all three: identify the point the line passes through and the gradient it needs, then use point-gradient form. A median needs the midpoint of the opposite side (use the midpoint formula) and the gradient from the vertex to that midpoint. An altitude and a perpendicular bisector both need the perpendicular gradient (negative reciprocal of the side's gradient); they differ only in the point they pass through.
Examples in context
Coordinate geometry locates a point equidistant from several others, useful in planning. If two transmitter masts stand at and , any receiver equally distant from both lies on the perpendicular bisector of . Its midpoint is and the gradient of is , so the bisector has gradient and equation . Every point on this line is a valid equidistant siting position.
Try this
Q1. Find the gradient of the line making an angle of with the positive x-axis. [2 marks]
- Cue. .
Q2. Find the equation of the line through perpendicular to a line of gradient . [3 marks]
- Cue. Perpendicular gradient , giving .
Q3. Find the equation of the median from to the midpoint of , where and . [3 marks]
- Cue. Midpoint of is ; gradient ; equation .
Exam-style practice questions
Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SQA Higher 20206 marksA triangle has vertices , and . Find the equation of the median from to side , and the equation of the altitude from to side .Show worked answer →
Median from : first find the midpoint of , (1 mark). Gradient (1 mark). Equation through : , i.e. (1 mark).
Altitude from : gradient , so the perpendicular gradient is (1 mark). Equation through : (1 mark), which simplifies to (1 mark). Markers reward the midpoint, both gradients, the negative reciprocal for the altitude, and two correct line equations.
SQA Higher 20234 marksA line makes an angle of with the positive direction of the x-axis and passes through the point . Determine the equation of the line, and state the gradient of any line perpendicular to it.Show worked answer →
Gradient from the angle: (1 mark).
Equation through : (1 mark), so , i.e. (1 mark).
A perpendicular line has gradient the negative reciprocal of , which is (1 mark). Markers reward , the line equation through the point, and the perpendicular gradient.
Related dot points
- Functions and their domain and range, composite functions, inverse functions, exponential and logarithmic graphs, and the graphs that result from translating, reflecting and stretching a known function.
A focused answer to the SQA Higher Mathematics functions and graphs content, covering domain and range, composite and inverse functions, the shapes of exponential and logarithmic graphs, and how translating, reflecting and stretching transforms the graph of a known function.
- Vectors in three dimensions, the magnitude and unit vector, addition and scalar multiplication, the section formula and collinearity, and the scalar product including its use to find the angle between two vectors and to test for perpendicularity.
A focused answer to the SQA Higher Mathematics vectors content, covering three-dimensional vectors, magnitude and unit vectors, addition and scalar multiplication, collinearity and the section formula, and the scalar product used to find the angle between vectors and test perpendicularity.
- The equation of a circle with centre the origin and with a general centre, the general equation of a circle, finding the centre and radius, the intersection of a line and a circle, and the equation of a tangent to a circle.
A focused answer to the SQA Higher Mathematics circle content, covering the equation of a circle with any centre, the general equation, finding the centre and radius, the intersection of a line and a circle, and the equation of a tangent to a circle.
- Using differentiation to find the optimal value in optimisation problems, the greatest and least values of a function on a closed interval, rates of change, and the motion of a particle through displacement, velocity and acceleration.
A focused answer to the SQA Higher Mathematics applying differential calculus content, covering optimisation problems, the greatest and least values on a closed interval, rates of change, and the displacement, velocity and acceleration of a moving particle.
- Radian measure and the conversion between degrees and radians, exact values of sine, cosine and tangent for the standard angles, the graphs of the trigonometric functions, and the transformations that change their amplitude, period and phase.
A focused answer to the SQA Higher Mathematics trigonometry and radians content, covering radian measure and degree conversion, exact values of sine, cosine and tangent, the trigonometric graphs, and the amplitude, period and phase transformations that reshape them.
Sources & how we know this
- SQA Higher Mathematics Course Specification — SQA (2018)