Graphs of Equations

While equations and functions are different, by drawing graphs of functions corresponding to equations, we can visually understand the characteristics and solutions of equations.


Graphs of Linear Equations in Two Variables

Although equations and functions are different, if we can express an equation in the form y=ax+by=ax+b , we can draw it as a graph of a linear function. Let's say we have a linear equation in two variables:

2x+y=12x + y = -1\quad-①

For this equation to be true, there are combinations of xx and yy such as:

(x,y)=(2,3),(1,1),(0,1),(1,3)(x, y)=(-2, 3),(-1, 1),(0, -1),(1, -3)

These solutions are combinations of xx and yy values, so we can represent them as coordinates on a graph. When we actually plot these points, they align on a straight line.

If we solve equation ① 2x+y=12x+y=-1 for yy , we get:

2x+y=1y=2x1\begin{align*} 2x + y &= -1 \\ y &= -2x - 1 \quad-② \end{align*}

Equation ② is in the form y=ax+by=ax+b , so we can represent it as a graph of a linear function.

As we plot each solution, they align on a straight line, and the equation representing this line takes the form y=ax+by=ax+b . In other words, the straight line representing a linear equation in two variables represents the set of solutions to that equation.

Graphs of Equations in One Variable

Equations x=kx=k and y=ky=k

What do the graphs of the following three equations look like?

y=2x+5y=2x+5 has a slope of 22 and a y-intercept of 55 , so it looks like this. What about ② and ③?

y=2x+5x=2y=3\begin{align*} &y=2x+5\quad-①\\ &x=2\quad \quad \quad \,-②\\ &y=3\quad \quad \quad \,-③\\ \end{align*}

For ② x=2x=2 , xx is always 2 regardless of yy , so when represented on a graph, it becomes a vertical line passing through the point (2,0)(2,0) and perpendicular to the x-axis. Similarly, for ③ y=3y=3 , yy is always 3 regardless of xx , so it becomes a horizontal line passing through the point (0,3)(0,3) and parallel to the x-axis.

What if we treat the linear equation ax+b=0ax+b=0 as y=ax+by=ax+b ?

Next, let's consider the graph of the equation 2x=42x=4 . Let's transform this equation as follows:

2x=42x4=0\begin{align*} 2x &= 4 \\ 2x-4 &= 0\quad-③ \end{align*}

If we consider equation ③ as the case where y=0y=0 for the linear function y=2x4y=2x-4 , we can represent it as a graph of a linear function. Now, where does the solution x=2x=2 of equation ③ appear on the graph?

The case where y=0y=0 corresponds to the x-axis on the graph, so the intersection of the line y=2x4y=2x-4 and the x-axis becomes the solution to equation ③.

Graphs of Systems of Equations

What the Intersection of Two Lines Means

We learned that when we represent a linear equation in two variables ax+by=cax+by=c on a graph, the line represents the set of solutions to the equation. So, what happens when we graph a system of two linear equations in two variables?

{x+y=72x+y=10\begin{cases} \hspace{0.5em} x+y=7 \hspace{2em} - ①\\ \hspace{0.5em} 2x+y=10 \hspace{1em} - ② \end{cases}

Since there are two equations, two lines will appear, and each line represents the solutions to its respective equation. So...

The point of intersection of the two lines satisfies both equations ① and ②, which means the intersection point represents the solution to the system of equations.

There Are 3 Patterns in the Relationship Between Two Lines

When we draw a system of equations on a plane, two lines appear. These lines can intersect, be parallel, or overlap, so there are three patterns in total for the relationship between two lines.

We learned that the line represented by the graph of an equation is a collection of solutions to that equation. The intersection of two lines was the solution to the system of equations that simultaneously satisfies both equations. So, what can we say when two lines are parallel and don't intersect? Or what about when two lines completely overlap?

For the two lines representing sets of solutions:

  • When they intersect, the intersection point satisfies both equations simultaneously, so the coordinates of the intersection point become the solution to the system of equations.
  • When they are parallel, there are no coordinates that satisfy both equations simultaneously, so the system of equations has no solution.
  • When they overlap, any point on the line satisfies both equations, so the system of equations has infinitely many solutions.