Physics Forums

## Strange parabolic calculations - need simplification help.

I'm trying to find the equation of a parabola that goes through any three given points in the x-y plane denoted by (a,b), (c,d), and (e,f), which would be considered givens in these calculations. I need the form of the equation y = Ax^2 + Bx + C where A, B, and C are unknown.

I have gotten as far as to find C, which means that with those original 6 givens I know the C term of any parabolic equation:

C = $\frac{a^2(cf-de) + c^2(be-af) + e^2(ad-bc)}{a^2(c-e) + c^2(e-a) + e^2(a-c)}$

Which is screaming to be simplified but I can't get it any further. I know this is correct by checking with known parabolic functions and test points but getting the general function is proving difficult. Any ideas?

I think it's weird that there's a^2, c^2, and e^2 terms on the top and bottom, and in the numerator there's exactly two of each letter in the parenthesis, one in a negative term and one in a positive term. And that in the denominator the squared terms match some of the letters with the squared terms in the numerator, eg: a^2(cf-de) vs a^2(c-e) etc

Thanks

Perhaps a simpler way to solve the problem is to substitute your three points (x,y) into the equation, and obtain three equations in the three unknowns A,B,C; then solve this system.  If a 3-equation system gives you problems, you could try subtracting one equation from the other two, to obtain two equations in the two unknowns A,B.  Be aware that the assumption is that your equation has the given form; that is, the parabola's axis is always vertical, not rotated to one side.

Quote by Dodo 					 				 				Perhaps a simpler way to solve the problem is to substitute your three points (x,y) into the equation, and obtain three equations in the three unknowns A,B,C; then solve this system.  If a 3-equation system gives you problems, you could try subtracting one equation from the other two, to obtain two equations in the two unknowns A,B.
That's exactly what I did to get to where I am now.

Quote by Dodo 					 				 				Be aware that the assumption is that your equation has the given form; that is, the parabola's axis is always vertical, not rotated to one side.
What kind of equation would that be? Is it still possible that any three given points (other than completely vertical or horizontal ones) could lie on a parabola with a vertical axis?

## Strange parabolic calculations - need simplification help.

Quote by Axecutioner 					 				 				What kind of equation would that be? Is it still possible that any three given points (other than completely vertical or horizontal ones) could lie on a parabola with a vertical axis?
I meant, as long as your equation is y = Ax^2 + Bx + C. A more general quadratic, of the form Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0 could be a parabola, possibly rotated.

As for your three points, yes, you should always find a solution as long as the three points are different (no repeated points). If they are on a line, you'll just get A=0. And yes, vertical lines are forbidden (horizontals will just produce A=B=0 and C=y).

You could easily approach this as a linear regression problem. Least squares will generate a quadratic polynomial that fits through all three points.

I have no idea what linear regression is. :P   and that's interesting about the Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0  formula. But given 3 points and 6 unknowns, wouldn't it be impossible to solve? Meaning there are many different parabolas that fit those 3 points given variable axis slope?

Blog Entries: 1 				 				 				 				         Recognitions:      Homework  Help  The problem is that the general quadratic form also produces hyperbolas and ellipses

Quote by Axecutioner 					 				 				Meaning there are many different parabolas that fit those 3 points given variable axis slope?
That is right; if you want one parabola, you have to fix something else. (Plus, as Office_Shredder says, that was a formula for a generic conic section.) That's why I mentioned your formula and a vertical axis being assumed; Ax^2 + Bx + C = y will get you parabolas "standing up" (opening either up or down).

Here is a worked out example, as I'm not sure exactly where are you stuck. If you are given the points (1,7), (3,11), (5,13), for example, you set up the system[tex]\begin{align*}
A+B+C &= 7 \\
9A + 3B + C &= 11 \\
25A + 5B + C &= 13 \end{align*}[/tex]Subtracting the first equation from the other two, you obtain the smaller system[tex]\begin{align*}
8A + 2B &= 4 \\
24A + 4B &= 6 \end{align*}[/tex]Divide the second equation by 2, making it $12A + 2B = 3$, and subtracting them the $2B$ term is cancelled, leaving $4A = -1$ or $A = -\frac 1 4$. Substituting this value in the first equation gives you $2B = 4 - 8(-\frac 1 4)$ or $B = 3$; and finally, using one of the equations from the first system (pick the simplest one), you get $C = \frac {17} 4$.

Dodo, I know how to do that given points. I'm trying to find an equation for the parabola given any three points as I stated in the OP. I know how to do it. All I'm asking for is simplifying the C= equation I put in the OP if it can be done and nobody has posted anything related to what I originally asked.

Quote by Axecutioner 					 				 				All I'm asking for is simplifying the C= equation I put in the OP if it can be done and nobody has posted anything related to what I originally asked.
C=(fac(a-c)+bce(c-e)+dea(e-a))/((a-c)(c-e)(a-e))

is the best that I can do to try to answer your specific question.

That (e-a) in the numerator worries me. My result equals yours, But it spoils the pattern. Maybe it should be e-a in the denominator and the whole thing needs a minus sign. That would make the pattern more uniform.

There is still a great deal of symmetry in my result, but I haven't found any way to reduce it further.

If you prefer you can use your original numerator with my denominator, the result is the same.

Recognitions:      Homework  Help  There is no reason that that expression can be simplified. Just because it seems long and follows a nice pattern in both the numerator and denominator, doesn't mean anything.  Many students have also made the mistake of cancelling the x out of  $$\frac{x}{x+a}$$  because they felt it was simpler

Bill Simpson, thanks! I'm surprised the denominator could factor into (a-c)(c-e)(a-e) but it does work. How'd you figure that out? I like the numerator you set up too, will play around with it and see what works out.  Mentallic, is there a way to separate that fraction out, in any way?   Also:  If you start with 3 points: (a,b) (c,d) (e,f) The slopes of the lines between the first two and last two are:  $\frac{d-b}{c-a}$ and $\frac{f-d}{e-c}$   Therefore the change in slope between those two lines is:  $\frac{\frac{f-d}{e-c} - \frac{d-b}{c-a}}{e-a}$, correct?   So given that change in slope, and knowing that a parabola has a constant change in slope (second derivative is constant), then that change in slope formula must be the A term of Ax^2 + Bx + C?  Edit: Oh, no, maybe not. Because when differentiating Ax^2 + Bx + C you get a 2 multiplied into the A term by power rule. So A would be half that formula? Or is it right?

Quote by Axecutioner 					 				 				How'd you figure that out? I like the numerator you set up too, will play around with it and see what works out.
I read a book many many years ago on symmetries and it changed the way I think and see things. Unfortunately I don't remember the title or the author. It is buried here somewhere, but I doubt I'll ever find it again.

Perhaps someone else can contribute the title or other titles on how symmetries can be used to understand some problems much more easily.

Interesting. If you ever find the title or author please let me know.  Here's a different version of the C equation:  $\frac{ade^2 - bce^2 + bc^2e - a^2de - ac^2f + a^2cf}{ae^2 - ce^2 + c^2e - a^2e - ac^2 + a^2c}$  I wonder if the top could factor out similarly to the way you got it to in the bottom. It'd sure make things easier...

Quote by Axecutioner 					 				 				Here's a different version of the C equation:
I believe I had that numerator and several others, but I settled on the one because it seemed to most clearly highlight the symmetry between the variables.

If you have not already done so then you might think about why there is this symmetry in the variables. It may be superficial and unimportant or there might be levels of enlightenment when you look at the reasons and consequences of the symmetry. I suppose there might even be a possibility of discovering other forms and perhaps even simpler forms to be found as a result. I'm not seeing any simpler forms yet.

I went ahead and used your original suggestion to solve for A using: C=(fac(a-c)+bce(c-e)+dea(e-a))/((a-c)(c-e)(a-e))  And let me tell ya, it's amazing how complicated it got, then how simple the answer is. I'll scan my work tomorrow and post it - way too long to type out.  Again, thank you for that :D Was a big help.

Recognitions:      Gold Member      Homework  Help     Science  Advisor  Axecutioner: That the "C" term should be complicated is not so strange.  I believe you would get simpler coefficents for the general expression if you afterwards rearrange them according to the following general formula:  A(x+b)^2+c  In this case, "c" also has a neat interpretation as an extremal value, "b" as the symmetry axis, and "A" has its standard interpretation.

Thread Tools

|                                                                                 |                                        |         |
|---------------------------------------------------------------------------------|----------------------------------------|---------|
| Similar Threads for: Strange parabolic calculations - need simplification help. |                                        |         |
| Thread                                                                          | Forum                                  | Replies |
|                                                                                 | High Energy, Nuclear, Particle Physics | 1       |
|                                                                                 | Introductory Physics Homework          | 13      |
|                                                                                 | General Math                           | 19      |
|                                                                                 | Calculus & Beyond Homework             | 2       |
|                                                                                 | Precalculus Mathematics Homework       | 9       |
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 12, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9520350098609924, "perplexity_flag": "middle"}