Can you solve the volume of a cube with unequal heights?

  • Thread starter ThunderSkunk
  • Start date
  • Tags
    Cube Volume
In summary, the conversation discusses a challenge to calculate the volume of a cube-like shape with four different heights and a perfect square base, given the surface area of all sides except for the top. The shape is made up of four trapezoids, with two equal heights on each side, and a 90-degree angle between the trapezoids and the base. The conversation also includes a solution using thin slices and a formula for calculating the volume with four unequal heights.
  • #1
ThunderSkunk
3
0
Can you solve the volume of "a cube" with unequal heights?

I have a challenge for someone (which I plan on working on this weekend myself when I have free time from my homework).

Can you calculate the volume of a cube-like shape with four different heights and with perfect square base if you are given the surface area of all sides, including the base, except for its top? The sides of this object would be four trapezoids of which two, and only two, heights each side would be equal (where the two trapezoids meet to create a corner). The angle of the trapezoid to its neighbor and the square base is always 90 degrees.

To get a better idea of what I am taking about, check out the picture I uploaded to this post.

I would be very grateful to whomever can solve this for me. Knowing a formula for this would be very useful for a school project I am creating.

In case you were wondering why I want to know this (for motivational purposes), I am trying to map the the volume of space shaded by irregular objects with a light source coming from a given angle (so I can ask an interesting sunlight competition question for my undergraduate senior project in plant ecology). From what I can tell at this point, field measurements could yield an average volume that would be represented by a shape similar to the one I've described (because I believe I've already figured out a way to find the area of all the sides and the base).

I was just hoping a solution already existed for this (so I don't have to reinvent the wheel). Thanks for taking the time to check out my question.
 

Attachments

  • Irregular Trapezoidal Cube.JPG
    Irregular Trapezoidal Cube.JPG
    5.1 KB · Views: 3,246
Last edited by a moderator:
Mathematics news on Phys.org
  • #3


No, this is not technically homework and it probably doesn't belong in this section (this is my first post so I am new here). I am trying to map the the volume of space shaded by irregular objects with a light source coming from a given angle (so I can ask an interesting sunlight competition question for my undergraduate senior project in plant ecology). From what I can tell at this point, field measurements could yield an average volume that would be represented by a shape similar to the one I've described. I was just hoping a solution already existed for this (so I don't have to reinvent the wheel).

Thanks for the tip. I'll check out that other section.
 
  • #4


Your figure appears to have the 4 top points all in the same plane, but I THINK (could be wrong) that this is inconsistent with your statement of the problem which seems to imply that the 4 heights would all be unrelated. Once you pick 3 of the heights, the 4th one is fixed if you want the top to be one plane as you have drawn.

Am I over-interpreting your problem statement?
 
  • #5


Cut the volume into thin slices parallel to one edge of the base.

The volume of one slice = (length) x (average height) x (thickness).

The volume of the whole solid will be (area of base) x (average height). where "average" means (sum of the heights at the four corners)/4.
 
  • #6


AlephZero said:
Cut the volume into thin slices parallel to one edge of the base.

The volume of one slice = (length) x (average height) x (thickness).

The volume of the whole solid will be (area of base) x (average height). where "average" means (sum of the heights at the four corners)/4.

Even if all 4 top points are in the same plane, that's going to be a VERY messy and tedius set of calculations and if the 4 points are NOT in the same plane then it doesn't work at all (although a similar, but more complicated one, would).

Conceptually of course, it DOES get you to the answer, but surely there's an easier way?
 
  • #7


ThunderSkunk,
It is against forum rules to post the same topic in multiple sections. I am not issuing an warning or infraction this time, as I believe you were acting on the advice of people responding in this thread. I have merged the two threads into this one.

In the future, if you find that you have posted something in the wrong section, click the Report button, and a mentor will take care of moving the thread.

In case you haven't taken a look at the Physics Forums rules, you can see them by clicking Rules at the top of the page, or by clicking this link: https://www.physicsforums.com/showthread.php?t=414380.
 
  • #8


ThunderSkunk said:
I have a challenge for someone (which I plan on working on this weekend myself when I have free time from my homework).

Can you calculate the volume of a cube-like shape with four different heights and with perfect square base if you are given the surface area of all sides, including the base, except for its top? The sides of this object would be four trapezoids of which two, and only two, heights each side would be equal (where the two trapezoids meet to create a corner). The angle of the trapezoid to its neighbor and the square base is always 90 degrees.

phinds said:
Even if all 4 top points are in the same plane, that's going to be a VERY messy and tedius set of calculations and if the 4 points are NOT in the same plane then it doesn't work at all (although a similar, but more complicated one, would).

Conceptually of course, it DOES get you to the answer, but surely there's an easier way?
V= [itex]\frac{1}{6}[/itex] (h[itex]_{1}[/itex]+2h[itex]_{2}[/itex]+2h[itex]_{3}[/itex] +h[itex]_{4}[/itex]) a[itex]^{2}[/itex] cubic units, where the h[itex]_{4}[/itex] corresponds to the height of the 4th point which is not in the plane of other 3 points , i hope this will also work if the four points are in the same plane . can anybody check it ?
 
Last edited:
  • #9


vrmuth said:
V= [itex]\frac{1}{6}[/itex] (h[itex]_{1}[/itex]+2h[itex]_{2}[/itex]+2h[itex]_{3}[/itex] +h[itex]_{4}[/itex]) a[itex]^{2}[/itex] cubic units, where the h[itex]_{4}[/itex] corresponds to the height of the 4th point which is not in the plane of other 3 points , i hope this will also work if the four points are in the same plane . can anybody check it ?

I have no idea where that equation comes from (and don't know whether it's right or wrong) BUT I find it unlikely that it could be correct since you have a factor of 2 next to 2 of the legs but not next to the other 2. Intuitively it would seem impossible that this could be a correct method.

Just look at a simple degenerative case where all for upper points are at the same height. Now you increase one of the points that you have with a factor of 2 and do the computation. OR you increase one of the points for which you do NOT have a factor of 2, and by the same amount, then do the computation. Clearly you'll get two different answers for the identical figure.

Yep, my intuition was right. Your formula can't work.
 
  • #10


Guys, if we can assume the top surface is a plane, this problem is trivial.

1] Calculate the volume of the non-cube box formed below the shortest upper corner. (l*w*hshortest)

2] Calculate the volume of a non-cube box formed from the shortest upper corner to the tallest upper corner. (l*w*(htallest - hshortest))

3] Halve 2]

4] Add 1] and 3].

Presto!
 
Last edited:
  • #11


Dammit Dave, you're red-shifting on me again :smile:
 
  • #12


:smile:

Alternately, and even easier:

Make a second identical box, stack it on the first. Now you have a tall box of dimensions l*w*(hshortest+htallest). Divide its volume by 2.

So, (again assuming the top surface is a plane) V = l*w*(hshortest+htallest) / 2
 
  • #13


DaveC426913 said:
:So, (again assuming the top surface is a plane) V = l*w*(hshortest+htallest) / 2

I love it. This is the kind of thing I DO normally think of ... guess I'm a bit slow this morning.
 
  • #14


Wow, DaveC426913! That's brilliant! Thank you all very much! I am very surprised that such an elegant solution was lurking behind this problem. I wonder how long it would have taken me to solve this myself... For me this was certainly not trivial. This will be very helpful. Thank you again. :smile:


Also, I am very surprised by how many people on this site were willing to help me out on this. Thank all of you for taking the time to look this over for me.

As for Mark44, sorry about violating the site's rules. I'll give those rules a read and make sure I am not trending on anybody's toes from now on.
 
  • #15


I think I have solution for the case where the points don't lie along a plane. Critique is welcome...

The approach is to take a series of thin slices from the figure and sum their areas. It is trivial to calculate the area of a slice since the heights of each side (call them p and q) clearly lie upon a line and so we can just take [itex]A = base*(p+q)/2[/itex]. Summing the areas gives the volume of the figure...
[tex]V = \int_0^b bh(x)\,\mathrm{d}x[/tex]
Where b is the length of the base and h(x) is a function giving the average height of each slice, and we sum through the entire figure (from 0 to b).

To derive the height function, let u1 and u2 denote the heights of the near and far corners of the left side of the cube; similarly, use v1 and v2 for the right. We can derive the heights of each side at any given slice by passing a straight line p through points u1,u2 and a line q through v1,v2...
[tex]p = \frac{u1-u2}{b} x + u1 \qquad q = \frac{v1-v2}{b} x + v1[/tex]
We then have...
[tex]h(x) = \frac{\frac{u1-u2}{b} x + \frac{v1-v2}{b} x + (v1 + u1)}{2}[/tex]
Finally giving us...
[tex]V = b\frac{1}{2}\int_0^b {\frac{u1-u2}{b} x + \frac{v1-v2}{b} x + (v1 + u1)}\,\mathrm{d}x[/tex]

The approach seems right, but I may have made a stupid error somewhere along the way. Thoughts?
 
Last edited:
  • #16


I've been away from math long enough that checking EXACTLY what you have would make my head hurt but it certainly sounds like exactly the right approach.
 
  • #17


To derive the height function, let u1 and u2 denote the heights of the near and far corners of the left side of the cube; similarly, use v1 and v2 for the right. We can derive the heights of each side at any given slice by passing a straight line p through points u1,u2 and a line q through v1,v2...

Can we take that approach of a straight line , as if the surface is not a plane then there is a discontinuity from one corner to the opposite corner. There would have either a peak or a valley depending upon if the fourth corner is above or below the plane. I see in my minds eye a planar surface with a wedge added or missing.

I did not rigourously go through your derivation, but is the discontinuity taken into account?
 
  • #18


256bits said:
Can we take that approach of a straight line , as if the surface is not a plane then there is a discontinuity from one corner to the opposite corner. There would have either a peak or a valley depending upon if the fourth corner is above or below the plane. I see in my minds eye a planar surface with a wedge added or missing.

I did not rigourously go through your derivation, but is the discontinuity taken into acoount?
Yeah, it doesn't work if the top surface is not a plane. Each slice would be a five-sided shape, possibly convex, possibly concave.

Then again, if it is a plane, using calculus would be using a bulldozer to excavate ... a ... tea ... cup*.

*subtle reference. just watched it again the other night:biggrin:
 
  • #19


Now that you mention it, it does seem obvious that there would be some sort of discontinuity on the top surface. It seems the integration approach is right out, then.

I'm starting to like this problem; I'm going to start trying out some properties of curved surfaces. Surely we can simply fit a surface to the 4 points?
 
Last edited:
  • #20


Number Nine said:
Now that you mention it, it does seem obvious that there would be some sort of discontinuity on the top surface. It seems the integration approach is right out, then.

I'm starting to like this problem; I'm going to start trying out some properties of curved surfaces. Surely we can simply fit a surface to the 4 points?
It's not curved; it's simply folded along a diagonal. The top surface is still planes, there's just two of them.
 
  • #21


Here's an example. The one on the right is just the one on the left with an additional slice taken out of it and butted up against the first one.

truncated 3D rectangle.jpg


I just realized that at this angle, it doesn't look as though all 4 heights are different, but they are.
 
  • #22


And I just realized that, if the top does not form a plane, we don't have enough information to answer this question. Which means all proposed answers in this thread for the case of a non-plane top are wrong). (They make an assumption we can't make.)

For any given configuration of 4 unequal heights, there are two ways it could be divided, resulting in two different volumes. We don't know which it is.

(It was your image that twigged me. You folded it transversely; I had always mentally been folding it longitudinally.)
 

Attachments

  • cube.gif
    cube.gif
    9 KB · Views: 843
Last edited:
  • #23


DaveC426913 said:
For any given configuration of 4 unequal heights, there are two ways it could be divided, resulting in two different volumes. We don't know which it is.

Clever catch Dave
 
  • #24


phinds said:
look at a simple degenerative case where all for upper points are at the same height. Now you increase one of the points that you have with a factor of 2 and do the computation. OR you increase one of the points for which you do NOT have a factor of 2, and by the same amount, then do the computation. Clearly you'll get two different answers for the identical figure.
Yep, my intuition was right. Your formula can't work.
sorry it's actually [itex]\frac{1}{6}[/itex]a[itex]^{2}[/itex](h1+2h2+h3+2h4) where 'a' is the side of the base which is a square and i meant that the points h2 and h4 makes the edge on the top surface , i got this formula two days ago
 
  • #25


DaveC426913 said:
It's not curved; it's simply folded along a diagonal. The top surface is still planes, there's just two of them.
hi Dave, couldn't top be just any shape, how do we figure out?
 
  • #26


DaveC426913 said:
And I just realized that, if the top does not form a plane, we don't have enough information to answer this question. Which means all proposed answers in this thread for the case of a non-plane top are wrong). (They make an assumption we can't make.)

For any given configuration of 4 unequal heights, there are two ways it could be divided, resulting in two different volumes. We don't know which it is.
Particular cases of my formula:
1) if the four points in the top are in a plane , they satisfy the following
a) shortest and the tallest are always on the opposite corners

b) h1+h3 = h2+h4 ( any proof ?)
(here either one pair will be the shortest and tallest )
so suppose h1 and h3 are the shortest and the tallest then
[itex]\frac{1}{6}[/itex]a[itex]^{2}[/itex](h1+2h2+h3+2h4) = [itex]\frac{1}{6}[/itex]a[itex]^{2}[/itex](h1+h3+2(h2+h4))
replacing (h2+h4) by ( h1+h3) we have
[itex]\frac{1}{2}[/itex]a[itex]^{2}[/itex](h1+h3) which is your formula
2) when all the heights are equal to h , then its [itex]\frac{1}{6}[/itex]a[itex]^{2}[/itex](6h) = ha[itex]^{2}[/itex]
out of those two ways one is preferable , did you know which one it is ? :)
 
Last edited:
  • #27


DaveC426913 said:
Then again, if it is a plane, using calculus would be using a bulldozer to excavate ... a ... tea ... cup*.

*subtle reference. just watched it again the other night:biggrin:
yea i used the BULLDOZER, let's see who uses "just the fingers"
then i will share the proof later :smile:
 
Last edited:
  • #28


logics said:
hi Dave, couldn't top be just any shape, how do we figure out?

You COULD construct a figure that would meet the side-height requirements and so forth and that had a bubble top, but the point is that the OP is CLEARLY talking about a top with a plane or planes.
 
  • #29


phinds said:
You COULD construct a figure that would meet the side-height requirements and so forth and that had a bubble top, but the point is that the OP is CLEARLY talking about a top with a plane or planes.

And we can assume we're looking for the minimum - or at least the simplest - surface. If we want to allow non-minimum surfaces, then the sky's the limit. The top surface could look like a statue of Goofy.
 
  • #30


I was referring to this:
DaveC426913 said:
. Each slice would be a five-sided shape, possibly convex, possibly concave.
DaveC426913 said:
we don't have enough information to answer this question. For any given configuration of 4 unequal heights, there are two ways it could be divided, resulting in two different volumes. We don't know which it is.

That's right, but the two solids are complementary, if you put (as you showed earlier) one on top of the other they fit. If you are considering two planes [not arbitrary convex/concave shape], the slice is plus or minus, but volume is the same.
does problem boil down to: calculate the volume of a triangular wedge.
 
Last edited:
  • #31


logics said:
I was referring to this:



That's right, but the two solids are complementary, if you put (as you showed earlier) one on top of the other they fit. If you are considering two planes [not arbitrary convex/concave shape], the slice is plus or minus, but volume is the same.
does problem boil down to: calculate the volume of a triangular wedge.

find the volume of the wedge and either subtract or add the wedge volume depending upon whether or not the 4th point is above or below the planar surface,
See post 17

Assuming corners of unequal heights and the top formed by the intersection of planes:
Case 1: The top formed by the sides intersected by a 6th plane - solved by Dave by symmetry, by Vmuth analytically, and Number Nine by calculus.

Case 2: top formed by the intersection of 2 planes. The line of intersection runs from one corner to the opposite, and forms a ridge or a valley.

Case 3: top formed by the intersection of 3 planes - The line of intersection in Case 2 is cut somewhere along its length.

Case 4: top formed from the intersection of 4 planes. The line of intersection from Case 2 is cut in at 2 points.

That's it for planes having on their surface at least 2 points from the corners.
 
Last edited:
  • #32


vrmuth said:
sorry it's actually [itex]\frac{1}{6}[/itex]a[itex]^{2}[/itex](h1+2h2+h3+2h4) where 'a' is the side of the base which is a square and i meant that the points h2 and h4 makes the edge on the top surface , i got this formula two days ago

Your formula was correct, except you failed to mention which point h1 ... h4 were at which corner.
 
  • #33


Particular cases of my formula:
1) if the four points in the top are in a plane , they satisfy the following
a) shortest and the tallest are always on the opposite corners

b) h1+h3 = h2+h4 ( any proof ?)

Proof? Since the top surface is a plane, it intersects 2 parrallel side planes forming equal sized triangles, with one (bottom) side of the triangle parrallel to the base. need I go on...
 
  • #34


256bits said:
Proof? Since the top surface is a plane, it intersects 2 parrallel side planes forming equal sized triangles, with one (bottom) side of the triangle parrallel to the base. need I go on...
yes , could you elaborate ?
 
  • #35


256bits said:
Case 3: top formed by the intersection of 3 planes - The line of intersection in Case 2 is cut somewhere along its length.

Case 4: top formed from the intersection of 4 planes. The line of intersection from Case 2 is cut in at 2 points.

That's it for planes having on their surface at least 2 points from the corners.
There are only 4 vertices on the top of this shape , intersection of 3 planes will give rise to 5th point which in turn will give 5th height so that is a different figure , i think that's the next problem to be discussed in this thread, i like to try to find that volume also
 

Similar threads

Replies
5
Views
1K
  • General Math
Replies
6
Views
2K
Replies
4
Views
951
  • General Math
Replies
7
Views
4K
Replies
1
Views
1K
Replies
11
Views
1K
  • General Math
Replies
1
Views
1K
Replies
3
Views
3K
Replies
4
Views
2K
  • General Math
Replies
33
Views
2K
Back
Top