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 6086027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:42:19+00:00 2026-05-23T11:42:19+00:00

I’d like to cut a convex polygon into two with a given ratio of

  • 0

I’d like to cut a convex polygon into two with a given ratio of areas using a straight line, such that the larger aspect ratio of the two subpolygons is minimised.

My approach at the moment involves choosing a random starting point, computing the appropriate end point that splits the polygon into the target areas, then calculating the larger of the two aspect ratios. Then repeating this lots of times until I’m close enough to a minimum!

The aspect ratio of a polygon A is defined as:

asp(A) := diam(A)^2 / area(A)

  • 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-05-23T11:42:20+00:00Added an answer on May 23, 2026 at 11:42 am

    The method I’ve been working on is very similar to Belisarius, so I’ll only share a few notes about my thinking (I’m using Mathematica).

    • The number of edge pairs in which the cut may be placed is quadratically in the number of vertices (1/2 n (n-1) ): (lines mark edge pairs, by connecting the starting vertices of each pair)

    enter image description here

    The yellow areas mark the area were one could locate the cut:

    enter image description here

    so before doing many calculations on all combinations it’s good to mow away invalid candidates. Here is shown for some area ratios what pairs are left:

    enter image description here
    – As belisarius says you can find the range of area ratios for each of the above situations, but simply taking the Min and Max is incorrect. The two ranges you get when you reverse the two areas in your area ratio maybe disjunct. I use Mathematica’s Interval arithmetic to handle this for me:

    enter image description here

    Checking whether a given area ratio is also handled with a comfortable Interval function:

    containsRatioQ[area1_, area2_, areaBetween_, ratio_] := 
     IntervalMemberQ[areaRatioInterval[area1, area2, areaBetween], ratio]
    
    • The value of the paramater labda that determines the location of the cut through the first edge as a function of mu (the parameter that determined the position for the second edge)

      \[Lambda] -> (2*aL + givenAreaRatio*(-2*
      aR + (p1y - p3y)*(p2x - p4x) - (p1x - p3x)*(p2y - p4y)) + (1 +
      givenAreaRatio)*(p1x*p3y - p3y*p4x + p1y*(-p3x + p4x) -
      p1x*p4y + p3x*p4y)*\[Mu])/
      ((1 + givenAreaRatio)*((-p2x)*p4y +
      p1x*(-p2y + p4y) + (p1x - p2x)*(p3y - p4y)*\[Mu] +
      p1y*(p2x + p4x*(-1 + \[Mu]) - p3x*\[Mu]) +
      p2y*(p4x + p3x*\[Mu] - p4x*\[Mu])))

    or mu as a function of labda:

    \[Mu] -> (-2*aL + givenAreaRatio*(2*
           aR - (p1y - p3y)*(p2x - p4x) + (p1x - p3x)*(p2y - p4y)) + (1 + 
          givenAreaRatio)*((-p1x)*p2y + p1y*(p2x - p4x) + p2y*p4x + 
          p1x*p4y - p2x*p4y)*\[Lambda])/
       ((1 + givenAreaRatio)*((-p3y)*p4x + p3x*p4y + 
         p1y*(p3x - p4x)*(-1 + \[Lambda]) - 
         p1x*(p3y - p4y)*(-1 + \[Lambda]) + ((-p2y)*p3x + p2x*p3y + 
            p2y*p4x - p2x*p4y)*\[Lambda]))
    

    with p1, p2, p3, p4 the coordinates of the area embracing the cut and aL the area of the ‘green’ polygon and aR the area of the ‘red’ polygon (see figure at the bottom of this post).

    • Not every point on one edge always gives a solution on the other edge and vice versa. I check the equation for lambda to find values of mu which set lambda at 0 or 1, and vice versa.

    • As a last step I minimize the maximum value of the aspect ratio functions of the two areas. In Mathematica language:

      NMinimize[{Max[aspectRatio[area1tot], aspectRatio[area2tot]], \[Mu]range[[1]] <= \[Mu] <= \[Mu]range[[2]]}, \[Mu]]

    with are1tot and area2tot being the total areas for both halves parametrized by mu and lambda and where lambda is replaced by the above equestion for lambda in terms of mu. Now we have only one parameter left

    • Here is the result for the minimization procedure for an area ratio of 1. The green curve is the aspect ratio for the green polygon (+ added area depending on mu) and the red curve is the aspect ratio for the red polygon (+ added area depending on mu).

    enter image description here

    • And here, finally, is your ‘most pleasing’ polygon cut:

    enter image description here

    I have a Mathematica notebook that I will send on request. Just send me an e-mail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I am reading a book about Javascript and jQuery and using one of the

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.