markraz
Full Member
- Joined
- Feb 19, 2014
- Messages
- 338
Last edited:
I can't thank you enough. The circles may or may not be equal radius. So do I still use the same above method? thanks againYour first problem is that you have the same parameters, h, k, and r, in both equations! Remember that (h, k) is the center of the circle. Since these circles do not have the same center those must be different. You might show that by using "h1, k1", "r1" for one circle, "h2, k2", "r2" for the other.
So your equations are
(x−h1)2+(y−k1)2=r12 and
(x−h2)2+(y−k2)2=r22
The other problem is that those are NOT linear equations and matrices work for linear equations, not non-linear equations.
You could try this:
Multiply out those squares:
x2−2h1x+h12+y2−2k1y+k12=r12
x2−2h2x+h22+y2−2k2y+k22=r22
Subtract the second equation from the first, eliminating the squares:
2(h2−h1)x+(h12−h22)+2(k2−k1)y+(k12−k22)=r12−r22
We have the linear equation
2(h2−h1)x+2(k2−k1)y=r12−r22+h12−h22+k12−k22.
But that is only one equation- we need two linear equation to use matrix methods.
It appears, from you picture that the two circles have the same radii, r1=r2. If that is true then the x coordinate of the two points of intersection are half way between h1 and h2: x=2h1+h2. Then we can solve either (2h1+h2−h1)2+(y−k1)2=4h2−h1)2+(y−k1)2=r12 or (2h1+h2−h2)2+(y−k1)2=4h2−h1)2+(y−k2)2=r22 for the two y values.