# Thread:

1. ## maximum distance from point to sphere

I have to calculate the maximum distance from the point $T(1, -1, 3)$ to the sphere $x^2+y^2+z^2-6x+4y-10z-62=0$.

Here's what I did.
The equation for the sphere is $(x-3)^2+(y+2)^2+(z-5)^2=100$.
That means the center of the sphere is $C(3, -2, 5)$, and the radius is $r=10$.
I think the maximum distance $d_m$ is the distance from the point $T$ to the center of the sphere plus the radius:
$d_m=d(T, C)+r$.

Is this okay?
Thank you!

2. Everything looks good so far. What do you get?

3. I get
$d((1, -1, 3), (3, -2, 5))=\sqrt((3-1)^2+(-2+1)^2+(5-2)^2 )=\sqrt(9)=3$ so $d_m=3+10=13$.

It seems too simple, are you sure I'm not thinking something terribly wrong?

4. You're not computing the distance formula correctly. It should be more like

$\sqrt{(3-1)^2+(-2+1)^2+(5-2)^2}=\sqrt{4+1+9}=\sqrt{14}.$

[EDIT]: Ignore this post. See below for correction.

5. Why do we have (5-2)^2 instead of (5-3)^2? I'm afraid I don't understand.

6. I'm sorry. You're correct. It should be 3, like you got.

7. Thank you so much! I'm quite insecure when I'm doing the exercises on my own, it really helps when someone checks your work.

8. If you feel insecure when you're doing exercises, I would come up with a system of checks you can run against your answers to justify them to yourself. It's good problem-solving strategy anyway.

You're very welcome. Have a good one!
{"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": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 11, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "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": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9496886730194092, "perplexity_flag": "middle"}