As we are adults here we don't need to rationalise the denominator
@scarbotheblacksheep95206 жыл бұрын
That amused me to hear him say that.
@munendersingh56316 жыл бұрын
Fre
@chessandmathguy6 жыл бұрын
Doesn't exactly serve any purpose.
@hectornonayurbusiness26316 жыл бұрын
I....... am a man now
@Rsharlan36 жыл бұрын
35 after algebra I, I still have a one word answer to sine π/4: "thuhsquairootuhtuovertoo". I wish you could get teachers like BPRP in HS.
@agfd56596 жыл бұрын
You can do this without the derivative just with a simple thought. At 3:40 you can complete the square with the term underneath the square root and notice that the lowest the whole expression can be is when x=5/2, this operation corresponds to finding the vertex of the parabola of the expression underneath the square root.
@angelmendez-rivera3516 жыл бұрын
Agfd That still involves the derivative, since the formula for the minimum of a parabola comes from the derivative.
@agfd56596 жыл бұрын
@@angelmendez-rivera351 no, I just completed the square, that's all you need to do, then you look at the expression and notice that x=5/2 is the lowest value of the expression.
@Alysio6 жыл бұрын
Alternative to taking the derivative leveraging properties of quadratics : Since the inside of the sqrt function is a 2nd degree polynomial, we know where it's roots are due to the quadratic formula. Knowing that a parabola has symmetry, you can also always know that the extremum of a y = ax^2 + bx + c parabola is at x = -b/2a. Here a = 1 > 0 and b = -5 immediately tells us that x = 5/2 is the minimum of the inside, and since sqrt is an increasing function, it follows that it's also the point where D is minimal :)
@Alysio6 жыл бұрын
And I just saw another comment mentioning that exact method, woops ! ^^'
@ClimateAdam6 жыл бұрын
Two suggestions: Personally would suggest finding derivative of D^2 as much simpler and minimum will be same! Or alternatively find the gradient of line from (3,0) to any point in the curve = root(x) /(x-3). The closest approach is when the curve's gradient is perpendicular. This boils down to root(x) /(x-3) = -2 root(x), and we get the same answer. Phew!
@srpenguinbr6 жыл бұрын
I remember once I found the minimum of D^2 in order to find a tangent circle to a curve. The center was a given point and the radius was the minimum value of D
@munendersingh56316 жыл бұрын
Fer
@totoxahc6 жыл бұрын
I couldn't believe he missed this
@almightyhydra6 жыл бұрын
Working with D^2 is a standard trick in situations like this, particularly in computing where you don't want to take a square root as it's imprecise and slow.
@angelmendez-rivera3516 жыл бұрын
The concept of gradient is only encountered in vector calculus, so for a differential calculus, your approach is unnatural and far from natural. He made the choice to present this approach for a reason. Questioning it merely misses the point. It is not as if he actually made a mistake.
@bradenscott51266 жыл бұрын
No one is acknowledging that this man has the cleanest outfits of any math genius ever .
@finlayhutchinson73704 жыл бұрын
A much easier way to do this is to get (3-x)^2-sqrt(x)^2 = distance^2 and then complete the square (x-2.5)^2 +2.75 and because where the distance squared is greatest is also where the distance is going to be greatest we can just find the x value of the maximum value of the graph which is obviously 2.5 and then sqrt it for the y value
@harshitbhalla74166 жыл бұрын
I'd say it would be better if we consider another function as f(x)=[D(x)]^2, and perform the second derivative test on f(x) so that the calculation becomes easy. This technique is correct as at the point (x,y) where the distance D will be minimum, the square of this distance will too be minimum! And yes we'll get to the answer real quick. Cheers🍻
@ezequielcentofanti58566 жыл бұрын
Another way of solving is to find a point on the curve where the tangent line at that point is perpendicular to the segment passing through (3;0) and that point. Those lines must be perpendicilar because the tangent to the curve is tangent to the circle centered at (3;0) and radius D (minimum distance), and the segment is a radius of the circle.
@TheKannanmnj6 жыл бұрын
I am trying to solve a 3d sphere prob same way, but am not getting
@axelgilbert72206 жыл бұрын
Well if you want to take the derivative of D and not D^2, you get a fraction and you may not say "we just need to worry about the top" You always have to worry about the bottom to be non-zero and what's under the square root to be positive. For instance, if one tries to find the point from y=sqrt(x) that is closest to (1/4;0) using the same technique, one will have a surprise (students, try it )
@pituitlechat38076 жыл бұрын
the min of D is the same as the min D² And is more easy to differentiate D² ! It's directly 2x-5!
@TJStellmach6 жыл бұрын
Once you have it in the form D²=(x-5/2)²+11/4 you don't even need calculus.
@brianjohns496 жыл бұрын
A great way to optimize the solution. This kind of thinking is so important nowadays for software development.
@shivamprakash63986 жыл бұрын
For minimum distance (3,0) passes through the normal. We can write equation of normal through curve in polar coordinates. Then we can find the coordinates of the point on curve. This one is easier method
@10GeorgeJJJ6 жыл бұрын
Couldn't you just find the minimum point of x^2 - 5x +9 by using the formula xmin =-b/2a? You know the trinominal ia always positive so you know that youll get the right answer
@lukasmbrito6 жыл бұрын
Yes that's right, because the square root function is strictly increasing, so if you know the minimum of a function you know the mininum of the square root of this function. In general it can be made for any increasing function and decreasing, althought in the latter the minimum becomes the maximum anf vice-versa.
@Actanonverba016 жыл бұрын
This guy is awesome.
@blackpenredpen6 жыл бұрын
Matt Curcio Thanks!
@CoasterMagicX26 жыл бұрын
@ 3:34 you could have set distance equal to a variable (let's call it A) and then square both sides so A^2=x^2 - 5x + 9 And then take the derivative. So 2a (da/dx) = 2x-5 and now plug in da/dx =0. This simplifies the calculations a lot because you don't have to worry about the Chen Lu. The down side to this is you have to implicit.
@MusicalInquisit4 жыл бұрын
I don't find either method that difficult.
@sardarbekomurbekov10306 жыл бұрын
Thank you. Chan Lu always saves a day.
@Reliquancy6 жыл бұрын
Optimizations involving distances come up so much trying to do practical things but it’s awful the limitations. For example finding the way to put n points on the surface of a sphere so the sum of all the distances between them is maximized is a famous unsolved problem in math and that’s just about the simplest thing you would want to do... I found a continued fraction approximation for distance that you can truncate and it helps but there are caveats to when you can use it. idk
@seanfraser31256 жыл бұрын
It would have been easier to minimize x^2 - 5x + 9 using either calculus or the vertex formula. The x-value that minimizes D^2 is necessarily the same one that minimizes D, since we’re only looking at x positive.
@coconutflour98686 жыл бұрын
Great solution, but I found another neat one! At the point closest to the given point, the line connecting the given point to the point on the curve has to be normal to the curve! So we can find the slope k of the tangent at x0 (the point we're looking for), and -1/k is the slope of the normal, then using the given point find the y-intercept of the normal and you have the equation of the normal! Then just equate that with the equation of the curve and solve for x0 :D
@wotchadave6 жыл бұрын
There's actually a second solution given by y=sqrt(5/2), namely y=-sqrt(5/2). Logically this makes sense, since the point is at y=0 and the curve continues into the negative y quadrant.
@wotchadave6 жыл бұрын
Unless it's defined purely as the positive square root... which I guess it is, given how the function is drawn
@anuradhasharma63085 жыл бұрын
You are simply the best! Love from India! 😊😍🤗😇
@flypelican15556 жыл бұрын
First!!!! ( Love from India 🤩 )
@Jozin26265 жыл бұрын
This helped me understand optimization better! Thanks
@emmeeemm6 жыл бұрын
Like other commenters, I minimized D^2, rather than D itself. f(x)=x^2 is a strictly increasing function when x > 0, so if (D(a))^2 < (D(b))^2, then D(a) < D(b) (distances are only positive, so squares of positives are all we care about). And because I didn't feel like picking arbitrary test values at 3 AM local time, I did a second derivative test instead on D^2. d^2/dx^2(D^2)=2, which is positive, so D^2 is concave up, making x=5/2 a local minimum for D^2 and therefore for D. Why do actual work when the math does itself?
@angelmendez-rivera3516 жыл бұрын
Because it is an objectively good habit to be able to do work like that. In the real world, strategies like that will seldom be available.
@slickomodee6 жыл бұрын
Since sqrt(x) is strictly increasing it's enough to maximize/minimize what's inside, isn't it. Take derivative of x^2-5x+9 and set zero to obtain 2x-5=0 which yields x=5/2 without using chen lu
@98danielray6 жыл бұрын
you dont even need that property. the derivative of (g(f))' will be a quotient multiplied by f', so f' =0 is enough
@trevorteske91045 жыл бұрын
Youre the best! Thanks
@kinyutaka6 жыл бұрын
I really need to read up on derivatives. It's the one part of these videos that truly gets me lost.
@yordyne.menendez77445 жыл бұрын
dang homie you wearing some supreme there
@buraningen95216 жыл бұрын
A sum of square is positive, so we know x^2-5X+9 is positive or equal to 0 We have just to find the minimum is (beta,alpha)
@markcentral6 жыл бұрын
Please Generalize to finding minimal distance from y=f(x) to point (a,b)
@SoyFerchow6 жыл бұрын
Ey, I love you. Saludos desde México
@husklyman6 жыл бұрын
What is the closest point to (x,y) from y=f(x)?
@blank0s1626 жыл бұрын
the point on y = f(x) closest to the point (h, k) is the point (t, u) f'(t) = (h - t)/(f(t) - k) u = f(t)
@Riiisuu6 жыл бұрын
Omer create a function of the distance, which is the the Pythagorean sum of the x and y components (like shown in the video), differentiate your distance sum to find the minimum (which would be the shortest point between the curve and (x, y) coords. Hope this helped
@marks96186 жыл бұрын
Omer (a,b) minimizes distance if a is a zero of -(2(x-a)+2f'(x)(f(x)-b))/(2sqrt((x-a)^2+(f(x)-b)^2)), and f'(x) for all values less than a is a different sign than those greater. The formula is too long to memorize, so just do it by hand, use Chen Lu Edit: grammar
@Green_Eclipse6 жыл бұрын
Define: f is the function you want to compare. (Xp,Yp) is the point you are comparing distance to. Therefore: Xp and Yp must be constants. Know: D^2= (X-Xp)^2 + (Y-Yp)^2. D= sqrt( (X-Xp)^2 + (f(x)-Yp)^2 ) Now take d/dx: D'=1/(2D) * (2(X-Xp)(1) + 2(f(x)-Yp)(f'(x)) D'=1/D * (X-Xp + (f(x)-Yp)(f'(x)) Some notes:f is not clearly defined and thus we do not know its derivative and cannot simplify further. However we can note that a minimum distance is when D' = 0. Therefore we can further note that: 0= X-Xp + (f(x)-Yp)(f'(x)) When that is true, that is a possible minimum value of distance but could also be a max or bounce back and be neither. So one should use the numberline check for D'(x) to make sure it changes from negative to positive to ensure it is a minimum.
@marks96186 жыл бұрын
densch123 I would imagine that that Omer was asking about generalizing the result in the video to an arbitrary function, restricting one point to the function's path. (x,y) was a bad choice of notation; (a,b) would be better.
@darwinschuppan86246 жыл бұрын
Can you please do a video on Y=Xth root of X and why it peaks at e
@blackpenredpen6 жыл бұрын
Darwin Schuppan You can check out my e^pi vs pi^e video
@olahalyn41396 жыл бұрын
The Xth root of X is the same as X^(1/X). If you take the natural log of both side, then use implicit differentiation. You get dy/dx is equal to 1/X(1-lnX). Setting dy/dx equal to 0 - looking for its maximum point, mean either 1/X is equal to 0(which shows the gradient tending to zero as X tends to infinity), or 1-lnX is equal to zero. Therefore 1 is equal to lnX and e^1 is X. So, the peak is at coordinates: (e, e^(1/e)). Does that answer your question?
@darwinschuppan86246 жыл бұрын
@@olahalyn4139 Yes! Thank you!
@jakemoll6 жыл бұрын
There’s another way to do it, by minimising the determinant of the vector from (3,0) to (t^2, t), which is on the curve
@thestrategict.v.4996 жыл бұрын
I don't know if you know this but this exact same problem was on the JEE MAIN exam held in India about a week back!
@blackpenredpen6 жыл бұрын
The Strategic T.V. Wow!! This is just a HW problem that I assigned to my students.
@郭典昀6 жыл бұрын
using tangent line vector perpendicular to distance vector .
@whichwitch_16 жыл бұрын
I know we can use Lagrange multipliers too, then how about you to show us using them? I'm college student, highly interested in multivariate functions and calculus.
@Veggie136 жыл бұрын
The other way I did this was to find the perpendicular to the curve that passed through (3,0). I THINK this is valid (it gives the right answer, anyway). The slope at (x, sqrt(x)) is m = 1/(2 sqrt(x)). The perpendicular is m* = -1/m = -2 sqrt(x). D = (3-x, -sqrt(x)), so m* = -sqrt(x)/(3-x) = -2 sqrt(x). Solution is x=5/2.
@sireevictineerivero3426 жыл бұрын
The solution provided is more general. I dont think that works for every case
@Veggie136 жыл бұрын
@@sireevictineerivero342 It's a necessary condition. It's probably not sufficient though. Let our function be y = f(x). Let our point be (X, Y). Let D = sqrt((Y-y)^2 + (X-x)^2). Find 0 = D' = (2(Y-y)(-y') + 2(X-x)(-1))/2D = (-(Y-y)y' - (X-x))/D. Thus y' = -(X-x)/(Y-y) is true at the solution. Let the slope be m = y'(x). Let the perpendicular be m* = -1/m = (Y-y)/(X-x). This shows the perpendicular at (x,y) passes through (X,Y).
@The_Math_Enthusiast4 жыл бұрын
I did this by completing the square and it worked equally well.
@hisxmark6 жыл бұрын
My first impulse was to rotate the graph pi/2 counter-clockwise, Then find the find the intersection of the line through (0, 3) with the slope of =1/2, then rotate the answer back -pi/2. Then you don't have to deal with 1/(x)^1/2. But then, I'm kind of simple minded.
@TheKannanmnj6 жыл бұрын
I didn't get u, 918547238291 can u please watzap dat
@hisxmark6 жыл бұрын
@@TheKannanmnj Were you addressing me?
@TheKannanmnj6 жыл бұрын
@@hisxmark yes hisxmark
@hisxmark6 жыл бұрын
@@TheKannanmnj Let u = (x)^1/2 => v = u^2, then du/dv = -2 and the shortest distance between the point (u =0, v = 3) has the slope -1/2. Solve for the intersection of that line with the parabola, then, simply do the inverse transform. Or, put the problem in the complex plane, multiply by i solve for xi + y find the distance from (0, 3i) and multiply by -i.
@TheKannanmnj6 жыл бұрын
@@hisxmark I have a prob can I solve this way
@emperorpingusmathchannel53656 жыл бұрын
Can you do the closest points between 2 curves now?
@98danielray6 жыл бұрын
@Nemo Clanc it depends on the second derivative might as well be the furthest or neither
@angelmendez-rivera3516 жыл бұрын
Nemo Clanc Not quite. You are supposed to use a distance formula. It is more convoluted than what you stated.
@fireblastification4 жыл бұрын
Thank you so much
@yge10356 жыл бұрын
I think you could've also take the drivitive of f(x), and multiply that by the slope of the line that the points create, and that should be equal to -1 solution: [0.5×sqrt(x)]×[(sqrt(x)-0)/(x-3)]=-1 (0.5)/(x-3)=-1 1=-2x+6 x=5/2 :) #yay
@NonTwinBrothers4 жыл бұрын
In precal we did this problem using x=-b/2a, hehe
@Sasquatch4lifeX6 жыл бұрын
Do more videos with multi variables!!! Calc 3!
@pachi066 жыл бұрын
you don't have to differentiate d(x) because min d comes from min d^2=x^2-5x+9=(x-5/2)^2+r
@theperpetualprocrastinator97766 жыл бұрын
Could you do a video using the calculus of variations? I'm trying to wrap my head around it.
@johnquest31026 жыл бұрын
Me too, I only ever saw one example of it, the tautochrone problem.
@windwave424 жыл бұрын
youre awsome!
@seangrand38856 жыл бұрын
Why did you not find what x can be in the denominator? What if 5/2 makes the square root negative or the inside quadratic function equal to 0?
@joluju23755 жыл бұрын
Of course you can easily verify that 5/2 doesn't lead to problems, but it's useless since 5/2 is the only candidate solution. A problem at 5/2 would mean there is no solution, which is impossible, there has to be a closest point.
@rogerkearns80946 жыл бұрын
Chen we lu it? Yes, we chen!
@diegobotto62456 жыл бұрын
I'm in college i passed calculus 1 a year ago, and i forgot how to do this, i feel so embarassed
@ulymoni90725 жыл бұрын
Great work my guy and Elizabeth doesn’t like you
@redactdead6 жыл бұрын
Can't you also take the derivative of D² and find the same minima because √x is an increasing function?
@cameronkhanpour30026 жыл бұрын
Oh lord this is giving me ptsd of related rates and optimization
@Eternap6 жыл бұрын
"We are adults now"
@orlando._.5756 жыл бұрын
Orthogonal projection 🤔
@timothyvowell47736 жыл бұрын
Got it right 😎
@KaiKunstmann6 жыл бұрын
When x -> infinity, then D'(infinity) = 1/(infinity) = (almost) 0; ergo, x=infinity is another solution. right?
@TJStellmach6 жыл бұрын
That is essentially a zero derivative _maximum_ value, not a minimum.
@KaiKunstmann6 жыл бұрын
I have an error in my limit anyway: forgot the x in the numerator, so when x -> infinity, then D'(infinity) -> 1.
@angelmendez-rivera3516 жыл бұрын
x = infinity cannot be a solution to anything because it is not a number.
@shandyverdyo76886 жыл бұрын
*PLEASEEE HELP MEEE I'M DYING* i can't solve integral of 1/(x^8 + 1)
@angelmendez-rivera3516 жыл бұрын
Shandy Verdyo You can factor x^8 + 1 using the roots of negative unity. Then multiply together complex conjugate pairs to get 4 irreducible quadratic factors, and then perform a partial fraction decomposition. It becomes awfully easy to integrate each fraction separately, and all you need do is add the integrals.
@shandyverdyo76886 жыл бұрын
@@angelmendez-rivera351 Yeah thanks anyway. But i stuck on PFD cz it has very much decomposition.
@marco-xe9je6 жыл бұрын
Wow, this is actually an a clever idea, is it common in calc classes? I'm in high school tho
@TJStellmach6 жыл бұрын
Yes, this is a pretty standard calculus approach to finding a minimum value. In this particular case, though, your high school math will do. Since the minimum distance is also the minimum _squared_ distance, you can get this in the form D²=(x-5/2)² + 11/4 and you're home free. The minimum is then obviously where x-5/2=0.
@marco-xe9je6 жыл бұрын
@@TJStellmach From where did this D^2 function and that 11/4 came from? And what do you mean by minimum squared distance? Maybe these questions sound a bit trivial, but my math skills and my english aren't that good dude, if this is the case I'm sorry haha
@atp4296 жыл бұрын
@@marco-xe9je He basically means that if we just find the minimum of (x^2 - 5x + 9), we'll get the minimum of it's square root too. That D^2 expression comes from a method called completing the square. Basically, we need to write x^2 - 5x + 9 in the form of a squared expression + a constant. Kinda hard to explain how it's done, but if you work out (x-5/2)^2 + 11/4, you'll get x^2 - 5x + 9. Therefore we know that the expression will be minimum when x = 5/2
@marco-xe9je6 жыл бұрын
@@atp429 Oh, now I see, thanks man!
@marco-xe9je6 жыл бұрын
@@TJStellmach Thank you too bro!
@danieldyszkant32456 жыл бұрын
Very impressive but can you find the formula of the parabola x^2 rotated θ degrees around the origin
@Veggie136 жыл бұрын
Define your parabola as the parametric function (t, t^2). Then apply the 2D rotation matrix [[cosθ, -sinθ],[sinθ, cosθ]] to that vector. This gives a new parametric function (t cosθ - t^2 sinθ, t sinθ + t^2 cosθ).
@giovanni19466 жыл бұрын
Great ! Actually I had this to do as a math exercise 1 week ago with (2, 0) xd
@Myquerencia6 жыл бұрын
Solve all the values of x and y such that 16^(x^2+y)+16^(y^2+x)=1
@aarondevon81446 жыл бұрын
Can you tech some basics for ap calc and high Shcool students
@JamalAhmadMalik6 жыл бұрын
#yay!😘 I'm a wannabe mathfreak!👌
@felipevidotti92456 жыл бұрын
Why 2X-5=0 ?
@blackoutemzz26744 жыл бұрын
He found the derivative of D(x). And equalled it to zero. So he can find x and y.
@alpag1236 жыл бұрын
We have been used to more difficult...
@kingarth0r6 жыл бұрын
I like how you say you don't need to rationalize the denominator because all calc students are adults. Meanwhile I'm taking calculus at 14 lol
@blackpenredpen6 жыл бұрын
KingArthur Lol, you are a math adult!!!
@MathNerd17296 жыл бұрын
Same here Lol
@balazsb20406 жыл бұрын
I'm glad I'm not the only 14-year old interested in Calculus.
@plopap6 жыл бұрын
I’m 7 lol
@mrrahal77036 жыл бұрын
Pleaseeeee do this integral : Integral of 10/(3sinx + 5cosx)^2 ❤❤❤👊
@blackpenredpen6 жыл бұрын
MR RAHAL is this another IIT JEE one again?
@PackSciences6 жыл бұрын
So here is my attempt. D(x) = |O(x,y) - M(x,y)|_2 = sqrt((xO-xM)^2 + (yO - yM)^2) = sqrt((X-3)^2 + (Y-0)^2). O lies on Y = sqrt(X) D(x) = sqrt((x-3)^2 + X) = sqrt(x^2 - 6x + 9 + x) = sqrt(x^2 - 5x + 9) = sqrt((x-5/2)^2 + 11/4) (x-5/2)^2 + 11/4 is a second-order real-coefficient polynomial with the dominant coefficient being positive, therefore its extremum is a minimum. 11/4 is positive, so (x-5/2)^2 + 11/4 is always positive. So min D(x) = sqrt(min (x-5/2)^2 + 11/4) = sqrt(11/4), reached when x = 5/2 so when y = sqrt(5/2).
@Foxxey6 жыл бұрын
Pls make a bid about i! And !i
@aarondevon81446 жыл бұрын
Please be my math tutor
@CaptainJohnPrice114 жыл бұрын
i love you
@MalekiRe6 жыл бұрын
In the first day Ya!
@diogofaustino68935 жыл бұрын
I love this channel but I simply can't understand why he chooses not to take the (-0) out from one step to the other and then differentiates like a madman. He's either very cautious and slow on the explanation or skips steps.
@anand.suralkar6 жыл бұрын
Hey
@arghyadeepchatterjee61006 жыл бұрын
No disrespect but this is not the quickest and easiest way to do this. Think about it in a geometrical way. The point that is closest to (3,0) would lie on the intersection of curve and the normal to the curve passing through the point (3,0) . So let us parametricize and denote a general point on the curve as (t^2,t) keeping in mind that t must be positive. And then just find the equation of normal at the parametric point and make it pass through (3,0) To find the equation of normal at any point we could use differentiation or , use the concept of finding the equation of tangent to any 2nd degree equation and then just finding the equation of normal. Solve it to find t=5/2 See the solution here :- plus.google.com/photos/photo/100774575622085894963/6649612158703815490?authkey=COXa7dfjsL-6lgE
@TheKannanmnj6 жыл бұрын
Can u come watzap I have an interesting prob to solve this way 8547238291
@vondrez6 жыл бұрын
lol i just did this type of question in class today :L