[Math] When are two given lines parallel and identical

algebra-precalculusanalytic geometrycoordinate systems

So I need a bit help with lines. I am considering 2 cases,

  1. When they are parallel and

  2. When they are completely same, same coordinates, everything, one on top of another.

This is what I think how it is, please tell me if I'm right, and correct me if I'm wrong.

  1. When are they parallel, for example if I have two lines
    \begin{align*}
    y_1&=m_1x+n_1,\\
    y_2&=m_2x+n_2.
    \end{align*}

    and if $m_1 = m_2$ regardless of $n_1$ and $n_2$ they are parallel ?

  2. When they are same (one on top of another)
    \begin{align*}
    y_1&=m_1x+n_1,\\
    y_2&=m_2x+n_2.
    \end{align*}

    $m_2=m_1$ and $n_1=n_2$?

Image:
a) Parallel b) Same lines

Best Answer

You're right. If $m_1=m_2$ the two lines are parallel, and if moreover $n_1=n_2$ the two lines are identical. On the left-hand side of your equation, you can just write $y$ instead of $y_1$ and $y_2$ (like you do with $x$).

Related Question