What Do You Know About Graph of Linear Functions? Definition, Examples, Formulas and Graphs

Graph of linear functions for Class 9 Maths showing slope, y-intercept, and a straight-line graph

Introduction

The graph of linear functions is an important topic in mathematics because it helps us represent a mathematical relationship visually. Instead of looking only at an equation, we can use a graph to see how the value of one variable changes when another variable changes.

A linear function produces a straight-line graph when it is plotted on the coordinate plane.

For Class 9 students, understanding linear functions is especially useful because graphs are connected with equations, coordinates, slope, tables of values, and real-life problems.

In this article, you will learn:

  • What a linear function is
  • What the graph of a linear function looks like
  • How to plot a linear function
  • How to make a table of values
  • How to find the slope and intercept
  • How to solve an example of a linear function with solution and graph
  • Common mistakes students make
  • Practical applications of linear functions

What Is a Linear Function?

A linear function is a function whose graph is a straight line.

A common form of a linear function is:y=mx+cy=mx+c

where:

  • xx is the independent variable.
  • yy is the dependent variable.
  • mm is the slope or gradient.
  • cc is the y-intercept.

For example:y=2x+1y=2x+1

is a linear function.

The coefficient of xx, which is 2, represents the slope, while 1 represents the y-intercept.

What Is the Graph of a Linear Function?

The graph of a linear function is the collection of all ordered pairs (x,y)(x,y) that satisfy the function.

For example, consider:y=2x+1y=2x+1

Choose some values of xx and calculate the corresponding values of yy.

xxy=2x+1y=2x+1Ordered Pair
-2-3(-2, -3)
-1-1(-1, -1)
01(0, 1)
13(1, 3)
25(2, 5)

Plot these points on the coordinate plane. When the points are joined, they form a straight line.

Diagram-Based Explanation

Imagine a coordinate plane containing a horizontal x-axis and a vertical y-axis.

For the functiony=2x+1y=2x+1

plot the points:(−2,−3),(−1,−1),(0,1),(1,3),(2,5)(-2,-3),(-1,-1),(0,1),(1,3),(2,5)

These points lie on the same straight line. The line crosses the y-axis at (0,1)(0,1) and rises from left to right.

This is the graph of the linear function.

Standard Form of a Linear Equation

A linear equation can also be written in standard form:Ax+By=CAx+By=C

where AA, BB, and CC are constants.

For example:2x+3y=62x+3y=6

is a linear equation.

It can be changed into slope-intercept form:3y=6−2x3y=6-2xy=2−23xy=2-\frac{2}{3}x

ory=−23x+2y=-\frac{2}{3}x+2

Therefore:m=−23m=-\frac{2}{3}

andc=2c=2

Important Parts of a Linear Graph

1. Slope

The slope tells us how steep a straight line is and whether it rises or falls.

The formula for slope is:m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

where (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) are two points on the line.

2. Y-Intercept

The y-intercept is the point where the graph crosses the y-axis.

In:y=mx+cy=mx+c

the value of cc is the y-coordinate of the y-intercept.

Thus, the y-intercept is:(0,c)(0,c)

For example:y=3x+4y=3x+4

has y-intercept:(0,4)(0,4)

3. X-Intercept

The x-intercept is the point where the graph crosses the x-axis.

At the x-axis:y=0y=0

Therefore, to find the x-intercept, put y=0y=0 in the equation.

For example:y=2x−6y=2x-6

Put y=0y=0:0=2x−60=2x-62x=62x=6x=3x=3

Therefore, the x-intercept is:(3,0)(3,0)

Types of Slopes

The slope of a linear function can be positive, negative, zero, or undefined.

Positive Slope

If:m>0m>0

the line rises from left to right.

Example:y=2x+1y=2x+1

Negative Slope

If:m<0m<0

the line falls from left to right.

Example:y=−2x+5y=-2x+5

Zero Slope

A horizontal line has slope zero.

Example:y=4y=4

The value of yy remains constant.

Undefined Slope

A vertical line has an undefined slope.

Example:x=3x=3

The value of xx remains constant.

How to Draw the Graph of a Linear Function

There are several methods for drawing the graph of a linear function.

Method 1: Table of Values

Consider:y=x+2y=x+2

Choose values of xx:−2,−1,0,1,2-2,-1,0,1,2

Calculate yy.

xxy=x+2y=x+2Ordered Pair
-20(-2, 0)
-11(-1, 1)
02(0, 2)
13(1, 3)
24(2, 4)

Now plot these points and join them with a straight line.

Method 2: Using the Y-Intercept and Slope

Consider:y=2x+1y=2x+1

Here:m=2m=2

and:c=1c=1

The y-intercept is:(0,1)(0,1)

The slope 2 can be written as:2=212=\frac{2}{1}

This means that for every 1 unit we move to the right, we move 2 units upward.

Starting from (0,1)(0,1), another point is:(1,3)(1,3)

Join the points with a straight line.

Worked Example 1: Graph of y=2x+1y=2x+1

Question

Draw the graph of:y=2x+1y=2x+1

Solution

Make a table of values.

xxCalculationyy
-22(−2)+12(-2)+1-3
-12(−1)+12(-1)+1-1
02(0)+12(0)+11
12(1)+12(1)+13
22(2)+12(2)+15

Therefore, the points are:(−2,−3),(−1,−1),(0,1),(1,3),(2,5)(-2,-3),(-1,-1),(0,1),(1,3),(2,5)

Plot these points on the coordinate plane and join them.

The resulting graph is a straight line.

Important Information

  • Slope = 22
  • Y-intercept = 11
  • Y-intercept point = (0,1)(0,1)
  • The line rises from left to right.

Worked Example 2: Graph of y=−x+4y=-x+4

Question

Draw the graph of:y=−x+4y=-x+4

Solution

Choose values of xx.

xxy=−x+4y=-x+4Ordered Pair
04(0, 4)
13(1, 3)
22(2, 2)
31(3, 1)
40(4, 0)

Plot these points and join them.

The graph is a straight line that falls from left to right.

Here:m=−1m=-1

and:c=4c=4

Therefore, the y-intercept is:(0,4)(0,4)

and the x-intercept is:(4,0)(4,0)

Worked Example 3: Finding the Equation from Two Points

Question

Find the equation of the line passing through:(1,3)(1,3)

and:(3,7)(3,7)

Step 1: Find the slope

Use:m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

Therefore:m=7−33−1m=\frac{7-3}{3-1}m=42=2m=\frac{4}{2}=2

Step 2: Use y=mx+cy=mx+c

We have:y=2x+cy=2x+c

Use the point (1,3)(1,3):3=2(1)+c3=2(1)+c3=2+c3=2+cc=1c=1

Therefore, the equation is:y=2x+1\boxed{y=2x+1}

Worked Example 4: Finding the X- and Y-Intercepts

Question

Find the x-intercept and y-intercept of:2x+3y=62x+3y=6

X-Intercept

Put:y=0y=0

Then:2x+3(0)=62x+3(0)=62x=62x=6x=3x=3

Therefore:x-intercept=(3,0)\text{x-intercept}=(3,0)

Y-Intercept

Put:x=0x=0

Then:2(0)+3y=62(0)+3y=63y=63y=6y=2y=2

Therefore:y-intercept=(0,2)\text{y-intercept}=(0,2)

The graph can be drawn by plotting (3,0)(3,0) and (0,2)(0,2) and joining these two points with a straight line.

Linear Functions and Real-Life Applications

Linear functions are not limited to textbook questions. They can represent many situations where one quantity changes at a constant rate.

1. Taxi Fare

Suppose a taxi charges a fixed amount of Rs. 100 plus Rs. 50 per kilometre.

The total fare yy for xx kilometres can be represented by:y=50x+100y=50x+100

Here:

  • 50 is the rate per kilometre.
  • 100 is the initial charge.

2. Mobile Data or Internet Usage

If a service has a fixed monthly charge and an additional constant charge based on usage, a linear model may be used.

3. Saving Money

Suppose a student already has Rs. 500 and saves Rs. 200 every week.

After xx weeks:y=200x+500y=200x+500

This is a linear function.

4. Distance and Time

If a person travels at a constant speed, distance can be represented as a linear function of time.

For example, at a constant speed of 5 km per hour:d=5td=5t

where dd is distance and tt is time.

Difference Between a Linear Equation and Its Graph

Linear EquationGraph
Represents a mathematical relationshipRepresents the relationship visually
Written using variables and constantsDrawn on a coordinate plane
Example: y=2x+1y=2x+1A straight line
Can be solved algebraicallyCan be analyzed visually

Common Questions About Graphs of Linear Functions

What is the graph of a linear function?

The graph of a linear function is a straight line on the coordinate plane.

Why is the graph of a linear function a straight line?

A linear function has a constant rate of change. Therefore, equal changes in xx produce equal changes in yy, resulting in a straight line.

What does the slope tell us?

The slope tells us the rate at which yy changes with respect to xx. It also tells us the direction and steepness of the line.

How do you find the y-intercept?

In:y=mx+cy=mx+c

the y-intercept is cc, and the point is:(0,c)(0,c)

How do you find the x-intercept?

Put:y=0y=0

in the equation and solve for xx.

How many points are needed to draw a straight line?

Two distinct points are sufficient to determine and draw a straight line. However, using three or more points can help verify that the calculations are correct.

Common Mistakes Students Make

1. Mixing Up X and Y Coordinates

Remember that an ordered pair is written as:(x,y)(x,y)

The x-coordinate comes first.

2. Using the Wrong Slope Formula

The correct formula is:m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

Keep the order consistent in both the numerator and denominator.

3. Forgetting the Negative Sign

For:y=−3x+2y=-3x+2

the slope is:−3-3

not 3.

4. Plotting Points Incorrectly

Always move along the x-axis first and then along the y-axis when plotting an ordered pair.

5. Not Joining Points Properly

The graph of a linear function should be a straight line. Do not join the points using a curved line.

6. Confusing X-Intercept and Y-Intercept

  • At the x-intercept, y=0y=0.
  • At the y-intercept, x=0x=0.

Tips for Class 9 Students

When solving graph questions:

  1. Write the given equation clearly.
  2. Identify whether it is a linear equation or function.
  3. Make a table of values if required.
  4. Calculate each value carefully.
  5. Write the ordered pairs.
  6. Draw the x-axis and y-axis.
  7. Choose an appropriate scale.
  8. Plot the points accurately.
  9. Join the points with a straight line.
  10. Check whether the graph agrees with the equation.

Students looking for a maths guide for Class 9, Class 9 maths notes, worksheets, assessments, and video explanations can also explore the learning resources available through Nisar Math Academy.

Short Conclusion

The graph of linear functions provides a simple visual way to understand the relationship between two variables. A linear function produces a straight-line graph, and its equation can usually be written in the form:y=mx+cy=mx+c

The slope mm describes the rate of change, while cc gives the y-intercept. Students can draw a linear graph by creating a table of values, plotting ordered pairs, or using the slope and y-intercept.

Regular practice with equations, tables, coordinates, and graphs can make this topic much easier for Class 9 mathematics students.

Short Notes: Graph of Linear Functions

Definition

A linear function is a function whose graph is a straight line.

Main Formula

y=mx+cy=mx+c

where:

  • mm = slope
  • cc = y-intercept

Slope Formula

m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

Y-Intercept

For:y=mx+cy=mx+c

the y-intercept is:(0,c)(0,c)

X-Intercept

Put:y=0y=0

and solve for xx.

Types of Slope

  • Positive slope → line rises from left to right.
  • Negative slope → line falls from left to right.
  • Zero slope → horizontal line.
  • Undefined slope → vertical line.

Important Points

  • A linear function has a straight-line graph.
  • Two distinct points are enough to draw a straight line.
  • Ordered pairs are written as (x,y)(x,y).
  • At the x-intercept, y=0y=0.
  • At the y-intercept, x=0x=0.

MCQs: Graph of Linear Functions

1. What is the graph of a linear function?

A. Circle
B. Straight line
C. Parabola
D. Triangle

Correct Answer: B. Straight line

2. Which is the slope-intercept form of a linear function?

A. y=mx+cy=mx+c
B. y=x2+cy=x^2+c
C. xy=cxy=c
D. y=cxy=\frac{c}{x}

Correct Answer: A. y=mx+cy=mx+c

3. What is the slope of y=3x+5y=3x+5?

A. 5
B. -3
C. 3
D. 8

Correct Answer: C. 3

4. What is the y-intercept of y=2x+7y=2x+7?

A. 2
B. 7
C. -7
D. -2

Correct Answer: B. 7

5. What is the y-intercept point of y=4x−3y=4x-3?

A. (4,0)(4,0)
B. (−3,0)(-3,0)
C. (0,−3)(0,-3)
D. (0,4)(0,4)

Correct Answer: C. (0,−3)(0,-3)

6. What is the slope of y=−2x+4y=-2x+4?

A. 4
B. 2
C. -2
D. -4

Correct Answer: C. -2

7. Which line rises from left to right?

A. A line with positive slope
B. A line with negative slope
C. A vertical line
D. A line with undefined slope

Correct Answer: A. A line with positive slope

8. At the x-intercept, what is the value of yy?

A. 1
B. -1
C. 0
D. xx

Correct Answer: C. 0

9. Find the slope between (1,2)(1,2) and (3,6)(3,6).

A. 1
B. 2
C. 3
D. 4

Correct Answer: B. 2

10. Which equation represents a horizontal line?

A. y=5y=5
B. x=5x=5
C. y=x+5y=x+5
D. y=5xy=5x

Correct Answer: A. y=5y=5

11. Which equation represents a vertical line?

A. y=2y=2
B. x=2x=2
C. y=2xy=2x
D. y=x+2y=x+2

Correct Answer: B. x=2x=2

12. What is the slope of the line joining (0,0)(0,0) and (2,4)(2,4)?

A. 1
B. 2
C. 3
D. 4

Correct Answer: B. 2

13. For y=x+2y=x+2, what is yy when x=3x=3?

A. 3
B. 4
C. 5
D. 6

Correct Answer: C. 5

14. Which point lies on y=2x+1y=2x+1?

A. (1,2)(1,2)
B. (1,3)(1,3)
C. (2,2)(2,2)
D. (0,0)(0,0)

Correct Answer: B. (1,3)(1,3)

15. A line with a negative slope:

A. Rises from left to right
B. Falls from left to right
C. Is always horizontal
D. Is always vertical

Correct Answer: B. Falls from left to right

Worksheet / Assignment

Part A: Definitions and Concepts

  1. Define a linear function.
  2. What type of graph does a linear function produce?
  3. What is meant by the slope of a line?
  4. Write the slope-intercept form of a linear function.
  5. What is the difference between an x-intercept and a y-intercept?

Part B: Short Questions

  1. Identify the slope and y-intercept of:

y=5x+2y=5x+2

  1. Identify the slope and y-intercept of:

y=−3x+7y=-3x+7

  1. State whether the line rises or falls from left to right:

y=−4x+1y=-4x+1

  1. Find the slope between the points:

(2,3),(6,11)(2,3), (6,11)

  1. Find the y-intercept of:

y=7x−5y=7x-5

Part C: Numerical Problems

  1. Make a table of values for:

y=x+3y=x+3

using x=−2,−1,0,1,2x=-2,-1,0,1,2.

  1. Find the x-intercept and y-intercept of:

x+y=6x+y=6

  1. Find the equation of the line with slope 3 passing through (0,2)(0,2).
  2. Find the equation of the line passing through:

(1,4)(1,4)

and:(3,8)(3,8)

  1. A student has Rs. 300 and saves Rs. 100 every week. Write a linear function for the total amount yy after xx weeks.

Answer Key

  1. A function whose graph is a straight line.
  2. A straight line.
  3. The rate of change of yy with respect to xx.
  4. y=mx+c\boxed{y=mx+c}
  5. The x-intercept occurs where y=0y=0, while the y-intercept occurs where x=0x=0.
  6. m=5, c=2m=5,\ c=2
  7. m=−3, c=7m=-3,\ c=7
  8. The line falls from left to right.

m=11−36−2=84=2m=\frac{11-3}{6-2} =\frac{8}{4} =2

  1. Y-intercept =−5=-5, so the point is (0,−5)(0,-5).
xxy=x+3y=x+3
-21
-12
03
14
25

For x-intercept:y=0y=0x=6x=6

So x-intercept = (6,0)(6,0).

For y-intercept:x=0x=0y=6y=6

So y-intercept = (0,6)(0,6).

y=3x+2y=3x+2

First find the slope:m=8−43−1=42=2m=\frac{8-4}{3-1} =\frac{4}{2}=2

Using (1,4)(1,4):4=2(1)+c4=2(1)+cc=2c=2

Therefore:y=2x+2\boxed{y=2x+2}

y=100x+300\boxed{y=100x+300}

Frequently Asked Questions

1. What is the graph of a linear function?

The graph of a linear function is a straight line on the coordinate plane.

2. What is the general form of a linear function?

A common form is:y=mx+cy=mx+c

where mm is the slope and cc is the y-intercept.

3. How do I draw the graph of a linear function?

You can make a table of values, calculate ordered pairs, plot the points on the coordinate plane, and join them with a straight line.

4. How do I find the slope of a line?

Use:m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

for two points on the line.

5. What does a positive slope mean?

A positive slope means that the line rises from left to right.

6. What does a negative slope mean?

A negative slope means that the line falls from left to right.

7. How do I find the y-intercept?

In:y=mx+cy=mx+c

the y-intercept is cc, giving the point (0,c)(0,c).

8. Why are graphs of linear functions important in Class 9 maths?

They help students understand equations, coordinates, slope, rate of change, and relationships between variables. They also provide a foundation for more advanced mathematics.

You May be Interested In:

Functions and Their Graphs: Definition, Types, Examples and Basic Graphs

Applications of Polygons: Uses of Polygons in Our Life with Examples

Ex 12.1 Class 9th – Complete Solution | Class 9 Maths Notes Chapter 12

Join Nisar Math Academy for Class 9 Maths Video Lectures Notes and Assessments
================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

© Copyright 2026 - What Do You Know About Graph of Linear Functions? Definition, Examples, Formulas and Graphs « Nisar Math Academy. All rights reserved.

Nisar Ahmad