[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

What's the point of analytic differentiation when you can

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 24
Thread images: 2

File: Derivative.png (68KB, 1200x1328px) Image search: [Google]
Derivative.png
68KB, 1200x1328px
What's the point of analytic differentiation when you can just use numerical differentiation on basically anything without thinking about it? Shouldn't it be retired along with other outdated shit like encyclopedias or the abacus?
>>
>>9121117
Computers are dumb. They'll analyze anything you throw at it. You have to know your input is legit.
>>
>>9121131
Nobody's asking computers to come up with your input for you, I'm talking about output i.e. solving.
>>
"What's the derivative of x^2?" "2x."

vs.

"What's the derivative of x^2?" "For which value of x?"
>>
>>9121141
The first question isn't necessary if you have the ability to provide the answer for every x of the second question. The whole point of having an answer to the first question is being able to answer the second question, and numerical differentiation makes it so you don't need to know what that exact new derivative function is.
>>
Lel, you will fail basic integration with that mindset.b
>>
>>9121328
Literally just use trapezoids.
>>
>>9121418
>he doesn't use tai's method
>>
>>9121151
Its ridiculously computationally expensive to get a limit of x^2 repeatedly rather than just calculating 2x
>>
>>9121518
It depends on what you're using it for. Unless you need it to constantly execute once a second or something it probably won't matter.
>>
>>9121117
>>9121138
You have to understand what it's doing for you, otherwise it's just a black box. If something goes wrong, how will you troubleshot if you don't understand the basic subroutines? How will you know if something is wrong with your output in the first place?

Aside from that, there are situations where you're not working with any particular set of numerical values but you'll still need to compute derivatives (e.g. the derivations of various scientific laws, transformations of differential equations, etc.)
>>
>>9121602
>You have to understand what it's doing for you, otherwise it's just a black box.
So it's only as good as all the recent wildly successful artificial neural network applications including self-driving cars?
>>
>>9121117
While finite differences of order n reconstruct polynomials of degree n perfectly (pretty much the same as taylor series), they don't lend themselves very well to proving analytic results.


>>9121328
>>9121418
>>9121424
Just use Gaussian quadrature.
https://en.wikipedia.org/wiki/Gaussian_quadrature#Gauss.E2.80.93Legendre_quadrature

(midpoint is better than trapezoid btw)

>>9121518
Extrapolation methods do wonders.
Check out Shanks transformation.
https://en.wikipedia.org/wiki/Shanks_transformation
>>
>>9121634
>Check out Shanks transformation.
Pretty cool, thanks anon.
>>9121634
>(midpoint is better than trapezoid btw)
Yeah, I never thought trapezoid was the best, just liked that it was easy enough for me to understand and program iterations of from scratch.
>>
>>9121592
If you're doing something like game graphics, calculus is being done non stop. Finding the normal vector on a curved object is pretty much only finding 2 different tangents then finding the cross product.
>>
>>9121641
Gauss Legendre of order n tells you at which points you must sample a polynomial of degree n to get the exact answer for integration (your interval must be re-scaled to [-1,1] of course).
>>
>>9121647
I don't know how common it is for people to reinvent low level game graphics methods anymore.
>>
>>9121666
Satanic trips, but also what about something like differential equations? What if you are given something like y=f(y'), and y(t0)=C, and they want you to solve y(t0+100000)? Are you going to use newtons method, instead of just solving it and jumping right to the solution?
>>
>>9121677
What's wrong with just having a program that implements Newton's method and then applying it twice? Whatever you lose in computational efficiency for that specific problem you more than gain in time saved by automating the entire universe of problems of that class.
>>
File: 1503014291670.jpg (80KB, 947x946px) Image search: [Google]
1503014291670.jpg
80KB, 947x946px
>>9121614
If you're okay with the "throw shit at a wall until it sticks approach", then yes.
>>
>>9121686
Because
1.) Newtons method introduces error that could make your calculation useless. Suppose you tried newtons method on y=-y'', given y(0)=0,y'(0)=1, could you really calculate y(5000*pi) to any meaningful accuracy? Because by proving y=sin(x), you can have a closed formula.

2.) Extrapolation is incredibly computationally intensive compared to simply plugging in the solved formula. Moreover, usually a given problem will have a somewhat constrained problem set to deal with, so its much easier to just solve the given set (aka copy textbook information into a coding language)

Check out the Pixar papers - chock full with all sorts of lovely calculus

http://graphics.pixar.com/library/

We wouldn't have such good graphics today without those types of deliberate attempts to model the real world using calculus
>>
>>9121117
Analytic solutions will always be useful because you can create a base of new mathematics with them.

Normally this new set of math is to describe some physics or engineering problem.
>>
>>9121117
With that mindset, I guess finding any root(s) of the Zeta function is impossible now. Thanks for hindering mathematical progression.
>>
>>9121117
For applied purposes numerical differentiation is fine and I'd say an interesting subject everyone should study. But numerical differentiation would be impractical for pure purposes. Here is an easy example:

Suppose you have two functions f(x) and g(x) defined around 0. Suppose that f(0) < g(0) and that (g(0) - f(0))' > 0. Those two inequalities imply that there exists some interval around 0 where g(x) > f(x).

This may be trivial but this is really useful. And you can conclude that immediately for the normal derivative. But for numerical derivatives you would first have to checks the bounds of its errors and check if you already took the derivative "well enough" to actually conclude the inequality. Not practical.
Thread posts: 24
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.