Solving system of differential equations using elimination method

Click For Summary
SUMMARY

This discussion focuses on solving a system of differential equations using the elimination method, specifically the equations \(y'_1 = y_2\) and \(y'_2 = -y_1 + \frac{1}{\cos x}\). Participants clarify that the associated homogeneous equation is \(y_1'' + y_1 = 0\), while the nonhomogeneous equation is \(y_1'' + y_1 = \sec(x)\). The recommended approach involves using the method of variation of parameters to find particular solutions, alongside computing the Wronskian of the homogeneous solutions \(u(x) = \cos x\) and \(v(x) = \sin x\).

PREREQUISITES
  • Understanding of second-order linear differential equations
  • Familiarity with the method of variation of parameters
  • Knowledge of computing the Wronskian
  • Basic calculus skills for integration
NEXT STEPS
  • Learn how to compute the Wronskian for a set of functions
  • Study the method of variation of parameters in detail
  • Practice solving second-order linear nonhomogeneous differential equations
  • Explore examples of systems of differential equations and their solutions
USEFUL FOR

Students, educators, and professionals in mathematics or engineering fields who are working with differential equations, particularly those looking to deepen their understanding of elimination methods and variation of parameters.

berlinvic
Messages
9
Reaction score
0
Homework Statement
$$\begin{cases}
y'_1 = y_2, \\
y'_2 = -y_1 + \frac{1}{\cos x}
\end{cases}$$
Relevant Equations
Elimination method for differential equations, associated homogeneous equation
I am trying to solve this system of differential equations using elimination method, but I am stuck.

$$\begin{cases}
y'_1 = y_2, \\
y'_2 = -y_1 + \frac{1}{\cos x}
\end{cases}$$

Here's what I tried:

I've been suggested to differentiate the ##y_1'= y_2## again to get ##y_1''= y_2'= -y_1+ \frac{1}{\cos(x)}##. The "associated homogeneous equation". However, I don't really see a way how to go forward. Anyways, how do you solve this sytem?
 
Physics news on Phys.org
That’s just a second order linear homogeneous differential equation. It can be solved by any appropriate method.
 
berlinvic said:
I've been suggested to differentiate the ##y_1'= y_2## again to get ##y_1''= y_2'= -y_1+ \frac{1}{\cos(x)}##. The "associated homogeneous equation".
Orodruin said:
That’s just a second order linear homogeneous differential equation.
Wouldn't the linear homogeneous diff. equation be ##y_1'' + y_1 = 0##? The ##\frac 1 {\cos(x)}## term makes it nonhomogeneous.
 
Mark44 said:
Wouldn't the linear homogeneous diff. equation be ##y_1'' + y_1 = 0##? The ##\frac 1 {\cos(x)}## term makes it nonhomogeneous.
Yes sorry, I meant to say inhomogeneous …
 
  • Like
Likes   Reactions: Mark44
Orodruin said:
Yes sorry, I meant to say inhomogeneous …
But I don't see how I can solve ##y_1^{\prime\prime}=y_2^{\prime}=-y_1+\frac1{\cos(x)}## using elimination method. Any help? I get the same answer as using https://mathdf.com/dif/, which, according to my professor, is incorrect.
 
You already eliminated ##y_2## ….
 
Yes, but I still can't see how to move forward, I am just stuck at this line.
 
@berlinvic, did you get a solution for the homogeneous problem ##y_1'' + y_1 = 0##? That's an easy one. For the nonhomogeneous problem ##y_1'' + y_1 = \sec(x)##, you might have to use variation of parameters.
 
Yes, I should have mentioned, I already know I should use variation of parameters. However I am not entirely sure which ones and how to apply them. I am fairly confused about it, do you have any tips?
 
  • #10
Here is everything I've got so far:

I reduced the system to the second order ODE
$$
y_1''+y_1=\frac{1}{\cos x}. \tag{1}
$$

Next steps:
1. Find two linearly independent solutions to the homogeneous equation ##y_1''+y_1=0## --- for instance, ##u(x)=\cos x## and ##v(x)=\sin x##;
2. Compute the Wronskian of those solutions:
$$
W[u,v]=uv'-u'v; \tag{2}
$$
3. Find a particular solution to the equation $(1)$ using the [formula](https://en.wikipedia.org/wiki/Variation_of_parameters#General_second-order_equation)
$$
y_{1p}(x)=A(x)u(x)+B(x)v(x), \tag{3}
$$
where
$$
A(x)=-\int\frac{v(x)}{W(x)\cos x}\,dx,\qquad
B(x)=\int\frac{u(x)}{W(x)\cos x}\,dx; \tag{4}
$$
4. The general solution to ##(1)## is given by
$$
y_1(x)=c_1u(x)+c_2v(x)+y_{1p}(x); \tag{5}
$$
5. To find ##y_2(x)##, use the first equation of the system:
$$
y_2(x)=y_1'(x)=c_1u'(x)+c_2v'(x)+y_{1p}'(x). \tag{6}$$
 
  • #11
berlinvic said:
Here is everything I've got so far:

I reduced the system to the second order ODE
$$
y_1''+y_1=\frac{1}{\cos x}. \tag{1}
$$

Next steps:
1. Find two linearly independent solutions to the homogeneous equation ##y_1''+y_1=0## --- for instance, ##u(x)=\cos x## and ##v(x)=\sin x##;
2. Compute the Wronskian of those solutions:
$$
W[u,v]=uv'-u'v; \tag{2}
$$
What did you get for the Wronksian? It's pretty simple in this problem.
berlinvic said:
3. Find a particular solution to the equation $(1)$ using the [formula](https://en.wikipedia.org/wiki/Variation_of_parameters#General_second-order_equation)
$$
y_{1p}(x)=A(x)u(x)+B(x)v(x), \tag{3}
$$
where
$$
A(x)=-\int\frac{v(x)}{W(x)\cos x}\,dx,\qquad
B(x)=\int\frac{u(x)}{W(x)\cos x}\,dx; \tag{4}
$$
I think you're confusing yourself with the above notation. The same wiki page you quoted gives these formulas for A(x) and B(x):
##A(x) = -\int \frac 1 W u_1(x)f(x)dx##
##B(x) = \int \frac 1 W u_2(x)f(x)dx##
Here W is the Wronskian and ##u_1(x)## and ##u_2(x)## are the solutions to the homogeneous DE you found earlier.
berlinvic said:
4. The general solution to ##(1)## is given by
$$
y_1(x)=c_1u(x)+c_2v(x)+y_{1p}(x); \tag{5}
$$
5. To find ##y_2(x)##, use the first equation of the system:
$$
y_2(x)=y_1'(x)=c_1u'(x)+c_2v'(x)+y_{1p}'(x). \tag{6}$$
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
2K