Math Calculators, Lessons and Formulas

It is time to solve your math problem

mathportal.org

# Parallel and perpendicular line calculator

This calculator finds and draws equations of a parallel or perpendicular line passing through a given point. The calculator shows a step-by-step explanation on how to get the result.

Parallel and Perpendicular Line calculator
input line in general or slope-intercept form help ↓↓ examples ↓↓
 Parallel line through the given point Perpendicular line through the given point
Hide graph
Hide steps
Find approximate solution
working...
examples
example 1:ex 1:
Find the equation of the line that is parallel to $2x + y - 2 = 0$ and passes though the point $( 3, 1 )$.
example 2:ex 2:
Find the equation of the line that is perpendicular to $y = 2x - 5$ and passes though the point $\left( -\frac{2}{3}, -\frac{1}{4} \right)$.
Find more worked-out examples in our database of solved problems..

## How to find line through a point parallel to a given line ?

Equation of the line that passes through the point $A(x_0, y_0)$ and is parallel to the line $y = mx + b$ is:

$${\color{blue}{ y - y_0 = m(x-x_0) }}$$

Example:

Find the equation of the line that passes through the point $A(-1, 2)$ and is parallel to the line $y = 2x - 3$

Solution:

In this example we have: $x_0 = -1,~~ y_0 = 2,~~ m = 2$. So we have:

\begin{aligned} y - y_0 & = m(x-x_0) \\ y - 2 & = 2(x-(-1)) \\ y - 2 & = 2x + 2 \\ y & = 2x + 2 + 2 \\ {\color{blue}{ y }} & {\color{blue}{ = 2x + 4}} \end{aligned}

Note : If you want to solve this problem using above calculator, you need to rewrite line equation in general form ( $2x - y - 3 = 0$ )

## How to find line through a point perpendicular to a given line ??

Equation of the line that passes through the point $A(x_0, y_0)$ and is perpendicular to the line $y = mx + b$ is:

$${\color{blue}{ y - y_0 = -\frac{1}{m}(x-x_0) }}$$

Example:

Find the equation of the line that passes through the point $A(-1, 2)$ and is perpendicular to the line $y = 2x - 3$

Solution:

In this example we have: $x_0 = -1,~~ y_0 = 2,~~ m = 2$. So we have:

\begin{aligned} y - y_0 & = -\frac{1}{m}(x-x_0) \\ y - 2 & = -\frac{1}{2}(x-(-1)) \\ y - 2 & = -\frac{1}{2}(x + 1) \\ (y - 2)\cdot{\color{red}{2}} & = -\frac{1}{2}\cdot{\color{red}{2}}(x + 1) \\ 2(y - 2) & = -(x + 1)\\ 2y - 4 & = -x - 1\\ 2y & = -x + 3\\ {\color{blue}{ y }} & = {\color{blue}{-\frac{1}{2}x + \frac{3}{2} }} \end{aligned}

Note : If you want to solve this problem using above calculator, you need to rewrite line equation in general form ( $2x - y - 3 = 0$ )

Search our database with more than 300 calculators
440 702 476 solved problems
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.mathportal.org/calculators/analytic-geometry/parallel-and-perpendicular-calculator.php", "fetch_time": 1722694520000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2024-33/segments/1722640368581.4/warc/CC-MAIN-20240803121937-20240803151937-00126.warc.gz", "warc_record_offset": 702701380, "warc_record_length": 19309, "token_count": 875, "char_count": 2658, "score": 4.75, "int_score": 5, "crawl": "CC-MAIN-2024-33", "snapshot_type": "latest", "language": "en", "language_score": 0.8309166431427002, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00061-of-00064.parquet"}