yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Linear approximation of a rational function | Derivative rules | AP Calculus AB | Khan Academy


4m read
·Nov 11, 2024

So there are situations where you have some type of a function. This is clearly a non-linear function. f of x is equal to 1 over x minus 1. This is its graph, or at least part of its graph, right over here. But where you want to approximate it with a linear function, especially around a certain value.

What we're going to do is find an approximation. Let me write this down. I want to find an approximation for—actually, let me clear—I want to find a linear approximation. So I'm going to approximate it with a line. I want to find a linear approximation of f around, and you need to know where you're going to be approximating it around x equals negative 1.

So what do we mean by that? Well, let's look at this graph over here on this curve. When x is equal to negative 1, f of negative 1 is negative one-half, which sticks us right over there. Let me do this in a better color, so it's right over there. What we want to do is approximate it with a line around that. Essentially, we're going to approximate it with the equation of the tangent line.

The tangent line is going to look something like that. As we can see, as we get further and further from x equals negative one, the approximation gets worse and worse. But if we stay around x equals negative one, well, it's a decent—it's as good as you can get for a linear approximation. At least in this case example, it is a very good linear approximation.

So when people say, "Hey, find a linear approximation of f around x equals negative one," or if they say, "What is the following is the best approximation?" and all of your choices are lines, well, essentially, they're asking you to find the equation of the tangent line at x equals negative 1. So let's do that.

In order to find the equation of the tangent line, the equation of a line is y is equal to mx plus b, where m is the slope and b is the y-intercept. There are other ways that you could think about it. You could think about it in terms of point-slope, where you could say y minus some y that sits on that line is equal to the slope times x minus the corresponding x1. So x1 comma y1 sits on that line someplace.

Actually, I like to write this point-slope form like this sometimes: y minus y1 over x minus x1 is equal to b. This comes straight out of the idea of look, if x1 and y1 are on the line, the slope between any other point on the line and that point is going to be your slope of your line. So we could think about it any of these ways.

So let's first find the slope of the tangent line, and that's where the derivative is useful. So f—well, actually, let me just write f of x again. I'm going to write it as x minus 1 to the negative 1 power because that makes it a little bit clearer that we can use the power rule and a little bit of the chain rule.

So the derivative of f with respect to x is equal to—so the derivative of x minus 1 to the negative 1 with respect to x minus 1, well that's just going to be—we're just going to use the power rule here. It's going to be negative 1 times x minus 1 to the negative 2, and then we're going to multiply that times the derivative of x minus 1 with respect to x. Well, that's just going to be 1, right? The derivative of x with respect to x is 1; the derivative of negative 1 with respect to x is 0. So we could say times 1 here if we like, or we could just not write that because it doesn't change the value.

And so let's evaluate that when x is equal to negative 1. So f prime of negative 1 is equal to—I could just write this as negative—alright, look this way—negative 1 over negative 1 minus 1 squared. This is going to be negative 2 down here. So this is equal to negative negative 1 over 4. So the slope of our tangent line is—so I could write this way, m is equal to negative 1 over 4.

And so now we just have to write its equation down. We already know an x1 and a y1 that sits on the line. In fact, we want to use the point when x equals negative 1. So we know that the point negative 1 comma—we could just put it right over here—f of negative 1 is negative one-half. One over negative one minus one is negative one-half.

So we know that this negative one comma negative one-half—that that is on our curve and it is on our line. That's the point at which the tangent and the curve actually intersect. We can use any of these to now write the equation of our line. We could say y—I’ll do it right here—y minus y1, so minus negative one-half, is going to be equal to—it's going to be equal to our slope, negative one-fourth. I'm just using the point-slope version of our equation—is equal to our slope times x minus x1. So x minus our x coordinate that we know sits on this, so minus negative 1.

And so let me now write all of this in a neutral color. This will be y plus one-half is equal to—and I can—so this is going to be plus 1 right over there. So I can distribute the negative 1/4. So it's negative 1/4 x minus 1/4 minus 1/4, and then I can subtract one-half from both sides.

So I'm going to get y is equal to negative 1/4 x. And then if I already am subtracting 1/4 and I subtract another half, that's going to be negative three-fourths. So minus three-fourths. That’s actually pretty close to what I drew up here. This should be intersecting the y-axis at negative three-fourths.

So there you have it! This line, or you could even say this equation, is going to be a very good linear approximation, about as good as you can get for a linear approximation for that non-linear function around x equals negative 1. You might say, "Well, why didn't they just ask me to find the equation of the tangent line at x equals negative 1?" Well, they could have, but there’s a little bit of extra cognitive processing here where you say, "Okay, I can actually use the equation of the tangent line to approximate this function around x equals negative 1."

More Articles

View All
Ray Dalio Bets BIG on GOLD
This video is sponsored by Stake. Download the Stake app today and use the referral code AWC to receive a free stock when you fund your account. Details in the description. Ray Dalio has always been a pretty big believer in holding at least a little bit …
Documenting Democracy | Podcast | Overheard at National Geographic
Lots of tear gas, lots of rubber bullets, and I think I lived with garlic and onions in my pockets for like several months because that’s one common way to kind of get rid of the effects of tear gas. People would just hand those to you to help you out whe…
Khan Academy Ed Talks with Kristi Yamaguchi - Thursday, March 3
Hello! Welcome to Khan Academy Ed Talks. I am Caroline Hu Flexer, the CEO and co-founder of Khan Academy Kids, which is a mobile app for children ages two through eight that’s focused on literacy, math, and social-emotional learning. Today, we are celebr…
Why Most People Will Never Be Rich
Some people will never be rich, and no, it’s not about where you grew up, who your parents are, your gender, or the color of your skin. Let us explain. Welcome to alux.com. These 100 dots are meant to symbolize the world’s population. From a quality of l…
A "Hurricane" is Coming for the Real Estate Market - Billionaire Real Estate Investor
I like to say it’s a hurricane over real estate right now. We’re in the category 5 hurricane, and it’s sort of a blackout hovering over the entire industry until we get some relief or some understanding of what the Fed’s going to do over the longer term. …
15 Habits You Need To Stop Doing Immediately
Here’s a hard pill to swallow: we’ve all got 24 hours in a day. So how is it that some manage to find success while others struggle in despair? Well, it all boils down to one thing: habits. Make no mistake, what you do on a daily basis will dictate your d…