P.I of tanx and secx using Undetermined coefficients

In summary, the method of undetermined coefficients cannot be applied to functions like tan(x) and sec(x) because their successive derivatives produce an infinite number of linearly independent terms, making it impossible to find a finite set of coefficients to match them. This is in contrast to functions like sine, cosine, and polynomials which eventually yield linearly independent terms through differentiation, making them suitable for the method of undetermined coefficients.
  • #1
iVenky
212
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
  • #2
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.
 
  • #3
I know that with polynomials we will end up with 0 if we keep on differentiating. May be the book means the polynomials only.
 
  • #4
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.
 
  • #5
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.
 
  • #6
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
 

1. What is the purpose of using undetermined coefficients in finding the P.I of tanx and secx?

The method of undetermined coefficients is used to find the particular integral (P.I) of a non-homogeneous differential equation. This technique allows us to find a particular solution without having to solve the entire differential equation.

2. How do you determine the undetermined coefficients for tanx and secx?

The undetermined coefficients for tanx and secx can be determined by comparing the non-homogeneous term in the differential equation to the general form of the P.I. For example, for a term of the form a*tanx + b*secx, the undetermined coefficients will be a and b.

3. Can the method of undetermined coefficients be used for all non-homogeneous differential equations?

No, the method of undetermined coefficients can only be used for non-homogeneous differential equations with constant coefficients and specific types of non-homogeneous terms, such as polynomials, exponentials, trigonometric functions, and their combinations.

4. What are the limitations of using undetermined coefficients to find the P.I of tanx and secx?

One limitation is that the method of undetermined coefficients may not work for more complex non-homogeneous terms or when the non-homogeneous term is a solution to the corresponding homogeneous equation. In these cases, other methods, such as variation of parameters, may need to be used.

5. Are there any tips or tricks for using the method of undetermined coefficients effectively?

One tip is to choose the form of the P.I that is most similar to the non-homogeneous term, as this will make it easier to determine the undetermined coefficients. Also, if the non-homogeneous term is a sum or product of simpler terms, it may be helpful to find the P.I for each term separately and then combine them to form the overall P.I.

Similar threads

  • Differential Equations
Replies
3
Views
1K
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Differential Equations
Replies
9
Views
2K
Replies
1
Views
3K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
2
Views
2K
  • Differential Equations
Replies
4
Views
2K
  • Differential Equations
Replies
1
Views
2K
  • Differential Equations
Replies
4
Views
3K
Back
Top