Find the Intersection of Two Lines in the Plane: A Step-by-Step Guide

  Рет қаралды 260

Edgar Programmator

Edgar Programmator

10 ай бұрын

In this video, I will show you how to find the intersection of two lines in the plane. I will explain the steps in a clear and concise way, and I will use visual aids to help you understand the concepts. By the end of this video, you will be able to find the intersection of two lines in the plane with ease.
Case 1: slope-intercept form.
y1 = ax + b
y2 = cx + d
x = (d - b) / (a - c)
y = ax + b
P = [x, y]
Case 2: general form.
a1x + b1y + c1 = 0
a2x + b2y + c2 = 0
u1 = (a1, b1, c1)
u2 = (a2, b2, c2)
u1 × u2 = (ap, bp, cp)
u1 × u2 = (b1*c2 - b2*c1, a2*c1 - a1*c2, a1*b2 - a2*b1)
P = [ap/cp, bp/cp]
Case 3: The lines are both defined by two points.
line1: (x1, y1), (x2, y2)
line2: (x3, y3), (x4, y4)
a = (x1*y2 - y1*x2)
b = (x3*y4 - y3*x4)
c = (x1 - x2)*(y3 - y4) - (y1 - y2)*(x3 - x4)
x = (a*(x3 - x4) - (x1 - x2)*b) / c
y = (a*(y3 - y4) - (y1 - y2)*b) / c
P = [x, y]
/ edgardocpu

Пікірлер
Find the Line Passing Through the Middle of Two Points
2:01
Edgar Programmator
Рет қаралды 105
Limit
9:29
Edgar Programmator
Рет қаралды 107
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 12 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 39 МЛН
What's a Tensor?
12:21
Dan Fleisch
Рет қаралды 3,6 МЛН
Recursion in Mathematics and Programming (Python)
8:48
Edgar Programmator
Рет қаралды 271
Solve any equation using gradient descent
9:05
Edgar Programmator
Рет қаралды 52 М.
43 Circle
42:35
Mr. Gray - Math
Рет қаралды 38
Find the Intersection of Two Line Segments in 2D (Easy Method)
2:39
Edgar Programmator
Рет қаралды 3,7 М.
Segment intersection formula explained
35:26
Radu Mariescu-Istodor
Рет қаралды 31 М.
RSA ANIMATE: Changing Education Paradigms
11:41
RSA
Рет қаралды 17 МЛН
How I Take Notes: the Best Note Taking Method | Jim Kwik
11:20
An Overview of the Operations in Geometric Algebra
40:35
sudgylacmoe
Рет қаралды 29 М.
Convolution
6:19
Edgar Programmator
Рет қаралды 1 М.
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 2,3 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 59 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 432 М.
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 2 МЛН