Turtle Posted November 17, 2006 Report Posted November 17, 2006 I have this equation that has stumped me and I need some help/suggestions for solving it. The equation is: (b/2)*((a-2)*:lol:-a+4)=68,921 With a and b restricted to >=3, I want to solve for a & b and in particular, integer solutions. I appreciate any help. Takk ;) Quote
CraigD Posted November 17, 2006 Report Posted November 17, 2006 The equation is: (b/2)*((a-2)*:confused:-a+4)=68,921The equation is not well formed – it has more “)”s than “(“s. In the words of countless stereotypical space-opera robots, “does not compute! does not compute!” :naughty: Quote
Turtle Posted November 17, 2006 Author Report Posted November 17, 2006 The equation is not well formed – it has more “)”s than “(“s. In the words of countless stereotypical space-opera robots, “does not compute! does not compute!” :( :confused: Weelforming now.... ((b/2)*((a-2)*:lol:-a+4)=68,921 Ken we make it quadratic? I am reticent to cast my bias, as that is likely wut hast me hornswaggled. Takk. :naughty: Quote
CraigD Posted November 17, 2006 Report Posted November 17, 2006 (b/2)*((a -2)*:confused: -a +4 =68921Can be rearranged intob*((a -2)*:naughty: -2a +8 =137842and(a -2)*b^2 -(2a +137834) =0Allowing b to be solved in terms of a via the quadratic equation asb = +-sqrt((a-2)(2a +137834)) / (a -2)which expands tob = +-sqrt(2a^2 +137830a -275668) / (a -2) Next step, I’d substitutec = 2a^2 +137830a -275668rearrange to2a^2 +137830a +(c -275668) = 0And solve for a in terms of c. That’s as far as I’ve gotten before bedtime. Noticing that(b/2)*((a -2)*:lol: -a +4increases monotonically with a and b, I had a computer find all(b/2)*((a -2)*:( -a +4 <= 68921for the first 50,000,000 integer values of a, and found no(b/2)*((a -2)*:umno: -a +4 = 68921,which makes suspect it has no integer solution. I’d like an algebraic proof. I’ll continue work on one later, or until someone beats me to it. Quote
Turtle Posted November 17, 2006 Author Report Posted November 17, 2006 That’s as far as I’ve gotten before bedtime. Noticing that(b/2)*((a -2)*:naughty: -a +4increases monotonically with a and b, I had a computer find all(b/2)*((a -2)*:lol: -a +4 <= 68921for the first 50,000,000 integer values of a, and found no(b/2)*((a -2)*:( -a +4 = 68921,which makes suspect it has no integer solution. I’d like an algebraic proof. I’ll continue work on one later, or until someone beats me to it. Wonderful!! I am making a copy of your work for study. Your suspicion I support on grounds of the computer run. An interesting result so far, particularly as I chose the constant somewhat at random. :umno: I have to brush up my quadratic equation; I've been using it as a doorstop. :confused: [salivating]So your program...MUMPS? [/salivating] We may have more use of it as I mean to get at a general case of the equation, which may provide the path to that proof you mentioned. Well, don't let me keep you up. :rant: Others' comments? Takk Alles Quote
Turtle Posted November 17, 2006 Author Report Posted November 17, 2006 Wonderful!! I am making a copy of your work for study. OK, the first two lines you gave Craig.(b/2)*((a -2)*:naughty: -a +4 =68921Can be rearranged intob*((a -2)*:lol: -2a +8 =137842 This rearrangment comes by way of multiplying both sides by 2, correct? If so, I concur with 137842 on the right side, but oughtn't the multiplication by 2 on the left simply cancel with the denominator 2 of (b/2) and so not change the rest of the expression? I get the rearrangement b*((a-2)*b-a+4)=137842 Following your method then I get (a-2)*b^2-ab+4b=137842. I'll stop there on the assumption I've made another error; we can pick up with it tomorrow. Thanks again. :confused: PS I had to read up on the definition of 'monotonic' as you used it. Do you mean as the variable values rise, then the output value also rises in an orderly fashion? Quote
Jay-qu Posted November 17, 2006 Report Posted November 17, 2006 my solutions for b are +-[math]\frac{\sqrt{551,344a-1,102,688}}{2a-4}[/math] Quote
Turtle Posted November 17, 2006 Author Report Posted November 17, 2006 my solutions for b are +-[math]\frac{\sqrt{551,344a-1,102,688}}{2a-4}[/math] I'll take you at your word, as I can't see your work. ;) But, on your word, of the value of b, what is a? How many solutions are there? Are any integers? I am not just being difficult or joky, as some tell me I have a reputation for.;) The method is as important as the result in this case. By all means please continue and thank you for your help. :) Quote
Jay-qu Posted November 17, 2006 Report Posted November 17, 2006 assuming that is correct, I plugged it back into the original equation to get an expression for a [math]-8a^3-32a^2+200,032a+4,210,752=0[/math] I do not look forward to using the cubic formular on it.. but I wade through the algebra and see what I come up with, post results in a little while :) Quote
Turtle Posted November 17, 2006 Author Report Posted November 17, 2006 Addendum & Further Musings: I just realized by JayQ's response that I may have given the impression I know the solution. I do not know the solution. :confused: Ergo the interrobanged 'Help‽' in the title meant to imply 'I really need it, can-you/will-you give it!?" I forgot the musings part as I drifted into...uh.... Oh, I wanted to say that that substitution Craig did by adding variable c has something of the right sense. I haven't quite grabbed it yet, but there's the details of what is substitued for to work out. Oh, also that I am a turtle for this algebra, which is to say I have to see every step else I don't get it. So thank you Craig for shewing yur werk. I take it you have worked with me before? :lol: :naughty: Nothing further.... Quote
Jay-qu Posted November 17, 2006 Report Posted November 17, 2006 Ok, so as a cubic, 3 solutions are given (the two given from the quadratic of b collapse to 1 as it was -+ and the b term was squared :naughty:) none of these are integers.. I will go back and check my working most was done in my head, except this last step :confused:a = 165.87, -148.51, -21.37 Quote
Turtle Posted November 17, 2006 Author Report Posted November 17, 2006 .. I will go back and check my working most was done in my head, except this last step :hihi:a = 165.87, -148.51, -21.37 Roger Standing by for data stream...;) :cup: Quote
Jay-qu Posted November 17, 2006 Report Posted November 17, 2006 ok found a mistake, so here goes from the start with working shown [math](b/2)*((a -2)*b) -a +4 = 68921[/math]can rearrange to[math]b*((a -2)*b) -2a +8 = 137842[/math]then[math](a-2)b^2 + (-2a-137836) = 0[/math]this is our quadratic with coefficients [math]a_1 = (a-2), b_1 = 0, c = -2a-137836[/math]into the quadratic formula[math]b=\frac{0+-\sqrt{-4(a-2)(-2a-137836)}}{2(a-2)}[/math]and you get[math]b=\frac{+-\sqrt{8a^2+551328a-1102688}}{2(a-2)}[/math]subbing back in[math](a-2)(\frac{8a^2+551328a-1102688}{4(a-2)^2}) + (-2a-137836) = 0[/math]playing around with this..[math]8a^2+551328a-1102688-(2a+137836)(a-2)=0[/math]then[math]6a^2+413488a-827016[/math]so[math]a=\frac{-413488+-\sqrt{413488^2-4(6)(-827016)}}{12}[/math][math]a=\frac{-413488+-\sqrt{170992174528}}{12}[/math]which does not result in integers.. Tormod and CraigD 2 Quote
Turtle Posted November 17, 2006 Author Report Posted November 17, 2006 ok found my mistake, so here goes from the start with working shown [math](b/2)*((a -2)*b) -a +4 = 68921[/math]can rearrange tob*((a -2)*b) -2a +8 = 137842then[math](a-2)b^2 + (-2a-137836) = 0this is our quadratic with coefficients [math]a_1 = (a-2), b_1 = 0, c = -2a-137836[/math]into the quadratic formula[math]b=\frac{0+-\sqrt{-4(a-2)(-2a-137836)}}{2(a-2)}[/math]pause for drink and review.. OK, but I see you copied Craig's values that I have Redded, and I questioned if they were right. I still think the Redded ought to read -a+4 at least? I came up with something different even then (See post #6) Basically don't trust Craig's & my cooefficients. :eek: :naughty: :doh: ???Over.... Quote
moo Posted November 17, 2006 Report Posted November 17, 2006 Originally Posted by Turtle((b/2)*((a-2)*:hihi:-a+4)=68,921Uh... how is "-a+4" supposed to be framed? (otherstuff - (a+4)) or ((otherstuff - a) +4) or did I miss something... ;) moo Quote
Turtle Posted November 17, 2006 Author Report Posted November 17, 2006 Uh... how is "-a+4" supposed to be framed?((b/2)*((a-2)*:hihi:-a+4)=68,921 (otherstuff - (a+4)) or ((otherstuff - a) +4) or did I miss something... ;) mooMmmm...I think both examples you give are equivalent (associative principle?)& so no parentheses required? Quote
moo Posted November 17, 2006 Report Posted November 17, 2006 No... For example, if "otherstuff" = 20, and "a" = 2, (20 - (2+4)) = 14 ((20 - 2) +4) = 22 moo Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.