Solving a linear first order differential equation

Click For Summary
SUMMARY

The discussion focuses on solving the linear first-order differential equation represented as 4y' = e^(x/4) + y. Participants clarify the steps to rearrange the equation into standard linear form, yielding dy/dx - (1/4)y = (1/4)e^(x/4). The integrating factor is determined to be e^(-x/4), which simplifies the equation to d(e^(-x/4)y)/dx = (1/4). Integrating both sides leads to the general solution y = (1/4)xe^(x/4) + Ce^(x/4).

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with integrating factors in differential equations
  • Knowledge of exponential functions and their properties
  • Ability to perform integration and manipulation of algebraic expressions
NEXT STEPS
  • Study the method of integrating factors in greater detail
  • Explore applications of first-order linear differential equations in real-world scenarios
  • Learn about different types of differential equations, such as separable and exact equations
  • Investigate advanced integration techniques, including integration by parts and substitution
USEFUL FOR

Students, educators, and professionals in mathematics, engineering, and physics who are looking to deepen their understanding of solving linear first-order differential equations.

Logan Land
Messages
83
Reaction score
0
4y'=e^(x/4) + y

First I need to divide through by 4 correct?
To obtain
y'=(e^(x/4))/4 + (y/4)

But then when I try to find integrating factor I just come up with e^(x/4) which I think is incorrect
 
Physics news on Phys.org
Re: Solving a differential equation

First put the equation in the standard form.
 
I have edited the title to make it a bit more descriptive of the problem. A topic's title should give at least one level of information more than is implied by the forum in which it is posted. :D

I would first arrange the ODE in standard linear form by subtracting through by $y$ and then dividing through by 4:

$$\frac{dy}{dx}-\frac{1}{4}y=\frac{1}{4}e^{\frac{x}{4}}$$

Now, what is your integrating factor $\mu(x)$?
 
Last edited:
MarkFL said:
I have edited the title to make it a bit more descriptive of the problem. A topic's title should give at least one level of information more than is implied by the forum in which it is posted. :D

I would first arrane the ODE in standard linear form by subtracting through by $y$ and then dividing through by 4:

$$\frac{dy}{dx}-\frac{1}{4}y=\frac{1}{4}e^{\frac{x}{4}}$$

Now, what is your integrating factor $\mu(x)$?

I still keep getting e^(x/4)

Do I not put it as e^(1/4)(integral e^(x/4))
 
Don't forget the sign !.
 
ZaidAlyafey said:
Don't forget the sign !.

Yes, in this problem, we have $$P(x)=-\frac{1}{4}$$.
 
$$4y' - y = e^{\frac{x}{4}}$$

Divide by $$4 e^{\frac{x}{4}}$$

$$y'e^{-\frac{x}{4}} - \frac{1}{4}\,y\,e^{-\frac{x}{4}} = \frac{1}{4}$$

Now we realize that $$\frac{d}{dx} \left( y e^{-\frac{x}{4}}\right) = y'e^{-\frac{x}{4}} -\frac{1}{4} y\,e^{-\frac{x}{4}} $$

Hence $$\frac{d}{dx} \left( y e^{-\frac{x}{4}}\right)=\frac{1}{4}$$

Integrating with respect to x :

$$y\, e^{-\frac{x}{4}}=\frac{1}{4}x\,+\,C$$

$$y\,=\frac{1}{4}\,x\, e^{\frac{x}{4}}+\,C e^{\frac{x}{4}}$$
 
MarkFL said:
Yes, in this problem, we have $$P(x)=-\frac{1}{4}$$.

So no matter what we use the information on the left to compute the integrating factor? Even in this case with no x just (-1/4)

In that case would it be (-1/4)x?

e^(-1/4)integral dxOh the integrating factor is e^(-x/4)?
 
LLand314 said:
Oh the integrating factor is e^(-x/4)?

yes .
 
  • #10
You want something of the form
\frac{dY}{dx}= f(x)

Initially we have
4\frac{dy}{dx}- y= e^{x/4}
where I have put all the "y" dependence on the left.

Yes, you can if you like divide by 4- that is not necessary but makes the calculations simpler
\frac{dy}{dx}- y/4= e^{x/4}/4

We want to multiply by some u(x) that will make the left side a single derivative: that the left side becomes \frac{d(uy)}{dx}.

By the product rule, \frac{d(uy)}{dx}= u\frac{dy}{dx}+ \frac{du}{dx}y and, we can see that, by multiplying by u we would have u\frac{dy}{dx}- \frac{uy}{4}. Comparing those, we see we must have \frac{du}{dx}= -\frac{u}{4}, a simple, separable equation: \frac{du}{u}= -\frac{dx}{4} and integerating ln(u)= -\frac{x}{4}+ C or u= Ce^{-x/4}.

That is, an "integrating factor" is e^{-x/4}:
e^{-x/4}\frac{dy}{dx}- \frac{e^{-x/4}y}{4}= \frac{d(e^{-x/4}y}{dx}

so multiplying both sides of the original equation by e^{-x/4} we have
\frac{d(e^{-x/4}y}{dx}= \frac{1}{4}
and we can integrate both sides to get
e^{-x/4}y= \frac{x}{4}+ C
so that y= \frac{x}{4}e^{x/4}+ Ce^{x/4}.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
509
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K