Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Algebra Expert

1 Dimensions

1.1 Prove that a set of 3 points a, b, and c in the plane are collinear if and only if the vectors [a1], [b1], and [c1] are linearly dependent, i.e. one of these points can be written as a linear combination of the other two. Note, you should use the equation of the line through the points to define the linear dependence.

1.2 We say that affine dimension of a set of points is the dimension of the space of all affine combinations. A point is 0-dimensional. A line is 1-dimensional. A plane is 2-dimensional. This is a little different from the notion of dimension used for vector spaces. It is true that a 1-dimensional vector space is a line, but that means it can be represented as all linear combinations of a single vector. For a general line, we need at least two points. (This is the difference between vectors and points). Prove that the affine dimension of a set of points p1, ... ,pn ∈ R3 is one less than the dimension of the vector space spanned by [p11] , ... , [pn1].

1.3 Most of the time, question 1.2 means that the affine dimension of {p1, ... , pn} is one less than the linear dimension of the same set of points when viewed as vectors. When is the affine dimension equal to the linear dimension?

2 Convexity

2.1 In class, we gave two different definitions of the convex closure of a set U Rd:

1. CC(U) is the set of all convex combinations of the points of U.

2. CC(U) is the intersection of all convex sets containing U.

Prove these definitions are equivalent.

2.2 In class, we gave two different definitions to describe when a set U Rd is convex:

1. U is convex iff U = CC(U).

2. U is convex iff for every pair of points a, b U, and all t ∈ [0, l] it is true that (1- t) a + tb U. Prove these definitions are equivalent.

3 Using Linear Predicates

3.1 Let ccw(a, b, c) be the counterclockwise test introduced in class. That is,

244_Matrix.png

Use this predicate to write an algorithm that takes 4 points as input and decides whether or not they are in convex position (i.e. every point is on the convex hull). Do not assume general position. For this problem, we will say that the points are not in convex position if one of the points is on the line throughg two of the other points. Give some justification for why it is correct.

3.2 In class we saw how to check if two line segments intersect using ccw. In this question, you will give the "robust" version of that algorithm. Write an algorithm that takes two line segments as input (specified by the end points) and outputs true if the segments intersect and false otherwise. Assume that the segments are closed, so they are considered intersecting if the endpoint of one line segment lies on the other segment. This will require that you check for 0 in ccw test.

Algebra, Academics

  • Category:- Algebra
  • Reference No.:- M91784962
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Algebra

Assignment topic - abstract algebraq1 let r be the ring of

Assignment Topic - Abstract Algebra Q1: Let R be the ring of all 2 X 2 matrices over Z p , p is a prime. Let G be the set of elements x in the ring R such that det(x) ≠ 0. Find the order of G. Q2: If R is a commutative r ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As