A straight line in a two-dimensional Cartesian coordinate system represents a linear relationship between two variables, typically and . Every point on the line satisfies a specific algebraic equation.
The gradient (or slope) of a straight line, denoted by , quantifies its steepness and direction. It is a measure of the vertical change (rise) for every unit of horizontal change (run) along the line.
The y-intercept, denoted by , is the point where the line crosses the y-axis. At this point, the x-coordinate is always zero, so the y-intercept is given by the coordinate .
The x-intercept is the point where the line crosses the x-axis. At this point, the y-coordinate is always zero. It can be found by setting in the line's equation and solving for .
The gradient of a straight line passing through two distinct points and is calculated as the ratio of the change in y-coordinates to the change in x-coordinates. This formula is crucial for determining the slope from any two points on the line.
Mathematically, the gradient is expressed as: This formula represents the 'rise over run', where is the vertical change and is the horizontal change.
A positive gradient indicates that the line slopes upwards from left to right, meaning as increases, also increases. Conversely, a negative gradient indicates the line slopes downwards from left to right, meaning as increases, decreases.
A zero gradient () signifies a horizontal line, where the y-coordinate remains constant regardless of the x-coordinate. An undefined gradient occurs for a vertical line, where the x-coordinate remains constant, leading to a division by zero in the gradient formula.
This form explicitly shows the gradient and the y-intercept . It is particularly useful for quickly sketching a line or comparing the slopes and starting points of different lines.
To use this form, one needs the gradient and the y-intercept. If a line passes through with a gradient of , its equation is .
This form is highly versatile as it requires only the gradient and any single point that lies on the line. It is often the easiest form to use when deriving the equation of a line.
Once the gradient and a point are known, values can be substituted directly into this equation. For example, a line with gradient passing through would be . This can then be rearranged into other forms.
The general form represents a straight line where , , and are constants, typically integers, and and are not both zero. This form is useful for representing lines without fractions and is often required for final answers in examinations.
From this form, the gradient can be found by rearranging to , which yields . The x-intercept is and the y-intercept is . It is important to note that the in this form is generally not the y-intercept.
To find the equation of a straight line, the most common approach involves two key pieces of information: the gradient of the line and the coordinates of at least one point on the line.
If two points and are provided, the first step is always to calculate the gradient using the formula . This establishes the line's steepness and direction.
Once the gradient is known, substitute it along with the coordinates of either given point into the point-gradient form . This provides a direct algebraic representation of the line.
Finally, rearrange the equation into the desired format, such as the gradient-intercept form () or the general form (). When converting to the general form, it is often preferred to have integer coefficients and for the coefficient of to be positive, if possible.
Parallel lines are lines that lie in the same plane and never intersect, maintaining a constant distance from each other. This geometric property has a direct algebraic consequence related to their gradients.
The defining characteristic of parallel lines is that they possess the same gradient. If line has gradient and line has gradient , then is parallel to if and only if .
To determine if two given lines are parallel, first rearrange both of their equations into the gradient-intercept form (). Then, directly compare the coefficients of (their gradients). If these values are identical, the lines are parallel.
Perpendicular lines are lines that intersect at a right angle (). This specific angular relationship between lines translates into a unique condition involving their gradients.
For two non-vertical, non-horizontal lines to be perpendicular, the product of their gradients must be equal to . If line has gradient and line has gradient , then is perpendicular to if and only if .
This condition implies that the gradient of one line is the negative reciprocal of the other. For example, if , then . To find the negative reciprocal, flip the fraction and change its sign.
Special cases include horizontal lines () and vertical lines (). A horizontal line has a gradient of , and a vertical line has an undefined gradient. These two types of lines are always perpendicular to each other, even though their gradients do not satisfy the product rule directly.
Always Check the Required Form: Pay close attention to the specific form requested for the final equation (e.g., , ). Failing to present the answer in the correct format can lead to loss of marks, even if the equation itself is correct.
Handle Fractions Carefully: When converting to the general form , it is often required that , , and be integers. Multiply the entire equation by the least common multiple of the denominators to eliminate fractions.
Verify Your Answer: After finding the equation of a line, substitute the coordinates of the given point(s) back into your derived equation. If the equation holds true for all given points, it increases confidence in the correctness of your solution.
Understand Gradient Interpretation: Be able to quickly interpret what a positive, negative, zero, or undefined gradient means visually. This helps in sanity-checking your calculations and understanding the geometric properties of the line you've found.