A linear equation expresses a constant-rate relationship. In one variable it asks for the value that makes a statement true, often in the form ax+b=cax + b = c with a0a \ne 0. In two variables it describes a straight line on a graph.

The formula and what the symbols mean

The one-variable template is

ax+b=c,a0ax + b = c, \qquad a \ne 0

where aa is the coefficient of the variable, bb a constant, and cc the target value. Solving it isolates xx. The two-variable form, such as y=2x+5y = 2x + 5, instead links xx and yy so that its graph is a line.

An equation is linear when every variable term is first degree: no squares like x2x^2, no products like xyxy in introductory algebra, and no variables in denominators. So these are linear:

  • 3x7=113x - 7 = 11
  • y=2x+5y = 2x + 5
  • 4x+3y=124x + 3y = 12

and these are not:

  • x2+1=0x^2 + 1 = 0
  • xy=10xy = 10
  • y=1xy = \frac{1}{x}

Why a linear equation graphs as a straight line

The defining feature is constant change. If equal changes in xx always produce equal changes in yy, the relationship is linear. For y=2x+1y = 2x + 1, every time xx rises by 11, yy rises by 22 — a fixed rate of change traces a straight line rather than a curve.

When the rate of change is not constant, the graph bends. For example, y=x2y = x^2 curves upward because the change in yy grows as xx increases. This is exactly why hourly pay, steady speed, and "starting value plus the same change each step" all model as lines.

Worked example: solve 3x7=113x - 7 = 11

Undo the operations around xx in reverse order. Add 77 to both sides:

3x7+7=11+73x=183x - 7 + 7 = 11 + 7 \quad\Rightarrow\quad 3x = 18

Divide both sides by 33:

x=6x = 6

Check in the original equation:

3(6)7=187=113(6) - 7 = 18 - 7 = 11

The check holds, so x=6x = 6. That is the core move: isolate the variable, then verify in the original.

Practice with a check

Solve 5x+4=195x + 4 = 19 and confirm by substitution — you should find x=3x = 3, since 5(3)+4=195(3) + 4 = 19. For a second case, rewrite y3=2xy - 3 = 2x as y=2x+3y = 2x + 3 and describe what happens to yy when xx increases by 11. If yy climbs by exactly 22 each step, you have read the constant rate correctly.

Calculation pitfalls

One pitfall is treating any equation with both xx and yy as linear. That holds only when the variables stay first degree and the relationship has constant change.

Another is operating on just one side. If you add, subtract, multiply, or divide on the left, you must do the same on the right to keep the equation balanced.

A third is dividing by a coefficient without checking the condition. In ax+b=cax + b = c, solving by division assumes a0a \ne 0; if a=0a = 0 it is no longer a standard one-variable linear equation. Linear equations appear wherever a quantity changes at a steady rate — budgeting, distance-and-time problems, unit pricing, simple physics — and they are often the first useful model because they are easy to solve, graph, and interpret.

Frequently Asked Questions

What makes an equation linear?
Every variable term must be first degree: no squares, no products of variables like xy in an introductory setting, and no variables in denominators. The deeper idea is constant change. If equal changes in x always produce equal changes in y, the relationship is linear, which is why these equations describe hourly pay and steady speed.
How do you solve a one-variable linear equation?
Undo the operations around the variable in reverse order. For 3x minus 7 equals 11, add 7 to both sides to get 3x equals 18, then divide both sides by 3 to get x equals 6. Always check by substituting the answer back into the original equation to confirm both sides match.
Why is the graph of a linear equation a straight line?
Because the rate of change stays constant. In an equation like y equals 2x plus 1, every increase of 1 in x raises y by exactly 2. That constant rate produces a straight line. When the rate of change varies, as with y equals x squared, the graph curves instead.
What is the difference between one-variable and two-variable linear equations?
In a one-variable problem, the goal is usually to solve for the unknown number that makes the statement true. In a two-variable problem, the equation describes a relationship: it tells you how y changes when x changes, and its graph is a straight line. Both share the same constant-rate idea.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →