Overview
Test Series
A straight line drawn on a graph is called a linear graph. The graph of a linear equation is a way to show the relationship between two quantities that change at a constant rate. When the points of a relation are plotted on the xy-plane and connected, they form a straight line, indicating a linear relationship. Such a graph helps in understanding how one quantity changes with respect to another and makes it easier to interpret, predict, and solve problems in mathematics, physics, and real-life situations. The graph of a linear equation is a simple yet powerful visual tool.
In this math article, we shall read about linear graphs and the ways to plot the graph for linear equations in one and two variables. Also, we will solve examples for better understanding of the concept.
Graphical representation of a straight line is termed as a linear graph. This graph can be used to plot linear equations in one or two variables. A linear graph of two variables helps in finding the relation between two entries.
Let us understand this using an example:
Saira works for a company and gets $15 per hour. Her average daily expense is $50. She is concerned about her savings and wants to know the minimum number of hours she should work to have some savings in hand.
Representing time by t and income by l, the linear equation becomes, l = 15t.

In this graph, we can see that the value on the vertical axis is greater than the expense of $50.
The horizontal axis shows the minimum number of hours Saira must work to save some money.
It is observed that if she works for 5 hours daily, her daily earning will be $75, and she can easily save $25 per day.
Maths Notes Free PDFs
| Topic | PDF Link |
|---|---|
| Class 12 Maths Important Topics Free Notes PDF | Download PDF |
| Class 10, 11 Mathematics Study Notes | Download PDF |
| Most Asked Maths Questions in Exams | Download PDF |
| Increasing and Decreasing Function in Maths | Download PDF |


As we know that a linear graph is a graphical representation of a straight line, the equation for a linear graph will be similar to the equation of a line. For a linear equation in one variable, the linear graph equation looks like AX = B, where A cannot be equal to zero.
For a linear equation in two variables, the linear graph equation will be written as AX + BY = C for real values of A, B, and C, where A, and B cannot be equal to zero.
For Example: The linear graph for equation x – 3y = 9, is given as

Plotting linear equations on a graph grid is an easy task. We can plot linear equation in one and two variables using the following methods:
The graph of linear equations in one variable is a straight line that is either parallel to the x-axis or y-axis depending on the variable. For example, an equation in one variable that is x, the linear equation graph is parallel to the y-axis, and that in y, is parallel to the x-axis.
Let the given equation be x = 2, the graph is drawn as:

And for the equation y = 5, the linear equation graph in one variable is represented as:

Learn about Multiple Bar Diagram
A linear equation in two variables is a straight line graph. Let us plot a linear equation in two variables on a graph.
Let the equation be: x – 3y = 9.
We need to first make a table before actualling plotting the points satisfying the equation.
|
Value of x |
0 |
3 |
9 |
12 |
|
Corresponding y |
-3 |
-2 |
0 |
1 |
Now, according to the table, the points to be plotted on the graph are (0,-3), (3,-2), (9,0), (12,1).

This is the graphical representation of the equation x – 3y = 9.
Learn about Data Interpretation
Now that we know, we can plot linear equations on a graph and can represent it as a straight line. Some of the simple steps that are followed for plotting the graph are:
Let us understand this with an example:
For an equation in two variables 2x – y = 4, the steps followed are as follows:
Step 1: Convert the equation into the form y = mx + c. This gives us y = 2x − 4.
Step 2: Now we have to replace the value of x and find the subsequent values of y in order to create the coordinates.
Step 3: Starting with putting x = 0 in the above equation, we get y = -4. Similarly, we put values of x = 2, we get y = 0.
Step 4: We can take more values of x and find the subsequent values of y to get a set of coordinates for plotting a line.
|
Value of x |
0 |
2 |
3 |
4 |
|
Corresponding y |
-4 |
0 |
2 |
4 |
The coordinates corresponding to the given values are: (0,-4), (2,0), (3,2), and (4,4).
Step 5: Plot these points on the coordinate plane and join the points to get the desired line.

This is the graphical representation of line 2x – y = 4.
We know that any graph for an increasing function goes up from left to right. A positive linear graph always rises from left to right, showing that the function increases as x increases. But, the value of y in the graph remains positive with every changing value of x. Consider the graph shown below. It is an example of a positive linear graph. Here we can see that values of y are always positive. Let us cross-check the result. We can see that for x = 0, y = 4, and for x = 4, y = 2. As the graph has values of y as positive so it is a positive linear graph.

We know that a decreasing function has a negative slope and the graph goes down as it moves from left to right. But a negative linear graph is different from decreasing function. It is a graph that has values of y as negative. Consider the graph shown below. It is an example of a negative linear graph. Here we can see that values of y are always negative. Let us cross check the result. We can see that for x = 0, y =-12, and for x = 6, y =-2. As the graph has values of y as negative so it is a negative linear graph.

Linear graphs are widely used in real-life situations because they clearly show the relationship between two variables that change at a constant rate. Some important applications include:
Plotting linear graphs may seem simple, but small errors can lead to incorrect results. Students often make mistakes in scaling, placing points, or drawing lines. Understanding these common errors helps ensure accurate and clear graphs.
A line graph and a linear graph are two different kinds of graphs. A line graph shows how data changes over time or across different categories. The line can bend or go up and down. A linear graph shows a straight line from a linear equation. It shows a steady, constant relationship between two variables.
|
Line Graph |
Linear Graph |
|
A line graph is a type of graph that uses points connected by lines to show changes or trends in data over time or categories. |
A linear graph represents a linear equation, showing a straight line on a coordinate plane where the relationship between x and y is proportional. |
|
The line can curve or change direction depending on the data. |
Always a straight line, as it represents a constant rate of change. |
|
Used to display trends, comparisons, or patterns in data. |
Used to represent mathematical relationships between variables in an equation. |
|
Can be discrete or continuous data. |
Typically shows continuous data that satisfies a linear equation. |
|
The slope may change along the line because the rate of change is not constant. |
The slope is constant; the line rises or falls at a steady rate. |
|
Showing monthly temperatures, stock prices, or population growth over time. |
Graph of y = 2x + 3 or y = -x + 5. |
|
Mostly used in statistics or data analysis. |
Mostly used in algebra to solve equations and understand variable relationships. |

In the above graphs, we can see that graph B is different from graph A.
Graph A is a linear graph and graph B is a line graph. The major difference between a line graph and a linear graph is that all the points in a linear graph lie on the same line, i.e. they are collinear. However, in a line graph, these points are not necessarily in a straight line.
Linear and non-linear graphs are two main types of graphs used to show how variables relate to each other. A linear graph always forms a straight line, showing a constant rate of change, while a non-linear graph can take various shapes like curves, circles, or parabolas, where the rate of change is not constant. Understanding the differences helps in analysing data accurately and choosing the right graph type.
|
Linear Graphs |
Non-Linear Graphs |
|
Always forms a straight line on the graph. |
Can take any shape, such as a curve, parabola, circle, or ellipse. |
|
The relationship between variables follows a constant rate of change. |
The relationship between variables is not necessarily proportional or constant. |
|
Follows a standard linear equation, typically in the form y = mx + c. |
Equations may include powers, roots, squares, cubes, or trigonometric functions. |
|
Easy to predict and interpret because the line is straight. |
Harder to predict, as the shape can change depending on the equation. |
To draw a linear graph, two points (x, y) are usually enough. However, using only two points may hide errors in calculating these values, as any two points can always form a straight line. It is recommended to plot an extra point to verify that the solutions of the given linear equation are correct.
The equation y = kx, where k is a real number, gives a horizontal line parallel to the X-axis.
The equation x = ky, where k is a real number, gives a vertical line parallel to the Y-axis.
Question 1: For a given equation 2x + y = 8, complete the following table:
|
Value of x |
– |
-2 |
– |
|
Corresponding y |
8 |
– |
0 |
Solution:
The points in the table have to satisfy the given equation 2x + y = 8, let us solve this one by one.
Case 1: Given that y = 8, we have to find x
Let us put the value of y in 2x + y = 8
2x + 8 = 8
2x = 0
x = 0
So the first point is (0,8)
Case 2: Given that x = -2, we have to find y
Let us put the value of x in 2x + y = 8
2(-2) + y = 8
-4 + y = 8
y = 8 + 4 = 12
So the second point is (-2,12)
Case 3: Given that y = 0, we have to find x
Let us put the value of y in 2x + y = 8
2x + 0 = 8
2x = 8
x = 4
So the third point is (4,0)
Question 2: Rahul can drive a car at a speed of 30km/hr. Draw a distance-time graph for this. From the graph, find the time taken by Rahul to cover 75 km, and distance covered by him in 3.5 hrs.
Solution: Given that Rahul is driving on a constant speed of 30km/hr, So, we can say that:
Distance covered by Rahul in 1 hr is 30 km
Distance covered by Rahul in 2 hrs is 60 km
Distance covered by Rahul in 3 hr is 90 km,and so on.
So, the table for plotting the points on graph is:
|
x |
1 |
2 |
3 |
4 |
|
y |
30 |
60 |
90 |
120 |
So, the points to be plotted become : (1,30), (2,60), (3,90), (4,120).
Plotting these points and joining them give us a straight line as shown in the graph below:

Now, from the graph we can find the other two parts of the question.
Time taken by Rahul to cover 75 km is 2.5 hrs, and distance covered by Rahul in 3.5 hrs is 105km.
We hope that the above article is helpful for your understanding and exam preparations. Stay tuned to the Testbook App for more updates on related topics from Mathematics, and various such subjects. Also, reach out to the test series available to examine your knowledge regarding several exams.
|
If you are checking Linear Graph article, also check the related maths articles in the table below: |
|

Download the testbook app and unlock advanced analytics.

Scan this QR code to Get the Testbook App