Achievable logoAchievable logo
FE Mechanical
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
1. Mathematics
1.1 Analytic geometry
1.1.1 Linear equations
1.1.2 Quadratics
1.1.3 Polynomial functions
1.1.4 Logarithms
1.2 Calculus
1.3 Ordinary differential equations
1.4 Numerical methods
2. Probability & statistics
3. Ethics & professional practice
4. Engineering economics
5. Electricity & magnetism
6. Statics
7. sandbox
Example
Achievable logoAchievable logo
1.1.1 Linear equations
FE Mechanical
1. Mathematics
1.1. Analytic geometry
Our FE Mechanical course is currently in development and is a work-in-progress.

Linear equations

4 min read
Font
Discuss
Share
Feedback

The study of analytic geometry begins with the fundamental concept of the straight line, which serves as the foundation for understanding more complex geometric relationships. A straight line in the Cartesian coordinate system can be represented through several equivalent mathematical forms, each offering unique advantages for different applications.

Definitions
Cartesian coordinate system
The Cartesian coordinate system is a two-dimensional plane defined by perpendicular axes (x and y), used to locate points and express geometric figures algebraically.
Slope
The slope of a line measures its steepness, defined as the ratio of vertical change to horizontal change between two points on the line.
Intercept
An intercept is the point where a line crosses an axis.
Perpendicular
Two lines are perpendicular when they intersect at a right angle (90°), which occurs when the product of their slopes equals –1.
Distance
The distance between two points in the plane is the length of the straight line segment connecting them, calculated using the Pythagorean theorem.

Slope-intercept form

The slope-intercept form, also known as the standard form, provides an intuitive understanding of a line’s behavior:

y=mx+b

In this equation, m represents the slope of the line, which measures the rate of change of y with respect to x. The parameter $b is the y-intercept, indicating where the line crosses the y-axis.

The slope m can be interpreted as the vertical change (rise) divided by the horizontal change (run) between any two points on the line. A positive slope indicates the line rises from left to right, while a negative slope indicates the line falls from left to right. A slope of zero represents a horizontal line, while an undefined slope corresponds to a vertical line.

A line in slope-intercept form with slope m and y-intercept b is shown in the figure below:

@@@ Figure [linear-1]: Straight line in slope-intercept form @@@

Point-slope form

When a point on the line and the slope are known, the point-slope form provides a direct method for writing the line’s equation:

y−y1​=m(x−x1​)

@@@ Figure [linear-2]: Point-slope form @@@

As shown in the figure above, (x1​,y1​) represents a known point on the line, and m is the slope. This form is particularly useful in applications where specific points and rates of change are given.

Slope calculation from two points

Consider two distinct points (x1​,y1​) and (x2​,y2​) on a line as shown below:

@@@ Figure [linear-3]: Two points on a line @@@

The slope can be calculated using:

m=x2​−x1​y2​−y1​​

This formula represents the fundamental definition of slope as the ratio of vertical change to horizontal change. It is important to note that this formula is undefined when x2​=x1​, which corresponds to a vertical line.

General form of a line

Another representation of a straight line is given by the general form equation:

Ax+By+C=0

Where A, B, and C are constants, and not both A and B are zero. This form is particularly useful because it can represent any line in the plane, including vertical lines where the slope is undefined.

The coefficients in the general form have geometric significance. The coefficient A represents the change in the x-direction, while B represents the change in the y-direction. The constant term C determines the line’s position relative to the origin.

Angle between two intersecting lines

Consider two intersecting lines with slopes m1​ and m2​, and with an angle α between them:

@@@ Figure [linear-4]: Two intersecting lines @@@

The angle α between them can be determined using the arctangent function:

α=arctan[1+m2​⋅m1​m2​−m1​​]

This formula derives from the tangent addition formula and provides the acute angle between the two lines. The expression is valid when 1+m1​m2​=0. When 1+m1​m2​=0, the lines are perpendicular.

Perpendicular lines

Two lines are perpendicular when the product of their slopes equals negative one:

m1​=−m2​1​

This relationship, known as the negative reciprocal condition, ensures that the angle between the lines is exactly 90 degrees.

Distance between two points

@@@ Figure [linear-5]: Two points and the distance between them @@@

The distance between two points (x1​,y1​) and (x2​,y2​) in the Cartesian plane is given by the Pythagorean theorem:

d=(y2​−y1​)2+(x2​−x1​)2​

This formula represents the length of the straight line segment connecting the two points, and may be generalized to any number of spatial dimensions.

  • General form of a line:

Ax+By+C=0

  • Slope-intercept form:

y=mx+b

  • Point-slope form:

y−y1​=m(x−x1​)

  • Slope of two points:

m=x2​−x1​y2​−y1​​

  • Angle between two lines:

α=arctan[1+m2​⋅m1​m2​−m1​​]

  • Perpendicular lines have opposite inverse slopes:

m1​=−m2​1​

  • Distance between two points:

d=(y2​−y1​)2+(x2​−x1​)2​

Sign up for free to take 1 quiz question on this topic

Next  | 1.1.2 Quadratics
All rights reserved ©2016 - 2026 Achievable, Inc.

Linear equations

The study of analytic geometry begins with the fundamental concept of the straight line, which serves as the foundation for understanding more complex geometric relationships. A straight line in the Cartesian coordinate system can be represented through several equivalent mathematical forms, each offering unique advantages for different applications.

Definitions
Cartesian coordinate system
The Cartesian coordinate system is a two-dimensional plane defined by perpendicular axes (x and y), used to locate points and express geometric figures algebraically.
Slope
The slope of a line measures its steepness, defined as the ratio of vertical change to horizontal change between two points on the line.
Intercept
An intercept is the point where a line crosses an axis.
Perpendicular
Two lines are perpendicular when they intersect at a right angle (90°), which occurs when the product of their slopes equals –1.
Distance
The distance between two points in the plane is the length of the straight line segment connecting them, calculated using the Pythagorean theorem.

Slope-intercept form

The slope-intercept form, also known as the standard form, provides an intuitive understanding of a line’s behavior:

y=mx+b

In this equation, m represents the slope of the line, which measures the rate of change of y with respect to x. The parameter $b is the y-intercept, indicating where the line crosses the y-axis.

The slope m can be interpreted as the vertical change (rise) divided by the horizontal change (run) between any two points on the line. A positive slope indicates the line rises from left to right, while a negative slope indicates the line falls from left to right. A slope of zero represents a horizontal line, while an undefined slope corresponds to a vertical line.

A line in slope-intercept form with slope m and y-intercept b is shown in the figure below:

@@@ Figure [linear-1]: Straight line in slope-intercept form @@@

Point-slope form

When a point on the line and the slope are known, the point-slope form provides a direct method for writing the line’s equation:

y−y1​=m(x−x1​)

@@@ Figure [linear-2]: Point-slope form @@@

As shown in the figure above, (x1​,y1​) represents a known point on the line, and m is the slope. This form is particularly useful in applications where specific points and rates of change are given.

Slope calculation from two points

Consider two distinct points (x1​,y1​) and (x2​,y2​) on a line as shown below:

@@@ Figure [linear-3]: Two points on a line @@@

The slope can be calculated using:

m=x2​−x1​y2​−y1​​

This formula represents the fundamental definition of slope as the ratio of vertical change to horizontal change. It is important to note that this formula is undefined when x2​=x1​, which corresponds to a vertical line.

General form of a line

Another representation of a straight line is given by the general form equation:

Ax+By+C=0

Where A, B, and C are constants, and not both A and B are zero. This form is particularly useful because it can represent any line in the plane, including vertical lines where the slope is undefined.

The coefficients in the general form have geometric significance. The coefficient A represents the change in the x-direction, while B represents the change in the y-direction. The constant term C determines the line’s position relative to the origin.

Angle between two intersecting lines

Consider two intersecting lines with slopes m1​ and m2​, and with an angle α between them:

@@@ Figure [linear-4]: Two intersecting lines @@@

The angle α between them can be determined using the arctangent function:

α=arctan[1+m2​⋅m1​m2​−m1​​]

This formula derives from the tangent addition formula and provides the acute angle between the two lines. The expression is valid when 1+m1​m2​=0. When 1+m1​m2​=0, the lines are perpendicular.

Perpendicular lines

Two lines are perpendicular when the product of their slopes equals negative one:

m1​=−m2​1​

This relationship, known as the negative reciprocal condition, ensures that the angle between the lines is exactly 90 degrees.

Distance between two points

@@@ Figure [linear-5]: Two points and the distance between them @@@

The distance between two points (x1​,y1​) and (x2​,y2​) in the Cartesian plane is given by the Pythagorean theorem:

d=(y2​−y1​)2+(x2​−x1​)2​

This formula represents the length of the straight line segment connecting the two points, and may be generalized to any number of spatial dimensions.

Key points
  • General form of a line:

Ax+By+C=0

  • Slope-intercept form:

y=mx+b

  • Point-slope form:

y−y1​=m(x−x1​)

  • Slope of two points:

m=x2​−x1​y2​−y1​​

  • Angle between two lines:

α=arctan[1+m2​⋅m1​m2​−m1​​]

  • Perpendicular lines have opposite inverse slopes:

m1​=−m2​1​

  • Distance between two points:

d=(y2​−y1​)2+(x2​−x1​)2​

More from Analytic geometry

  • Quadratics
  • Polynomial functions
  • Logarithms