# Math Help - How to prove that a point in Euclidian space lies OUTSIDE a given triangular pyramid?

1. ## How to prove that a point in Euclidian space lies OUTSIDE a given triangular pyramid?

So if given a particular point, say (0,3,4)

how can you prove it lies OUTSIDE or INSIDE a pyramid with 4 vertices, say A(0,2,0), B(2,0,0), C(0,2,2), D(2,2,2)? (i just made these numbers up.

help much appreciated!!!

2. Originally Posted by Yehia
So if given a particular point, say (0,3,4)

how can you prove it lies OUTSIDE or INSIDE a pyramid with 4 vertices, say A(0,2,0), B(2,0,0), C(0,2,2), D(2,2,2)? (i just made these numbers up.

help much appreciated!!!
Here is one way that will work-- doubtless there are others.

1. Find the equation of the plane through ABC in the form f(x,y,z) = ax + by + cz = 0. I'm guessing you know how to compute a, b, and c. If not, let us know.

2. Compute f(D). In your example, that is 2a +2b + 2c.

3. Compute f(P) where P is your point of interest. In your example, that is 0a + 3b + 4c.

4. If the numbers computed in steps 2 and 3 have the same sign, then P and D lie on the same side of the plane ABC, so P may be inside the tetrahedron. If they don't have the same sign, P is definitely outside the tetrahedron.

5. If P passes the test (f(P) and f(D) have the same sign), repeat steps 1-4 for the other three faces of the tetrahedron: ABD, ACD, and BCD. If P passes the test for all the faces, it is inside the tetrahedron. That's because the tetrahedron is convex and is the intersection of the four half-spaces formed by the bounding planes.
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "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, "math_score": 0.8428424000740051, "perplexity": 558.5455754413426}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-35/segments/1408500821666.77/warc/CC-MAIN-20140820021341-00300-ip-10-180-136-8.ec2.internal.warc.gz"}