Register to reply 
Challenging System of Equations (4 Variables) 
Share this thread: 
#1
Feb813, 09:38 PM

P: 10

I am having a bit of trouble solving the following system of equations. I know what numbers solve the system, but I can only do so using a computer, such as WolframAlpha. The equations , for those interested, are the four partial derivatives for a Lagrange Multiplier. The four equations are as follows:
2/(a1)^2+9b+9cd=0 2/(b1)^2+9a+9cd=0 2/(c1)^2+9a+9bd=0 1abc=0 It should be noted that a, b, and c are all positive numbers, and, therefore, must all be less than one. The solution is a=b=c=1/3, d=21/2, I just don't know how to get that. I greatly appreciate any help you can give to me for this problem. Thank you for your time. P.S. I hope this is the right section for this type of question, but I am very new here, so please forgive me if I was wrong. 


#2
Feb813, 11:34 PM

Homework
Sci Advisor
HW Helper
Thanks
P: 12,873

Welcome to PF;
There's four equations and four unknowns. You solve it the same as you always do simultaneous equations. i.e. pick an equation, solve for one of the variables in that equation, substitute into the other three ... now you have three equations and three unknowns. Repeat until you are down to one. Can you identify where you keep getting stuck? 


#3
Feb913, 01:02 AM

Sci Advisor
P: 834

Hint: use symmetry. The fourth equation is symmetric, but what about the other three? What does that tell you about your solution set?



#4
Feb913, 11:30 AM

P: 10

Challenging System of Equations (4 Variables)
How do I edit the first post? The edit button doesn't show up. In the meantime, here is what I did, and how I got stuck: Subtracting the first and second equations, I got 2/(a1)^2+9b=2/(b1)^2+9a, which means b =(9a^2+/√(18a^3+54a^254a+19)18a+8)/(9(a^22a+1)). I could substitute this equation in for b in any of the equations I have, but it is much to complicated for me to simplify without a computer more advanced than myself, unless, of course, I am simply not seeing a simple way of reducing this equation to something more manageable. 


#5
Feb913, 09:22 PM

Homework
Sci Advisor
HW Helper
Thanks
P: 12,873

I can think of several different approaches, so I need to know how you are thinking about the problem in order to know which to suggest and how to do the suggesting. What I suggested could be thought of as the "brute force" approach  attacking the system blindly. With experience you earn to use clues, like symmetry, to help you to a shorter cut that may even produce a nonobnoxious form of equation when you get down to one variable. Even so  if you have one equation and one unknown, from a system like above, you should be able to find the solution. Note. that last equation is a+b+c=1 ... what class of geometric objects is that? 


#6
Feb913, 11:11 PM

P: 10

a+b+c=1 is a plane... How does that help? 


#7
Feb1013, 12:32 AM

Homework
Sci Advisor
HW Helper
Thanks
P: 12,873

What about the others? The way to approach math is by recognizing general classes of function/geometric object and understanding what their intersections can give rise to. This provides clues to possible shortcuts but you have to be prepared to explore. You ended up with a quintic function  have you put it in standard form and checked to see if it has an analytic solution? 


#8
Feb1013, 12:42 PM

P: 10

I don't know what you mean about the others, though. b=(9a^2+/√(18a^3+54a^254a+19)18a+8)/(9(a^22a+1)) (a+(9a^2+/√(18a^3+54a^254a+19)18a+8)/(9(a^22a+1)))=c 2/((9a^2+/√(18a^3+54a^254a+19)18a+8)/(9(a^22a+1))1)^2+9a9(a+(9a^2+/√(18a^3+54a^254a+19)18a+8)/(9(a^22a+1)))=d This was just too massive for me to deal with. Is there an easier way of doing things? 


#9
Feb1013, 07:30 PM

P: 40

Have you tried the following substitution?
[itex]x=a1[/itex] [itex]y=b1[/itex] [itex]z=c1[/itex] [itex]d=d [/itex] And then substitute [itex]a,b,c,d[/itex] in terms of [itex]x,y,z,d[/itex], with [itex]x+1=a [/itex], [itex]y+1=b [/itex], [itex]z+1=c [/itex] and [itex]d=d [/itex]. By doing so, your system of equations would become much easier to solve, wouldn't it? 


#10
Feb1013, 08:28 PM

Homework
Sci Advisor
HW Helper
Thanks
P: 12,873

... your main trouble, now I've seen you write it out, is that you have awkward squareroots and so on in there. You need to be able to factor things out better if you are to put the equation in standard form. Effectively, you are looking for the intersection of 4D surfaces with a 2D plane that is tilted in 3D (a,b,c) coordinate system provided. It amounts to choosing a more convenient coordinate system to do the math in. In a simpler problem  the intersection of a 3D surface and a plane will be either a curve or a point. It is easier to find the intersection if you do it if the plane has normal (0,0,1) isn't it? In general, you use the underlying symmetry of the problem to help with your choice of coordinate system. There's the shiftedrectangular one suggested; you could also rotate it (say, so that the x and y axis are in the plane a+b+c=1 and the zaxis points along (1,1,1)) if you liked but I'd try the shifted one first. 


#11
Feb1013, 08:50 PM

P: 10

2/x^2+9y=2/y^2+9x 2x^2+9x^3y^2=2y^2+9x^2y^3 9x^2y^3+y^2(9x^32)+2x^2=0 (xy)((3xy)^2+2(x+y))=0 x=y or (9x^2y^2+2x+2y)=0 Quadratic Formula (reject negative solution): y=x or y=(1+√(118x^3))/(9x^2) if y=(1+√(118x^3))/(9x^2) and y is positive and x is positive, then 9x^2 is positive and... 118x^3>1 0<18x^3 0<x^3 x is negative, which is a contradiction, so x=y=z, and a=b=c a+b+c=1 3a=1 a=b=c=1/3 Thank you so much! Firstly, how would you factor things without the awkward radicals? Were you referring to the suggestion made by h6ss, or is there a different way? I am clueless as to what geometric object the other three equations represent. I'm not very fluent in naming 3D objects by their equation, much less 4D, and I'm not totally sure what to do with that information... I have always been curious as to how I could tilt an equation and move the axis as you suggested (I remember one problem in particular that would've been much easier if I could do that, and I had to use an exceptionally long way of solving it). Also, all I know about a normal vector is how to determine one and that they relate to slope (my 10th grade class is learning logarithms currently). Should I learn more about them to help me with this problem. If you're worried about giving away answers, this is just for practice and learning new concepts; I took the problem from a test whose due date is passed. 


#12
Feb1013, 10:18 PM

Homework
Sci Advisor
HW Helper
Thanks
P: 12,873

It may have been that the problem was part of a course in 4D surfaces so I could not be sure which approach to tell you about. The problem you had described a set of surfaces in 4D using (a,b,c,d) as axis. The surfaces intersected at only one point where everything was positive. The first three were basically the same surface rotated 90deg in different directions. In 2D they would be something like ##Ax^2y=B## and the 3D they'd be ##Ax^2(y+z)=B##. One of the things you didn't say earlier was what level to approach the solution from. By 10th grade there should have been some work on the basic transformation, at least in 2D. You have translation, rotation, and reflection, within a coordinate system, and you can transform to a whole new system like polar, cylindrical, and spherical... and even some strange ones like those that crop up in relativity. But I don't think you have been encouraged to think of moving an actual set of axis  iirc that level has students thinking of the coordinates as fixed. If I had a function f(a,b,c,d) and moved the whole thing 1 unit in the +a direction, then the new function is f(a1,b,c,d). It is the same as moving the entire coordinate axis one unit in the a direction. The coordinate transform is the math way of looking at a problem from another POV. Hopefully the discussion and the somewhat frustrating trail of having to nut through my earlier questions and hints gives you a deeper appreciation of math ;) 


#13
Feb1113, 01:52 PM

P: 10

I can easily translate a graph (or the axis, of course), but I don't know how to rotate anything other than a simple line in two dimensions (using trigonometry). How could I rotate the first three graphs in order to map them onto the a+b+c=1 plane, like you briefly mentioned? The other math problem I did where I wished I could rotate it was ##2(x^2+y^2)+x+y=5xy##, which I wished I could rotate 45 degrees in order to make it a hyperbola on which I'm more familiar with doing math, such as finding the "a" and "b" values. I don't really understand what you mean in the following section: I greatly appreciate all of the help you've given me on this problem; you are a truly great person. Thank you! I apologize for taking so long to respond, but I was busy at school all day, up until now. P.S. Is there a time limit for editing posts? I can only edit this one now, and I just learned how to make the math look pleasant. If there is anyone with higher status that can edit existing posts, then I would appreciate it if you could add the "##" before and after each of my math statements. Sorry for my ignorance, and thanks to anyone who can do it. 


#14
Feb1113, 04:32 PM

P: 40

For example, one can use contour lines (or contour map) to illustrate in a twodimensional graph the steepness of slopes of a threedimensional mountain. Similarly, a hypothetical fourdimensional object would have threedimensional projections. Geometric objects in the space [itex]ℝ^{4}[/itex] can be projected first into the space [itex]ℝ^{3}[/itex] and then into the plane [itex]ℝ^{2}[/itex]. As a matter of fact, some very interesting shapes in [itex]ℝ^{3}[/itex] and [itex]ℝ^{2}[/itex] can be obtained by projecting curves of [itex]ℝ^{4}[/itex]. 


#15
Feb1113, 07:37 PM

Homework
Sci Advisor
HW Helper
Thanks
P: 12,873

It can help you understand symmetries in higher dimensions to consider similarly formulated structured in fewer dimensions. i.e. something like ##w^2+x^2+y^2+z^2=R^2## in 4D has a lot in common with a sphere and a circle (3D and 2d)? ##xy^2=1## would be a parabola in 2D ... how about ##z+xy^2=1## ? On to your question about rotations: ##yx^2=1## is the above parabola rotated 90##^\circ## (=+##\frac{\pi}{2}## radians  get used to radians) If I rotate the axis ##\frac{\pi}{2}##rad I'll get the first equation again. So a clockwise rotation of the object is the same as an anticlockwise rotation of the axis. Each point on your object can be considered a displacement from the origin  displacement is a vector, vectors are easily rotated by a matrix operation. i.e. rotating your object 45deg is a ##\frac{\pi}{4}##rad rotation ... that is the angle you get in a "11√2" triangle so ##\sin\frac{\pi}{4}=\cos\frac{\pi}{4}=\frac{1}{ \sqrt{2}}## the (a,b) coordinate corresponding to a particular (x,y) coordinate would be given by: $$\left [ \begin{array}{c} a\\b\end{array}\right ] = \frac{1}{\sqrt{2}}\left [ \begin{array}{cc} 1 & 1\\ 1 & 1\end{array}\right ] \left [ \begin{array}{c} x\\y \end{array}\right ] =\frac{1}{\sqrt{2}}\left [ \begin{array}{c} x+y\\xy \end{array}\right ]$$ ... which is to say: $$a=\frac{x+y}{\sqrt{2}}\; ; \; b=\frac{xy}{\sqrt{2}}$$ ... solve for x and y in terms of a and b, substitute, and you do get a nicer hyperbola. You'll want to do a translation as well. In general (2D and 3D): http://en.wikipedia.org/wiki/Rotation_matrix Rotations in 4D are a bit trickier... http://en.wikipedia.org/wiki/Rotatio...uclidean_space 


#16
Feb1213, 08:39 AM

P: 24

A somewhat similar problem with symmetry is
maximize x_1 * x_2 * ... * x_n subject to sum(x_i) = a, x_i >= 0 with the solution (obtained from the symmetric nonlinear equations that you get from setting the partial derivatives = 0) x_i = a/n. 


#17
Feb1213, 09:15 AM

Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,549

You can do the same with other pairs of equations. 


#18
Feb1213, 09:33 PM

Homework
Sci Advisor
HW Helper
Thanks
P: 12,873

@HallsofIvy:
2/(a1)^2+9b+9cd=0 ... (1) 2/(b1)^2+9a+9cd=0 ... (2) ... doing (2)(1) I get: $$\begin{array}{rcccccccccl} \big (& 2/(b1)^2 & +& 9a&+&9c&&d&=&0& \big )\\  \big (& 2/(a1)^2 & + & 9b&+&9c&&d&=&0 &\big ) \\ \hline = \bigg (& \frac{2}{(a1)^2}  \frac{2}{(b1)^2}& +&9(ab)& & & & & =&0& \bigg ) \end{array}$$ How did you get rid of the 9(ab) term? Doesn't have a big effect on your argument  you still get f(a)=f(b) => a=b ? Do the same with the other two and you get: a=b=c but d is different. No need for shifting the axis about :) But sometimes people have to go through the more painful ways first ;) 


Register to reply 
Related Discussions  
System of three equations and four variables  Precalculus Mathematics Homework  25  
Reproduce a solution set to a linear system with 2 equations and 8 variables  Precalculus Mathematics Homework  6  
Define coefficients for system of equations with 3 variables  Calculus & Beyond Homework  13  
Challenging Problem  System of Masses  Try It!  Introductory Physics Homework  2  
Linear Algebra  System of 2 Equations with 3 Variablespossible?  Calculus & Beyond Homework  4 