Solving by substitution for multiple variables

In summary, the conversation discusses a problem in which the speaker has four equations with four variables that they need to solve. They are having difficulty figuring out how to do so and are looking for ways to simplify the equations. They also mention using Wolfram Alpha for assistance. The expert advises them to use capital letters for known quantities and expand all brackets and group terms. They suggest going back a few steps and using the forms of the top two equations before applying the quadratic formula. The speaker then shares their equations for h and k and asks for confirmation that they are on the right track. The expert suggests leaving the quadratic in place and eliminating a and b from the equations using relations previously found in terms of h and k. The speaker expresses confusion about reducing
  • #1
JazzyJones
20
0

Homework Statement


I have four equations and have four variables. I need to solve for each of the variables. I am having difficulty figuring out how to do this.
My equations are here. http://imgur.com/EOA8I

Homework Equations



[itex]\frac{(x-h)^2}{a^2}[/itex] + [itex]\frac{(y-k)^2}{b^2}[/itex] = 1

The Attempt at a Solution


here i plugged in b to equation a. http://imgur.com/egFhv
Now from there if I plug that a into either h or k I am still stuck with three variables again. Is there an easier way to do this and how could I use wolfram alpha to help solve this?
 
Physics news on Phys.org
  • #2
Use capitol letters for all the quantities you know so you can get a decent idea of the form of those equations. That means tidy up: expand out all those brackets and group terms.

But I suspect you went forward too far - go back a couple of steps to the quadratics in h and k.
 
  • #3
Just to be sure...
This is what I'm reading:
$$2h = -7.24\pm\sqrt{7.24^2-4\left ( \left (1-\frac{1.0816-2.08k+k^2}{b^2}\right )a^2-13 \right )}$$
$$2k = 3.64\pm\sqrt{3.64^2 - 4\left ( \left (1-\frac{4.4521-4.22h+h^2}{a^2}\right )b^2-3.3124 \right )}$$
$$a^2=\frac{0.3136+1.12h+h^2}{1-\frac{24.5025-9.9k+k^2}{b^2}}$$
$$b^2=\frac{4.84-4.4k+k^2}{1-\frac{14.6689+7.66h+h^2}{a^2}}$$
... are your four equations.
 
  • #4
Use the last two equations to get two equations for a and b in terms of h and k.
These two equations go into the third one ... rearrange to get an equation for k in terms of h alone ... sub that into the top equation.

That's why I figure you are better off with the forms of the top two before you applied the quadratic formula.
 
  • #5
yes, however I changed the coordinates for equation h.
Here are my equations with the new, correct equation for h.

http://imgur.com/hwScn

NOTE: the equations are not multiplied out like I did earlier, but it looks like you read them right.

I also tried working with wolfram alpha with this and got some very strange answers
 
  • #6
when plugging b into the equation for a, I end up with as shown here, http://tinyurl.com/c2onxp7

then I simplified that down to

a = ((4.95-k)(4.83-h)(-0.56-h))/(2.2-k)
 
  • #7
Your equations for h & k look like they came from quadratic equations.

If so, what are the original equations that you were given?
 
  • #8
equation for h was (13.1044+7.24h + h^2)/a^2 + (1.0816-2.08k + k^2)/b^2 = 1

equation for k was (4.4521 - 4.22h + h^2)/a^2 + (3.3124 - 3.64k + k^2)/b^2 = 1

although i changed the coordinates in equation for h with a 0 to make it simpler. And I also didn't multiply out the squares in the "relevant equations" mentioned in the first post. I just left the (x-h)^2 and (y-k)^2 as it is.

this gave me new values that didn't require quadratics, (using (0, 4.74) for the x,y in equation h). I was able to simplfy to these equations without quadratic formulas;

h = sqrt(a^2-a^2(4.74-k)^2/b^2)

k = 1.82 +/- sqrt(b^2-b^2(2.11-h)^2/a^2)

Am I on the right track?
 
  • #9
JazzyJones said:
when plugging b into the equation for a, I end up with as shown here
$$a = \frac{(4.95-k)(4.83-h)(-0.56-h)}{2.2-k}$$... good: that is a in terms of h and k.
Do the same the other way: plug a into the equation for b and rearrange.
h = sqrt(a^2-a^2(4.74-k)^2/b^2)

k = 1.82 +/- sqrt(b^2-b^2(2.11-h)^2/a^2)

$$h^2=a^2 - a^2\frac{( 4.47-k )^2}{b^2}$$
$$k=1.82 \pm \sqrt{ b^2-b^2\frac{(2.11-h)^2}{b^2} }$$

Am I on the right track?
Impossible to tell - you are jumping all over the place.

I still think you should leave the quadratic in place - you do not need to go as far as taking square roots here... leave that for the final steps in the simultaneous equations. All you need at the start is the relationships, you don't need to go all the way to making one of the variables the subject.

From the above you are going to have to use care with the ##\pm## in the equation for k.
The next step is to use the relations you have of ##a^2## and ##b^2## in terms of h and k to eliminate a and b from the above equations.

Note: if you click the "quote" button under my post, it will show you how I got the equations to look so nice and easy to read.
It is not hard to learn and it helps a great deal - go for it.
 
Last edited:
  • #10
Simon Bridge said:
$$a = \frac{(4.95-k)(4.83-h)(-0.56-h)}{2.2-k}$$... good: that is a in terms of h and k.
Do the same the other way: plug a into the equation for b and rearrange.

$$h^2=a^2 - a^2\frac{( 4.47-k )^2}{b^2}$$
$$k=1.82 \pm \sqrt{ b^2-b^2\frac{(2.11-h)^2}{b^2} }$$


Impossible to tell - you are jumping all over the place.

I still think you should leave the quadratic in place - you do not need to go as far as taking square roots here... leave that for the final steps in the simultaneous equations. All you need at the start is the relationships, you don't need to go all the way to making one of the variables the subject.

From the above you are going to have to use care with the ##\pm## in the equation for k.
The next step is to use the relations you have of ##a^2## and ##b^2## in terms of h and k to eliminate a and b from the above equations.

Note: if you click the "quote" button under my post, it will show you how I got the equations to look so nice and easy to read.
It is not hard to learn and it helps a great deal - go for it.

Thanks for the help. I found out my algebra is weaker than I thought. I am confused with how I can reduce all these divisions. For say equation A, I cannot see how to get all the a's on one side. For example, when b is subbed into a,


Thanks for the help. I found out my algebra is weaker than I thought. I am confused with how I can reduce all these divisions. For say equation A, I cannot see how to get all the a's on one side. For example, when b is subbed into a,

I tried writing it in here but the /frac part confused the hell out of me.
http://www.wolframalpha.com/input/?i=sqrt%28%28-.56-h%29^2%2F%281-%284.95-k%29^2%2F%282.2-k%29^2%2F%281-%28-3.83-h%29^2%2Fa^2%29%29

What can I do with those divisions? Is a division of a division able to be brought up to the top?

like for example;
$$1-\frac{(-3.83-h)^2}{a^2)}$$

is on the very bottom, can I bring it up to the numerator with the (4.95-k)^2? How else would I simplify to get the a^2 on the left side.
 
Last edited:
  • #11
Place the sum in the denominator over it's own common denominator... eg.$$x=\frac{y}{1-\frac{a+y}{x^2}}\\
\Leftrightarrow x=\frac{y}{\frac{1}{x^2}(x^2-a-y)}\\
\Leftrightarrow x=\frac{x^2y}{x^2-a-y}$$... you should be able to do the rest from there:$$\Rightarrow x(x^2-a-y)=x^2y\\
\Rightarrow x^3-(a+y)x -yx^2=0\\
\Rightarrow x^2-yx-(a+y)=0\\
\Rightarrow y=\frac{x^2-a}{x+1}$$... ready to substitute into some relation of the form ##x=f(y)##

Note: when you are solving a system involving conic sections - it is often easier to do it in polar coordinates.
 
Last edited:

Related to Solving by substitution for multiple variables

What is substitution in solving for multiple variables?

Substitution is a method used in algebra to solve a system of equations with multiple variables. It involves replacing one variable with an equivalent expression that contains only one variable, and then solving for that variable.

When is substitution the best method to solve for multiple variables?

Substitution is typically used when one of the equations in a system has a variable with a coefficient of 1 or -1, making it easy to isolate that variable. It is also useful when one of the equations has a variable that can easily be expressed in terms of another variable.

What are the steps to solving for multiple variables using substitution?

The steps for solving by substitution are:

  1. Choose one of the equations and solve for one of the variables in terms of the other.
  2. Substitute the expression from step 1 into the other equation.
  3. Solve the resulting equation for the remaining variable.
  4. Substitute the value found in step 3 into either of the original equations to solve for the other variable.

Can substitution be used to solve any system of equations with multiple variables?

No, substitution can only be used when the equations are linear (have no exponents) and the variables are in the same order in each equation.

What should I do if I end up with a contradiction or an identity when using substitution to solve for multiple variables?

If a contradiction (such as 3=5) is obtained, it means that the system of equations has no solution. If an identity (such as 3=3) is obtained, it means that there are infinitely many solutions to the system. In either case, double check your work and make sure all steps were done correctly.

Similar threads

  • Calculus and Beyond Homework Help
Replies
12
Views
1K
Replies
2
Views
818
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
Replies
4
Views
598
  • Calculus and Beyond Homework Help
Replies
6
Views
340
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
418
  • Calculus and Beyond Homework Help
Replies
2
Views
454
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Back
Top