Given:
A line passes through the points A (1,3) and B (7,1).
The objective is,
a) To find gradient of AB.
b) To find gradient of a line perpendicular to AB.
c) To find the equation line passing throught (4,2) and perpendicular to AB.
Step-by-step explanation:
a)
Consider the given coordinates of line AB as,

The general formula to find the gradient of line AB is,

To find gradient of AB:
Substitute the given coordinates in the above gradient formula.

Hence, the gradient of line AB is -3.
b)
To find gradient of perendicular line:
Consider the perpendicular line as CD.
The product of gradients of two perpendicular lines will be -1.
So, the gradient of the perpendicular line CD can be calculated as,

Hence, the gradient of a line perndicular to AB is (1/3).
c)
To find equation of line perpendicular to AB:
Since, the perpendicular line passes through the point,

From part (b) the gradient of this perpendicular line is (1/3),
Then, the equation can be calculated using point slope fomula as,

Hence, the equation of perpendicular line is y = (x/3) + 0.67.
Answers:
a) Gradient AB : (-3)
b) Gradient CD : (1/3)
c) Equation of perpendiular line is y = (x/3) + 0.67.