Talk:2509: Useful Geometry Formulas

Explain xkcd: It's 'cause you're dumb.
Revision as of 02:25, 2 September 2021 by Arl guy (talk | contribs) (How to explain the angle theta)
Jump to: navigation, search


Area formulas are for 2D object as seen instead of surface of a projected 3D object. Sebastian --162.158.89.200 02:36, 31 August 2021 (UTC)

The "decorative stripes and dotted lines" are the parts of the diagrams that are intended to indicate the third dimension. The conceit of the comic is that these are superfluous. Barmar (talk) 02:56, 31 August 2021 (UTC)

Ca someone explain how the last one works? GcGYSF(asterisk)P(vertical line)e (talk) 04:28, 31 August 2021 (UTC)

bh is the area of the front face. The top face is a parallelogram with sides d and b, with an angle of θ between them, so its area is d b sin(θ). The right face is a parallelogram with sides d and h, with an angle of 90º - θ between them, so its area is h d sin(90º - θ) = h d cos(θ). So the area of the whole picture is bh + d b sin(θ) + d h cos(θ).
--172.68.24.165 04:46, 31 August 2021 (UTC)
In case you don't know the area of a parallelogram by heart, you can read d b sin(θ) as b * d sin(θ), where d sin(θ) is the height of the parallelogram; if you cut the right corner of the parallelogram off and add it on the left, you get a rectangle where the bottom side is b and the height is that d sin(θ), so it works out. The other parallelogram's area is h * d cos(θ), with the same reasoning. 162.158.90.241 05:00, 31 August 2021 (UTC)

Funnily enough, both this comic and 2506 are about projection. CRLF (talk) 05:11, 31 August 2021 (UTC)

I had considered working that into the explanation, but that needs to account for the fact that the indicated measurements (e.g. the angle θ) have to be read in 2D, not in 3D and projected. But it would be correct to say that the 2D shapes are projections of simple 3D objects. 162.158.90.149 05:23, 31 August 2021 (UTC)
Between this, 2506, and all the ones about Mercator and other map projections ... "projection" is a very large word in Randall's brain's word cloud. 172.69.63.8 15:29, 31 August 2021 (UTC)
Feels to me like every comic since 2500 could be tagged "projection" in one sense of the word or another. --172.69.69.225 21:55, 31 August 2021 (UTC)
Does the bottom-left formula have a mistake?</s>

It seems like the bottom-left formula should be A=d(πr+h) rather than A=d(πr/2+h), because there are two half-ellipses that add up to a complete ellipse. Am I missing something? (This doesn't seem like an extra joke, does it?) 162.158.106.179 05:28, 31 August 2021 (UTC)

No, it's correct. d is all of the major axis, not just half, so we have to divide that by 2. 162.158.92.83 05:51, 31 August 2021 (UTC)
Oh, right; good call! 162.158.106.179 06:49, 31 August 2021 (UTC)
Does the top-right formula have a mistake?

I think it should be in brackets, the top triangle area needs the 1/2 also, so it should be: A=1/2(πab + bh)

No, it's correct. The bottom is a half ellipse, with area 1/2 π a b, and the top is a triangle with base 2 b and height h, so its area is 1/2 2b h = bh. The total area is 1/2 π a b + b h.

--172.68.25.144 06:49, 31 August 2021 (UTC)

3D formulae for reference

4πr^2

πb(a+√(b^2+h^2)) if a=b

πr(2r+h)

2(bd+bh+dh)

162.158.107.80 09:54, 31 August 2021 (UTC)

It would be clarifying to add these to the comic, but of course they are flagrantly wrong. Baffo32 (talk) 09:57, 31 August 2021 (UTC)
Surely ripe for a table, in place of much of the longhand paragraph spiel (which could be kept, but simpler for just the narrative but otherwise non-technical details)... "Shape (2D)", "Area", "Pretended Shape (3D)", "Surface Area", "Volume", ¿"Notes"? (Not sure about specific Notes, some things could/should be said below the formulae/descriptions in the relevent cell to which that matters, in special cases where necessary, which might be better than a Notes either empty or jammed up with all the combined row-specific corollaries, etc, that I can imagine.) Anyway, an idea. 141.101.76.11 11:56, 31 August 2021 (UTC)
I think the formulas are correct. Those given should be from the text book, not for those with ellipse bases. Someone has put a lot of work into giving these complicated formulas for the cone and cylinder. But I think that is overkill. I have added to the explanation the simple versions before, and would suggest deleting the complicated, which was never the intention of either text book or Randall! ;-)--Kynde (talk) 12:36, 31 August 2021 (UTC)
Surface area. Not volume. My bad. I usually consider volume associated with pics like like that. Don't use surface area much. Baffo32 (talk) 22:22, 1 September 2021 (UTC)

add an extra edited image that is the comic without dotted lines to make it easier to see the 2d shapes? 172.69.71.177 12:46, 31 August 2021 (UTC)Bampf

And an animated GIF of the 3D solid objects rotating to show their real shapes. At different speeds. If you have the time.  :-) Robert Carnegie [email protected] 141.101.76.11 16:31, 31 August 2021 (UTC)
Image here: https://i.imgur.com/dq7VmnK.png Editing done myself, feel free to upload it to this wiki if you have an account on this wiki. :) --162.158.88.29 17:22, 1 September 2021 (UTC)

Please do check my (additional) changes to the bottom-right item (hexagon-cum-prism) in both main and transcript texts. As hinted in my edit notes, cos-theta is important because the skewed tetrahedron (rhomboid, whether in plan or the true area of the 'fake' perspective) is not d*b in area. The fact that without the theta it would look like a standard oblique orthographic projection with entirely right-angled corners is perhaps part of the (intended?) confusion, although we can probably assume that all unmarked (and, of course, uncongruent/uncomplimentary) angles are 90° so that it isn't a full on parallelepiped with an additional phi-angle on an adjacent face and a complicated third dependent-angle somewhere upon the remaining face-plane. As such, I put in the cosine element to both the 3d surface formula (it only affects the bd-shape, the both of them) and the 3d volume (from this shape, extrudes without further adjustment straight up the h-axis), but I always have to second guess if I've done this simple bit of trig right, it seems, even though I should know better and just trust to SOHCAHTOA... ;) 162.158.158.146 13:24, 31 August 2021 (UTC)

(Case in point: I thought I'd added cosines, and I'd put sines anyway, when fussing about copying the clipboarded theta-character into the right place! Re-read, seen, corrected(?) this myself. Unless I thought I was was wrong; but I was wrong, I was right!) 162.158.155.145 13:33, 31 August 2021 (UTC)

I believe both of those prism formulas should use sine theta. If theta is ninety degrees, then sine theta will be 1 (thus reducing to the rectangular case), whereas cosine of 90 degrees is zero.Tovodeverett (talk) 15:19, 31 August 2021 (UTC)

You're right (me again, from just above), I was rushed and had been right first time, I realised while I was off-grid and it was nagging away at the back of my head. I'm better on paper (or when I can sanity-test real code, but for some reason tapping it in like this just screws my mind up, taking away/inverting my technical ability and reason. (I blame the microwaves emitting from my tablet... pass the tinfoil hat!) 162.158.158.178 16:29, 31 August 2021 (UTC)

Unconvinced by the cone! The equation shown, is correct for an isosceles triangle with a half-ellipse on its base. But that shape has 'corners' where the sides meet that half-ellipse. In a 3D projected view of an actual cone, the sides will meet the base ellipse at a tangent, meaning that it is more than a half-ellipse. But I suppose it's close enough as an approximation...172.69.55.131 15:57, 1 September 2021 (UTC)

I verified your claim by imagining the surface of the cone as formed by a set of lines extending from the different points on the ellipse to a single fixed point at the tip. No matter where you put that tip point, the outermost lines seem tangent to the ellipse. Seems it works for both perspective and orthographic projections. Updated the explanation. Randall's formula is incorrect, especially for very short cone projections. Baffo32 (talk) 22:46, 1 September 2021 (UTC)
It's 3am (okay 5am) and I made it really long!

I just followed the directions in the "incomplete" which said to add in explanations of the formulae ... Please feel free to edit to take out redundancy. However I did add in the following explanations: - the fact that the formula in the third figure is actually the same as the cross-section represented by the ellipse, which is why you may not get the joke after reading the first picture; - the use of 'd', 'r' and 'h' in the third figure, which adds to the confusion as they imply "diameter", "radius" and "height" - the fact that the area calculations must take into account the overlapping shapes (there were previously references to "semi-ellipses" which are extrapolations, not what's drawn there) Haven't yet done the last figure - pretty sure 'b' 'd' and 'h' are for 'breadth', 'depth' and 'height' and while 'height' is also used for 2D rectangles, 'breadth' less so in maths textbooks (usually 'width') - whoever pointed out that there is a theta as well, pretty sure it's only there because it's necessary for the area calculation, as 'depth' only really applies as labelled to rectangular prisms - if the base were not rectangular, 'd' would not be equal to the 'depth' Will try to come back later and shorten... 162.158.166.40 18:56, 1 September 2021 (UTC)

Someone thought that "formulae" was a typo for "formulas" (which it might easily be, on a QWERTY or similar layout). Not going to revert, but note that (for a mathematical formula, if perhaps not a chemical one/etc, but there's plenty of mixed use) this is actually quite correct. If it were up to me alone (I didn't write that one, orother mentions like in the above Talk contribution), for the record, I'd probably have used "formulæ" myself. ;) 162.158.155.145 20:28, 1 September 2021 (UTC)

If you don't assume that the bottom right figure is 3D, what's the justification for projecting upward and assuming that the angle theta is also the angle of the top parallelogram? Arl guy (talk) 02:25, 2 September 2021 (UTC)