Calculator Derivative Error at 11: What's Causing the Drastic Difference?

Click For Summary

Homework Help Overview

The discussion revolves around the derivative of the function f(x) = Cos²(tan(x)). The original poster has encountered a significant discrepancy between their calculated derivative and the result from a calculator at the specific point x = 11.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to compare their derivative calculation with a calculator's output, noting a large difference specifically at x = 11. Participants discuss the potential reasons for this discrepancy, including the possibility of a misunderstanding regarding the function's notation and the importance of checking the mode (degrees vs. radians).

Discussion Status

Participants are actively exploring the issue, with some suggesting that the original poster verify the function's expression and the mode of the calculator. There is an acknowledgment of the potential for rounding errors when dealing with small numbers, but no consensus has been reached on the exact cause of the discrepancy.

Contextual Notes

Participants highlight the importance of being cautious when differentiating functions that involve small values, as this can lead to significant errors in calculations. The discussion also raises the need to clarify the notation used for the function.

lpbug
Messages
19
Reaction score
0
Hi everyone, I've discovered quite a strange function in my textbook. I compared the calculator's calculated derivatives (Math->nDriv) with my calculus derivative and found that the two are almost 2000 units off! Up until now I've been trying to figure out the problem, but to no avail, I cannot find the solution. Here's the function:

f(x)=Cos2(tanx)

using derivative shortcuts, I came up with

f'(x)=-2cos(tanx)sin(tanx)sec2x

as my derivative function

plugging in 11, I came up with -23921.7403... as the derivative at 11

however, when i compare this with the calculator's nDriv answer, it is drastically different:
nDriv(f(x), x, 11)= -342.6

that's difference in the 2000 units... i mean, i compared the rest of the values at various other points and the most off they have been is around .001; only at 11 does this great gap occur.

Does anyone have any idea what the problem is? Any tips and help will be appreciated. If you have a ti-89 or another version of the calculator, please feel free to try it on your calculator and post if you have the same result as me.

Thanks so much,
Alex
 
Physics news on Phys.org
i assume you mean
f(x)=cos^2(tan(x))

differentiating
f'(x)=-2cos(tan(x))sin(tan(x)) \frac{1}{cos^2(x)}

2 things to note
cos(11) = 0.00442
which is a small number, as we are close to zero the value of the function will be diverging quite quickly. I would trust the analytic solution...

the other thing to check is whether you are in degrees or radians
 
that's really weird because I've never seen this happen with any other function, is there an example that you can give where the result will be replicated?
 
Any time you are dividing by a very small number (cos(11)= 0.0044257), round off error becomes important.
 

Similar threads

Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K