Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8811749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:26:30+00:00 2026-06-14T03:26:30+00:00

Quick question, I hope someone can help me out here. I’m trying to find

  • 0

Quick question, I hope someone can help me out here. I’m trying to find all critical points of the function:

f(x,y) = 0.05 * (1-12x+20x^2) * (1-7y+10y^2) * exp(-(x^2/6+y^2/3))

when I do the usual fx = diff(f(x,y),x) and fy = diff(f(x,y),y) then call [xcr,ycr] = solve(fx,fy) it only gives me one solution…I know there are more then that.

Could this be because there are an infinite number of solutions, and this is one? Is there a way around this?

thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:26:31+00:00Added an answer on June 14, 2026 at 3:26 am

    You didn’t share your exact code so I don’t know what you did to get only one solution, but you can use the symbolic toolbox to solve this puppy:

    % # Define the function f(x, y)
    syms x y
    f = 0.05 * (1 - 12*x + 20*x^2) * (1 - 7*y + 10*y^2) * exp(-(x^2 / 6 + y^2/3));
    
    % # Find the partial derivatives
    f_x = diff(f, x);
    f_y = diff(f, y);
    
    % # Find the critical points
    [xcr, ycr] = solve(f_x, f_y);
    p = double([xcr(:), ycr(:)]);
    
    % # Discard the complex solutions
    p(imag(p(:, 1)) > eps, :) = [];
    p(imag(p(:, 2)) > eps, :) = [];
    p = real(p);
    
    xcr = p(:, 1)
    ycr = p(:, 2)
    

    This actually yields 13 solutions:

    xcr =             ycr =
    
        0.5000            0.2000
        0.5000            0.5000
        0.1000            0.2000
        0.1000            0.5000
        2.6133            1.9238
       -2.3113            1.9238
        0.2980            1.9238
        2.6133           -1.5711
       -2.3113           -1.5711
        0.2980           -1.5711
        2.6133            0.3474
       -2.3113            0.3474
        0.2980            0.3474
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a quick question that I hope someone can help me with. I'm
I have a quick and hopefully simple question that I hope someone can help
Hi there just a quick question I hope someone can help me with I
Here's what I hope is a quick question... I am trying to set a
This is a quick question, I hope you could help me with. How can
I have quick question about jQuery plugins, hope somebody out there has some advice.
I have a quick question i hope you guys can answer, i've got a
I hope you can provide a quick response to my question. Is it possible
Just a quick question, that I cannot fathom out, hope you guys and girls
Its simple question and hope to find quick answer. When I open the application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.