Finding equation of curve from simple graph

  • Thread starter Thread starter hurliehoo
  • Start date Start date
  • Tags Tags
    Curve Graph
Click For Summary
To find the equation of a symmetrical curve from a graph, it is suggested to consider it as a parabola, particularly given its maximum at (3.75, 0.5) and zeros at (0, 0) and (7.5, 0). The general form of the equation can be expressed as y = kx(x - 7.5), where k is a constant determined by substituting the maximum point. The discussion emphasizes that while unique equations may be elusive, constructing equations that capture key properties is feasible. Participants clarify the method of rearranging equations and correcting earlier misunderstandings about coefficients. Ultimately, the simpler method of using the factored form is recommended for ease and accuracy in finding the equation.
hurliehoo
Messages
23
Reaction score
0
Hi can anyone please tell me how to find an equation from a graph.

It's a fairly simple graph. A symmetrical curve with a maximum at y=0.5, and y=0 at x=0 and x=7.5 ... any suggestions appreciated!
 
Mathematics news on Phys.org
Generally, it is impossible to find a unique equation describing some particular graph.

What you might do, is to construct equations that show SOME of the properties of the graph.

You say you have a symmetric curve with maximum at (0,0.5) and a zero at (7.5,0).

Well, is it a parabola, perhaps? I don't know. It might as well be the graph of a fourth-order polynomial, or some other function.

If it IS the graph of a parabola, i.e, that it is a graph of a second-order polynomial, we might make some headway:

1. We have that:
y=ax^{2}+bx+c, and we are to determine a,b,c.

From your info, we have that the maximum occurs at x=0.
Since, in general, we have that the maximum will occur at x=-\frac{b}{2a}, we see that b=0 in your case.

2. The zero:
We know this occurs at x=7.5, therefore we have, using the info in (1):
0=a*7.5^{2}+c\to{c}=-a*7.5^{2}

3. Preliminary expression:
We now have that:
y=a*(x^{2}-7.5^{2})

4. Value at maximum:
We have that at x=0, y=0.5, we therefore get:
0.5=-a*7.5^{2}\to{a}=-\frac{0.5}{7.5^{2}}

5. Final expression
We have now strictly determined how a second-order polynomial that fullfills all the given info looks like, namely, for example:
y=-\frac{1}{112.5}(x-7.5)(x+7.5)
 
arildno you've misread the info. Assuming it's a parabola, it's given that the zeroes are x=0 and x=7.5 and the maximum is at y=0.5
So far we can conclude it will be of the form y=kx(x-7.5) for some constant k. Since y=0.5 is a maximum and this occurs when x is in between the roots 0 and 7.5 - because parabola's are symmetric about their turning point, we can substitute in x=3.75 and y=0.5 to find k.
 
arildno said:
Generally, it is impossible to find a unique equation describing some particular graph.

What you might do, is to construct equations that show SOME of the properties of the graph.

You say you have a symmetric curve with maximum at (0,0.5) and a zero at (7.5,0).

Well, is it a parabola, perhaps? I don't know. It might as well be the graph of a fourth-order polynomial, or some other function.

If it IS the graph of a parabola, i.e, that it is a graph of a second-order polynomial, we might make some headway:

1. We have that:
y=ax^{2}+bx+c, and we are to determine a,b,c.

From your info, we have that the maximum occurs at x=0.
Since, in general, we have that the maximum will occur at x=-\frac{b}{2a}, we see that b=0 in your case.

2. The zero:
We know this occurs at x=7.5, therefore we have, using the info in (1):
0=a*7.5^{2}+c\to{c}=-a*7.5^{2}

3. Preliminary expression:
We now have that:
y=a*(x^{2}-7.5^{2})

4. Value at maximum:
We have that at x=0, y=0.5, we therefore get:
0.5=-a*7.5^{2}\to{a}=-\frac{0.5}{7.5^{2}}

5. Final expression
We have now strictly determined how a second-order polynomial that fullfills all the given info looks like, namely, for example:
y=-\frac{1}{112.5}(x-7.5)(x+7.5)


Sorry I didn't make it clear the midpoint maximum for this symmetrical curve is at (3.75, 0.5).

Yes it's a parabola though, and your answer is very helpful so thank you very much indeed!
 
Mentallic said:
arildno you've misread the info. Assuming it's a parabola, it's given that the zeroes are x=0 and x=7.5 and the maximum is at y=0.5
So far we can conclude it will be of the form y=kx(x-7.5) for some constant k. Since y=0.5 is a maximum and this occurs when x is in between the roots 0 and 7.5 - because parabola's are symmetric about their turning point, we can substitute in x=3.75 and y=0.5 to find k.
Oh, you are right! Me being overhasty, contradicting my entish motto..

Anyhow, it seems that the OP has gotten the gist of the idea..
 
Sorry I'm having another look at this and I'm not so sure I understand it now. Some questions about the method ...

arildno said:
0=a*7.5^{2}+c\to{c}=-a*7.5^{2}

What does the arrow signify ?

arildno said:
0.5=-a*7.5^{2}\to{a}=-\frac{0.5}{7.5^{2}}

How can 0.5 = -0.5/7.5^2 ?
 
The arrow is just like another line, you're re-arranging the equation.

So rather than

x+2=5
x=3

We instead have

x+2=5 \rightarrow x=3
hurliehoo said:
How can 0.5 = -0.5/7.5^2 ?
It's not, take a look at the arrow :smile:
 
Ok in that case I am definitely doing something wrong here. Using my understanding of the above method :

1--> max occurs at (3.75, 0.5). Therefore if x = -b / 2a then b = -7.5a

2--> 0 = (7.5^2)a - 7.5a + c therefore c = 7.5a - (7.5^2)a

3--> y = a((x^2) - (7.5^2) + 7.5)

4--> 0.5 = a((3.75^2) - (7.5^2) + 7.5)

so a = -.0144

and I can then get b and c from there, however this seems to be completely wrong.
 
hurliehoo said:
3--> y = a((x^2) - (7.5^2) + 7.5)

What's this line? Particularly, what is the a in front doing there?

The equation is y=ax^2+bx+c

and you've already found that
b=-7.5a
and
c=7.5a - (7.5^2)a
c=7.5(1-7.5)a
c=7.5(-6.5)a
c=-48.75a

So now, knowing that the point (3.75,0.5) satisfies the equation, plug this into the general form of the equation and use these values of b and c to find a.

y=ax^2+bx+c

0.5=a(3.75^2)-7.5a(3.75)-48.75a

You would then solve to find a, then use another point like (0,0) to find c (which would be 0) and then find b with (7.5,0).

This is a pretty tedious method though. You already know that the parabola cuts the x-axis at 0 and 7.5 so you should instantly turn it into a factored parabola of the form y=kx(x-7.5) for some constant value k, which you can easily find by plugging in the other known point (3.75,0.5).
Note that plugging in (0,0) or (7.5,0) won't work because then you end up with 0=0 and that doesn't help find the value of k.
 
  • #10
Mentallic said:
What's this line? Particularly, what is the a in front doing there?

The equation is y=ax^2+bx+c

and you've already found that
b=-7.5a
and
c=7.5a - (7.5^2)a
c=7.5(1-7.5)a
c=7.5(-6.5)a
c=-48.75a

So now, knowing that the point (3.75,0.5) satisfies the equation, plug this into the general form of the equation and use these values of b and c to find a.

y=ax^2+bx+c

0.5=a(3.75^2)-7.5a(3.75)-48.75a

You would then solve to find a, then use another point like (0,0) to find c (which would be 0) and then find b with (7.5,0).

This is a pretty tedious method though. You already know that the parabola cuts the x-axis at 0 and 7.5 so you should instantly turn it into a factored parabola of the form y=kx(x-7.5) for some constant value k, which you can easily find by plugging in the other known point (3.75,0.5).
Note that plugging in (0,0) or (7.5,0) won't work because then you end up with 0=0 and that doesn't help find the value of k.

Regarding my first working, which I posted, of the first (agreed tedious) method I forgot to include the x for b (duh), however the next time I tried I got a similar working to yours ... this didn't work due though, I think because c=-48.75a makes it non-zero. So even when c=0, which it has to for the other two coordinates, I got y = -0.00796x^2 + 0.0597x, which when plugging in x=3.75 gives y=0.11194 instead of 0.5

Anyway ... your second method was infinitely simpler and does indeed work very well. Thanks!
 
  • #11
Oh yes that's right, I totally missed that part too!

We found that b=-7.5a and used the point (7.5,0)

y=ax^2+bx+c

0=a(7.5)^2+(-7.5a)(7.5)+c

c=0

We screwed up the bx part, we substituted b=-7.5a but forgot about the x=7.5 haha ^^

Yeah, better if you stick to the simpler method... saves you easily making an inevitable mistake like we both did :wink:
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 76 ·
3
Replies
76
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K