I just came across an integration problem. It is very easy to plug numbers into the steps of the solved problem and arrive at the right answer, but I don't understand one of the choices of formulas within the solution chain. Here is the whole problem:
A solid lies between planes perpendicular to the $x$-axis of $x=0$ and $x=14$. The cross-sections perpendicular to the axis on the interval $0\leq x\leq\ 14$ are squares (Squares? What the heck??) with diagonals that run from the parabola $y=-2\sqrt{x}$ to parabola $y=2\sqrt{x}$. Find the volume of the solid.
So, I am really bothered by the way that this problem uses the words "cross-sections," "squares," and "diagonals." I feel as though none of the math that I learned that lead up to this has really prepared me to be able to look at a graph of the said parabola and just come up with this solution chain. There is absolutely nothing "diagonal" looking about the graph of this problem.
The solution chain also gives $\dfrac{D^2}2$ as the formula $A(x)$ to use as the formula for area. But why???? I can easily plug the length of the line segment that runs parallel to the $y$-axis into $A(x)$ and get $\dfrac{(|y_1|+|y_2|)^2}2 = \dfrac{(4\sqrt{x})^2}2 = 8x$. I can also easily integrate $\int^{14}_{0} 8x\,dx = 784$ cubic units. But I would never think to use $\dfrac{D^2}2$ in this problem out without looking at the solution, and I this greatly bothers me!!!
Am I supposed to be thinking of this problem in three dimensions?


I'll answer your questions (stated and clearly implied) one at a time, in a different order than you asked them.
(Squares? What the heck??)
Many solids are built up in similar ways. You determine a cross-section, and you determine just how each cross section is sized and oriented and placed and stacked together. For example, a sphere can be defined as stacked circles, and a square can also be defined as stacked squares, but with different sizing than your problem.
I feel as though none of the math that I learned that lead up to this has really prepared me to be able to look at a graph of the said parabola and just come up with this solution chain.
I do not know what math you have learned. But this problem seems to be testing multiple skills, including 3D visualization and understanding such a question. We all bump into new questions or questions that combine ideas in new ways. We need to learn from such questions.
Am I supposed to be thinking of this problem in three dimensions?
Apparently, yes! My 3D visualization is better than average but it is not great. I was able to visualize your solid mentally: with practice you will probably be able to do so as well.
There is absolutely nothing "diagonal" looking about the graph of this problem.
Actually, there is. I have graphed your solid for you, leaving out the "end cap" at $x=14$. Here is a view of the $xz$ plane, with your eye on the $y$ axis. Note the parabola cross-section.
You may not see the diagonals here, but here is a view of the $yz$ plane. Note the square cross-sections.
I'm sure you see the diagonals now. As the problem stated, the diagonals of the squares are in the $xy$ plane and the endpoints are on $y=\sqrt 2x$ and $y=-\sqrt 2x$. Here are two more views, oblique, to give you the overall idea.
The solution chain also gives $\dfrac{D^2}2$ as the formula $A(x)$ to use as the formula for area. But why????
Here is a square, with side $s$ and thus diagonal $D=\sqrt 2s$.
We have two known equations for this square:
$$\text{Area}=s^2, \qquad D=\sqrt 2s$$
We find a formula for the area given the diagonal by solving for $s$ in the second equation and substituting that into the first equation, getting
$$\text{Area}=\frac{D^2}2$$
In other words, you get the appropriate formula by using what you know, namely two equations, and using them to get what you want, namely that last equation. Again, this problem is asking you to combine multiple skills in new ways.