You give df/dwdb = 0 to solve for w and for b. But this gives only one equation and two are needed.
From: sympy@googlegroups.com <sympy@googlegroups.com> On Behalf Of stephen.j.learmo...@gmail.com Sent: Sunday, June 29, 2025 12:11 PM To: sympy@googlegroups.com Subject: Re: [sympy] How can I solve this complex math equation using SymPy? If you can solve for $m = 3$ to start with that would be great. Sent from my iPhone. On 29 Jun 2025, at 11:02, stephen.j.learmo...@gmail.com <mailto:stephen.j.learmo...@gmail.com> wrote: Yes, it is non-linear Closed-form or numerical. Thanks. Sent from my iPhone. On 29 Jun 2025, at 10:47, Peter Stahlecker <peter.stahlec...@gmail.com <mailto:peter.stahlec...@gmail.com> > wrote: At first glance this looks nonlinear in w and in b. Do you think there exists a closed form solution, or are you looking for a numerical solution given the x(i), y(i)? On Sun 29. Jun 2025 at 11:33, Stephen Learmonth <stephen.j.learmo...@gmail.com <mailto:stephen.j.learmo...@gmail.com> > wrote: <Screenshot 2025-06-29 at 10.31.04.png> -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com <mailto:sympy+unsubscr...@googlegroups.com> . To view this discussion visit https://groups.google.com/d/msgid/sympy/7229acb9-c0c1-4ed4-89a4-ee1136ad673bn%40googlegroups.com <https://groups.google.com/d/msgid/sympy/7229acb9-c0c1-4ed4-89a4-ee1136ad673bn%40googlegroups.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com <mailto:sympy+unsubscr...@googlegroups.com> . To view this discussion visit https://groups.google.com/d/msgid/sympy/CABKqA0YHe5GCWx8C6EiYA%3DuA1dCq1ij7dvrV%2Bfi22Pbe8L-W0A%40mail.gmail.com <https://groups.google.com/d/msgid/sympy/CABKqA0YHe5GCWx8C6EiYA%3DuA1dCq1ij7dvrV%2Bfi22Pbe8L-W0A%40mail.gmail.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com <mailto:sympy+unsubscr...@googlegroups.com> . To view this discussion visit https://groups.google.com/d/msgid/sympy/40199A34-88AE-45E4-8CFD-F71AD2E216D7%40gmail.com <https://groups.google.com/d/msgid/sympy/40199A34-88AE-45E4-8CFD-F71AD2E216D7%40gmail.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sympy/0f7a01dbe8e6%2435d671d0%24a1835570%24%40gmail.com.