#i need help please
158 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
@wise crag
@mossy salmon
I have zero clue how to solve this
Newton Raphson?
Ok are you supposed to prove it?
Yes
The photo is already giving you a clue
Yes
What point can i use
Uhm in the Newton Raphson method you start with a random one
For your proof you have to use a random one too I guess
Can i use [1,0]
Well they're asking you to prove it, aren't they?
Yes
So you have to use a generic one
But without using taylor series
use x_n
Like $x_0$
ϕ Miguel
So now write the tangent line to the function at x_0
@charred widget
Omg Wolf why you type so fast
im typing slow rn lmao
Lol
Smh
I love u guys
love you too
No, you have to find the rule
And for that you need to know the tangent line to the function at x_0
yeah first find that
And how does y relate to the derivative of y?
You can write f(x)
So
$f(x)-f(x_n)=m(x-x_n)$
ϕ Miguel
man
Now you need to know how m relates to the derivative of f
So everything is in terms of f and x_n
i think
they have been taught the equation of the tangent
@charred widget have you not
if not then miguel continue
They've written it
So do you know that the derivative at some point is the slope of the tangent line to the function at that point?
ϕ Miguel
We can write that instead of m
Why
Because of this right
ϕ Miguel
At every point
For example
f(x) = x²
f'(x) = 2x
f'(2) = 4
So we know that the tangent line to the function at x = 2 has a slope of 4
You can check it visually
,w graph x^2, 4x-4
WOW
There it is
They have the same point
ϕ Miguel
Everything in terms of x_n and f, great
So now we need to know where the tangent line is equal to 0
As your gif shows
Because that will be the next x
But why zero
Yes, the slope is always smaller and smaller
I feel smart
This one
So we substitute zero in f(x)
Maybe using f for both the original function and the tangent function is a bad idea
Anyway we set f(x) = 0 yes
$f(x)=f'(x_n)(x-x_n)+f(x_n)=0$
ϕ Miguel
And now you just have to isolate x there
I get it
And you'll get the Newton formula
$f'(x_n)(x-x_n)+f(x_n)=0$
ϕ Miguel
First of all we take the f(x_n) thing to the other side
We get this
$f'(x_n)(x-x_n)=-f(x_n)$
Yes
ϕ Miguel
And now you divide by f'(x_n)
Yes
$(x-x_n)=\frac{-f(x_n)}{f'(x_n)}$
ϕ Miguel
And you finally move x_n to the other side
$x=x_n-\frac{f(x_n)}{f'(x_n)}$
ϕ Miguel
And as we are gonna use that x as our new x_n
We call it x_n+1
$x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}$
ϕ Miguel
Miguel i love u so much THANK U SO MUCH U SAVED MY LIFE
Which is the Newton Raphson Formula
No problem!!