hey i wanted to calculate how much the curvature is changing on a certian point and i came across this which does work but it gives how much its changing both ways but i need to know how much its changing only in the right direction -> like for some function like cos(x^2) at -0.5 and 0.5 gives the same value for both since -0.5 is changing rapidly in the negative direction and 0.5 is changing rapidly in the right direction so is there anyway i can know how much its changing on specific direction?
#How much the curvature changing in a specific direction
44 messages · Page 1 of 1 (latest)
- Do not ping the Moderators, unless someone is breaking the rules.
- Do not ping the Helper Moderators, unless there is a conflict between helpers.
- Do not ping other members randomly for help.
- Ask your question and show the work you've done so far. If you've posted a screenshot of a question, specify which part you need help with.
- Wait patiently for a helper to come along.
- If the Helper has answered your question, remember to thank them with the Mathematics Ranks bot and close the thread with:
+close
Feel free to nominate the person for helper of the week in #helper-nominations
If you're happy with the help you got here, and the server overall, you can contribute financially as well:
I'm not sure what you mean "curvature in one direction". Curvature, at least from what I can tell, is scalar and pointwise.
like at point -0.5 in the negative direction it changes rapidaly but in the right direction its more of flat
this can work but both it only gets the result for both directions how
If you're interested in the change in curvature, wouldn't you want the derivative of the curvature function?
derivative of k(x)?
ill try one sec
I mean, yeah, right? That's how you analyze how a function is changing.
without the abs value tho right
I dunno, frankly I'm not sure where this formula comes from. The derivative of absolute value is easy, though.
In this section we give two formulas for computing the curvature (i.e. how fast the function is changing at a given point) of a vector function.
Maybe it's better to use a more general formula.
If we have a parametric curve x = x(t), y = y(t), then:
κ(t) = (x'y'' - x''y')/((x')^2 + (y')^2)^(3/2)
This gives the signed curvature.
its exactly the same result
Yeah, I get that, but this formula is applicable to a wider range of curves.
yeah but im looking to get the curvature change only in the positive direction 😭
Not sure what you mean by that.
look what im trying to achieve is i want to know when the curve is being more of flat or rapidly changing but the thing is at point -0.5 as an example it does change rapidly in the negative direction but not in the positive direction but at point 0.5 it's the opposite so i want something that gives how much it's changing only to the positive direction on the x axis
Well, you can just look at the first derivative, then.
that only tells weather it's increasing or decreasing it doesnt account for the curvature how rapidly the shape is changing beyond the immediate slope
I'm still not sure what you mean. Maybe try multiplying the second and first derivative?
look im implementing an integral that makes a polygon having n the number of points across the curve the thing is im not having ∆x as js smth static like (b-a)/2 but it gives less points where the curvature is more of flat and more points where the curve shape is changing rapidly
so in my case if i want to get the integral from lets say -0.5 to 2 i would give the range from -0.5 to 0.5 less points than what i would give from0.5 to 2
so it's weighted based on how much the curve is changing
Curvature at a point doesn't have direction. The curvature at -0.5 is constant. The curvature to either side of -0.5 may be behaving how you say, but to say the curvature at -0.5 is changing "differently" in "different directions" is nonsensical. -0.5 is one single point, it doesn't have "directions".
okay but like i told u the behavior at -0.5 is different going positive direction than the negative direction so i only want to calculate how much it's changing that's what i need
No, it's not, because that's not the behavior at -0.5, that's the behavior around -0.5.
well sure that's still what i need to have a function to in order to have an optimal ∆x
The point is that the curvature at a point doesn't change, and even insofar as it does "change", i.e. is differentiable, that's still not a directionally variable thing.
yeah true what i need is how much the curvature change from -0.5 to the right
Which is nonsensical.
how come i mean if the eye can spot it so does math right 😭
My eye can't spot it.
can't u see that point -0.5 in the positive direction is more of flat but at like point -0.5 the shape ks rapidly changing
No. What I can see is that at some point which is to the right of -0.5, the curvature is flat, and that at some point to the left of -0.5, the curvature is greater.
yes that's what i mean
which is what i want to evaluate
how much of flat at -0.5 is
Then you have to measure the curvature at those points.
look it i used the curvature equation at let's say -0.1 I'll get a value showing it doesnt change much at it but at let's say 0.5 it DOES change much since going to the right of 0.5 the curve is changing much which would give a value for it BUT at -0.5 it has the same thing at -0.1 going to the right but it changes rapidly going to the left which is the same as 0.5 that's why im saying directionally
Okay so what worked for me is
The second derivatives of the function from two points like -0.5 to 0 as an example so
sd(f(x))d (x1+x2)/2
Abs(NumericDerivative(D(Cos(x^2),x),x,(x*1+x*2)/2))
@edgy smelt
:HelpIcon:| Help Reminder
Hello thequestioner., this is a friendly reminder that your help request has been inactive for more than 24 hours. If you no longer need assistance, please consider closing the thread using the +close command. This thread will be automatically closed in 3 days if it remains inactive.
+close
Please thank your Helpers before closing!
Please thank the helpers who assisted you by clicking the buttons below. You can thank each helper only once. Once you're done, click "Close Post" to close this thread.