How to find the gradient of a line through the origin and another fixed point.
The gradient 'm' of a line segment between two points: (x1,y1) and (x,y) is defined as follows:
It the point (x1,y1) is the origin: (0,0), then the gradient of the line segment can be defined as follows:
Example: Find the gradient of the line through the origin and the point (3,4).
Solution:Â m = y/x = 4/3. (Or 1.333333... as a decimal fraction.)
This is illustrated graphically on the diagram below. The origin is the red dot at the lower left. The line segment joining the origin to the other red dot at (3,4) has gradient m = 4/3
Maths Helper Plus can find the
gradient (and the equation) of a straight line joining the origin (0,0) to a
point (x,y). It will calculate the gradient and show the working steps and
display a labelled diagram.
Step 2Â Display the parameters box
Press the F5 key to display the parameters box:
The coordinates of the (x,y) point is entered into the two edit boxes 'A' and 'D', as follows:
To calculate the gradient of the line segment from the origin to the point (x,y) and the equation of the straight line joining the points, enter the coordinates of (x,y) into the edit boxes.
To enter the coordinates, click on the 'A' edit box with the mouse, then type the x coordinate. Now click on the 'D' edit box and type the y coordinate. Click the 'Update' button to update the calculations and the labelled diagram.
Step 3Â Adjust the scale of the labelled diagram
If your point (x,y) is off the graphing area of the screen, the scale needs to be reduced. In this case, briefly press the F10 key enough times until the two plotted points are seen.
You can also make the diagram bigger by holding down 'Ctrl' while you press F10.