15

I'm working on an engineering project, using CAD software.

I can write simple parametric functions to draw an ellipse, with $\theta$ ranging from $0$ to $2\pi$ radians:$$x=3.75\cos\theta$$$$y=1.25\sin\theta$$

But now I'm at a point where I need to bend the ellipse over a parabolic curve.
Here's a diagram demonstrating the curved space I'd like to bend/stretch my ellipse into.

Bent space diagram.

The white bottom-most curve is the parabolic curve, defined by the function:

$$y=-\frac{x(x+30)}{45}$$

The other two green curves are defined as parallel (equidistant) to the parabola at all points, matching the flat rectangles above.

As you can see from the diagram, the vertical minor axis for the ellipse becomes slanted, making the top of the ellipse "longer" than the bottom of the ellipse - which follows the stretching of the enclosing space.
But the ellipse should still touch the top and bottom of the slanted minor axis, as well as touching the left-hand end of the center green curve, which is the transformed major axis for the ellipse.

So the question is, how do I transpose my simple ellipse functions to stretch the ellipse into this curved space?

In your answers, feel free to place the origin wherever is most convenient for your solution. I'll have to translate the solutions anyway, to move them into their proper place in my engineering diagrams. :)

Edit: I've been asked whether polar coordinates would be acceptable, rather than Cartesian. My CAD software does support polar coordinates, so for anyone considering answering this question, feel free to build your answers with polar coordinates if that would make things easier for you.

Giffyguy
  • 679
  • 1
    Do you want your new curve to touch the white curve at just one point, i.e. the midpoint or point of inflexion, and similarly with the upper green curve? – David Quinn Apr 21 '16 at 20:02
  • @DavidQuinn Good to see you again. :) Yes, the elipse should touch the upper and lower curves at exactly one point each. Similarly for the center curve, though it touches the ellipse at two points. – Giffyguy Apr 21 '16 at 20:06
  • From the equations of the ellipse, it seems that the thick green dot should be the origin. In the lower band, though, the shape of the $\cos$ line suggests that $0$ (on the horizontal axis) is at the left-most point of the white-line (at its beginning). Do you also want, then, to translate your figure? It is a little confusing the fact that absolute coordinates are not given - do you care about them or not? – Alex M. Apr 21 '16 at 20:47
  • @AlexM. My CAD software renders the center of the ellipse on screen, as that large green dot. Sorry for the confusion. Absolute coordinates are not provided, because this is going into an engineering diagram which shares the origin between numerous different functions and plots, so I'll have to translate the final solution to move it around anyway. In other words, if you'd like to post a solution, feel free to place the origin wherever is most convenient for your solution, and I'll deal with translating it into my diagram on my end. – Giffyguy Apr 21 '16 at 20:50
  • 2
    What problem is this meant to solve? The conditions presented here are going to result in rather hideous equations that will require pages of tedious arithmetic to work out (assuming it's at all solvable or expressible in normal functions). It would be nice to have some motivation for this problem. Maybe instead of a parabola, a section of a circle could be used (which would be much, much easier to deal with). – Mark H Apr 23 '16 at 11:14
  • @MarkH Haha, I can't argue with the desire for motivation. :) Sounds like this problem is going to be nuts. Well here's the reason I'm interested in it. As you noticed in my other question, this is about aerodynamics. The shape we are building is flat on top, with the parabola on bottom. The problem is, it needs an aerodynamic tip at the top-left end, which I've simply shaped as a 3:1 ellipse for now. Previous designs of mine, have the tip (ellipse) scooted to the left, to avoid interference with the parabola. Purpose of solving this problem: shorten the tip, reduce resistance, reduce weight. – Giffyguy Apr 23 '16 at 14:21
  • @MarkH It's fine to shorten the tip and reduce weight and all, but the parabola will also be increasing pressure on the air as it passes under this shape, and this pressurization needs to remain consistent (for better reliability, decreased vibrations, etc.) Therefore, by merging the ellipse into the curved space of the parabola, (and then using a normal, straight ellipse for the top-side of the shape) we can do both jobs at the same time - split the air top and bottom, AND begin the pressurization process smoothly. So the goal here is to maximize total efficiency, consistency, and reliability – Giffyguy Apr 23 '16 at 14:29
  • In the previous question, no answer generalized these particular numbers to letters before developing the solutions. The solutions there would be more useful if in terms of, say, $x_0,y_0$ for the center of the rectangle and $\Delta x,\Delta y$ for the length of sides. – Jaume Oliver Lafont Apr 23 '16 at 14:30
  • Sketch: an ellipse can be bent by positioning it conveniently and then changing the variables from $x,y$ to $\theta,r$. Here is an example. Are the polar plots any similar to what you need? (this does not use the parabola, but a circle as a reference) – Jaume Oliver Lafont Apr 23 '16 at 18:53
  • @JaumeOliverLafont My CAD software does support polar coordinates, which makes that very easy for me to implement. It does look similar to what I'm looking for. Do you think polar coordinates would make the solution easier? If so, by all means, use polar coordinates in your answer if you wish. – Giffyguy Apr 23 '16 at 19:28
  • It is not difficult to produce a map that maps the line $y=0$ onto some parabola, lines $y={\rm const}$ onto parallel curves of the parabola, and lines $x={\rm const.}$ onto lines intersecting the parabola orthogonally. It becomes difficult, however, if you insist that on the "soul" $y=0$ lengths are preserved. Things improve if you replace the parabola with an arc of a catenary. – Christian Blatter Apr 24 '16 at 10:18
  • 1
    Many high-end CAD systems have functions that perform "deformation" or "wrapping" of one set of geometry onto another. More details here: http://math.stackexchange.com/questions/147779/deformation-of-3d-objects-along-curve-or-surface/148159#148159 – bubba Apr 29 '16 at 10:14

8 Answers8

11

Suppose your parabola is given by $$y=a x^2+b x + c$$ Its derivative is $y'=2 a x + b$. A vector perpendicular to your parabola at the point $(x,y)$ is thus $$(-2 a x - b,1)$$ Let us normalize this vector $$\vec{n}=\frac{(-2 a x - b,1)}{\sqrt{(2 a x + b)^2+1}}$$ The curves at distance $d$ from your parabola (green in your figure) are thus $$(x,a x^2+b x + c)+d\vec{n}$$ The above formula transforms cartesian-like coordinates $(x,d)$ into the transformed space $$T(x,d)=(x,a x^2+b x + c)+d\vec{n}$$ All we need to do is feed the ellipse expression to this transformation $$T(r_1\cos(\theta)+r_1,r_2\sin(\theta)+r_2)$$ this gives a curve with the desired characteristics.

Example: Transformed ellipse also showing transformed minor and major axis

This curve touches the straight lines at their midpoints. It also touces the top and bottom curve once, but not at their exact midpoint. If you want a curve that touches the bottom curves at its precise midpoint, you need to parametrize your parabola by its arc length, which is not possible in terms of elementary functions.

Wouter
  • 8,117
5

As others have noted, this is really just a deformation or change-of-coordinates problem. Our ellipse is defined in a rectangular cartesian coordinate system, and we want to map it to another system where coordinates are distance along the parabola and normal distance away from the parabola.

These kinds of deformations are common in high-end CAD systems. However, as @Wouter pointed out, the equation of the deformed ellipse is the composition of the original ellipse equation and the change-of-variables transformation, so it's an ugly thing that no CAD system can represent exactly (as far as I know). So, the CAD system will typically give you a spline approximation of the true deformed shape. This is perfectly OK, of course, as long as the approximation is more accurate than your manufacturing tolerances.

The picture below shows the result I got in my favorite CAD system.I didn't use the same numbers as you, but that doesn't matter. The point is to see what can be achieved with standard built-in functions in typical CAD systems.

enter image description here

More info in these answers.

bubba
  • 44,617
3

The map $$s\mapsto\left\{\eqalign{x_0(s)&:={\rm arsinh}\, s \cr y_0(s)&:=1-\sqrt{1+s^2}\cr}\right.\qquad(-\infty<s<\infty)$$ maps the $s$-axis isometrically onto the catenary $$\gamma:\qquad y=1-\cosh x=-{1\over2}x^2-{1\over24}x^4+?x^6\ ,$$ which is in the intended range a very good approximation to the parabola $y=-{1\over2}x^2$. One computes $$\dot x_0(s)={1\over\sqrt{1+s^2}},\qquad\dot y_0(s)=-{s\over\sqrt{1+s^2}}\ ,$$ confirming that $\dot x_0^2(s)+\dot y_0^2(s)\equiv1$. It follows that the map $$(s,t)\mapsto\left\{\eqalign{x(s,t)&:={\rm arsinh}\, s+{t s\over\sqrt{1+s^2}} \cr y(s,t)&:=1-\sqrt{1+s^2}+{t\over\sqrt{1+s^2}}\cr}\right.\qquad(-\infty<s<\infty, \ -h<t<h)\tag{1}$$ maps the horizontal strip $|t|<h$, $h>0$ sufficiently small, of the $(s,t)$-plane bijectively onto a curved strip along the catenary $\gamma$ in such a way that (i) the soul $t=0$ is mapped isometrically onto $\gamma,$ and (ii) vertical segments $t\mapsto (s_0,t)$ $(-h<t<h)$ are mapped isometrically onto vertical segments orthogonal to $\gamma$ at $\bigl(x_0(s_0),y_0(s_0)\bigr)\in\gamma$. In this way horizontal lines $s\mapsto(s, t_0)$ $(-\infty<s<\infty)$ are mapped onto parallel curves of $\gamma$ at distance $|t_0|$ from $\gamma$.

If you now are given a curve $$\theta\mapsto\bigl(s(\theta),t(\theta)\bigr)\qquad(0\leq\theta\leq\Theta)\tag{2}$$ in the $(s,t)$-plane, e.g., an ellipse, then you immediately obtain a parametric representation of its distorted image in the $(x,y)$-plane by composing the representation $(2)$ with $(1)$.

3

Others have mentioned that parameterizing a parabola by arc length is not possible with elementary functions. This is true, but it's not necessary.

First, we write the function for an ellipse centered at $(a,b)$ with semi-axes $a$ and $b$, respectively. $$\frac{(x-a)^2}{a^2} + \frac{(y-b)^2}{b^2} = 1$$ $$y = b \pm |b|\sqrt{1-\frac{(x-a)^2}{a^2}}.$$ Instead of $x$ and $y$, we want the perpendicular height above the parabola, $h$, in terms of the distance along the parabola, $s$. $$h = b \pm |b|\sqrt{1-\frac{(s-a)^2}{a^2}}.$$

The arc length of the parabola $y = kx^2$ as a function of $x$ is given by $$s(x) = \int_0^x\sqrt{1 + 4k^2x'^2}dx' = \frac{1}{2}x\sqrt{1+4k^2x^2} + \frac{1}{4k}\ln\left(\sqrt{1+4k^2x^2}+2kx\right).$$

Next, we need the unit vector perpendicular to the tangent of the parabola (kindly provided by @Wouter), $$\vec{n} = \frac{(-2kx, 1)}{\sqrt{4k^2 x^2 + 1}}.$$ This will allow us to parameterize the ellipse as $$(x_e, y_e) = (t, kt^2) + \vec{n}(t)h(t).$$ The first part $(t, kt^2)$, is a point on the parabola. Adding the second part $\vec{n}(t)h(t)$ results in a point on the upper or lower half of the ellipse. I've switched $x$ for $t$ for clarity. Even though $x(t) = t$ in the parabola, the corresponding $x$-coordinate on the ellipse will be different.

So, the transformed ellipse is parameterized by $$(x_e, y_e) = (t, kt^2) + \frac{(-2kt, 1)}{\sqrt{1+4k^2t^2}}\left(b \pm |b|\sqrt{1-\frac{(s(t)-a)^2}{a^2}}\right).$$

For the full ugliness, let's substitute in $s(x)$: $$(x_e, y_e) = (t, kt^2) + (-2kt, 1)\frac{1}{\sqrt{1+4k^2t^2}}\left(b \pm |b|\sqrt{1-\frac{\left(\frac{1}{2}t\sqrt{1+4k^2t^2} + \frac{1}{4k}\ln\left(\sqrt{1+4k^2t^2}+2kt\right)-a\right)^2}{a^2}}\right)$$ with $t \in [0, \text{~}7.4]$ The value 7.4 comes from a guess-and-check numerical approximation that solves for $t$ so that the part inside the parentheses is non-negative (i.e., $0 \leq s(t) \leq 2a$).

Slightly easier to read (maybe): $$x(t) = t + \frac{-2kt}{\sqrt{1+4k^2t^2}}\left(b \pm |b|\sqrt{1-\frac{\left(\frac{1}{2}t\sqrt{1+4k^2t^2} + \frac{1}{4k}\ln\left(\sqrt{1+4k^2t^2}+2kt\right)-a\right)^2}{a^2}}\right)$$

$$y(t) = kt^2 + \frac{1}{\sqrt{1+4k^2t^2}}\left(b \pm |b|\sqrt{1-\frac{\left(\frac{1}{2}t\sqrt{1+4k^2t^2} + \frac{1}{4k}\ln\left(\sqrt{1+4k^2t^2}+2kt\right)-a\right)^2}{a^2}}\right)$$

With $a = 3.75$, $b = 1.25$, and $k = -\frac{1}{45}$ (moving the vertex of the parabola to the origin), the graph looks like this: https://www.desmos.com/calculator/m8kxmdzbao

Parabolically transformed ellipse

Mark H
  • 1,322
2

My instinct says that this curved stretching is the wrong approach. Whatever answer you get will be useless for your CAD program.

Here's a plot of the curves and the unaltered ellipse: enter image description here

My method would be to use your CAD program to draw a line that is tangent to the lower half of the ellipse and the blue line, then use splines/Bézier curves to smooth the leftmost intersection between the upper half of the ellipse and the red line. Then you can discard the right part of the ellipse, leaving the lower quadratic curve, the left arc of the ellipse, and the upper red curve as your shape.

It ultimately doesn't matter what the actual equation is. All that matters is that the design can be manufactured. Referring to your previous question, I don't think the air flow is going to distinguish much between cosine, cubic Bézier, and quadratic curves.

Mark H
  • 1,322
  • (1 of 8) Thanks Mark, I appreciate your response. However, I disagree with you in several areas. It sounds like you are criticizing the necessity of my requirements, rather than explaining why a different mathematical solution would be better (as you did in my previous question). I think a lot of your frustration probably stems from the fact that I have avoided providing intimate details of the engineering application. I understand this reaction, and I had hoped that my explanation regarding pressurization would be enough to alleviate some of the frustration. – Giffyguy Apr 25 '16 at 15:35
  • (2 of 8) "Whatever answer you get will be useless for your CAD program." How/why would it be useless? My CAD software will work with whatever functions I enter, apart from calculus (and a few lesser-used algebra functions, like Sign and Abs). I'm not looking for high-framerate here, but instead this is going to be used for manufacturing, so mathematical precision is far more important than rendering speed. – Giffyguy Apr 25 '16 at 15:35
  • (3 of 8) "... use splines/Bézier curves to smooth the leftmost intersection ..." This is likely to destabilize the pressurization process, and create an undesirable amount of turbulence, which my application happens to be particularly sensitive to. I can't talk about my specific application, for multiple reason (legal and otherwise), so I'm afraid you're going to have to take my word for it. I may not be the best mathematician, but I am more than aware of the physics implications. – Giffyguy Apr 25 '16 at 15:35
  • (4 of 8) "It ultimately doesn't matter what the actual equation is. All that matters is that the design can be manufactured." This is an odd response ... yes, when physics are involved, it certainly does matter what the actual equation is. Any algebra/trig mathematical design can be manufactured these days, as CAD systems are what drive precision metal manufacturing. With more complex systems, I imagine even calculus can directly dictate the manufactured shape. – Giffyguy Apr 25 '16 at 15:36
  • (5 of 8) "I don't think the air flow is going to distinguish much between cosine, cubic Bézier, and quadratic curves." If you understood the actual nature of my application, you would not be saying this. As I briefly explained in some of my comments earlier, this is not just about air flow, but very precise pressurization that needs to remain very stable and consistent for many reasons. As you described in my previous question, the parabolic curve is absolutely what I need to help address this, and bending the tip to match the parabola (with mathematical precision) is similarly essential. – Giffyguy Apr 25 '16 at 15:36
  • (6 of 8) I understand the nature of XY questions, but the categorical context is important here. My previous question was a mathematical XY question, because I asked for a specific mathematical equation (cubic Bézier), when in reality my requirements actually dictated a completely different equation (parabola). Likewise, if you believe a different equation will better address the sensitives and strict requirements I've described, by all means point me in that direction. Otherwise, I'd appreciate it if you could keep your answers directed at the math rather than debating the engineering with me – Giffyguy Apr 25 '16 at 15:36
  • (7 of 8) Again, I greatly appreciate your assistance with my math questions. You've been a huge help, particularly in explaining the parabola situation to me. I sincerely wish I could talk in more detail about what I'm working on. However, I also believe that this site should remain focused on the math questions, and not the engineering problems. If I have engineering problems, I'll refer to a different (and more appropriate) Stack Exchange site. – Giffyguy Apr 25 '16 at 15:36
  • (8 of 8) Regarding your skepticism of my engineering, my intention is to 3D-print a scale-model of this design, and perform aerodynamic tests to confirm/deny my expectations. I currently expect that this particular distortion of the ellipse will not only be very helpful, but essential to this design. I will compare it with other mathematical designs, to determine whether it is as useful as I have predicted. So this is part engineering, but also part science. And I'm fairly certain this design hasn't been tested in the past. I just need the math squared away so I can begin testing and analysis. – Giffyguy Apr 25 '16 at 15:37
  • I didn't mean to seem skeptical of your engineering. I'm a physicist and have a lot of experience with engineers telling me how I'm wrong about how real things work. What I should have said was that the math is probably intractable. As I started planning out how to define the warped ellipse, I wasn't seeing any way that the math would end up solvable. I'm guessing that the ellipse would be defined by a set of differential equation with no "nice" solutions and would only be solvable numerically. That's why I took a different tack and tried defining the curve in multiple pieces. – Mark H Apr 27 '16 at 07:51
  • Even the equations describing the green curves that are parallel to the white parabola have are hairy: http://math.stackexchange.com/questions/61182/formula-for-curve-parallel-to-a-parabola. However, in looking at that question, I'm starting to get an idea for how to work out the ellipse parametrically. I'm going to be doing a lot of business travel this weekend, so I'll try to work this out while in the air (how appropriate). – Mark H Apr 27 '16 at 07:54
  • Haha! How appropriate indeed. :) Thanks again. Yeah, I probably came off too hard as well. I can vouch for engineers' hatred for mathematical models of physics. ;) Based on the question you linked, it looks like parameterization really helps simplify things on that side. Polar coordinates might also help simplify your solution, and my software supports polar coordinates (as well as parameterization), so feel free to explore there. – Giffyguy Apr 28 '16 at 14:51
  • @Giffyguy I've put my more complete answer in a separate post. It's ugly, but not as ugly as I thought. – Mark H May 10 '16 at 01:02
2

I'm not an engineer but suddenly I feel very attracted to your problem In the figure below, I've turned your drawing in order to clearly visualize it consistently with the function defining your parabola. I think your problem can be seen as "bend" the rectangle with sides 2.5 and 15 more than "bend" the ellipse. I'm wrong?

Whether you have in mind or do not have this view, the answer to the problem is to determine the arc of the (below) envelope of the family of circles of radius $r=2.5$ centered at a point $P(x,y)$ when this point passes through the curve from the point $(-15,-5)$ to the point $(-30,0)$. However the “nature” of this problem (bending a rectangle) is easy to describe in words or even draw but difficult or tedious to express analytically. I give here two methods to solve the problem leaving final calculations to calculators I do not have (it is possible but tedious without calculators).

(1) The envelope can be calculated by solving $$\begin{cases}F(X,Y,t)=0\\ \frac{\partial F(X,Y,t) }{\partial t}=0\end{cases}$$ where we parametrize the circles with the function $$F(X,Y,t)=(X-t)^2+(Y-\frac{t(t+30)}{45})^2-(2.5)^2=0$$ ►(1’) Furthermore, if the family of circles can be parameterized with “good” funtions, as it is our cases putting $$\begin{cases}X=t+\cos \theta\\Y=\frac{t(t+30)}{45}+\sin \theta\end{cases}$$ then we can solve $$\frac{\partial X}{\partial t}\frac{\partial Y}{\partial \theta}=\frac{\partial Y}{\partial t}\frac{\partial X}{\partial \theta}$$ This way we have (excepting error in calculation) the parametrics: $$\color{red}{\begin{cases}X=-\left(\frac{30\sin \theta+45\cos \theta}{2\sin \theta}\right)+\cos \theta\\45Y=\left(\frac{30\sin \theta+45\cos \theta}{2\sin \theta}\right)^2-30\left(\frac{30\sin \theta+45\cos \theta}{2\sin \theta}\right)+45\sin \theta\end{cases}}$$

(2) Because the searched parabola can be defined by $Y=aX^2+bX+c$ we can calculate the corresponding values of the coefficients $a,b,c$ by three (adequate) points $(X,Y)$ in three distinct normals to $y=\frac{x(x+30)}{45}$ such that $(X-x)^2+(Y-y)^2=(2.5)^2$.

We do that the following way:

i)Our three points $(x,y)$: $P_1=(0,0),P_2=(-15,-5),P_3=(-30,0)$. The corresponding point to $P_2$ is clearly $(X,Y)=(-15,-7.5)$.

ii) The normal at $P_1$ is $Y=-\frac 32 X$ and the required point $(X,Y)$ is such that $X^2+Y^2=(2.5)^2$ so we have $13X^2=25$ hence we get the second point $(X,Y)=(\frac{5\sqrt{13}}{13},-\frac{15\sqrt{13}}{26})$.

iii) Similarly the third point is $(X,Y)=(-\frac{390+5\sqrt{13}}{13},-\frac{15\sqrt{13}}{26})$.

iiii) We have now to solve the linear system $$\begin{cases}225a-15b+c=-7.5\\650a-65\sqrt{13}b+338c=-195\sqrt{13}\\2(11725+300\sqrt{13})a-2(390+5\sqrt{13})b+26c=-15\sqrt{13}\end{cases}$$ You can solve this (where it is not impossible there is a mistake in calculations). What is important is the method. I think this last one is the best but I am maybe wrong about it.

enter image description here

Ataulfo
  • 32,657
  • 1
    Thanks for the information. However, there is a problem with your solution. Namely, the green parabola is not "parallel" to the red parabola. This is an easy mistake to make, as shifting it down 2.5 seems like it would be fine, but it actually does not produce a parallel curve. If you look closely at my drawing, you'll notice that the three curves have different curvatures, in order to maintain the exact same perpendicular distance at all points, which ensures that the straight lines will always be perpendicular to all three curves, and the straight lines will always be the same length. – Giffyguy Apr 28 '16 at 14:43
  • Believe me, I was sure to have measured the length of the blue segment enclosed in the region with asterisks, and got the same $2.5$ of wich I wrongly “deduced” the equality in all the region. I shall edit without figures now: what you need is the ENVELOPE (below, not above) of the circles of radius $r=2.5$ centered at a point $P(x,y)$ when this point passing through the curve from the point $(-15,-5)$ to the point $(-30,0)$. This way you get a correct answer after calculation of the mentioned envelope. I have no time now, if you or someone else does not give this answer I will give it later. – Ataulfo Apr 28 '16 at 16:54
  • Sounds good. I'm looking forward to your completed solution. :) – Giffyguy Apr 28 '16 at 16:59
  • 1
    The second curve is what CAD guys call an "offset curve" and what differential geometry folks call a "parallel curve". An offset of a parabola is not a parabola. – bubba Apr 29 '16 at 11:38
  • @bubba: Can you give a reference to that (CAD, offset curve,etc), please. I don't know what CAD is. Thank you very much. – Ataulfo Apr 29 '16 at 14:16
  • @Piquito -- there are some references in my answer to this question: http://math.stackexchange.com/questions/302076/offseting-a-bezier-curve/302101#302101 – bubba Apr 30 '16 at 01:29
  • @bubba: Thank you. By the way, with "An offset of a parabola is not a parabola" do you mean that if after calculate above $a,b,c$ I put $y=ax^2+bx+c$ then I don't get a parabola? You know this is not true, excepting when $a=0$ – Ataulfo May 01 '16 at 11:38
2

A reasonable analytic expression for a distorted ellipse comes from using $y-g(x)$ instead of $y$ in the original equation, where $g(x)$ corresponds to the parabola. This represents an ellipse whose horizontal axis has been bent (and stretched) according to the curve $g(x)$, where the horizontal projection of the axis is preserved, not its length.

In this example $$\left(\frac{x-\frac{15}{4}}{\frac{15}{4}}\right)^2+\left(\frac{y-5+\frac{x^2}{45}}{\frac{5}{4}}\right)^2 = 1$$

leads to the following quartic.

$$\frac{16 x^4+1440 x^2 y-3600 x^2-27000 x+32400 y^2-324000 y+860625}{50625} = 1$$

Here is the [resulting graphic](http://www.wolframalpha.com/input/?i=((x-15%2F4)%2F(15%2F4))%5E2%2B((y-5%2Bx%5E2%2F45)%2F(5%2F4))%5E2%3D1+from+x%3D0+to+15,+y%3D0+to+7).

This might be related to the bean curve.

2

We are interested in the region $15\le x\le 22.5$ and $5\le y\le 7.5$.

Consider the given parabola $$y=-\frac 1{45}x(x-30)\\ \frac{dy}{dx}=-\frac1{45}(2x-30)$$ At $x=a$, slope of tangent is given by $$\tan\phi=-\frac 1{45}(2a-30)$$

For a point $(a,b)$ in the region of interest, to realise this "parabolic shear", the transformations required are:
(1) translational shift downwards by $-\frac{(a-15)^2}{45}$; followed by
(2) clockwise rotation of $\phi$ about $(a,-\frac{a(a-30)}{45})$
after going through both of which the resultant point is $$(a', b')=\left(a+(b-5)\sin\phi, -\frac{a(a-30)}{45}+(b-5)\cos\phi\right)\qquad\qquad\cdots(1)$$ where $$\sin\phi=\frac{2a-30}{\sqrt{4a^2-120a+2925}}; \cos\phi=\frac{45}{\sqrt{4a^2-120a+2925}}$$ The given ellipse can be parameterised as $$(a,b)=(3.75\cos\theta+18.75, 1.25\sin\theta+6.25)\qquad\qquad\qquad\qquad\cdots(2)$$ Substituting $(2)$ in $(1)$ gives the parameterised form of the transormed ellipse as required.

enter image description here See desmos implementation here and here.