Draw the graphof leniar equation x+y=4?

2 Answers
Jun 21, 2018

graph{x+y=4 [-22.8, 22.81, -11.4, 11.42]}

Explanation:

#x+y=4#
now to find the points where it intersects put
x=0 in the equation to get y=4 ......hence we got our first point(0,4)
again put y=0 to get x=4...............hence we got our second point(4,0)
join both the lines and extend bothways to get the graph

Jun 21, 2018

See below

Explanation:

You can rewrite the equation as #y=-x+4#, i.e. #y=p(x)#, with #p(x)# being a polynomial of degree #1#. Every polynomial of degree #1# represents a line.

To draw a line, you only need to sample two points, and to sample two points you choose two values for #x# and compute the corresponding #y# values. Let's choose #x=0# and #x=1#, we get

#y = -0+4=4#
#y = -1+4 = 3#

So, this line passes through the points #(0,4)# and #(1,3)#.

Draw these two points and connect them, and you have the line.

graph{-x+4}