Higher order differential equation

In summary, variation of parameters is a method to find a general solution to a non-linear, homogeneous differential equation. It is a way to find a solution that is similar to the known solutions, but with different parameters.
  • #1
Raghav Gupta
1,011
76
Solve
y'' - 2y' + 2y = ## e^x tanx ##
What concept should we use if we know only solving first order differential equation?
 
Physics news on Phys.org
  • #2
  • #3
Raghav Gupta said:
Solve
y'' - 2y' + 2y = ## e^x tanx ##
What concept should we use if we know only solving first order differential equation?

If you know how to solve a first order equation, can you solve two coupled first order equations?

Let ##v = y'##. Then convert your equation to this.

##v' - 2v + 2y = e^x \tan x ##

Now you have two coupled first order equations.
 
  • #4
Factor your differential operator.
## ( \frac {d}{dx} - I ) ^2 y = e^x \tan x ##
What sorts of functions solve the homogeneous problem?
## ( \frac {d}{dx} - I ) ^2 y = 0##
Or...
Imagine that ##y = f(x) e^x ## and take the derivatives. What do you find out about f(x)?
 
  • #5
Raghav Gupta said:
Solve
y'' - 2y' + 2y = ## e^x tanx ##
What concept should we use if we know only solving first order differential equation?

RUber said:
Factor your differential operator.
## ( \frac {d}{dx} - I ) ^2 y = e^x \tan x ##

Unfortunately [itex]\lambda^2 - 2\lambda + 2 = (\lambda - 1)^2 +1[/itex] does not factorise over the reals (which isn't really a problem but not ideal for someone not familiar with second-order linear differential operators with constant coefficients).

That said, I would set [itex]y(x) = f(x)e^{kx}[/itex] and choose [itex]k[/itex] to eliminate the [itex]f[/itex] term. This eventually yields a first-order ODE for [itex]f'[/itex], and most of the resulting integrals can be done analytically.
 
Last edited:
  • #6
pasmith said:
Unfortunately [itex]\lambda^2 - 2\lambda + 2 = (\lambda - 1)^2 +1[/itex] does not factorise over the reals (which isn't really a problem but not ideal for someone not familiar with second-order linear differential operators with constant coefficients).
Thanks pasmith. Good catch.
 
  • #7
Can you tell us where this problem comes from?
Doesn't even to solve y''= tan x require special functions that would not be considered elementary as you are essentially requiring?
Unless there is something special about your equation allowing some clever way round. (I cannot see that #4 is it.) :olduhh:
 
Last edited:
  • #8
If all you know is "solving first order equations" then you can't solve this equation. It simply cannot be reduced to a first order equation! There is a reason for learning how to solve higher order equations!
 
  • #9
Read and understood the concept of second order linear non-homogeneous differential equation.
Here we have to find first the complementary function and then the particular integral
y=yc+yp
So we have the characteristic or auxiliary equation first as m2-2m+2=0
I know solving complementary function
m=1± i
yc=ex(cosx+sinx)
Now for yp I know the method of undetermined coefficients.
For ex we can simply substitute y= Aex but here the R.H.S is f(x)ex.
What to do?
 
  • #10
OK so you now know it seems some of the method for non-homogeneous (constant coefficient) linear d.e's. and have solved for the complementary function.

In the most widely needed applications of these x is time, and the RHS, called the 'forcing function', is commonly sine/cosine, or several such, or exponential or combination. These are daily bread of electrical or radio engineers etc. There are some widely taught methods quite adequate for dealing with this kind of function, which work because these functions have nice properties, namely that all their derivatives are also sin/cosine/exponential.

The function you're given, with tan, unfortunately does not have quite such nice properties, so you are trying to run before you can walk. (A very good thing IMO! :oldbiggrin:). It is also rather unphysical if x is time, as it is periodic but going to infinity in finite time (x).

I think I can make one of the cobbling methods work for this. Maybe I wil come back on this. However you do not want to waste time on methods that are hard to puzzle out so I think you can actually use the variation of parameters method you mentioned. In Dr. Paul's Online Math Notes you can find not only a back-up explanation of the method but a worked example that is almost the same as your problem.

The second sentence of my #7 was a misconception btw.
 
  • #11
The "basic" solution for a linear, homogeneous, differential equation with constant coefficients is of the form [itex]e^{\alpha x}[/itex] where [itex]\alpha[/itex] is a solution to the associated characteristic equation. From that we also get sine and cosine solutions (if [itex]\alpha[/itex] is complex) and powers of x (if [itex]\alpha[/itex] is a multiple root). The method of "undetermined coefficients" only works if the right hand side of a non-homogeneous equation is one of those types of function.

What you need to use here is called "variation of parameters", that MisterX mentioned before. If u(x) and v(x) are two independent solutions to the homogeneous equation, then a general solution is of the form "Cu(x)+ Dv(x)" where C and D are constants. Those are the "parameters" we are going to vary. Look for solutions of the form p(x)u(x)+ q(x)v(x), with p and q functions of x. With y(x)= p(x)u(x)+ q(x)v(x), y'= p'u+ pu'+ q'v+ qv'. Because there are an infinite number of possible solutions, there are an infinite number of possible "p" and "q". We "narrow the search", and simplify the problem, by searching for solutions such that p'u+ q'v= 0. That leaves y'= pu'+qv' and the second derivative is y''= p'u'+ pu''+ q'v'+ qv''. Now, put those y, y', and y'' into the differential equation.

Because u and v satisfy the homogeneous equation, all terms involving only p and q (without being differentiated) will cancel. Since we required that p'u+ q'v= 0 there were be no p'' or q''. That is, we will have an equation involving only p' and q'. That, together with p'u+ q'v= 0, give us two equations to solve, algebraically, for p' and q'.
 

What is a higher order differential equation?

A higher order differential equation is a mathematical equation that involves derivatives of a function with respect to more than one independent variable. The order of a differential equation is determined by the highest order derivative present in the equation.

What are the types of higher order differential equations?

The three main types of higher order differential equations are linear, separable, and exact. A linear differential equation can be written in the form of a linear combination of the dependent variable and its derivatives. A separable differential equation can be separated into two equations, each containing only one variable and its derivatives. An exact differential equation can be solved by finding an integrating factor to make the equation exact.

What is the general solution of a higher order differential equation?

The general solution of a higher order differential equation is a solution that contains all possible solutions to the equation, including any arbitrary constants. It is usually expressed in terms of the independent variable and its derivatives.

How do you solve a higher order differential equation?

To solve a higher order differential equation, you can use various methods such as separation of variables, integrating factors, or substitution. The method used will depend on the type of differential equation and its order.

What are some real-life applications of higher order differential equations?

Higher order differential equations have many applications in science and engineering, such as in modeling physical systems like circuits, motion of objects, and chemical reactions. They are also used in economics, biology, and finance to analyze and predict complex systems.

Similar threads

Replies
7
Views
3K
  • Differential Equations
Replies
2
Views
982
  • Differential Equations
Replies
6
Views
2K
Replies
1
Views
1K
Replies
5
Views
2K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
2
Replies
52
Views
799
Replies
1
Views
1K
  • Differential Equations
Replies
3
Views
1K
Replies
2
Views
2K
Back
Top