P.I of tanx and secx using Undetermined coefficients

Click For Summary

Discussion Overview

The discussion revolves around the application of the method of undetermined coefficients to the functions tan(x) and sec(x). Participants explore why this method is not applicable to these functions, contrasting them with sine and cosine, and discussing the implications of differentiating these functions.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant questions the book's assertion that the method of undetermined coefficients cannot be applied to tan(x) and sec(x), noting that sine also has infinitely many derivatives yet is applicable.
  • Another participant explains that the method works for exponential, sine, cosine, and polynomials because their derivatives eventually yield a multiple of the original function, unlike tan or sec.
  • A different participant suggests that the book may be referring specifically to polynomials, which yield zero upon sufficient differentiation.
  • One participant elaborates that differentiating tan or sec leads to increasingly complex expressions, which complicates the application of the method.
  • Another participant emphasizes that the key issue is that tan(x) does not yield a finite number of linearly independent derivatives, unlike sine and cosine.
  • One participant clarifies that the method of undetermined coefficients is easier when the form of the function is known, using an example involving tan(x/2) to illustrate the complexity of finding a suitable guess for the particular solution.

Areas of Agreement / Disagreement

Participants express differing views on the applicability of the method of undetermined coefficients to tan(x) and sec(x). While some agree on the complexity of derivatives for these functions, there is no consensus on the interpretation of the book's explanation or the implications for the method's applicability.

Contextual Notes

Participants note that the method of undetermined coefficients requires functions that yield a finite number of linearly independent derivatives, which is not the case for tan(x) and sec(x). The discussion highlights the importance of understanding the nature of derivatives in relation to the method.

iVenky
Messages
212
Reaction score
12
I just don't get why the method of undetermined coefficients can't be applied to tan(x) and sec(x). What my book says is this-

"Since the number of terms applied by differentiating tan(x) and sec(x) is infinity".

What do they mean by that? Even the number of terms obtained by differentiating sin(x) is infinity but the method of undetermined coefficients still works for sin(x).

I would be really happy if you could clear me this doubt

Thanks a lot :)
 
Physics news on Phys.org
Basically, the method of undetermined coefficients works on exponential, sine cosine, and polynomials and products of said functions. If you want a reason for those particular functions, then I would say that for any of those, if you differentiate them enough times you end up with a multiple of the original function (with polynomials you differentiate it enough times and you get 0 times the original function).

That's not true for tan or sec.

Regarding your book's explanation, I think the author is trying to say that successive derivatives of those functions get more and more complicated, but I'm not sure.
 
I know that with polynomials we will end up with 0 if we keep on differentiating. May be the book means the polynomials only.
 
No I don't think so. No matter how many times you differentiate sine, you will have one term in that derivative. Same with exponential or cosine. But if you differentiate tan or sec multiple times you end up with formulas that you can barely write down on a piece of paper.

However, I'm not really sure that that is the most relevant fact concerning the method of undetermined coefficients, but I think that's what the author means.
 
Consider: sin(t)

d/dt [ sin(t) ] = cos(t)
d/dt [ cos(t) ] = - sin(t)
d/dt [ -sin(t) ] = - cos(t)
d/dt [ -cos(t) ] = sin(t)

...

It's quite easy to see that out of this process of differentiation, we only get sin(t) and cos(t) terms, ignoring coefficients. The salient fact is that if the RHS is sin(t), we get a finite number of linearly independent derivatives. We would then assume the following form for the particular solution:

A*sin(t) + B*cos(t)

By matching coefficients in the LHS and RHS of the ODE, we would be able to pin down what A,B are.

Now, consider tan(x), and take it's first 6 or 7 derivatives as an illustration.

It gets ugly (but ugliness is not the salient fact per se). What is salient is that if you continue to differentiate tan(x), you do not get a finite number of linearly independent derivatives. You can keep finding new terms in subsequent derivatives which will be linearly independent of anything in previous derivatives, and hence the derivative currently being taken will be linearly independent of the previous ones.

--------------------------------------------------------------------------------------------------

It doesn't matter if there is a large number of terms in any given derivative -- what matters is that for this method we need functions which eventually eventually stop yielding linearly independent terms through differentiation. This is why sin(t), cos(t), or polynomials will work with the method of undetermined coefficients. Functions like tan(x), or t^(-n) will not work for reason discussed above.
 
It does not mean some derivative of sine is 0 it means later derivatives can be written in terms of earlier ones (because sin''(x)+sin(x)=0)
Undetermined coefficients is much easier when we know what will produce the function
if we have
y''+y=tan(x/2)
you would need to know to guess
-x cos(x)+2 sin(x) log(cos(x/2))
or some such
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K