2017-11-04 Sa

$ P(-3, 0) $ 在圆C $ (x-3)^2 + y^2 = 8^2 $ 内,动圆M与圆相切且过P点,求M点轨迹。


设切点 $ A(a, b) $,圆心 \(M(x, y)\),则有 \(R_M = MA = MP = R_C-MC\):

\[ \left\{ \begin{aligned}
(a-3)^2 + b^2 &= 8^2 \\
\sqrt{(x-a)^2+(y-b)^2} &= \sqrt{(x+3)^2+y^2} \\
&= 8-\sqrt{(x-3)^2+y^2}
\end{aligned} \right. \]

Maxima:

solve([(a-3)^2 + b^2 = 8^2, sqrt((x-a)^2+(y-b)^2) = sqrt((x+3)^2+y^2), sqrt((x+3)^2+y^2) = 8-sqrt((x-3)^2+y^2)],[x]);
solve([(a-3)^2 + b^2 = 8^2], [a]) (%i4) solve([(a-3)^2 + b^2 = 8^2], [a]);
2 2
(%o4) [a = 3 - sqrt(64 - b ), a = sqrt(64 - b ) + 3] solve([sqrt((x+3)^2+y^2) = 8-sqrt((x-3)^2+y^2)], [x])

解不出来……


UPD 2017-11-10 Fr 10:39PM

周一在学校的时候想了一下,由 $ (a-3)^2 + b^2 = 8^2 $ 可知\(a\) \(b\)关系,由 $ \sqrt{(x+3)2+y2} = 8-\sqrt{(x-3)2+y2} $ 可知 \(x\) \(y\) 关系,这样就只剩下两个未知数,然后再带入最后一个方程就行了。

I simplfied in hand but the last step involved a polynomial with too much terms. So I decided to go to Maxima at weekend.

Maxima:

Maxima 5.25.0 http://maxima.sourceforge.net
using Lisp Clozure Common Lisp Version 1.7-r14925M (WindowsX8632)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) solve([(a-3)^2 + b^2 &= 8^2], [a]) Maxima 5.25.0 http://maxima.sourceforge.net
using Lisp Clozure Common Lisp Version 1.7-r14925M (WindowsX8632)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) solve([(a-3)^2 + b^2 = 8^2], [a])
;
2 2
(%o1) [a = 3 - sqrt(64 - b ), a = sqrt(64 - b ) + 3]
(%i2) a
;
(%o2) a
(%i3) a;
(%o3) a
(%i4) solve([sqrt((x-a)^2+(y-b)^2) = 8-sqrt((x-3)^2+y^2)], [y])
;
2 2 2 2 2 2
(%o4) [sqrt(y - 2 b y + x - 2 a x + b + a ) = 8 - sqrt(y + x - 6 x + 9)]
(%i5) solve([sqrt((x-a)^2+(y-b)^2) = 8-sqrt((x-3)^2+y^2)], [y]);
2 2 2 2 2 2
(%o5) [sqrt(y - 2 b y + x - 2 a x + b + a ) = 8 - sqrt(y + x - 6 x + 9)]
(%i6) solve([(x-a)^2+(y-b)^2 = 64 + (x-3)^2+y^2 - 16*sqrt((x-3)^2+y^2)], [y])
;
2 2 2 2
16 sqrt(y + x - 6 x + 9) - 2 a x + 6 x + b + a - 73
(%o6) [y = -------------------------------------------------------]
2 b
(%i7)

Seems I don't know how to use Maxima to solve equation correctly...

I gave it the wrong equation in %i4.. 'a' should not be involved. Try again:

Maxima 5.25.0 http://maxima.sourceforge.net
using Lisp Clozure Common Lisp Version 1.7-r14925M (WindowsX8632)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) solve([sqrt((x+3)^2+y^2) = 8-sqrt((x-3)^2+y^2)], [y]);
2 2 2 2
(%o1) [sqrt(y + x + 6 x + 9) = 8 - sqrt(y + x - 6 x + 9)]
(%i2) solve([(x+3)^2+y^2 = 64 + (x-3)^2+y^2 - 16*sqrt((x-3)^2+y^2)], [y]);
Is 3 x - 16 positive, negative, or zero? negative
;
2 2
sqrt(7) sqrt(16 - x ) sqrt(7) sqrt(16 - x )
(%o2) [y = - ---------------------, y = ---------------------]
4 4
(%i3)

Well.. let's do it step by step.

\[ \left\{ \begin{aligned}
(a-3)^2 + b^2 &= 8^2 \\
\sqrt{(x-a)^2+(y-b)^2} &= \sqrt{(x+3)^2+y^2} \\
8-\sqrt{(x-3)^2+y^2} &= \sqrt{(x+3)^2+y^2}
\end{aligned} \right. \]

Maxima 5.25.0 http://maxima.sourceforge.net
using Lisp Clozure Common Lisp Version 1.7-r14925M (WindowsX8632)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) load(itensor);
;Compiler warnings for "C:/PROGRA~2/MAXIMA~1.0/share/maxima/5.25.0/share/tensor/itensor.lisp" :
; In $LC_L: Unused lexical variable L2
;Compiler warnings for "C:/PROGRA~2/MAXIMA~1.0/share/maxima/5.25.0/share/tensor/itensor.lisp" :
; In $LC_U: Unused lexical variable L1 (%o1) C:/PROGRA~2/MAXIMA~1.0/share/maxima/5.25.0/share/tensor/itensor.lisp
(%i2) load(tentex);
(%o2) C:/PROGRA~2/MAXIMA~1.0/share/maxima/5.25.0/share/tensor/tentex.lisp
(%i3) expand((a-3)^2+b^3-64)
;
3 2
(%o3) b + a - 6 a - 55
(%i4) solve([%o3],[b]);
2 1/3
(sqrt(3) %i - 1) (- a + 6 a + 55)
(%o4) [b = -------------------------------------,
2
2 1/3
(sqrt(3) %i + 1) (- a + 6 a + 55) 2 1/3
b = - -------------------------------------, b = (- a + 6 a + 55) ]
2
(%i5) solve([%o3], [a]);
3 3
(%o5) [a = 3 - sqrt(64 - b ), a = sqrt(64 - b ) + 3]
(%i6) tentex(%o5)
;
$$\left[ a=3-\sqrt{64-b^3} , a=\sqrt{64-b^3}+3 \right] $$
(%o6) false
(%i7) solve([%o3=0], [a]);
3 3
(%o7) [a = 3 - sqrt(64 - b ), a = sqrt(64 - b ) + 3]
(%i8) expand(sqrt((x+3)^2+y^2)-8+sqrt((x-3)^2+y^2))
;
2 2 2 2
(%o8) sqrt(y + x + 6 x + 9) + sqrt(y + x - 6 x + 9) - 8
(%i9) solve([%o8], [y])
;
2 2 2 2
(%o9) [sqrt(y + x + 6 x + 9) = 8 - sqrt(y + x - 6 x + 9)]
(%i10) solve([%o8], [x]);
2 2 2 2
(%o10) [sqrt(y + x + 6 x + 9) = 8 - sqrt(y + x - 6 x + 9)]
(%i11) %o8^2
;
2 2 2 2 2
(%o11) (sqrt(y + x + 6 x + 9) + sqrt(y + x - 6 x + 9) - 8)
(%i12) expand(%o11);
2 2 2 2
(%o12) 2 sqrt(y + x - 6 x + 9) sqrt(y + x + 6 x + 9)
2 2 2 2 2 2
- 16 sqrt(y + x + 6 x + 9) - 16 sqrt(y + x - 6 x + 9) + 2 y + 2 x
+ 82
(%i13) solve([sqrt((x-a)^2+(y-b)^2)=sqrt((x+3)^2+y^2), (a-3)^2+b^2=64, 8=sqrt((x+3)^2+y^2)+sqrt((x-3)^2+y^2)], [x])
;
(%o13) []
(%i14) contour_plot ((x-3)^2+y^2-64)$
plot3d: Usage.
To plot a single function f of 2 variables v1 and v2:
plot3d (f, [v1, min, max], [v2, min, max], options)
A parametric representation of a surface with parameters v1 and v2:
plot3d ([f1, f2, f3], [v1, min, max], [v2, min, max], options)
Several functions depending on the two variables v1 and v2:
plot3d ([f1, f2, ..., fn, [v1, min, max], [v2, min, max]], options)
-- an error. To debug this try: debugmode(true);
(%i15) contour_plot ((x-3)^2+y^2-64, [x,-5,8])
;
plotting: range must be of the form [variable, min, max]; found: [palette, false]
-- an error. To debug this try: debugmode(true);
(%i16) contour_plot ((x-3)^2+y^2-64, [x,-5,8], [y,-8,8]); (%o16)
(%i17) contour_plot ([(x-3)^2+y^2-64,x,y], [x,-5,8], [y,-8,8]);
(%o17)
(%i18) contour_plot ((x-3)^2+y^2-64, [x,-5,8], [y,-8,8], [box, false]);
(%o18)
(%i19) contour_plot ((x-3)^2+y^2-64, [x,-5,8], [y,-8,8], [box, false], [plot_format, xmaxima]);
contour_plot: plot_format = xmaxima not recognized; must be a gnuplot format.
(%o19) false
(%i20)

11:17 PM Go to sleep.

2017-11-10 Fr Oct 消参的更多相关文章

  1. 2017-11-11 Sa Oct 消参

    2017-11-11 Sa Oct 消参 Prior versions: 2017-11-04 Sa Oct 消参 2017-11-10 Fr Oct 消参 2017-11-04 Sa $ P(-3, ...

  2. 2017-11-04 Sa Oct 消参

    2017-11-04 Sa $ P(-3, 0) $ 在圆C $ (x-3)^2 + y^2 = 8^2 $ 内,动圆M与圆相切且过P点,求M点轨迹. 设切点 $ A(a, b) $,圆心 \(M(x ...

  3. 2017.11.10 重读C++ Primer

    第二章   变量和变量类型 1. C++ 算数类型 bool                     布尔 最小尺寸未定义 char                     字符 8位 wchar_t ...

  4. 2017.11.10 MPLAB IPE + ICD-3+ PIC32MM

    A trouble with ICD-3  programmer. MCU:  PIC32MM sw:  MPLAB IPE tool:  ICD-3 1 product introduction a ...

  5. 2017.11.10 web中URL和URI的区别

    URI:Uniform Resource Identifier,统一资源标识符: •URL:Uniform Resource Locator,统一资源定位符: •URN:Uniform Resourc ...

  6. 2017-11-03 Fr OCT 球体积的导数为球表面积

    上学期学立体几何时注意到这一点.去问林老师,没听明白(写完笔记后发现林老师讲得是对的,惭愧).今天下午考历史的时候突然想起来. 除了球体积的导数为球表面积外,还注意到圆体积的导数为圆周长.今天中午看w ...

  7. 微信iphone7、 ios10播放视频解决方案 2016.11.10

    2016.11.10日更新以下方法 微信最新出同层播放规范 即使是官方的也无法解决所有android手机的问题. 另外iphone 5 .5s 某些手机始终会弹出播放,请继续采用 “以下是老的解决办法 ...

  8. Xamarin 2017.11.9更新

     Xamarin 2017.11.9更新 本次更新主要针对Xamarin.iOS,适配了iOS 11.1和Xcode 9.1.Visual Studio 2017升级到15.4.3获得新功能.Visu ...

  9. Xamarin 2017.11.1更新

     Xamarin 2017.11.1更新 本次更新主要解决了一些bug.Visual Studio 2017升级到15.4.2获得新功能.Visual Studio 2015需要工具-选项-Xamar ...

随机推荐

  1. github的markdown页内锚点以及本地资源链接

    页内锚点参考 https://my.oschina.net/antsky/blog/1475173 [aaa](#2-aaabbb) 字母小写,.去掉,空格换成- 本地资源链接 [aaa](docs/ ...

  2. 设计Optaplanner下实时规划服务的失败经历

    其实本文不知道算不算一个知识点分享,过程很美妙,但结果很失败.我们在利用Optaplanner的Real-Time planning(实时规则)功能,设计实时在线规划服务时,遇到一个属于Optapla ...

  3. MSDE2008安装备忘

    MSDE2008安装备忘(适用于WIN7 8 10) 1.系统中必须要VC8.0,即VC2005运行库.2.系统中必须要有.net framework2.0.3.5.4.6运行库.3.windows防 ...

  4. Java五种单例区别

    详细请参考如下链接: http://www.voidcn.com/article/p-shzgsluz-bqa.html https://blog.csdn.net/android_freshman/ ...

  5. MYSQL使用PMM进行性能监控

    简介Percona监视和管理(PMM)是一个用于管理和监视MySQL和MongoDB性能的开源平台.它是由Percona与托管数据库服务.支持和咨询领域的专家合作开发的. PMM是一个免费的开源解决方 ...

  6. 软件测试:1.Describe An Error

    软件测试:1.Describe An Error 要求: 1.简要描述你最近完成项目里的一个error: 2.说明原因,错误影响,及你怎样发现的: 或许因为刚开学的缘故,近期我并没有完成大的项目,多少 ...

  7. 《深度探索C++对象模型》读书笔记(二)

    第三章:Data语意学 这一章主要讲了类中的数据在内存中是如何分配的,包括(多重)继承和多态. 让我们首先从一段代码开始: class X{}; class Y :virtual public X{} ...

  8. Android几种视频播放方式,VideoView、SurfaceView+MediaPlayer、TextureView+MediaPlayer,以及主流视频播放器开源项目

    简单的说下一Android的几种视频播放功能: 1.VideoView:最简单的视频播放 <FrameLayout xmlns:android="http://schemas.andr ...

  9. java类的生命周期

    https://www.cnblogs.com/aspirant/p/7200523.html 验证的内容:文件格式,字节码,符号引用,元数据 准备:给静态变量分配内存设置初始值(0) 初始化才是真正 ...

  10. hanlp使用自定义词典抽取关键词

    1.在data/dictionary/custom/路径下新建文件 myDict.txt.,添加新的单词,单词,词性,词频.并删除当前文件夹下的bin文件, 2.在hanlp配置文件中的CustomD ...