Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.maple > #322 > unrolled thread
| Started by | Thomas Dean <tomdean@speakeasy.net> |
|---|---|
| First post | 2012-01-20 20:43 -0800 |
| Last post | 2012-01-21 10:04 -0800 |
| Articles | 7 — 5 participants |
Back to article view | Back to comp.soft-sys.math.maple
Solve Polynomial Thomas Dean <tomdean@speakeasy.net> - 2012-01-20 20:43 -0800
Re: Solve Polynomial "Nasser M. Abbasi" <nma@12000.org> - 2012-01-20 23:52 -0600
Re: Solve Polynomial "G. A. Edgar" <edgar@math.ohio-state.edu.invalid> - 2012-01-21 07:35 -0700
Re: Solve Polynomial Thomas Dean <tomdean@speakeasy.net> - 2012-01-21 10:01 -0800
Re: Solve Polynomial Thomas Dean <tomdean@speakeasy.net> - 2012-01-21 10:09 -0800
Re: Solve Polynomial Peter Pein <petsie@dordos.net> - 2012-01-21 19:50 +0100
Re: Solve Polynomial acer <maple@rogers.com> - 2012-01-21 10:04 -0800
| From | Thomas Dean <tomdean@speakeasy.net> |
|---|---|
| Date | 2012-01-20 20:43 -0800 |
| Subject | Solve Polynomial |
| Message-ID | <bYidnZptqfcV34fSnZ2dnUVZ_o2dnZ2d@megapath.net> |
Maple 15 does not produce a solution to diff(eq,x)=0; But, one exists. eqn := (2*x^2-5*x+2)/(5*x^2-7*x-6); deq:=diff(eqn,x); solve(deq=0,x); # returns no solution eq2 := op(1, deq) = op(2, deq); solve(eq2,x,AllSolutions); returns two solutions as I expect. numer(eqn) is zero at x=2 and x=1/2 denom(eqn) is zero at x=2 and x=-3/5 eqn is zero at x=1/2 and undefined at x=2 and x=-3/5. I assume 0/0 is undefined. limit(eqn,x=2) is 3/13. How can I use solve to do produce a solution for diff(eq,x)=0? Tom Dean
[toc] | [next] | [standalone]
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Date | 2012-01-20 23:52 -0600 |
| Message-ID | <jfdjr1$smo$1@speranza.aioe.org> |
| In reply to | #322 |
On 1/20/2012 10:43 PM, Thomas Dean wrote: > Maple 15 does not produce a solution to diff(eq,x)=0; But, one exists. > > eqn := (2*x^2-5*x+2)/(5*x^2-7*x-6); > deq:=diff(eqn,x); > solve(deq=0,x); > # returns no solution I think if you plot deq as function of x you'll see why there is no solution. deq is positive for all x. > eq2 := op(1, deq) = op(2, deq); > solve(eq2,x,AllSolutions); > returns two solutions as I expect. > > numer(eqn) is zero at x=2 and x=1/2 > denom(eqn) is zero at x=2 and x=-3/5 > > eqn is zero at x=1/2 and undefined at x=2 and x=-3/5. I assume 0/0 is > undefined. > > limit(eqn,x=2) is 3/13. > > How can I use solve to do produce a solution for diff(eq,x)=0? > > Tom Dean
[toc] | [prev] | [next] | [standalone]
| From | "G. A. Edgar" <edgar@math.ohio-state.edu.invalid> |
|---|---|
| Date | 2012-01-21 07:35 -0700 |
| Message-ID | <210120120735158186%edgar@math.ohio-state.edu.invalid> |
| In reply to | #323 |
In article <jfdjr1$smo$1@speranza.aioe.org>, Nasser M. Abbasi <nma@12000.org> wrote: > On 1/20/2012 10:43 PM, Thomas Dean wrote: > > Maple 15 does not produce a solution to diff(eq,x)=0; But, one exists. > > > > eqn := (2*x^2-5*x+2)/(5*x^2-7*x-6); > > deq:=diff(eqn,x); > > solve(deq=0,x); > > # returns no solution > > I think if you plot deq as function of x you'll see why > there is no solution. deq is positive for all x. and, simplified, deq = 11/(5*x+3)^2, so we can see it is never zero. However, it has a pole at x=-3/5, maybe that is what you want to find? > > > eq2 := op(1, deq) = op(2, deq); > > solve(eq2,x,AllSolutions); > > returns two solutions as I expect. > > > > numer(eqn) is zero at x=2 and x=1/2 > > denom(eqn) is zero at x=2 and x=-3/5 > > > > eqn is zero at x=1/2 and undefined at x=2 and x=-3/5. I assume 0/0 is > > undefined. > > > > limit(eqn,x=2) is 3/13. > > > > How can I use solve to do produce a solution for diff(eq,x)=0? > > > > Tom Dean > -- G. A. Edgar http://www.math.ohio-state.edu/~edgar/
[toc] | [prev] | [next] | [standalone]
| From | Thomas Dean <tomdean@speakeasy.net> |
|---|---|
| Date | 2012-01-21 10:01 -0800 |
| Message-ID | <nZWdne_dyccLYIfSnZ2dnUVZ_rCdnZ2d@megapath.net> |
| In reply to | #322 |
On 01/20/12 20:43, Thomas Dean wrote:
> eq2 := op(1, deq) = op(2, deq);
> solve(eq2,x,AllSolutions);
eqn := (2*x^2-5*x+2)/(5*x^2-7*x-6);
2
2 x - 5 x + 2
eqn := --------------
2
5 x - 7 x - 6
deq:=diff(eqn,x);
2
4 x - 5 (2 x - 5 x + 2) (10 x - 7)
deq := -------------- - ---------------------------
2 2 2
5 x - 7 x - 6 (5 x - 7 x - 6)
solve(deq=0,x);
eq2 := op(1, deq) = op(2, deq);
2
4 x - 5 (2 x - 5 x + 2) (10 x - 7)
eq2 := -------------- = - ---------------------------
2 2 2
5 x - 7 x - 6 (5 x - 7 x - 6)
solve(eq2,x,AllSolutions);
1/2 1/2
37 2649 37 2649
-- - -------, -- + -------
80 80 80 80
evalf(%);
-0.1808554616, 1.105855462
[toc] | [prev] | [next] | [standalone]
| From | Thomas Dean <tomdean@speakeasy.net> |
|---|---|
| Date | 2012-01-21 10:09 -0800 |
| Message-ID | <oYKdnbWZDcPGYofSnZ2dnUVZ_q-dnZ2d@megapath.net> |
| In reply to | #325 |
On 01/21/12 10:01, Thomas Dean wrote: > On 01/20/12 20:43, Thomas Dean wrote: >> eq2 := op(1, deq) = op(2, deq); >> solve(eq2,x,AllSolutions); > > eqn := (2*x^2-5*x+2)/(5*x^2-7*x-6); > 2 > 2 x - 5 x + 2 > eqn := -------------- > 2 > 5 x - 7 x - 6 > > deq:=diff(eqn,x); > 2 > 4 x - 5 (2 x - 5 x + 2) (10 x - 7) > deq := -------------- - --------------------------- > 2 2 2 > 5 x - 7 x - 6 (5 x - 7 x - 6) > > solve(deq=0,x); > eq2 := op(1, deq) = op(2, deq); > 2 > 4 x - 5 (2 x - 5 x + 2) (10 x - 7) > eq2 := -------------- = - --------------------------- > 2 2 2 > 5 x - 7 x - 6 (5 x - 7 x - 6) > > solve(eq2,x,AllSolutions); > 1/2 1/2 > 37 2649 37 2649 > -- - -------, -- + ------- > 80 80 80 80 > > evalf(%); > -0.1808554616, 1.105855462 oops - I should have used -op(2,deq)
[toc] | [prev] | [next] | [standalone]
| From | Peter Pein <petsie@dordos.net> |
|---|---|
| Date | 2012-01-21 19:50 +0100 |
| Message-ID | <jff1d3$qh4$1@online.de> |
| In reply to | #325 |
Am 21.01.2012 19:01, schrieb Thomas Dean: > On 01/20/12 20:43, Thomas Dean wrote: >> eq2 := op(1, deq) = op(2, deq); >> solve(eq2,x,AllSolutions); > > eqn := (2*x^2-5*x+2)/(5*x^2-7*x-6); > 2 > 2 x - 5 x + 2 > eqn := -------------- > 2 > 5 x - 7 x - 6 > > deq:=diff(eqn,x); > 2 > 4 x - 5 (2 x - 5 x + 2) (10 x - 7) > deq := -------------- - --------------------------- > 2 2 2 > 5 x - 7 x - 6 (5 x - 7 x - 6) > > solve(deq=0,x); > eq2 := op(1, deq) = op(2, deq); > 2 > 4 x - 5 (2 x - 5 x + 2) (10 x - 7) > eq2 := -------------- = - --------------------------- > 2 2 2 > 5 x - 7 x - 6 (5 x - 7 x - 6) > > solve(eq2,x,AllSolutions); > 1/2 1/2 > 37 2649 37 2649 > -- - -------, -- + ------- > 80 80 80 80 > > evalf(%); > -0.1808554616, 1.105855462 If you want deq=0, you should look at eq2 := op(1, deq) = -op(2, deq); (please note the sign of op(2,deq); Cheers, Peter
[toc] | [prev] | [next] | [standalone]
| From | acer <maple@rogers.com> |
|---|---|
| Date | 2012-01-21 10:04 -0800 |
| Message-ID | <3788494.443.1327169096654.JavaMail.geo-discussion-forums@vbzs10> |
| In reply to | #322 |
Did you not forget a minus sign, when you wrote, eq2 := op(1, deq) = op(2, deq); for `deq` a sum of two operands? acer
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.maple
csiph-web