Differential Eq. Initial Value Problem (separable/partial fractions/hyperbolic)

Click For Summary
SUMMARY

The discussion centers on solving the initial value problem (IVP) defined by the differential equation dx/dt = 2*(1-x^2) with the initial condition x(0)=0. The solution involves integrating using partial fractions, leading to the expression x(t)=sqrt(1-exp(4t)). Participants emphasize the importance of correctly applying the initial condition to determine the constant A, which is found to be 1. The discussion also touches on expressing the solution in terms of hyperbolic functions and deriving the Taylor series expansion up to the t^5 term.

PREREQUISITES
  • Understanding of differential equations, particularly initial value problems (IVPs).
  • Familiarity with integration techniques, specifically partial fractions.
  • Knowledge of hyperbolic functions and their properties.
  • Ability to derive Taylor series expansions for functions.
NEXT STEPS
  • Study the properties of hyperbolic functions and their relationship to exponential functions.
  • Learn how to derive Taylor series expansions for various functions, focusing on Maclaurin series.
  • Explore advanced techniques in solving differential equations, including separation of variables and integrating factors.
  • Practice solving initial value problems (IVPs) with different types of differential equations.
USEFUL FOR

Students studying differential equations, mathematicians interested in analytic solutions, and educators teaching calculus concepts related to IVPs and series expansions.

noob^n
Messages
5
Reaction score
0

Homework Statement



dx/dt = 2*(1-x^2) with x(0)=0

Obtain the analytic solution to the IVP. Then, obtain the terms in the Taylor series up to and including the t^5 term.

Note: should be possible to express x(t) in terms of hyperbolic functions.

The Attempt at a Solution



some of my steps;

dx/(1-x^2) = 2dt

*partial fractions + integrated*

0.5[ ln|-x+1| + ln|x+1| ] = 2t + C

-x^2 +1 = A*exp(4t) , A>=0

x(t)=sqrt(1-exp(4t))

im not sure if this is right at all, as its simply been a while since I've looked at DE's. If it is right, i can't seem to figure out what combination of hyperbolic functions it relates to! any help would be much appreciated!
 
Physics news on Phys.org
noob^n said:

Homework Statement



dx/dt = 2*(1-x^2) with x(0)=0

Obtain the analytic solution to the IVP. Then, obtain the terms in the Taylor series up to and including the t^5 term.

Note: should be possible to express x(t) in terms of hyperbolic functions.

The Attempt at a Solution



some of my steps;

dx/(1-x^2) = 2dt

*partial fractions + integrated*

0.5[ ln|-x+1| + ln|x+1| ] = 2t + C
The work to here is fine, but the line below doesn't take into account the absolute value. Using the initial condition, you should have |1 - x2| = e4t.

For what x is the expression 1 - x2 nonnegative? Negative?
noob^n said:
-x^2 +1 = A*exp(4t) , A>=0

x(t)=sqrt(1-exp(4t))

im not sure if this is right at all, as its simply been a while since I've looked at DE's. If it is right, i can't seem to figure out what combination of hyperbolic functions it relates to! any help would be much appreciated!

It seems to me that there is another part of this problem: to assume a solution in the form of a Maclaurin series, and to find its coefficients up to the x5 term. You're assuming a solution of the form x(t) = a0 + a1t + ... + a5t5 + ... + antn + ...

Basically, what you want to do is to substitute this into dx/dt + 2x2 - 2 = 0, and equate coefficients.
 
i thought because i conditioned A to be greater than or equal to zero, the RHS would stay positive, and i could drop the absolutes on the LHS... is there something wrong with my logic there?

all i really need to find is a suitable x(t) before i start subbing things into a maclaurin series... the hint said i should be able to write x(t) in terms of hyperbolic functions, and because none are springing out at me I am getting the feeling I am wrong.
 
noob^n said:
i thought because i conditioned A to be greater than or equal to zero, the RHS would stay positive, and i could drop the absolutes on the LHS... is there something wrong with my logic there?
Yes, there is. Use your initial condition to find A. You can't just arbitrarily say that A needs to be positive. Assuming that you find that A is positive (I did), you can't just get rid of the absolute values. Without them, 1 - x^2 is negative for some x and positive for others.
noob^n said:
all i really need to find is a suitable x(t) before i start subbing things into a maclaurin series... the hint said i should be able to write x(t) in terms of hyperbolic functions, and because none are springing out at me I am getting the feeling I am wrong.
 
Mark44 said:
Yes, there is. Use your initial condition to find A. You can't just arbitrarily say that A needs to be positive. Assuming that you find that A is positive (I did), you can't just get rid of the absolute values. Without them, 1 - x^2 is negative for some x and positive for others.

But because x is the dependent variable, we don't have to worry about crazy x values that cause errors... as all values of t (-inf, inf) will make x behave nicely. If the initial values didn't agree with the restraints on A then id agree there's a problem, but because they do I'm still not hugely convinced I'm wrong.

looking at 1-x2 = Ae4t , A>=0

x(0)=0 implies A=1

therefore x(t)=sqrt(1-exp(4t))

I know I must be sounding like a stubborn idiot, I apologize. I've got class tomorrow so I can run it through with the lecturer and post the answer.
 

Similar threads

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