Disgusting Algebra, is this solvable by hand?

  • Thread starter Thread starter DrummingAtom
  • Start date Start date
  • Tags Tags
    Algebra hand
DrummingAtom
Messages
657
Reaction score
2
When do I resort to using a CAS to solve an equation? Is this one possible by hand?

I got this from a 2 dimensional GPS problem. Here's the math using the distance formula.

L12 = (x1- x)2 + (y1- y)2

L22 = (x2- x)2 + (y2- y)2

I tried the substitution method but it gets nasty and I would have 4th power equations. I don't know if there is a clean answer because Wolfram gave me a very long answer. I also used Wolfram to calculate the numerical answer. Thanks for any help.
 
Last edited:
Mathematics news on Phys.org
Ooops.. Solving for x and y.
 
The first thing that came to mind was calculate L1-L2 and factorize.
 
Yeah I did try that too but it still needs a back substitute that uses a very long chain of squared terms. I guess I'm just hoping there is a more elegant method because I don't know much about Linear Algebra.
 
DrummingAtom said:
Yeah I did try that too but it still needs a back substitute that uses a very long chain of squared terms.

What? Please post your working so far.
 
L12 = (x1- x)2 + (y1- y)2

L22 = (x2- x)2 + (y2- y)2

Then L12 - L22 and factor:

L12 - L22 = (x12 - 2xx1 + x2) - (y12 - 2yy1 + y2) - (x22 - 2xx2 + x2) + (y22 - 2yy2 + y2)

Some algebra:

x = [L12 - L22 - (x12 + y12 + x22 - y22 - 2yy1 + 2yy2]/(-2x1 + 2x2)

Now I have to back sub to one of the original equations.. That's going to be a mess.
 
Set:

x=Ay+B.

Then it won't be so messy at all.

Determine what A and B is later on, (once you've solved for y and x) from your last line given in your post.
 
DrummingAtom said:
Then L12 - L22 and factor:

Well you expanded, not factorized. I was thinking using to difference of two squares to obtain
L12-L22 = (x1+x2-2x)(x1-x2) + (y1+y2-2y)(y1-y2)
which is just a linear equation. As arildno suggested, redefine the constants.

Now I have to back sub to one of the original equations.. That's going to be a mess.

Why do you need to do that?
 
Last edited:

Similar threads

Replies
4
Views
2K
Replies
22
Views
2K
Replies
3
Views
2K
Replies
10
Views
1K
Replies
11
Views
6K
Replies
0
Views
311
Replies
7
Views
2K
Back
Top