Solve differential equation if you now two solutions

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation of the form ##y^{'}+b(x)y=c(x)##, given two solutions: ##y_1(x)= e^x## and ##y_2(x)=x^2+1+e^x##. Participants explore the implications of these solutions for determining the functions ##b(x)## and ##c(x)##, as well as the overall solution structure.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the relationship between the given solutions and the homogeneous and inhomogeneous parts of the differential equation. There is uncertainty about how to express the overall solution and whether the difference of the two solutions corresponds to the homogeneous or inhomogeneous part.

Discussion Status

Some participants have provided insights into how to derive ##b(x)## and ##c(x)## from the given solutions, while others express confusion about the implications of these derivations for the overall solution. There is an ongoing exploration of the correct forms of the functions involved and how they relate to the general solution.

Contextual Notes

Participants note that the functions ##b(x)## and ##c(x)## are not initially provided, leading to complications in finding the general solution. There is also mention of potential errors in the calculations of these functions, indicating a need for careful verification.

skrat
Messages
740
Reaction score
8

Homework Statement


Let ##y_1(x)= e^x## and ##y_2=x^2+1+e^x## solve the differential equation ##y^{'}+b(x)y=c(x)##.

Find the overall solution of this differential equation.

Homework Equations


The Attempt at a Solution


The overall solution => ##y=y_H+y_P## I don't know the english expression for that but in general the idea behind is that differential equations can be seen as homogeneous and inhomogeneous.

If ##y_1(x)= e^x## and ##y_2=x^2+1+e^x## solve the equation than their ##y_1-y_2## also solves the equation. But I am not sure which part? Homogeneous or inhomogeneous?

I would like to say that the right answer is homogeneous part but than the overall solution would be like ##y= e^x-A(x^2+1)##

Does this sound right? :/
 
Physics news on Phys.org
Yes, the function ##y_{1}-y_{2}## is a solution to the homogenous equation. You get the general solution of the homogenous case by noting that also ##C(y_{1}-y_{2})##, where ##C## is any constant, is a solution. Now you only add a particular solution of the inhomogenous case to this solution, and you have the general solution of the full inhomogenous equation.
 
b(x) and c(x) are not given, but they are obtained knowing two solutions of the equation.
Once you know b(x) and c(x), you can find the general solution of the homogeneous equation, yh. Adding any particular solution (which can be any linear combination of y1 and y2, independent from yh), you get the general solution.

ehild
 
ehild said:
b(x) and c(x) are not given, but they are obtained knowing two solutions of the equation.
Once you know b(x) and c(x), you can find the general solution of the homogeneous equation, yh. Adding any particular solution (which can be any linear combination of y1 and y2, independent from yh), you get the general solution.

ehild

Well this complicates this problem A LOT:

If ##y_1(x)= e^x## and ##y_2(x)=x^2+1+e^x## solve the differential equation ##y^{'}+b(x)y=c(x)##

Than ##y_1^{'}(x)= e^x## and ##y_2^{'}(x)=2x+e^x## and

##e^x+b(x)e^x=c(x)## and ##2x+e^x+b(x)(x^2+1+e^x)=c(x)##. Multiplying the first equation with -1 and them summing both of them together gives:

##2x+b(x)2x+b(x)x^2=0##

##b(x)=\frac{-2}{2+x}## and accordingly ##c(x)=e^x\frac{x}{2+x}##

Original equation is than written as:

##y^{'}+b(x)y=y^{'}+\frac{-2}{2+x}y=e^x\frac{x}{2+x}##

Now I have to find homogeneous and non homogeneous part in order to find the general solution? That's sounds like a lot of work.

So, the only reason than ##y_1## and ##y_2## are given is so I can find b(x) and c(x)?


The Attempt at a Solution


The overall solution => ##y=y_H+y_P## I don't know the english expression for that but in general the idea behind is that differential equations can be seen as homogeneous and inhomogeneous.

If ##y_1(x)= e^x## and ##y_2=x^2+1+e^x## solve the equation than their ##y_1-y_2## also solves the equation. But I am not sure which part? Homogeneous or inhomogeneous?

I would like to say that the right answer is homogeneous part but than the overall solution would be like ##y= e^x-A(x^2+1)##

Does this sound right? :/
 
skrat said:
Well this complicates this problem A LOT:

If ##y_1(x)= e^x## and ##y_2(x)=x^2+1+e^x## solve the differential equation ##y^{'}+b(x)y=c(x)##

Than ##y_1^{'}(x)= e^x## and ##y_2^{'}(x)=2x+e^x## and

##e^x+b(x)e^x=c(x)## and ##2x+e^x+b(x)(x^2+1+e^x)=c(x)##. Multiplying the first equation with -1 and them summing both of them together gives:

##2x+b(x)2x+b(x)x^2=0##

##b(x)=\frac{-2}{2+x}## and accordingly ##c(x)=e^x\frac{x}{2+x}##

You made some mistake, it should be ##b(x)=\frac{-2x}{x^2+1}##
skrat said:
So, the only reason than ##y_1## and ##y_2## are given is so I can find b(x) and c(x)?

The Attempt at a Solution


The overall (general ) solution => ##y=y_H+y_P## I don't know the english expression for that but in general the idea behind is that differential equations can be seen as homogeneous and inhomogeneous.

If ##y_1(x)= e^x## and ##y_2=x^2+1+e^x## solve the equation than their ##y_1-y_2## also solves the equation. But I am not sure which part? Homogeneous or inhomogeneous?

I would like to say that the right answer is homogeneous part but than the overall solution would be like ##y= e^x-A(x^2+1)##

Does this sound right? :/

The homogeneous part of the equation is y'+b(x)y=0. Substitute the correct b(x) and c(x) and solve. Or substitute your trial solution into the homogeneous equation and see if it is a solution.

You get the general solution of the equation if you add a particular solution of the inhomogeneous equation to the general solution of the homogeneous equation. Yes, the general solution is ##y= e^x-A(x^2+1)## where A is an arbitrary constant.

ehild
 
Last edited:

Similar threads

Replies
10
Views
2K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K