Graph of a linear equation
Take any linear equation in two variables — say — and start listing its solutions: , , , and infinitely many more. Plot a few of these ordered pairs on the Cartesian plane and something remarkable happens: they never scatter. Every single one lands on the same straight line. That line is not just a picture — it is the complete solution set of the equation, an infinite list of ordered pairs compressed into one geometric object you can draw with a ruler. This article shows why the points always line up, gives a fast two-point method for drawing the graph without plotting a dozen solutions, and works through examples so you can move confidently between the algebra of an equation and the geometry of its graph.
Every solution of a linear equation plots as a point on the Cartesian plane, and all such points are collinear, so the graph of the equation is a single straight line representing every one of its infinitely many solutions.
The core idea
A linear equation in two variables, , has infinitely many solutions — pairs that make the equation true. Choose any value for one variable, solve for the other, and you get one such pair. Plot enough of these pairs on graph paper and they are always found to be collinear: they sit on one common straight line, never scattered. That line is called the graph of the linear equation. Every point on it satisfies the equation, and every point off it does not — the line is a complete geometric picture of an infinite algebraic solution set. Two special families are worth spotting on sight. A line of the form (a fixed number, no term) is parallel to the -axis, sitting at a constant height above or below it, because every point on it has the same -value no matter what is. Symmetrically, is parallel to the -axis. A third useful pattern: if the equation has no constant term, , then always satisfies it, so the line must pass through the origin. Because a straight line is fixed once you know just two points on it, you rarely need to plot many solutions at all. The fastest reliable method is to find where the line crosses each axis — its intercepts — since these are two points you can compute directly from the equation without guessing values.
where: the -intercept is the point where the line crosses the -axis (found by setting in ), the -intercept is where it crosses the -axis (found by setting ), and , , are the coefficients of the equation in standard form, with and for both intercepts to exist.
Derivation
The goal is to turn any linear equation given in standard form into two concrete, computable points — the places where its graph crosses the -axis and the -axis — so that a straight line can be drawn immediately with a ruler, without the extra work of tabulating and checking three or more arbitrary solutions.
Step 1. Every point that lies on the -axis has , since height above the axis is exactly what measures. Substitute into the standard form: , which simplifies to , so . This gives the -intercept, the point .
Step 2. By the same reasoning, every point on the -axis has . Substitute into the standard form: , which simplifies to , so . This gives the -intercept, the point .
Step 3. Plot these two points and join them with a ruler, extending the line in both directions. Two distinct points completely determine a straight line, so this pair alone fixes the entire graph — no third solution is strictly necessary, though plotting one as a check is good practice.
Step 4. Check the formula against the known equation , written in standard form as , so , , . The -intercept is , giving , and the -intercept is , giving . Both match the solutions found earlier by direct substitution, confirming the shortcut agrees with the point-by-point method.
Worked example
Problem. A pen costs ₹2 more than a pencil. Taking the pencil's cost as ₹ and the pen's cost as ₹, the relationship is . Use the intercept method to draw its graph, and read off the pen's cost when the pencil costs ₹3.
Step 1. Write the equation in standard form: becomes , so , , .
Step 2. Find the -intercept: set , so , giving . The line crosses the -axis at .
Step 3. Find the -intercept: set , so , giving . The line crosses the -axis at .
Step 4. Plot and and join them with a ruler, extending the line rightward. To read the pen's cost when the pencil costs ₹3, locate on the horizontal axis, move up to the line, and read the -value: the line passes through .
Step 5. Cross-check algebraically: substituting into gives , matching the graph exactly. The pen costs ₹5.
Common traps
- Plotting only two arbitrary points instead of using intercepts or a checking third point — an arithmetic slip in one solution can silently produce a wrongly angled line.
- Confusing and — mistakenly drawing as horizontal instead of vertical; it is parallel to the -axis, not the -axis.
- Using the intercept method when or (equations like or ), where one of the two intercepts does not exist because the line never crosses that axis.
- Not extending the line beyond the plotted points, forgetting that the equation's solutions continue indefinitely in both directions.
Ask the tutor: Want help finding the intercepts of your own equation, choosing a good scale for your axes, or checking whether your plotted points are truly collinear? Ask the AI tutor to walk through it with you step by step.
Why do the plotted points always end up on one straight line — could they not curve?
Because the equation itself is linear — every term is either a constant or a variable raised to the first power, with no , , or higher terms. Algebraically, solving for gives , which is the equation of a straight line: for every unit increase in , changes by the same fixed amount . That constant rate of change is exactly what keeps every solution point on one line rather than letting the pattern bend or curve.
Do I always need three points, or is the intercept method enough on its own?
Two points are mathematically enough to fix a straight line, so the two intercepts alone are sufficient to draw the graph. In practice, though, plotting a third point — any other solution of the equation — is strongly recommended as a check, especially in an exam: if the third point does not fall on the line joining the first two, you know immediately that an arithmetic mistake was made somewhere, before you lose marks for a wrong graph.
What if the equation has no constant term, like 2x + 3y = 0 — where does the line cross the axes?
When , both intercept formulas give and , meaning the line crosses both axes at the same single point, the origin . In that case the intercept method collapses to just one point, so you must find at least one more solution by substituting any convenient value, such as giving for , and draw the line through that point and the origin.