Topical webpage title: Finding the Secant of a Function Using Weighted Averages

  • Thread starter soandos
  • Start date
  • Tags
    Derivative
In summary, it is not possible to find the slope of the secant for a given x_1 and x_2 without integrating, even if given only f ' (x). This is because the derivative is a "neighbourhood" quality and only describes the infinitesimal rate of change at a single point. The only way to determine the secant value between two points is through integration. Attempts to find a "weighted average" using f ' (x) and f '' (x) at the given points will only provide a rough approximation and the limit of this process is the integral. This is true even for more complicated functions, as taking derivatives at integer values will only give an approximation.
  • #1
soandos
166
0
given only f ' (x) , is it possible to find the slope of the secant for a given x_1 and x_2 without integrating?
If so how?
 
Physics news on Phys.org
  • #2
No, that is not possible.

Note, however, that you will not need to specify f precisely, it is sufficient to determine it up to an arbitrary constant, since the secant expression will be unique.

(The secant is only sensitive to the function values at two discrete points.

The derivative is, however, a "neighbourhood" quality.

This is the reason why the derivatives at two points are insufficient to determine the secant value between them.)
 
  • #3
I am bothered by something.
The way i was taught it was that that the derivative of a function described its slope.
And given its slope and how fast it changes (assume f '' (x) is known), how could it not be possible to get the secant? would it be possible if f(c) was a known value?
 
  • #4
The problem is that f ' (x) is the infinitesimal rate of change, at a single point. So in order to find the slope the secant is just to find the average derivative between the two points, i.e. the integral of f ' (x) from x_1 to x_2 divided by x_2 - x_1.

However just by knowing the value of f ' (x_1) and f ' (x_2) you cannot find the secant line as you don't know what it is happening to the function inbetween. They could be, say, horizontal (local maxima and minima) and inbetween there could be a massive downslope or what-have-you. There is no way with just that information.
 
  • #5
but let's say you were given the general f'(x) , not a specific value. then its possible? and is there a way to do it without integration?
 
  • #6
Such a method would surely blow my mind and, along with it, my view of calculus. The only way I can think of finding a secant line slope while knowing f ' (x) is only with integration. The only way to get from the infinitesimal description of a function which is the derivative to the large scale description is via integration.

Although, it should be noted, my experience with calculus is far from rigorous, I would still put a moderate sum of money on betting that what you describe is impossible.
 
  • #7
hypothetically speaking, given f ' (x) and f '' (x) could one not construct a "weighted average" giving the secant of f (x)?
 
  • #8
I don't quite follow. If you mean using f ' (x) and f '' (x) at the two given points, then you run into problems of not knowing what is going on inbetween the two points. If you then incorporate, say, the f ' (x) and f ''(x) of a point between the two points into your calculation you will have a very rough answer, which can be made more accurate by incorporating more and more points, the limit of this process is the integral, and a definite answer.
 
  • #9
I realized I am not clear. When i say f(x), f ' (x) or f '' (x) i mean the general formula. when i do something like f(x_1) then its specific.
so i meant that assuming that you knew what happened in the middle (as you have the whole f ' (x) not just a point).
 
  • #10
Yes, I understand that. However the problem is that at some point along your process you will HAVE to evaluate f ' (x) or f '' (x) at some point, correct? and, unless f(x) is linear, this will just give a rough approximation (and sometimes completely inaccurate).

Say f ' (x) = 2x^2+1, we want to find the secant line from -1 to 1. evaluating at the two points one gets f ' (-1)= 3 and f ' (1) = 3 We take f ' (0) = 1, however this is just one small part of the larger picture of the function. so let's say my original function was f(x)=(2/3)x^3+x+c (found by integration), so the secant line has a slope of

del(y)/del(x) = (5/3-(-5/3))/2 = 10/6

which is CLOSE to 1, but not percise. What we could do perhaps is take f ' (-1/3) and f ' (1/3) and average them and perhaps you would get a little closer, and then divide it again and again. But the limit of this process is just the integral.

does that help to explain anything? or am i misunderstanding your theory?
 
  • #11
here is an example:

a man moving in a straight line increases his speed quadratically. in other words, his speed
s = t^2
one can plot the derivative (2x)
and then get the secant from summing the derivatives - the domain change (or something like it)
so from 0 - 10, it would be (0+2+4+6...+18) = 110, and the -10 gives the correct secant slope of 100.

in the case of a non-linear derivative, one take the second derivative, and that becomes the increment (not 2).

please let me know if its still unclear
 
Last edited:
  • #12
However your still taking a sum of points. It is just coincidental that it works for that particular domain for that relatively simple function. You will quickly see as you get into more complicated territory, like f ' (x) = x^5 + (1/2) x^4 + 3 x^3 +2 x^2 + 100 x + 99, you'll find any method that involves taking derivatives, or second derivates, or upteenth derivatives of all integer vales will only get an approximation. If you, say, take the values at 1/2 integer values, it will get closer, and closer still as you take the limit.
 
  • #13
im not sure that's what you want...
here is what i mean.
lets say the points are on a quadratic, summing them all up (assuming it starts at zero), is something that has a solution 1/6(1+j)(2+j) for j terms. even if the values in the middle are not used, it will always hold. for the equation you gave me, the sum of j terms is:
[tex]\frac{1}{60} (1+j) (5940+3019 j+81 j^2+59 j^3+26 j^4+10 j^5)[/tex]
if j started at zero (otherwise, a shift is needed, but that is trivial). i can't check now, but if the above does not work to find the secant of f(x), then try:
[tex]\frac{1}{3} (1+j) (300+j (10+j (11+3 j (2+j))))[/tex]
this should i think give the secant on f ' (x), but I am not sure.
does this make more sense?
 
  • #14
soandos said:
hypothetically speaking, given f ' (x) and f '' (x) could one not construct a "weighted average" giving the secant of f (x)?

Sure enough, and you won't need the second derivative.

The weighted average of the derivative in the interval between x1 and x2 IS the secant value for the function between x1 and x2.

However, to compute that weighted average, it will look like this:
[tex]\frac{1}{x_{2}-x_{1}}\int_{x_{1}}^{x_{2}}f^{,}(x)dx[/tex]
 
Last edited:

What is a derivative?

A derivative is a mathematical concept that represents the rate of change of a function with respect to its input variable. It can also be thought of as the slope of a tangent line at a specific point on a curve.

How do you calculate a simple derivative?

To calculate a simple derivative, you first identify the function and its input variable. Then, you use the power rule, product rule, or chain rule (depending on the function) to find the derivative. Finally, you substitute the input variable into the derivative equation to get the slope at a specific point.

Why are derivatives important?

Derivatives have many applications in mathematics, science, and engineering. They can be used to find maximum and minimum values, determine rates of change, and solve optimization problems. In physics, they are used to model motion and describe the behavior of physical systems.

What is the difference between a derivative and an antiderivative?

A derivative represents the rate of change of a function, while an antiderivative represents the original function before it was differentiated. In other words, taking the derivative of a function gives you its slope, and taking the antiderivative of a function gives you the original function (up to a constant).

Can you give an example of a simple derivative?

One example of a simple derivative is finding the derivative of the function f(x) = x^2. Using the power rule, we get f'(x) = 2x. So, the slope of the tangent line at any point on the parabola y = x^2 is twice the x-coordinate of that point.

Similar threads

Replies
12
Views
1K
Replies
3
Views
1K
Replies
24
Views
2K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
Replies
6
Views
1K
Replies
1
Views
9K
  • Calculus and Beyond Homework Help
Replies
2
Views
667
  • Calculus
Replies
1
Views
1K
Replies
2
Views
4K
Back
Top