# Taxicab Geometry: solution to $d(P, A) = 2 d(P, B)$ for two points, $A = (4,7)$ and $B = (5,4)$?

I need the solution for $A= (4,7)$, $B= (5,4)$, please also the graph and an explanation about the procedure for getting the graph.

-
What have you tried? Do you know what the set of points at distance $2$ from $A$ looks like? –  Ross Millikan Sep 17 '12 at 2:07

Let $P(x,y)$ be the point satisfying $d(P,A)=2d(P,B)$

$d(P,A)=|x-4|+|7-y|$

$d(P,B)=|x-5|+|4-y|$

$d(P,A)=2d(P,B)\implies |x-4|+|7-y|=2|x-5|+2|4-y|$

Now, check solutions on $X\times Y$ where

$X=\{(-\infty,4),[4,5],(5,\infty)\}$

$Y=\{(-\infty,4),[4,7],(7,\infty)\}$

-
I already did that, I got 16 lineal equations, but i don´t know how to get the graph. Can you help me? –  Pedro Vergara Sep 19 '12 at 2:10
{"extraction_info": {"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": 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.8663130402565002, "perplexity": 435.56911902848196}, "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-2015-35/segments/1440645315643.73/warc/CC-MAIN-20150827031515-00146-ip-10-171-96-226.ec2.internal.warc.gz"}