Ask Math Expert


Home >> Math

N-dim Hypercube

A 3-dimensional unit cube may be represented as the set of points C3 = {(x, y, z)| 0 < x < 1, 0 < y < 1, 0 < z < 1},

The cube has 8 vertices, 12 edges and 6 faces (see Figure 1). We can also define an n-dim cube en (a higher dimensional cube is usually known as a hypercube) as the set of points

Cn = {(x1, x2, ····, xn)| 0 ≤ xi ≤ 1, i = 1, 2, ····, n}

423_The cube.png

Just like the case for C3, a point (x1, x2, ····, xn) is a vertex of Cn if and only if each xi = 0 or 1. Since there are two possible values for each of such xi, an n-dim cube Cn will have 2n vertices. Two vertices define an edge of the n-cube if and only if they differ in exactly one of their coordinates. For instance, there are three edges connected to the vertex (0, 0, 0) in the 3-dim cube. In general, each vertex of the n-cube is connected to exactly n edges.

Problem 1. How many edges does an n-cube have? Give your reason.

A 3-dim cube has six 2-dim faces, each of ("Ato which is determined by setting one of its coordinates zero. For instance, the top face consists of all the points in the cube with z = 1 and the bottom face consists of all the points with z = 0. In the same way, an n-cube has 2n faces of dimension (n - 1). For instance, we have shown a representation of the 4-dim cube in Figure 2, where the two shaded 3-dim cubes are the top and bottom 3-dim faces of the 4-dim cube. Two vertices of an n-cube defines a (main) diagonal if their midpoint is the center (½, ½, ····, ½) of the n-cube. In the two dimension case, the two diagonals of the square are perpendicular to each other. It is not difficult to see that a 3-dim cube has 4 main diagonals, none of which is perpendicular to any other. What about higher dimensional cubes?

201_A 3-dim cube.png

Problem 2. How many (main) diagonals does a 4-dim cube have? Are any two of them perpendicular to each other? If so, which is perpendicular to which? Are there diagonals that are not perpendicular to some of the others? If so, what are the angles between them? You need to justify your answer to get credit.

(Note: As we pointed out in class, the midpoint formula and the angle formula both work in the n-dim space. You may use them.)

Problem 3. For what dimensions n does an n-cube have mutually perpendicular main diagonals? For such an n, how many diagonals are perpendicular to a given diagonal?

Remark. N-dim hypercube are important in computer science since computers use sequences of 0's and l's of a certain length to represent information. But such sequences are just the vertices of a hypercube. The best way to go from vertices to vertices of a hypercube depends considerably on the geometry of the hypercube.

Math, Academics

  • Category:- Math
  • Reference No.:- M91728007

Have any Question?


Related Questions in Math

Questions -q1 prove the following identitiesa sinx y sinx

Questions - Q1. Prove the following identities a. sin(x + y) + sin(x - y) = 2 sin x cos y b. sec(x - y) = cos(x + y)/(cos 2 x - sin 2 y) c. tan 2 x - sin 2 x = (tan x sin x) 2 Q2. Solve the following equations for x ∈ [0 ...

Maths assignment - 1 analysis of a data setusing a

Maths Assignment - 1. Analysis of a data set Using a continuous data set you are requested to collect in the types of data and gathering data section, perform a statistical analysis on your data. You have opportunities t ...

Questions - provide solution to the following questionsq1

Questions - Provide solution to the following questions: Q1. Evaluate the following: ∫xsin3xdx Q2. If , then for what value of α is A an identity matrix? Q3. The line y = mx + 1 is a tangent to the curve y 2 = 4x. Find t ...

Assessment taskpractical investigation- question 1 requires

Assessment Task Practical Investigation - Question 1 requires selecting reference points from the graph. It is expected that each student will choose different reference points to other students. Take note of the criteri ...

1 suppose that n 10088821 is a product of two distinct

1. Suppose that n = 10088821 is a product of two distinct primes, and Φ(n) = 10082272. Determine the prime factors of n. 2. It is easy to show that the converse of Fermat's Theorem does not hold; i.e., the congruence a n ...

Assignment -question 1 let t and or 0 1 be a boolean

Assignment - Question 1. Let (T, ∧, ∨,', 0, 1) be a Boolean Algebra. Define ∗ : T × T → T and o : T × T → T as follows: x ∗ y := (x ∨ y)' x o y := (x ∧ y)' (a) Show, using the laws of Boolean Algebra, how to define x ∗ y ...

Assignment - provide solution to the following questionsq1

Assignment - Provide solution to the following questions: Q1. Evaluate the following: ∫xsin3x dx Q2. If , then for what value of α is A an identity matrix? Q3. The line y = mx + 1 is a tangent to the curve y 2 = 4x. Find ...

Question 1 what is the nth order approximation using taylor

Question: 1. What is the nth order approximation using Taylor series? 2. What is Error Propagation? 3. Please explain what the total numerical error is? Please illustrate how the change of step size will affect the total ...

Mathematics- algebraic geometry problemlet k denotes an

Mathematics- Algebraic Geometry Problem Let K denotes an algebraically closed field and let P 1 be constructed as in Example 5.5(a) in Gathmanns notes, i.e. P 1 is the gluing of X 1 = A 1 and X 2 = A 1 along  the open su ...

Mathematics- algebraic geometry problemlet k denotes an

Mathematics- Algebraic Geometry Problem Let K denotes an algebraically closed field and let P 1 be constructed as in Example 5.5(a) in Gathmanns notes, i.e. P 1 is the gluing of X 1 = A 1 and X 2 = A 1 along  the open su ...

  • 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