Prashnikaप्रश्निका
Code
About

3D geometry and vectors calculator

Type up to four points, vectors, lines and planes, and get everything ISC Mathematics asks about them: distances, angles, the foot of the perpendicular and the image of a point, the shortest distance between skew lines, where a line meets a plane, dot and cross products, areas and the plane through three points - exact answers, with surds.

How to use it

  1. 1Type your points, vectors, lines and planes, one per line (the formats are under the box).
  2. 2Or tap an example to see how each is written.
  3. 3Press Work it out for distances, angles, the foot of the perpendicular, the shortest distance and more.

Points: A = (1, 2, 3). Vectors: a = 2i - j + 3k. Lines: L: (x - 1)/2 = (y + 3)/-1 = z/4 or r = (i + 2j) + λ(2i - k). Planes: P: 2x - y + z = 5 or r·(2i - j + k) = 5.

Worked example

point, line and plane

This is the kind of answer you get. Put these values in the boxes or type your own.

Read as

  • A point (1, 0, 2)
  • L line $\dfrac{x - 1}{2} = \dfrac{y + 3}{-1} = \dfrac{z}{4}$
  • P plane 2x - y + z = 5

Graph

Px1-12-23-34-4y1-12-23-34-4z1-12-23-34-4LA (1, 0, 2)

x comes towards you, y goes right, z goes up. Dashed grey lines drop each point onto the xy-plane; a plane is shown as a shaded patch.

A and L

Distance of A from the line
2√$\dfrac{1302}{21} ≈ 3.436$
Foot of the perpendicular from A
($\dfrac{31}{21}$, $-\dfrac{68}{21}$, $\dfrac{20}{21}$)
Image of A in the line
($\dfrac{41}{21}$, $-\dfrac{136}{21}$, $-\dfrac{2}{21}$)

A and P

Distance of A from the plane
$\dfrac{\sqrt{6}}{6} ≈ 0.4082$
Foot of the perpendicular from A
($\dfrac{4}{3}$, $-\dfrac{1}{6}$, $\dfrac{13}{6}$)
Image of A in the plane
($\dfrac{5}{3}$, $-\dfrac{1}{3}$, $\dfrac{7}{3}$)

L and P

Angle between them
sin⁻¹(3√$\dfrac{14}{14}$) rad ≈ 53.3°
Relation
the line meets the plane
Point where they meet
(1, -3, 0)

A (point)

Position vector
i + 2k

L (line)

Through the point
(1, -3, 0)
Direction ratios
2, -1, 4
Direction cosines
2√$\dfrac{21}{21}$, -$\dfrac{\sqrt{21}}{21}$, 4√$\dfrac{21}{21}$
Cartesian form
$\dfrac{x - 1}{2} = \dfrac{y + 3}{-1} = \dfrac{z}{4}$
Vector form
r = (i - 3j) + λ(2i - j + 4k)

P (plane)

Normal vector
2i - j + k
Cartesian form
2x - y + z = 5
Vector form
r·(2i - j + k) = 5
Distance from the origin
5√$\dfrac{6}{6} ≈ 2.041$

About the 3D geometry and vectors calculator

What it does

Takes up to four points, vectors, lines and planes and works out what ISC Mathematics asks about them: distances, angles, the foot of the perpendicular and the image of a point, the shortest distance between skew lines, where a line meets a plane, dot and cross products, areas and the plane through three points. Answers are exact, with surds.

The formulas behind it

  • Distance of the point (x₁, y₁, z₁) from the plane ax + by + cz + d = 0: |ax₁ + by₁ + cz₁ + d| / √(a² + b² + c²).
  • Angle between two lines with direction ratios (a₁, b₁, c₁) and (a₂, b₂, c₂): cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) × √(a₂² + b₂² + c₂²)).
  • Shortest distance between the skew lines r = a₁ + λb₁ and r = a₂ + μb₂: |(a₂ − a₁) · (b₁ × b₂)| / |b₁ × b₂|.

Common questions

What are skew lines?

Lines that are neither parallel nor intersecting. The shortest distance between them is more than 0.

How do I write a vector, a line and a plane?

A vector as a = 2i - j + 3k, a point as A = (1, 2, 3), a line as L: (x - 1)/2 = (y + 3)/-1 = z/4 or r = (i + 2j) + λ(2i - k), and a plane as P: 2x - y + z = 5.

How do I find the plane through three points?

Type the three points, for example A = (1, 1, 1), B = (2, 3, 4) and C = (0, 1, 5), and the tool gives the equation of the plane through them.

Practise on real ISC questions

More Mathematics tools

All study tools →