Help with ODE initial conditions

Click For Summary
SUMMARY

The discussion focuses on solving the ordinary differential equation (ODE) $y'' + 4y' - 12y = 0$ with initial conditions $y(0) = 1$ and $y(1) = 2$. The general solution is derived as $y(x) = C_1 e^{-6x} + C_2 e^{2x}$, leading to a system of equations for the constants $C_1$ and $C_2$. The correct values for these constants are determined to be $C_1 = \frac{e^6(e^2 - 1)}{e^8 + 3}$ and $C_2 = \frac{e^6 + 3}{e^8 + 3}$, resulting in the particular solution $y(x) = \frac{e^6(e^2 - 1)}{e^8 + 3} e^{-6x} + \frac{e^6 + 3}{e^8 + 3} e^{2x}$.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with characteristic equations and their solutions
  • Knowledge of initial value problems in differential equations
  • Proficiency in manipulating exponential functions
NEXT STEPS
  • Study the method of solving linear ODEs with constant coefficients
  • Learn about the application of initial conditions in ODEs
  • Explore the use of the Wronskian in determining the linear independence of solutions
  • Investigate numerical methods for solving ODEs when analytical solutions are complex
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are working with ordinary differential equations and require assistance in solving initial value problems.

ognik
Messages
626
Reaction score
2
The ODE is $y'' + 4y' - 12y = 0$, I get $y = C_1e^{-6x} + C_2e^{2} $

The initial conditions are y(0) = 1, y(1)=2 - which gives me $C_1 = 1-C_2$ and $C_2 = \frac{2e^{6}-1}{e^{8}-1} $

This just looks more messy than book exercises normally are, and when I laboriously substitute back into the eqtn it doesn't resolve - so I think I have something wrong in my sltn, but just can't see it, could someone see what is wrong with my sltn please?
 
Physics news on Phys.org
Well, the characteristic equation is:

$$r^2+4r-12=(r+6)(r-2)=0$$

Hence, the general solution is:

$$y(x)=c_1e^{-6x}+c_2e^{2x}$$

And we may compute:

$$y'(x)=-6c_1e^{-6x}+2c_2e^{2x}$$

Thus, the initial conditions result in the linear system:

$$c_1+c_2=1$$

$$-3c_1e^{-6}+c_2e^{2}=1$$

Solving this system, we obtain:

$$c_1=\frac{e^6\left(e^2-1\right)}{e^8+3},\,c_2=\frac{e^6+3}{e^8+3}$$

And thus the particular solution is:

$$y(x)=\frac{e^6\left(e^2-1\right)}{e^8+3}e^{-6x}+\frac{e^6+3}{e^8+3}e^{2x}$$

It appears you made a mistake solving for the parameters. :)
 
got it, thanks
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K