Generalisations of area between two curves

In summary, the problem involves finding the area between a parabolic segment and a linear function that intersect in the first quadrant. The investigation has found that the coefficient of the parabola must be a multiple of 3 for the area to be a whole number. Further investigations involve finding generalizations and proving them using algebra. The area can be calculated by taking the absolute value of the difference between the integrals of the two functions. Both the parabola and the linear function can be the first function in the problem.
  • #36
Gary Smart said:
Just to make sure I'm clear. That equation involves integrating the general form of a line and parabola simultaneously. The u and v values are the points of interception as we are trying to find the area between these bounds.

How do I solve for x though with no values?

It might be helpful to me to know what level of math you are studying. High school or college? What courses have you had or are taking?

Take the particular parabola where ##a=1## for example. Can you figure out the ##x## values where the line ##y=mx## intersects ##y = (x-1)^2##? The answers will depend on ##m## of course. That will give you ##u## and ##v## for this particular parabola. Then use those values of ##u## and ##v## in the integral$$
\int_u^v mx-(x-1)^2~dx = 1$$When you are done integrating the ##x## variable you will have nothing but ##m## left and you can solve for ##m##. That will give you the particular line ##y=mx## that cuts off an area of ##1## with ##y = (x-1)^2##. Do that much and check back.
 
Physics news on Phys.org
  • #37
The level of maths I have studied is GCSE (high school), that was a few years ago now though. This challenge I came across individually and I'm really interesting in investigating it and solving it.

So, I took the parabola: y = (x - 1)^2. I chose a line that intercepts it. The line was 2x. The points of intersection were: 0.27 and 3.73. Where: U = 0.27 and V = 3.73. I inputted these values in the lower and upper bounds of:
LCKurtz said:
vumx−(x−1)2 dx=1

However, It did not leave me with the gradient of the line. I must have gone wrong in the process?
 
  • #38
Gary Smart said:
The level of maths I have studied is GCSE (high school), that was a few years ago now though. This challenge I came across individually and I'm really interesting in investigating it and solving it.

So, I took the parabola: y = (x - 1)^2. I chose a line that intercepts it. The line was 2x. The points of intersection were: 0.27 and 3.73. Where: U = 0.27 and V = 3.73. I inputted these values in the lower and upper bounds of:

All lines like ##y=x,~y=2x,~y=3x,~ y = \frac 1 2 x## and ##y=mx## for any positive ##m## will intersect ##y=(x-1)^2## in two points. They all cut off different areas. Draw some graphs and see. Only one value of ##m## is just right to cut off an area of ##1##. There is no reason to expect that ##y=2x## is the one. You have to treat ##m## as an unknown and figure it out. Like I asked in post #36, can you figure out the ##x## values where ##y=mx## intersects ##y=(x-1)^2##? That's a first step. The answers will depend on ##m##. If you can't do that, you are probably looking at a problem that is beyond your current math skill levels.
 
  • #39
I understand now, just had a little misunderstanding in the previous text. I

I have found the line that intersects the parabola [y = (x-1)^2]. It is approximately:
y = 0.702209x

The points of intersection are 2.25967 and 0.442543.

These values seem very far fetched though, are they supposed to be like this?

Also, out of interest. I solved that using trial and error. Is there an algebraic way e.g. setting an equation equal to 1?
 
Last edited:
  • #40
Gary Smart said:
I understand now, just had a little misunderstanding in the previous text. I

I have found the line that intersects the parabola [y = (x-1)^2]. It is approximately:
y = 0.702209x

The points of intersection are 2.25967 and 0.442543.

These values seem very far fetched though, are they supposed to be like this?

Also, out of interest. I solved that using trial and error. Is there an algebraic way e.g. setting an equation equal to 1?

Those numbers look good.

What LCKurtz has been saying IS an algebraic method. You have some expression which turns out to be an integral, and you then let it equal to 1. Would you have been happier if you were instead given a equation in m that was equal to 1? Because that is what the integral is! It's just sort of hiding the answer, waiting for you to solve it so it can become the equation that you're hoping for.

Now, considering it would be an equation that is tough to compute, you can always use numerical techniques to do it. This is different from trial and error as you can usually get arbitrarily close to the answer very quickly.
 
  • #41
The mental block that I'm finding difficult to get past is the idea of letting an integral = 1. It makes no sense to me.
 
  • #42
Gary Smart said:
The mental block that I'm finding difficult to get past is the idea of letting an integral = 1. It makes no sense to me.
Have you had any calculus? Do you understand that the integral calculates the area? If you want an area of ##1## don't you have to have the integral come out equal to ##1##?
 
  • #43
I've done some basic calculus. Ah, yes I definitely understand that but I don't understand "Would you have been happier if you were instead given a equation in m that was equal to 1? Because that is what the integral is! It's just sort of hiding the answer, waiting for you to solve it so it can become the equation that you're hoping for"

I understand I need the integral between the line and curve to be 1. I understand that I can play with values to get an area of 1. I just don't understand this last part of setting up and understanding an equation that helps approximate an area of 1 between a line and a parabola.
 
  • #44
Make the same work with symbols: ## ax^2+bx+c = mx+c ##. You can find a relation with ##a,m,b## (c can be anything).
 
  • #45
I will sketch the way to do the general case mentioned in #1.
Let P(x)=|ax^2+(b-m)x|
Let p=(m-b)/a
The required area is given by the integral of P(x) dx between the roots x=0 and x=p
As this is quadratic, we can use Simpson's rule to integrate exactly.
P(0)=P(p)=0, which greatly simplify our work.

Area=(2/3) |p| P(p/2)
I will leave it for you to simplify.
 
Last edited:
  • #46
Momoko. I'm a little lost with that. Where do we get ax^2+(b-m)x from?

Could you simplify it a little further for me please?

theodoros.mihos said:
Make the same work with symbols: ## ax^2+bx+c = mx+c ##. You can find a relation with ##a,m,b## (c can be anything).
I know that the parabola and the line have to intersect, so we set them equal to each other. The x values are the coordinates of intersection which then become the lower and upper bound of the integral. I don't know where to go apart this.
 
  • #47
It is just |(ax^2+bx+c)-(mx+c)|
 
  • #48
Let's go back to the OP

Gary Smart said:

Homework Statement


The problem consists of investigating the area between two functions of the forms (Parabolic segment):
: y = mx + c and y = ax^2 + bx + c

The investigation involves finding a combination that has one of each of the above functions and finding an area of one. The area between the functions has to be in the first quarter (positive x and y).
...
Let's call the linear function, ƒ1 and the quadratic function ƒ2.

Notice that both functions have the the same y-intercept, y = c. ( I don't know if that was intentional on your part, but it does make life much simpler.)

Therefore one of the points of intersection is (x,y) = (0, c) .

It's easy enough to find the other intercept for the general case.

You (Gary Smart) seemed to have some trouble with the idea of requiring some integral to be equal to 1. Let's see if we can clear that up.

Let's call the x-coordinate of other intercept xR, since it's the right-most of the two intercepts.

Then you want the difference of the areas, A1, under ƒ1 and A2, under ƒ2 to be equal to 1. That is to say, you want ##\ \left| A_1 - A_2\right|=1\ .##

In terms of integrals, that's ##\displaystyle \ A_1-A_2=\int_0^{x_R} f_1(x)\,dx\ -\int_0^{x_R} f_2(x)\,dx \,, \ 0 ## and you want the absolute value of this difference to be 1.

But basic calculus gives us ##\displaystyle \ \int_0^{x_R} f_1(x)\,dx\ -\int_0^{x_R} f_2(x)\,dx =\int_0^{x_R} \left(f_1(x)-f_2(x)\right)\,dx \ .\ ## It's somewhat easier to work with that one integral than to work with the two individual integrals. That's what was behind those suggestions to set that integral equal to 1.

See if this makes anything clearer.

See what you can do with ##\displaystyle \ f_1(x)=mx+c\ ## and ##\displaystyle \ f_2(x)=ax^2+bx+c\ ## .
 
  • #49
SammyS said:
Let's go back to the OPLet's call the linear function, ƒ1 and the quadratic function ƒ2.

Notice that both functions have the the same y-intercept, y = c. ( I don't know if that was intentional on your part, but it does make life much simpler.)

Therefore one of the points of intersection is (x,y) = (0, c) .

It's easy enough to find the other intercept for the general case.

You (Gary Smart) seemed to have some trouble with the idea of requiring some integral to be equal to 1. Let's see if we can clear that up.

Let's call the x-coordinate of other intercept xR, since it's the right-most of the two intercepts.

Then you want the difference of the areas, A1, under ƒ1 and A2, under ƒ2 to be equal to 1. That is to say, you want ##\ \left| A_1 - A_2\right|=1\ .##

In terms of integrals, that's ##\displaystyle \ A_1-A_2=\int_0^{x_R} f_1(x)\,dx\ -\int_0^{x_R} f_2(x)\,dx \,, \ 0 ## and you want the absolute value of this difference to be 1.

But basic calculus gives us ##\displaystyle \ \int_0^{x_R} f_1(x)\,dx\ -\int_0^{x_R} f_2(x)\,dx =\int_0^{x_R} \left(f_1(x)-f_2(x)\right)\,dx \ .\ ## It's somewhat easier to work with that one integral than to work with the two individual integrals. That's what was behind those suggestions to set that integral equal to 1.

See if this makes anything clearer.

See what you can do with ##\displaystyle \ f_1(x)=mx+c\ ## and ##\displaystyle \ f_2(x)=ax^2+bx+c\ ## .

Hello Sammy, firstly thank you for helping me. I have been working with f1(x)=mx+c and f2(x)=ax2+bx+c and trying different values.
The problem I'm finding is, if I find the other point of intersection Xr (which is dependant on the functions) then when I alter the values of the equations slightly this alters the Xr value in which case, I run around in circles...
 
  • #50
Gary Smart said:
Hello Sammy, firstly thank you for helping me. I have been working with f1(x)=mx+c and f2(x)=ax2+bx+c and trying different values.
The problem I'm finding is, if I find the other point of intersection Xr (which is dependent on the functions) then when I alter the values of the equations slightly this alters the Xr value in which case, I run around in circles...
It seems to me that the main goal here is to determine what are the required values for the parameters, a, b, c, and m so that the resulting functions have the needed characteristics.

The first thing to do (for the general case) is to find the intercepts - - in particular the x-coordinates of those intercepts. That's pretty straight forward.

What are those two x values ?
 
  • #51
SammyS said:
It seems to me that the main goal here is to determine what are the required values for the parameters, a, b, c, and m so that the resulting functions have the needed characteristics.

The first thing to do (for the general case) is to find the intercepts - - in particular the x-coordinates of those intercepts. That's pretty straight forward.

What are those two x values ?

The general case for finding the x coordinates of the intercepts is calculated by the following:
Setting: ax^2 + bx + c equal to mx + c => ax^2 + bx + c = mx + c
Solving for x gives: x = 0 and x = m − b / a

This means that the points of interception between a parabola and a line will always be 0 and m - b / a?
 
  • #52
Gary Smart said:
The general case for finding the x coordinates of the intercepts is calculated by the following:
Setting: ax^2 + bx + c equal to mx + c => ax^2 + bx + c = mx + c
Solving for x gives: x = 0 and x = m − b / a

This means that the points of interception between a parabola and a line will always be 0 and m - b / a?
Use parentheses!

x = (m − b) / a, . . . which is actually xR.)

Notice that now you can say that for xR to be positive, the sign of a must be the same as the sign of m - b . Right?
 
  • #53
SammyS said:
Use parentheses!

x = (m − b) / a, . . . which is actually xR.)

Notice that now you can say that for xR to be positive, the sign of a must be the same as the sign of m - b . Right?

Yes, I understand that. This is because if it wasn't the x value would be negative and would not be in the first quadrant. Therefore, if the gradient of the line and the gradient of the circle subtract to give a negative number then a must be negative and vice versa?
 
  • #54
Gary Smart said:
Yes, I understand that. This is because if it wasn't, the x value would be negative and would not be in the first quadrant. Therefore, if the gradient of the line and the gradient of the circle subtract to give a negative number then a must be negative and vice versa?
Sorry for not responding sooner. I've been out most of the day.

The slope (gradient) of the line tangent to the parabola at x=0, is b . (You said gradient of the circle.)

So, if a > 0, then you must have m > b . Also the area between the curves is A1 - A2, which is the area under the linear function minus the area under the parabola. This can be computed as follows.
##\displaystyle \ \int_0^{x_R} \left(f_1(x)-f_2(x)\right)\,dx \ \ ##
##\displaystyle \ =\int_0^{\frac{m-b}{a}} \left(-ax^2+(m-b)x\right)\,dx \ \ ##​

On the other hand, if a < 0, then you must have m < b . In this case, the parabolic function is above the linear function on a graph. The area between the curves is A2 - A1, which is the area under the parabola minus the area under the linear function. This can be computed as follows.
##\displaystyle \ \int_0^{x_R} \left(f_2(x)-f_1(x)\right)\,dx \ \ ##
##\displaystyle \ =\int_0^{\frac{m-b}{a}} \left(ax^2+(b-m)x\right)\,dx \ \ ##​

Evaluate each integral and set it equal to 1 . That should give you some relationship involving a, b, and m.

You also know that you must have c > 0.

Any other restrictions on the parameters comes from the requirement that the functions be restricted to the First Quadrant for 0 ≤ x ≤ xR.
 
  • #55
Thank you very much for your help.

I'm looking at different y intercepts now, to test for a lower bound that is not 0.

I know the Y intercepts will be different => ax^2 + bx + c = mx + d

That equation can not be simplified.. does this mean there is not a general case when the y intercept aren't the same?

I do know that, the lower bound (left point of intersection) can not be less than 0.
 
  • #56
Gary Smart said:
Thank you very much for your help.

I'm looking at different y intercepts now, to test for a lower bound that is not 0.

I know the Y intercepts will be different => ax^2 + bx + c = mx + d

That equation can not be simplified.. does this mean there is not a general case when the y intercept aren't the same?

I do know that, the lower bound (left point of intersection) can not be less than 0.
First of all, for the case of both functions having the same y-intercept, there can be complications due to the requirement that the functions be in the first quadrant between the two points at which they intersect. Having the same y-intercept does make one point of intersection be at x = 0. This is of considerable help. Of course, you need c ≥ 0. The biggest challenge comes if parameter, a, is positive and the parabolic function has a vertex between the two points of intersection.If you allow different y-intercepts, then there is more to consider. First of all, the y-intersepts, c, and d, no longer need to be positive. The x-values for the points of intersection become more complicated. The integration is similar, except that the result is more complicated, due to the more complicated limits of integration and the appearance of constant term in the integrand.
 
  • #57
SammyS said:
First of all, for the case of both functions having the same y-intercept, there can be complications due to the requirement that the functions be in the first quadrant between the two points at which they intersect. Having the same y-intercept does make one point of intersection be at x = 0. This is of considerable help. Of course, you need c ≥ 0. The biggest challenge comes if parameter, a, is positive and the parabolic function has a vertex between the two points of intersection.If you allow different y-intercepts, then there is more to consider. First of all, the y-intersepts, c, and d, no longer need to be positive. The x-values for the points of intersection become more complicated. The integration is similar, except that the result is more complicated, due to the more complicated limits of integration and the appearance of constant term in the integrand.

If parameter a is positive and the parabolic function has a vertex the two points of intersection, the only way to find where it lies is by completing the square (using vertex form)?
 
  • #58
Gary Smart said:
If parameter a is positive and the parabolic function has a vertex between the two points of intersection, the only way to find where it lies is by completing the square (using vertex form)?
You don't have to actually put it in Vertex form, but you would need to do most of the work necessary to put it in Vertex form.

You can also check the discriminant. If ##\displaystyle\ b^2-4ac\le0\,,\ ## then the y-coordinate of the vertex is positive. (Still assuming ##\ a\ge0\ ##).
 
  • #59
SammyS said:
You don't have to actually put it in Vertex form, but you would need to do most of the work necessary to put it in Vertex form.

You can also check the discriminant. If ##\displaystyle\ b^2-4ac\le0\,,\ ## then the y-coordinate of the vertex is positive. (Still assuming ##\ a\ge0\ ##).

Does the discriminant check work because we are trying to find where the combined function of ax^2 + bx + c = mx + c crosses the x axis?
 
  • #60
Gary Smart said:
Does the discriminant check work because we are trying to find where the combined function of ax^2 + bx + c = mx + c crosses the x axis?
Yes.

However, that's only an issue if the vertex is between the two points of intersection.
 

Similar threads

Replies
2
Views
1K
Replies
2
Views
1K
Replies
10
Views
1K
Replies
12
Views
2K
Replies
7
Views
2K
Replies
13
Views
4K
Back
Top