Constraining parameters for a quadratic equation

AI Thread Summary
The discussion focuses on establishing constraints for a quadratic equation that fits experimental data within specified bounds. The quadratic must pass through the point (1, 0) and remain within the domain and range of 0 to 1. Additionally, it must lie below the line defined by y = -x + 1. A suggestion is made to ensure the slope of the quadratic at (1, 0) is -1 or less to prevent it from exceeding the boundary line. The user expresses gratitude for the input and acknowledges the value of the proposed constraint.
kungfuscious
Messages
15
Reaction score
0
Hi there! I'm working on analyzing some data from an experiment, and you can see a graph of some of the results in the attached .jpg image. I've done both a linear and a quadratic fit on the data points, weighted to error bars (the red lines are the fits). I use percents in the graph, but I'd rather use more general values between 0 and 1.

I'm trying to write out constraints on the parameters of a quadratic fit in more general terms.

Constraints:
1) I know that the quadratic fit needs to pass through the point x=1, y=0.

2) For the domain, 0\leqx\leq1

3) The range is similar: 0\leqy\leq1

4) The quadratic must fit below the line going from the top left to the bottom right. (the line y=-x+1)

Different quadratics could be drawn in here, and I'm trying to generalize. y=ax^{2}+bx+c

What I've figured out so far is that for 1), 0=a+b+c

Then, for 4), I can say that 0\leqy\leq1 , and
y\leq-x+1

I guess that also means I can say that ax^{2}+bx+c\leq-x+1

I can plug in for a or b or c in that equation (using 0=a+b+c), but I just end up running around in a circle.

I get the feeling there's a lot more I can do with this to write out how a and b and c might be related or constrained, but I'm a bit stuck. Can anyone help?

Cheers,

Kungfuscious
 

Attachments

  • fci.jpg
    fci.jpg
    17.2 KB · Views: 478
Mathematics news on Phys.org
If you want the quadratic curve to fit under the -x+1 line even right at the x=1,y=0 point, then you could add an additional constraint where the tangent of the quadratic curve has a slope of -1 or less at that x=1,y=0 point...otherwise, the curve could excursion beyond your -x+1 line

so dy/dx = 2ax + b and so 2ax + b < -1 and at x=1, 2a+b < -1

no?
 
Thanks a lot! I had figured out another few things, but I think your suggestion will work. Thank you so much!

-Kungfuscious
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Replies
6
Views
2K
Replies
6
Views
2K
Replies
16
Views
4K
Replies
19
Views
3K
Replies
2
Views
1K
Replies
6
Views
1K
Replies
11
Views
2K
Back
Top