3. Representing constraints (40 points) Constraints represent restrictions, which can be modeled mathematically as boundaries. One...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
3. Representing constraints (40 points) Constraints represent restrictions, which can be modeled mathematically as boundaries. One of the simplest and yet powerful ways to represent constraints is through linear equality and inequality equations. However, the same constraint can be *parameterized* in many ways and the choice of this parameterization has very important implications on system function. In this problem I will ask you to try to understand the simplest case, which is itself complicated - representing a *triangle* as an equation. To define terms, let's characterize an equation for a triangle in terms of a locus of points $x,y$ where a function $f_{triangle}(x,y)$ goes to zero. This is like defining a circle with radius $r$ and center $x_c.y_c$ as $f_{circle}(x,y) = (x-x_c)^2+(y-y_c)^2-r^2$. The idea is that we should take some parametrized description of the triangle (edges, vertices, angles) as input and construct a function that goes to zero only on the triangle. (10 points each) (a) Vertex form: Show that we can describe the interior of the triangle as a weighted combination of the vertices where the weights sum to one and are all positive. Find conditions on the weights that characterize the triangle (the boundary). (b) Line form: Describe the triangle using three linear equations for the boundary lines in normal form (e.g. $a x + by +c*1 = 0$) and show that the triangle equation can be expressed as the product of the three equations. (c) Normal form: Describe the edges of the triangle using the (dual) normal vectors to the sides of the triangle, where the normal vectors start at the triangle's centroid. Show that the equation of the line is given by the zero locus of the minimum of the dot product of the normals with points in the plane described as vectors with origin at the centroid. (d) Exponential form: Using form c, show that an equation of the can be formed by the zero locus of $1-\sum_i \exp(z_i(x))$ where $z_i(x)$ is the value of the dot product of a point with side $i$. 3. Representing constraints (40 points) Constraints represent restrictions, which can be modeled mathematically as boundaries. One of the simplest and yet powerful ways to represent constraints is through linear equality and inequality equations. However, the same constraint can be *parameterized* in many ways and the choice of this parameterization has very important implications on system function. In this problem I will ask you to try to understand the simplest case, which is itself complicated - representing a *triangle* as an equation. To define terms, let's characterize an equation for a triangle in terms of a locus of points $x,y$ where a function $f_{triangle}(x,y)$ goes to zero. This is like defining a circle with radius $r$ and center $x_c.y_c$ as $f_{circle}(x,y) = (x-x_c)^2+(y-y_c)^2-r^2$. The idea is that we should take some parametrized description of the triangle (edges, vertices, angles) as input and construct a function that goes to zero only on the triangle. (10 points each) (a) Vertex form: Show that we can describe the interior of the triangle as a weighted combination of the vertices where the weights sum to one and are all positive. Find conditions on the weights that characterize the triangle (the boundary). (b) Line form: Describe the triangle using three linear equations for the boundary lines in normal form (e.g. $a x + by +c*1 = 0$) and show that the triangle equation can be expressed as the product of the three equations. (c) Normal form: Describe the edges of the triangle using the (dual) normal vectors to the sides of the triangle, where the normal vectors start at the triangle's centroid. Show that the equation of the line is given by the zero locus of the minimum of the dot product of the normals with points in the plane described as vectors with origin at the centroid. (d) Exponential form: Using form c, show that an equation of the can be formed by the zero locus of $1-\sum_i \exp(z_i(x))$ where $z_i(x)$ is the value of the dot product of a point with side $i$.
Expert Answer:
Related Book For
Auditing and Assurance Services An Applied Approach
ISBN: 978-0073404004
1st edition
Authors: Iris Stuart
Posted Date:
Students also viewed these algorithms questions
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
How is a statement of cash flows different from an income statement?
-
A capacitor is connected to an ac generator that has a frequency of 3.4 kHz and produces a voltage of 2.0 V. The current in the capacitor is 35 mA. When the same capacitor is connected to a second ac...
-
Beach Corporation purchases tickets to sporting events and uses them to entertain customers. In 2023, Beach Corporation purchases the following tickets: a. What amount of the above expenses are...
-
Next time you shop at Whole Foods, Sprouts, Thrive Market, or most any other grocery store, take a turn down the beverage aisle. While doing so, look for Aura Bora, a sparkling water. The first thing...
-
Condensed balance sheet and income statement data for Glassgow Corporation are presented here. Additional information:1. The market price of Glassgow's common stock was $7.00, $7.50, and $8.50 for...
-
31 (i) Explain why the refractive index of any material with respect to air is always greater 1. (ii) In the figure below a light ray travels from air into the semi-circular plastic block. Give a...
-
1. Why might a structured organizational assessment framework be a useful tool in identifying the issues in a situation like the one presented in the Whispering Pines case? (LO 1 and LO 5) 2. What...
-
Discuss how public policy protects individual rights (e.g., privacy and self-determination).
-
Kenai Inc. has a patent for some revolutionary new skin care products. The fair value of the patent is $16 million with selling costs of $2 million. The present value of the future cash flows is $14...
-
Why is keeping track of who has borrowed records necessary?
-
(a) Assume a flash memory can have 6 levels {0, 1, 2, 3, 4, 5} and the errors can be of limited value of magnitude +1 (i.e. a digit at level i can change to level (i+1) (mod 6)). With one digit we...
-
Write paper on critical success factors in eGovernment transformation/ implementation? Harvard Referencing is need at least 5.
-
Would you be comfortable having your father make such decisions about your life? What do you think of the idea?
-
It is known that a furniture company that produces cabinets, the company produces two types of cabinets, wardrobes A and wardrobes B. Here are the data for the 2021 fiscal year: To make cabinets,...
-
A stock has had returns of 8 percent, 26 percent, 14 percent, 17 percent, 31 percent, and 1 percent over the last six years. What are the arithmetic and geometric average returns for the stock?
-
As the partner in charge of the yearly audit of BCS, you are reviewing the audit work papers for inventory. Before you sign off on the audit, you need to determine that sufficient audit work was done...
-
How does the auditor gather evidence using substantive testing? Describe three types of substantive tests.
-
What is the audit report on internal control over the financial reporting process? When is this report issued? What are auditors responsibilities in preparing it?
-
What happened to the average sales figures for jewelry over the 10-year period?
-
What are the medians for the range (maximum to minimum) for the years 1989 and 1998? Was there an identifiable trend over the 10 years between these two values?
-
Which of the three quarters exhibited the most consistent increase in value for this security?
Study smarter with the SolutionInn App