Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do I use the graph of a linear function to find its equation?

Answer
VerifiedVerified
450.9k+ views
like imagedislike image
Hint: Given the graph of a line, you can determine the equation in two ways, using slope-intercept form, as y=mx+b or point slope form as yy1=m(xx1) . Hence, the slope and one point on the line is all that is needed to write the equation of a line.
Formula used:
 m=ΔyΔx=y2y1x2x1
 y=mx+b
where,
m is the slope of a line.
b is the y-intercept

Complete step-by-step answer:
You want to find the equation y=mx+b , where m is called the slope, and b the y-value at the y-intercept.
To calculate the slope m: Let's consider the two points selected as (x1,y1) and (x2,y2) . The slope is how fast y changes relative to a change in x i.e.,
 m=ΔyΔx=y2y1x2x1 ………………… 1
To calculate the intercept b: If one of the points you selected is on the y-axis, then this y-value is equal to b. Otherwise you fill in the equation y=mx+b with the values for one of the points as:
 y1=mx1+b
 b=y1mx1
Now, substitute the equation of slope i.e., m from equation 1 as:
 =y1y2y1x2x1x1
Now, let us explain using an example:
The points are: (4,2) and (4,0) .
We need to find slope m as:
 m=y2y1x2x1
We have the points: (x1,y1)=(4,2) and (x2,y2)=(4,0) , hence substituting in the formula we get the slope as:
 m=0(2)4(4)
 m=28
 m=14
To calculate the intercept b: Substitute the value of x and y as,
 y=mx+b
 0=144+b
 0=1+b
 b=1
Substituting the slope and y-intercept into the slope-intercept form of a line the complete equation as:
 y=14x1
So, the correct answer is “ y=14x1 ”.

Note: The key point to find its equation using graph is that, we need to Identify the y-intercept of an equation, next we need to choose two points to determine the slope, then substitute the y-intercept and slope into the slope-intercept form of a line. If you have two points on the graph, you can easily calculate the equation i.e., by selecting the two points on the graph and forming the type of equation.
WhatsApp Banner