Transcript
The following content is provided under a Creative Common license. Your support will help MIT Open Courseware continue to offer highquality educational resources for free. To make a donation or to view additional materials from hundreds of MIT courses, visit MIT Open Courseware at ocw.mmit.edu. Now today I need to uh get started by finishing up what I did last time namely talking about numerical methods and I want to just carry out one example and uh then I want to do one fill in one loose end and we'll and then we'll talk about the uh unit overall. We were talking last time about numerical integration.
I'm going to illustrate this just with the the simplest example that I can. Uh we're going to look at the integral from two 1 to 2 of dx overx which we know perfectly well already is the log of x evaluated between 1 and 2 which is log 2 - log 1 which is just log two. Now if you punch that into your calculator you're going to get something like this. I hope I saved it here. H. Yeah, it's about uh 0.69. What else? Uh 31 47. That's more digits than we're going to get in our discussion here. Anyway, that's that's about how big this this number is. And the numerical integration methods will give you about as much accuracy as you can get on the function itself.
And of course, some functions we may have more trouble approximating, but the function 1 /x we know pretty well how to do because we know how to divide. So since since the function that we're integrating here is 1 /x, it's going to be not too difficult to get some arithmetic. Nevertheless, I'm going to do this in the simplest possible case, namely just with two intervals. Now, you really can't expect things to work so well with two intervals. That's a pretty ridiculous uh approximation to your function. When you have two intervals, that means you're looking at the graph of this hyperola. And you have one here and you have two here and you have three halves.
And you're really only keeping track of the values at these three spots. So the idea that you can approximate the area just by knowing the values at three places is is a little bit of a stretch of the imagination, but we're going to try it anyway. Now the trapezoidal rule is the following formula. It's delta x times a half the first value plus the second value plus a half The third value in this case it's the the pattern is a half one one one a half and in this case delta x is a half because this interval is a length one right the the b minus a right uh let's just point that out here b is equal to two a is equal to 1 b minus a is equal to 1 and the number n is two and so delta x which is b minus a / n is a half.
So here's here's what we get. And let's just see what this number is. It's a half of the value at here. Well, so let's just check what these values are. This value is one. This value over here is 2/3. And the last value is a half. All right? Because the function of course was y= 1 /x. And those were the three values that we have. So y 0 this one is y z this one is y1 and this one is y 2. All right. Now here we have a half * 1 + uh 2/3 plus a half * a half. Now on an exam I don't expect you to add up long messes of numbers like this. When you have two numbers, I expect you to add them up if they're reasonable or subtract them just as we do when we take anti-derivatives.
Like for example, I don't want you to leave the answer to an integration like this in this form. I want you to simplify it at least down to here. And I of course don't expect you to know the numerical approximation, but I certainly expect you to be able to to do that. On the other hand, when the arithmetic gets a little bit long, uh you can relax a little bit, but I did carry this out on my calculator. Unless I'm mistaken, it's about point N6. It's not It's pretty far off. All right. So, remember what it was. It it's it's it's what you get when you get these straight lines and there are these little extra pieces of junk there.
Now, don't don't trust that too much, but it's but it's it's far the point is that it's far off. All right. So, now let's take a look at Simpsons rule. And I claim that Simpsons rule is is is surprisingly accurate in this case really even a little more than it deserves to be. The formula is delta x over 3 * y 0 + 4 y1 + y 2. So the pattern is 1 4 1 or 1 4 and then it alternates twos and fours until 41 at the very end. And if I just plug in the numbers now what I get is a sixth because delta x is a half again and the value for y z was one and the value for y1 was 2/3 and the value for y 2 was a half.
So here's the the uh estimate in this case and let's this one I did carry out carefully and it came out to 0.69444. All right, which is actually pretty impressive if you think about it given what what the logarithm is. Now what's going on with Simpsons rule in general is this uh if you Simpsons minus the exact answer in absolute value is approximately of the size of delta x to the 4th power. That's really the way it behaves. which means that um if delta x is about a tenth. So if we had divided this up into 10 intervals which we which we didn't but if we divided up into 10 intervals then you could expect that delta x the error would be about 10 theus4 in other words four digits of accuracy here for this for this uh thing but the the the exact analysis of this a more careful analysis is this is in your textbook and I'm I'm not going to to do it uh but I I just want to point out that it is an effective method.
It really does give you nice fourdigit with with manageable. You could even really do it by hand. It's it's so convenient, the uh Simpsons rule, whereas the other rules aren't really that impressive as far as giving fairly accurate uh uh answers. The the other the last little remark to make is that the reason is that Simpsons rule is matching a parabola and somehow the parabola follows this curve better. It's giving the exact answer. So I'll I'll I'll mention this. Simpsons rule is derived um using the exact answer for all um degree uh two polomials. In other words, parabas, all parabas, and but all even all the ones of lower degrees.
So, uh, straight lines would work and constants would work as well, whereas the other ones only work for say straight lines. The trapezoidal rule only works for for straight lines. But there isn't a weird accident. It turns out that it also works for cubics. Once you get the formulas, it works for cubics. So it's also exact for cubics and and that's what explains the fourth order uh validity. The last thing that I want to point out is that this is extremely vague what I said there and you should be a little bit cautious about it. You need to watch out for 1 /x uh for x near zero. All bets are off if the function is singular and there's a lot of area under there.
And it's also true that if the derivative messes up, you're you're in trouble, too. You really need for the function to be nice and smooth in order for Simpsons rule to work. Well, this is W out. That's a real loth out but we will try to make that watch out watch out for when x near x equals zero then then then this thing doesn't work. We really this thing really depends on on bounds on derivatives. But I'm I'm going to be relatively vague about that. I'm not attempting to um give you an an error analysis here. Okay. So if you were doing this on an exam, how do you remember these this strange pattern of numbers?
Well, the the one thing that I want to reme recommend to you is as a as a way of remembering it. So the the one pneummonic device, we'll call it a pneummonic device here for for remembering what it is that you're doing. is to remind yourself of what happens for the simplest possible case which is f ofx is equal to one. It seems very modest but if the if it doesn't give you the exact answer for f ofx equals 1, you've got the wrong waitings. And here if you check out what happens when in the first formula here y 0 over 2 + y1 + um uh well we'll go all the way to yn -1 + yn / 2. All right. If you check that formula out here, this is the trapezoidal rule.
If you check it out for this case, then what you get is that this is equal to delta x times what? Well, all of these are ones. And how many are there in the middle? There are n minus one of them in the middle. So it's a half plus n minus one plus a half at the tail end. So all told it's delta x * n. And I remind you that delta x is equal to b minus a / n. So delta this thing is equal to b minus a. And that's just as it should be. What we just calculated is an approximation to this integral here, which is just the area of the rectangle of base B minus A and height one, which of course is B minus A.
So this is the this is the check that you that you got your weighted average correct here. You you've you've put the correct weightings on everything. And you can do the same thing with Simpsons rule and uh match up those those quantities. There was a question in the room at some point. Did I? No. Okay. All right. Fine. So now the next thing that I want to do for you is a uh the the loose end which I left hanging. namely I want to compute that mysterious constant square<unk> of pi / 2. This is really one of the most famous computations in in uh calculus and it's a very very clever trick. I certainly don't expect you to to come up with this trick.
I certainly wouldn't have myself, but it's a it's an important thing to calculate and it's just very useful. So I'm going to tell you about it and it's just on the meth the subject that we're dealing with in this unit namely slicing or adding up. So the first step which is just something that we already did was that we found the volume under this uh under this uh this curve this bell-shaped curve eus r 2 but rotated around an axis. Okay, rotated around this axis around this way. All right, so we we figured that out and that was a relatively short computation. I'm just going to remind you it goes by shells.
We integrate the whole range from 0 to infinity and we have 2 pi r eus r 2 dr. So this again is the circumference of the shell. This is the height of the shell and this is the thickness of the shell. Circumference, height, thickness. Okay, so we're just taking a little piece here and sweeping it around and then adding up. And then this anti-derivative is uh pi - pi eus r 2 evaluated at 0 and infinity. And we worked this out last time. This is um this is pi. It's pi * 1 - 0, which is pi. All right. So the conclusion is that V is equal to pi. We already know that. Now the problem that we want to deal with now is the problem not of a volume but an area and this looks quite different and of course the answer is going to be different but let's do it.
So this is this question mark here and I'm going to do the one from minus infinity to infinity and I'll relate it to what we uh talked about earlier in this in this unit in in just uh a couple of minutes when I show you the the the the procedure that we're going to follow. So here's the quantity and now what this is interpreted as is the area under this bell curve. This time Q is really an area. Now what's going to turn out to happen is is this. This is the trick. We're going to compute V in a different way. And you'll see it laid out in just a second. We will compute V by slices. We're going to slice it like a piece of bread here.
We're going to solve for that same thing here. And then amazingly, what's going to happen is that we will discover that V is equal to Q ^2. That's going to be what's going to come out. And that's the end of the computation that we want because actually we already know what V is. We don't want to read this equation forward. We want to read it the other way. We want to say Q ^2 is equal to V which we already know is pi. And so Q is equal to the square root of pi. All right. I haven't shown this yet. All right. This is the this is the weird part and I'm going to put it in a little box so that we know that this is what we need to check.
We need to check this fact here. We haven't done that yet. Now let me connect this with what we did uh a few days ago with what I called one of the important functions of uh mathematics besides the um the ones you already know. And so the function that we were faced with and that we discussed was this one. All right. And then we were interested in the value at infinity. We were interested in this which if you draw a picture of it and you draw the same bell curve, that's the area under half of it. That's the area starting from zero and going to infinity. That's the area under half. So this chunk is f of infinity.
And now I I I hope that this part of the connection is not meant to be fancy. The the the idea here is that that q is equal to twice f of infinity. This number here and so f of infinity is equal to the<unk> of pi / 2 if we've if we believe what we said on the last panel. And that was the thing that I drew a picture of on the board. Uh namely the graph of of of f looked like this. And there was this asmtote which was the limit f ofx tends to pi / 2 as x goes to infinity. That was that limiting value which is f of infinity. All right. So this is the asmtote and and now I've explained the connection between what we claimed before which was quite mysterious and uh what we're actually going to be able to check now concretely by making this computation Okay.
So, so how in the world can you get something like this? What's in that orange box there? That v is equal to q ^2. Again, the the technique is to use slices here. And I'm going to have to draw you a 3D picture to visualize the slice. So let's let's do that. I'm going to draw three axes now because we're now going to be in three-dimensional space. And I want you to imagine the x axis is coming out of the blackboard. The y- axis is horizontal. And there's a new axis which I'll call the z-axis which is going up. So what's happening here is that I'm thinking of this uh this is if you like some kind of side view and this is a view where I've tilted things a little bit up to the top.
Now the distribution or you could think of this target in the plane where the most uh likely places to hit were in the middle and it died off as we went down. Now I I want to draw a picture of this graph. I'm going to draw a picture of e the minus r2 and it's basically a hump. So I'm going to take the first the slice along y equals 0 the y equals 0 slice and I claim that that goes up like this and then comes back down. And let me shade this in so that you can see what kind of a slice this is. This is supposed to be along this vertical plane here which is coming out of the blackboard and coming towards you.
And that's a slice. Now I'm going to draw one more slice so that you can see what's happening. Uh I'm going to draw a slice at another place along here. This will be y equals b some other level. And now I'm going to show you what happens. What happens is that the hump goes dies down a little bit. So the the bump is just a little bit lower and it's going to look a little bit the same way, but it's just going to be a bit smaller. So there's another slice here like that. Now I want to give a name to these slices. I'm going to call this A of B. That is the area of the B slice. uh under under the curve under under the the the surface.
Okay. Yes. Question. I'm confused as to what the solid is. Is it the rotation of this curve? Yeah. The solid. Yeah. We're trying to figure out this volume here, which is the one we started out with by slices. So, first I have to think I'm going to visualize. So here I I didn't even visualize it. I took a cross-section and I thought about how to spin it around without actually doing that in threedimensional space. But now I'm going to take a different kind of slice. I'm going to take that same bump which is a three-dimensional object. I'm going to lay it down on a plane which looks like this. And then it's a bump here.
All right. It's a hump. And now I'm going to try to slice it by various planes defined by rotating your yals pink line about the Z. So one way of defining the bump as you just suggested is you take this curve and you rotate it around this this Z-axis. So in other words, you make this the axis of rotation, you spin it around. That's correct. So that shows you that the peaks as you go down here are going to are going to descend the same way. But I don't want to draw those lines. I want you to imagine just what the slices parallel slices are because I don't want to get cross slices. I want all slices parallel to the same thing.
Okay, this this is this is not particularly easy to visualize. Now, now here's the formula for volume by slices. The formula for volume by slices is that you add up the areas of the slices. That's how you do it. You take each slice, you add the cross-sectional area, and then you take a little thickness dy, and then you add all of them up. Now, because this is extending over the whole plane, we're going to have to go from all the way from minus infinity to plus infinity. And this is the this is this the formula for for volumes by slicing. And now our goal in order to do this calculation, we're going to just fix y is equal to some b.
We're just going to fix one of these slices and we're going to calculate a of b. That's what we need to do in order to make this this uh procedure succeed. Now, this is the only place where this method works. It's but it's an important one. In order to to make it work, I'm going to have to again draw the plot from a different point of view. I'm going to do the top view. So I want to look down on this this xy plane here. This is the x direction and here's the y direction. And then again I want to draw my slice. My slice is here at y equals b. So, it's just right on we're just right on top of it and it's coming up at some kind of bump here with a little higher in the middle and going down on the sides.
Now, the formula for the height is this. If I take a distance r here, the formula for the height of the bump is e to the minus r 2. Okay, I'll store that over here. E to the minus R 2 is the height at this place if this distance to the origin is R. That's true all the way around. And in terms of of B and X that we can figure out that by this right triangle. This height is B and this distance is X. So R2 is equal to B ^2 + X2. question question over there is that in the xy plane like um xy you know see how you put that in that plane right there how you make that shape okay um the question is is that the xy plane so the the answer is that over here I cleverly used the letter r I avoided using y's and z's or anything and over here this is the distance r and if you like this is z going up That's the way to that's the way to think of it so that all the letters are consistent.
But I just avoided giving it a name. That's good. That's exactly the point. All right. So now I claim I have a formula for r squared. And so I can write this down. This is e to the minus b ^2 + x^2. But now I'm going to use the rule of exponents which is that this is the same as eus b ^2 * eus x^2. And that's going to be our the main way in which we use the particular function that we're that we're dealing with here. That's that's really the main step amazingly. Okay. So now I get to compute what A of B is. A of B is the area under a curve. So it's going to be let me write it over here. A of B is the area under this curve here which is some constant time.
So if you you imagine call this thing the name C under some curve E C * E minus X^2 where the C is equal to E minus B ^ 2. That's what our slice is. In fact it looks like one of those. It looks like one of those bumps. Here's its formula again. It's the integral from minus infinity to infinity of eus b^2 eus x^2 dx. I just recopied what I had up there. And this is the height at each value of x with b fixed. And now the two so we we we have a lot of steps here but each of them is very elementary. The first one was just that the law of exponents that we could split the two into products. Now I'm going to make that splitting even further.
This is a constant. It's not varying with x. So I'm going to factor it out of the integral. This is eus b ^2* the integral from minus infinity to infinity of eus x^2 dx. So this might look frightening but actually it's just the property of an integral. All integrals have this kind of property. You can always factor out a constant. And now here comes the remarkable thing. This is eus b ^2 times a number which is now familiar to us. What is this number? This is what we're looking for. This is our unknown q. So I' I've computed A of B and now I'm ready to finish the problem off. A of B is EUS B^2* Q.
Q is that strange number which we don't know yet what it is. So now I'm going to compute the whole volume. The whole volume remember it's over there. It's minus infinity to infinity a of y dy. And now I'm just going to plug in the formula that we found for A. Now I'm doing this for each B. So I'm doing it varying over all B. So I have the integral from minus infinity to infinity. And here I have E to the minus Y^2. I've replaced B by Y. And now I have Q and I have dy. I just recopied what I had over there into the formula for slicing. And now I'm going to do this trick of factoring out the constant a second time.
This is a constant. It doesn't depend on y. It's the same for all y. It just will factor out. This is the same as q * the integral from minus infinity to infinity eus y^2 d y. And now lo and behold this expression here of course notice how I define Q. Let's go back carefully to where Q is defined. Here's Q. This T is a dummy variable. It doesn't matter what I call it. I can call it X. I can call it U. I can call it V. In this case, I've given it two different names. At this stage, I called it X. And at this stage, I'm calling it Y, but it's the same variable. And so, this little chunk is Q. And altogether, I have two of them for Q2 being the total.
And that's that's the end. That's the end of the argument. It's a real miracle. Yeah. How can you factor out the there? Because I I see how it depends on x and if you're integrating with respect to y as y changes doesn't x as well. So great great question. The question is wait a minute as y changes doesn't x change and then so then this wouldn't be a constant. All right. So that's the way in which we've used the letters X and Y in this whole course. When you get to 1802, you'll almost never do that. Always Y and X will be different variables and they won't have to depend on each other. Now let me show you where on this picture the X and the Y are.
We've got a whole XY plane and here I'm fixing Y equals B. Y isn't varying whereas X is changing. So in other words, I don't have a relationship between X and Y unless I fix it. In this case, I've decided that Y is going to be constant for all X. Over here I made a computation and I have a Q which is just a single number. No matter which B I took, it didn't matter which no matter which Y equals B. Of course, I changed the name to B so that it wouldn't be so jarring to you. But in fact, this B was Y all along. It's just that the x varied completely independently of the y. I could fix the y and vary the x.
I could fix the x and vary the y. So there it's it's a different use of the letters from what you're used to. It it happens that y is not a function of x in this case. Yes. Zaxis. Yes. Doesn't change exactly as much as y um the the uh question is because I'm rotating around the zaxis doesn't x change exactly as much as y does what happens is that x and y are symmetric variables they they can be treated equally but if I decide to take slices with respect to y being fixed and x varying then of course they they're they're now separated and I have a separate role for the x and separate role for the Y.
All right? Or I if I had sliced it the other way, I would have gotten the same answer. I just would have reversed the roles of X and Y. So what's happening is that X and Y are are on equal footing with each other in this in this picture. And I could have sliced the other way. I would have gotten the same answer. That that that's more or less the answer to your question. Okay. All right. Now I I have given you a review sheet and I want to run through uh briefly what's going to be on the exam and this set of uh list of exam questions is what's going to be on the exam. There are sorry this is not displayed correctly.
So exam questions but now I'm just going to show you what they are. There are five questions on the exam. They're completely parallel to what you get on uh what you got last last year. So, you should look at that test. It's worth looking at. And you'll see in the descriptions on this sheet uh that the that the uh that what I'm describing is what's on that test. So what's going to happen is and this is al also posted on the web is that you'll be expected to calculate some definite integrals using the fundamental theorem of calculus do a numerical uh approximation there will be a remon sum a trapezoidal rule and a simpsons rule calculate areas and volumes and then some other cumulative sum either an average value or probability or perhaps work and sketch a function which is given in this in this form as uh as an integral.
All right. So those are those are they those are the questions and and and uh and you'll you'll see by the example of last year's exam exactly the style they're really going to be very similar. Uh yes question as far as the numerical approximations goss upper and lower and right and left. Okay, good question. So the question is for remon sums what's the difference between upper and lower and right and left. So here we have a remon sum and I'm going to give you a a picture uh which is uh maybe this function y = 1 /x which was the one that we were discussing earlier. If you take the function y = 1 /x and you break it up into pieces here.
However, it doesn't matter how many pieces. Let's just say there are four of them. Then the lower reman sum is the staircase which fits underneath. So this one is a picture of the lower sum. It's always less. And in the case of a decreasing function, it's going to be so since if you like since uh 1 /x decreases, the lower sum equals the right sum. You can see that visually on this picture. the the values you're going to select are going to be the right ends of the rectangles. The upper sum is the left one. Now, if the function wiggles up and down, then you have to pick whichever side is appropriate or maybe it'll be a point in the middle if the maximum is achieved in the middle.
Yeah, another question just for clarification with that. So if the function is increasing then the right hand would be the upper. Correct. Correct. If the if the function is increasing then the lower sum is the left sum. So it just exactly reverses what's here. So so this is if decreasing lower sum is right- hand sum, increasing lower sum is lefthand sum. Is that Yes. Uh I can imagine like that it would be very hard to sketch something like like that as one there if you didn't know that it came to a to an asmtote. In other words, right? So good question. So the question is suppose you're faced with a function like this in this last problem which generally these are the trickiest problems and the question is how are you ever going to be able to decide on an asmtote even whether there is an asmtote and the the answer is you're not uh it's going to be pretty tricky if if to to to get keep track of what's happening as it goes to infinity.
We had an example on the homework where it was oscillating and it's very unclear what's what's going on. have to do a very long analysis for that. So uh in fact uh uh you know just don't worry about that now at the very end of the class we'll talk a little bit about these asmmptotes and really the first issue is whether they exist or not and uh that's that's even something that's a serious question which we'll address at the very end of this course. That's right. It's not going to be anything that complicated. All right, other questions. We have we still have a five whole minutes and I have an example to give if if uh nobody has a question.
Yeah. Can you tell us which one to use or we just going to use? Uh the question will I tell you which one of what to use? Numerical approximate you tell us. Um when I tell you the numerical approximation, as you'll see on the exam, the practice exam that you have, I will ask you for all three. I will ask you for the remon sum, the trapezoidal rule, and the Simpsons rule. I'm guaranteeing you they'll all three be on the exam. I'm guaranteeing you that every single thing which is on that piece of paper is on the exam and you'll see it on the on the on the exam that you've got, it's exactly parallel to what's there.
What about areas and values? Will you tell us which method to use or can you use? Yeah. So, so with with areas and volumes, the question is, will I tell you which method to use? All right. So let's let's discuss that. So with areas and volumes there's there's basically so so this is always true with areas and it's true with volumes of revolution. You, by the way, you should you should read this sheet. Not everything that's on here is is uh have I said, but I but but you should read it because it's all relevant. So, with volumes of revolution, you always work your way back to some 2D diagram. So, there's some there's some 2D diagram which is always two-dimensional diagram which is always connected with these these problems.
I mean, something this hard is is is really just too hard to do on an exam, right? I'm not going to ask you something this complicated on an exam because this involves a three-dimensional visualization. But once you're down to 2D, you're supposed to be able to handle it. Now, what's the main issue after you've got your two degree two 2D diagram? The main issue is, do you want to integrate with respect to dx or dy? And the answer is that you will it will depend. And if there's one that's going to cause you incredible difficulty and I feel that you're not able to dodge it, then I might give you a hint and say you better use shells or you better use discs or washers or something like that.
But if I feel that you're grown up enough to figure out which one it is because one of them is so ridiculous, you say, "Forget it immediately after thinking about it," then I won't tell you which one because I figure, in other words, I don't want you to waste your time. But I'm willing to to waste a minute or two of your time on a uh on a on a uh a wild goose chase. All right. So, let me give you an example of this. Suppose you're looking at the curve um y between 0 and x - x cubed. All right. So this is some kind of lump like this. It goes from 0 to one because the right hand side is zero at at zero and one here.
It's some kind of thing. And there are these two possibilities. One of them is to do shells and then you would you would so this is supposed to be rotated around the around the y ais in this case and the same would apply actually to the area problem. So I'm doing a slightly more complicated problem but you could ask for the area underneath this and so forth. Okay. So we can integrate this dx or we can integrate this dy. This indicates that I'm deciding that this is going to be a thickness dx and I'm integrating dx. So that's a choice that I'm making. Now the minute I made that choice, I know that these are shells because they sweep around this way and that makes them shells, cylindrical shells.
And if I do that, the setup is this. It's 2<unk>x * x - x cub dx. Now, I claim that when you get to this point, you already know you've won because this is an easy integral to calculate. So, this so you're done here. You're happy. All right. Now, if you happen to be say, "Oh, gee, I I hate to do this. I want to do something clever." You could try to do it with cutting this way. All right. Sorry. Let's Let's do this. All right. And this would be the dy thickness. And then when you sweep this around, you get what we call a washer, which is really just the difference of two discs. All right. So the shape here is is this thing swept swung around this axis and it looks like this.
So it's going to be the difference of of radi. So what what's the what's the formula for this? It's some integral of pi time the right end which I'll call x2 and here the left end which I'll call x1. So this is pi x2^2 - x1^ 2 d y. All right. Now already at this stage you think to yourself this is more complicated than the other method. Okay. So you've already abandoned it. But I'm just going to go one step further into this one to see what what it is that's happening. If you fig try to figure out what these values x1 and x2 are, that's corresponds to solving for x1 and x2 in terms of y. So that's the following equation.
x1 and x2 solve the equation uh that uh the curve x - x cubed is equal to y. All right. Now look at this equation. That's the equation x cubed uh sorry yeah x cub - x + y I guess uh let's see yeah that's right is equal to zero this is a cubic equation. Although there is a formula for this you've never been taught the formula for this equation. So therefore, you will never ever be able to get a formula for x2 and x1 as a function of y and you'll never be able to compute this one. This is more than just a dead end. It's like crash, burn, and you know, self-destruct. So, you know, there may be such a thing.
So, do the other way. Good luck, folks.