I have a small query to make regarding concavity and convexity......I have three consecutive points on a curve.and given the angle between the lines joining 1st and 2nd point,2nd and 3rd point respectively.I am supposed to define a function which accounts for concavity and convexity of the curve.It should be a linear function of the angle that is calculated(adsbygoogle = window.adsbygoogle || []).push({});

i tried using equation of the line passing through 1st and 3rd point and had one arbitrary point inside the curve.My logic was that,based on the sign of the result we get by substituting the point number 2 and the arbitrary point,i can determine the concavity and convexity.But this seems to fail in my case as there are points which are close to each other,so,this logic is not able to differentiate properly between a concave and convex side.

instead,i thought of using the manifold angle which was calculated as mentioned in the first few sentences,as the basis to determine the nature of the curve.just wanted to know if this is feasible or not....the function should assume a high value in convex region and small value in concave regions.and one more function to be defined such that it assumes a positive value in concave regions and negative in convex......both should be functions of manifold angle....please help me in sorting this.....at least give me an idea of how i can go about it....

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Concavity and convexity

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**