The graph of the inverse of the line is a straight line segment with slope of 1/2.
How to plot linear graph.
The equation of a line can be expressed in various forms, but one common form is the slope-intercept form: y = mx + b where: m is the slope of the line, b is the y-intercept, the point where the line intersects the y-axis.
Let's find equation of the line
Slope,m = y₂ - y₁/x₂ - x₁
Taking points (-2,0) and (0,4)
m = 4-0/0-(-2)
= 4/2
= 2
Let determine the equation using slope-point form
y -4 = m(x-0)
y = 2x +4
To find the inverse of the function swap y with x and simplify
x = 2y + 4
2y = x - 4
y = x/2 - 2
Table of values for y = x/2 -2
x y
-2 -3
-1 -2.5
0 -2
1 -1.5
2 -1
3 -1/2
let's plot these points to have the graph of inverse of y.