हिन्दी में पढ़ेंHome › Formulas › 3D coordinates, lines & planes › Line through two points
Line through two points
(x−x₁)/(x₂−x₁) = (y−y₁)/(y₂−y₁) = (z−z₁)/(z₂−z₁)
Where: x = Line through two points, x₁ = x₁, x₂ = x₂, y = y, y₁ = y₁, y₂ = y₂
Solved example
Given: x_1 = 7, x_2 = 5, y = 10, y_1 = 4, y_2 = 3
Find: x (Line through two points)
- Formula: (x - x₁)/(-x₁ + x₂) = (y - y₁)/(-y₁ + y₂)
- Rearranged for x: x = (x₁·y - x₁·y₂ - x₂·y + x₂·y₁)/(y₁ - y₂)
- Substitute the values: x = (-10·5 + 10·7 - 3·7 + 4·5)/(-3 + 4)
- Result: x = 19
Answer: x = 19
Calculator
How to calculate Line through two points
- Write down the formula: (x−x₁)/(x₂−x₁) = (y−y₁)/(y₂−y₁) = (z−z₁)/(z₂−z₁).
- Note the known values (x₁, x₂, y, y₁, y₂).
- Substitute them and simplify to find x.
- Use the calculator above to solve for any letter.
Frequently asked questions
What is the formula for Line through two points?
The formula is (x−x₁)/(x₂−x₁) = (y−y₁)/(y₂−y₁) = (z−z₁)/(z₂−z₁), where x = Line through two points, x₁ = x₁, x₂ = x₂, y = y, y₁ = y₁, y₂ = y₂.
What is Line through two points when x_1 = 7, x_2 = 5, y = 10, y_1 = 4, y_2 = 3?
x = 19. Substitute the values into (x−x₁)/(x₂−x₁) = (y−y₁)/(y₂−y₁) = (z−z₁)/(z₂−z₁) and simplify.