# How do you graph the line 2x+5y=10?

Sep 3, 2016

see explanation.

#### Explanation:

To draw a straight line , we only require 2 points, although 3 is better.

When the given line crosses the y-axis, the corresponding x-coordinate will be zero. Substituting x = 0 into the equation allows us to solve for y.

$x = 0 \Rightarrow 2 \left(0\right) + 5 y = 10 \Rightarrow 0 + 5 y = 10 \Rightarrow y = 2$

Hence (0 ,2) is a point on the line.

Similarly, when the line crosses the x-axis the y-coordinate will be zero. Substitute y = 0 into the equation and solve for x.

$y = 0 \Rightarrow 2 x + 0 = 10 \Rightarrow x = 5$

Hence (5 ,0) is another point on the line.

Now plot the points (0 ,2) and (5 ,0) and draw a straight line through them.
graph{-2/5x+2 [-10, 10, -5, 5]}