Average angle made by a curve with the ##x-axis##

Click For Summary

Discussion Overview

The discussion revolves around the average angle made by a curve defined by a function ##f(x)## with the x-axis between two points ##x=a## and ##x=b##. Participants explore mathematical expressions for calculating this average angle and examine the validity of certain expectations regarding these expressions.

Discussion Character

  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a formula for the average angle ##\alpha=\frac{\int_a^b\tan^{-1}{(f'(x))}}{b-a}## and argues that it should hold true for various functions, including linear and quadratic functions.
  • The same participant notes that the expression only approximately holds for specific functions like ##f(x)=\log{|\sec{x}|}## and questions why this is the case.
  • Another participant asserts that the function ##\tan^{-1}## depends on ##x##, suggesting that it cannot be factored out of the integral, which challenges the initial claim.
  • A third participant suggests using the chain rule to evaluate the right-hand side of the equation to see if it aligns with the left-hand side, implying that this may clarify the discrepancies observed.
  • One participant bluntly states that the expectation of equality between the two expressions was incorrect, without providing further elaboration.

Areas of Agreement / Disagreement

Participants express disagreement regarding the validity of the initial expectations about the average angle expressions. There is no consensus on the correctness of the mathematical claims made, and the discussion remains unresolved.

Contextual Notes

Some limitations in the discussion include the dependence on specific functions and the unresolved nature of the mathematical steps involved in proving the conjectures presented.

Kumar8434
Messages
121
Reaction score
5
The average angle made by a curve ##f(x)## between ##x=a## and ##x=b## is:
$$\alpha=\frac{\int_a^b\tan^{-1}{(f'(x))}}{b-a}$$
I don't think there should be any questions on that. Since ##f'(x)## is the value of ##\tan{\theta}## at every point, so ##tan^{-1}{(f'(x))}##, should be the angle made by the curve at that point.

Now, I expected this to hold:
$$\tan^{-1}\left({\frac{f{(b})-f{(a)}}{b-a}}\right)=\alpha=\frac{\int_a^b\tan^{-1}{(f'(x))}}{b-a}$$
because, ##\tan^{-1}\left({\frac{f{(b})-f{(a)}}{b-a}}\right)## is also the 'average angle' made by the curve between ##x=a## and ##x=b##.
It was true only approximately for ##f(x)=\log{|\sec{x}|}## when I checked for ##a=0## and ##b=\frac{\pi}{4}##. It obviously holds for linear functions and I checked that it only approximately holds for quadratic functions. I don't know anything beyond high-school calculus, so couldn't check it for polynomials of degree greater than ##2##.

I also tried root-mean-square instead of average angle but that expression too didn't hold accurately.

I took one step further and replaced ##\tan^{-1}{x}## with any function ##g(x)## and expected this to hold:
$$g\left({\frac{f{(b})-f{(a)}}{b-a}}\right)=k=\frac{\int_a^bg{(f'(x))}}{b-a}$$
But this one too only holds approximately for some ##g(x)## that I checked.
So, why don't these expressions hold as expected?
 
Last edited:
Physics news on Phys.org
arctan depends on x so you can't just pull it out of the integral over x like that.

In general, you can't pull any function dependent on x out of an integral over x.

If you changed the integral to a summation and ask yourself about this simpler example:

atan( f(x1) + f(x2) + f(x3) )

- vs -

atan( f(x1) ) + atan( f(x2) ) + atan( f(x3) )
 
Kumar8434 said:
So, why don't these expressions hold as expected?
Because your expectation was wrong.
 
  • Like
Likes   Reactions: jedishrfu
Have you tried using the chain rule to evaluate the righthand side to see if it matches the lefthand side:

$$\tan^{-1}(f(b)-f(a)) = \int_a^b\tan^{-1}(f'(x)) dx$$

to see if you can derive your conclusion. It may also explain why the results are different from what you expected.

https://en.wikipedia.org/wiki/Chain_rule

In particular heck out the first proof which uses limits to prove the rule.
 
Last edited:
Thread closed. As @Dale pointed out in post #3, your expectation is wrong. In future posts, please make more of an attempt on proving your conjectures instead of asking why something doesn't work.
 
  • Like
Likes   Reactions: Kumar8434 and jim mcnamara

Similar threads

  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K