What I mean is, if one of the sides of the rectangle is on the sloped line, then I claim the opposite side of the rectangle will be the segment joining the midpoints of the other two sides of the triangle.
I think this geometrically illustrates some sort of symmetry principle: for instance if you want to maximize the product of a bunch of positive numbers under the condition that their sum be fixed, then all of the numbers should be equal.
Are you postiive that it is this way it is and that md2000 doesn’t have it right?
The problem you are posing is much harder and not what I would expect to see as a standard homework problem, although I could see it as an extra credit problem for motivated students.
[QUOTE]
I’m certain. The young boy is going into his junior year in high school but his parents have him taking this calc class at a local junior college.
Thanks. We both looked at this approach and we’re proceeding down ths path. Thank you. He has left now and I’ll check in with him by tomorrow to see how he’s doing.
This may be the true solution, and we haven’t yet solved it (I’ll play with it tonight, hopefully solving it – it’s been a long time since I did anything like this), but this approach does not definitively prove that A is maximized. And that’s what we need.
My comment was primarily meant in response to Snarky_Kong’s post about constructing the rectangle. To prove that it maximizes the area, let’s take it as read that a maximal-area rectangle has all of its vertices on the triangle and one of its sides along the hypotenuse of the right triangle. There are now several ways to express its area as a function of one variable, some of which may look messier than others. Hint is to let the variable be the coordinate of one of the vertices of the rectangle, as in naita’s post, or you could choose the length of one of the sides of the rectangle as your variable. This is a geometry problem that involves no calculus, but it still may be potentially tripping up your student; you tell me? But, once this is done, the final step is to apply Fermat’s theorem (stated in post #2). The check is that you should probably be maximizing a simple-looking quadratic function of your variable.
ETA the symmetry business could provide a solution along the lines of: let (x,0) and (0,y) be the two corners of the rectangle lying along the coordinate axes. Letting z = 2y, this area will be maximized exactly when the corresponding rectangle with corners (x,0) and (0,z) inscribed in an isosceles right triangle with two sides of length 4 is maximized. By symmetry x=z, and sinze x+z=4 you get x=2 and y=1.
I don’t know whether this is a more “true” solution, but symmetry is clear even without any calculus in the isosceles case.
Okay, I think I got it. Sorry, I solved (me thinks) this last night but fell asleep before I could finish this post.
{Note: When I write √(3/5), that is = sqrt(3/5).}
Hmm, not sure I follow, especially when you introduce z. I tried to minimize variables.
I followed Buck’s approach, and like naita I did get A’(x) = 0 for x = 1. This was more painful than it needed to be because I am so rusty. Hopefully no mistakes. Please check.
In the hopes of making this easier to read and follow I will start with my answers, then follow that with my work:
A’(x) = -4√(3/5) (x₁) + 4√(3/5)
A’(x) = 0, ⇒ x₁ = 1 and 2x₁ = 2. The two corners on the axes are (1,0) and (0,2).
∴ A(x) = 2√(3/5)
Here’s my work.
Following Buck, the two corners on the axes are (x₁,0) and (0,2x₁).
For the distance between (x₁,0) and y = -2x + 4:
Putting y = -2x + 4 in ax + by + c = 0 form is 2x + y - 4 = 0
From the distance formula,
distance = |ax₀ + by₀ + c| ÷ √(a² + b²), where (x₀,y₀) = (x₁,0),
|2x₁ + 0 - 4| ÷ √(2² + 1²) = |2x₁ - 4| ÷ √5,
distance = (-2x₁ + 4)/√5
For the distance between (x₁,0) and (0,2x₁): √(4x₁² - x₁²) = √3(x₁)
∴ A, the area of the rectangle,
A(x) = [(-2x₁ + 4)/√5] x √3(x₁)
= (-2√3(x₁²) + 4√3(x₁)] ÷ √5
= -2√(3/5) (x₁²) + 4√(3/5) (x₁)
And ∴ A’(x) = -4√(3/5) (x₁) + 4√(3/5)
A’(x) = 0, ⇒ x₁ = 1 and 2x₁ = 2. The two corners on the axes are (1,0) and (0,2).
∴ A(x) = 2√(3/5)
Not required, but therefore the lines defining the four sides of the rectangle are:
y = -2x + 4, the original line,
y = -2x + 2, the parallel opposite side,
y = ½x + 2, the “upper” end, and
y = ½x - ½, the “lower” end DPRK, I’ll have to take a closer look at your approach. It seems quite elegant and I’ll try to follow it.
Less verbosely, by stretching/shrinking you can reduce the problem to that for an isosceles right triangle.
This is related to stuff like the inequality between the geometric mean and arithmetic mean of two numbers, which is interesting. But the calculus is identical to what you have already written; maybe the symmetry makes things less messy.
Hint: The line through those points has the equation x/4 + y/2 = 1. Clearly both (4,0) and (0,2) satisfy that equation and two points determine a line. Assuming one corner lies on that line, you express the area as a function of x, differentiate and set the derivative to 0, which gives the unique solution.
It sounds like you’re answering the ambiguous set-up of the OP, not the clarified correct set-up he explained later.
We’re *not *constructing a rectangle with one vertex at the origin then proceeding counterclockwise, one at some (x,0), one at some (x,y) on the diagonal line, and the last point at (0,y).
Instead we’re constructing a rectangle contained wholly within the triangle formed by the two axes and the diagonal line. Subject to the constraint that one *side *of the rectangle is a segment of that diagonal line.
I didn’t notice the change in the problem. The OP certainly allowed that configuration as well as the original one. Simply find the largest rectangle contained within that triangle. This allows the possibility that the edges of the rectangle do not lie along any of the edges of the triangle (although it is clear that its vertices must lie on the triangle). A problem so broadly stated might not even have a minimum (Cf. The Kakeya needle problem: Kakeya set - Wikipedia). At any rate the question is a variational one, far beyond elementary calculus.
So that leaves two separate questions. Find the largest rectangle with two edges on the axes and vertex on the line and the largest rectangle with an edge along that line and vertices on the axes. Very curiously, both problems have the same answer: 2 square units. I would conjecture that that is the answer to the more general question too.
Incidentally, the second form of the question is considerably more complicated than the first. It is not, in principle, beyond what an elementary calculus student might do, but it is complicated. You have to assume a point (t,0) on the x-axis, then figure out where the line of slope 2 through that point meets the line, then the length of that segment, multiply by the length of the segment between (t,0) and (0,t/2), differentiate with respect to t, etc. To no surprise, t = 2 is the solution.
I (mistakenly?) thought the original original problem was to find the maximum area of a rectangle inscribed in a (particular, although the particulars do not particularly matter) triangle. It is fairly clear that a maximum value exists, although there is more than one rectangle that achieves it.
The glossed-over part was to prove that a maximizing rectangle has one of its sides contained in one of the sides of the triangle. The OP later came back and said not to worry about it, that for the purposes of this exercise one could assume this.
After this step, there is a choice of which side of the triangle to pick, but I will boldly claim it makes no difference in terms of difficulty as either way you end up with maximizing a simple quadratic function of one variable. (ETA and you get the same answer as Chronos mentioned; there is only an issue for obtuse triangles.)
We can see that it is not so surprising that the original teenager was confused by all this, and it was not simply a case of a kid too lazy to do a bog-standard homework problem by himself.
Yes it is! y = mx + b → → m = -½.
But! Oops! (and… oh shit!) In my OP I mistakenly said the points were (0,2) and (4,0). But the problem has the points at (0,4) and (2,0)!!! I goofed and miswrote it. So sorry about the (my!) confusion! That’s why I was saying m = -2.
I love these puzzle threads where the actual puzzle finally emerges somewhere around page 2.
But boy do we have fun chasing the other version(s)’ inadvertent rabbit trails. And the rabbit trails of the rabbit trails*. With a few contributions of pure rabbit droppings along the way for spice.
======
Would proper notation for these be rabbit[sup]2[/sup] trails, rabbit trails[sup]2[/sup], or {rabbit trails}[sup]2[/sup]?
Proof? I think it is true, but it is not obvious, not to me anyway.
I conjectured and have now proved that in the largest rectangle inscribed in either of two ways in any right triangle has exactly half the area of the triangle. The first way is the way I understood it at first with two edges of the rectangle along the legs and a vertex on the hypotenuse. The second way is with one edge along the hypotenuse and one vertex on each leg. In either case, the midpoint of each leg is a vertex. Could some tilted rectangle be larger? It seems unlikely, but I cannot disprove it.
Suppose we somehow define the space of rectangles in the plane: for example, by specifying the center, length, width, and orientation as coordinates. What I care about is that the function which computes the area of a rectangle is a continuous function on this space.
Now consider any triangle; some of the rectangles will be contained in it, which may be a complicated-looking condition on the coordinates but it will define a closed and bounded subset of the space of rectangles. It follows that the area function takes on extreme values.
Well, if an inscribed rectangle has 4 or 3 or 2 of its corners in the interior of the triangle, by slightly enlarging it you can find a rectangle with strictly greater area still contained in the triangle. If a rectangle is jammed in so that only 1 vertex is in the interior, I think that by considering the parallelogram of equal area obtained by sliding the interior vertex parallel to one of the two sides of the rectangle in which it is not contained until it hits the boundary of the triangle, you can see that the resulting parallelogram is contained in a triangle strictly smaller than the original, so the tilted rectangle is again not optimal.