MathematicsAlgebraEasy

Linear Equation

Also known as:First-degree equationLine equation

A linear equation is an algebraic equation in which each term is either a constant or the product of a constant and a single variable raised to the first power, producing a straight-line graph when plotted. The standard form of a linear equation in one variable is ax + b = 0, while in two variables it is ax + by = c. Linear equations are foundational in algebra and appear throughout science, economics, and engineering for modelling proportional relationships.

Key Formula

y = mx + c

LaTeX: y = mx + c

SymbolMeaningUnit
yDependent variable (output)dimensionless
mSlope (gradient) of the linedimensionless
xIndependent variable (input)dimensionless
cy-intercept (value of y when x = 0)dimensionless

Worked Example

Problem

Find the equation of the line passing through (2, 5) with slope 3, then find y when x = 7.

Solution

Step 1: Use slope-intercept form y = mx + c with m = 3. y = 3x + c Step 2: Substitute the known point (2, 5) to find c. 5 = 3(2) + c 5 = 6 + c c = −1 Step 3: Write the equation. y = 3x − 1 Step 4: Evaluate at x = 7. y = 3(7) − 1 = 21 − 1 = 20

Answer

y = 3x − 1; when x = 7, y = 20

Forms of Linear Equations in Two Variables

FormEquationParametersBest Used When
Slope-intercepty = mx + cm = slope, c = y-interceptGraphing or reading off slope
Standard formax + by = ca, b, c are integersSystems of equations
Point-slopey − y₁ = m(x − x₁)m = slope, (x₁,y₁) = known pointWriting from a point and slope
Intercept formx/a + y/b = 1a = x-intercept, b = y-interceptWhen both intercepts are known

Interactive Tools

Desmos Graphing Calculator

Plot linear equations and experiment with slope and intercept sliders.

Open Tool

GeoGebra – Linear Functions

Interactive graphing tool to explore linear equations in multiple forms.

Open Tool

Khan Academy – Linear Equations

Comprehensive lessons on graphing and solving linear equations.

Open Tool
Graph of a linear equation showing a straight line with marked slope and y-intercept

Wikimedia Commons, CC BY-SA

Related Terms

From Latin "linearis" meaning "belonging to a line", derived from "linea" (a line or string). The term reflects the geometric fact that solutions to a linear equation in two variables form a straight line when graphed on a coordinate plane.

algebralinearequationslopegraphstraight line