Linear 1st order differential equations

Click For Summary

Homework Help Overview

The discussion revolves around solving linear first-order differential equations, specifically focusing on the equations dy/dx + ytanx = secx and dy/dx - y = 4e^x, along with their respective initial conditions.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the integration process and the simplification of the integrating factor. There are attempts to clarify the roles of P(x) and Q(x) in the context of the equations. Some participants express confusion regarding the integration steps and the application of initial conditions.

Discussion Status

Some participants have provided insights into simplifying expressions and identifying functions within the equations. There is an ongoing exploration of the correct application of initial conditions and how they affect the constants in the solutions. Multiple interpretations of the integration steps are being discussed, and guidance has been offered regarding the use of boundary conditions.

Contextual Notes

Participants note potential confusion arising from the notation and the integration process. There is mention of differing answers from a textbook, prompting questions about the correctness of individual approaches and the use of initial conditions.

ch2kb0x
Messages
31
Reaction score
0

Homework Statement


dy/dx + ytanx = secx, y(pi) = 1


Homework Equations



I(x) = e^integral P(x)dx
Integral Q(x)e^integral P(x)dx
y=e^-integral P(x)dx (integral Q(x)e^integral P(x)dx + C)

(sorry, it is a bit messy, I don tknow how to use the math symbols yet)

The Attempt at a Solution


dy/dx + ytanx = secx, where P(x) = tanx, Q(x) = secx

ytanx - secx + dy/dx = 0

I(x) = e^Integral tanx = e^-ln(cosx)

Integral Q(x)e^integral P(x)dx = Integral (1/cosx) e^-ln(cosx) dx.

^^this is where I am stuck, either I did something wrong in the beginning, and/or it has to be integrated by parts. I only know how to do the "tabular table" method for parts, so if my calculations were right to that point, could somebody help me through the rest of the problem. thanks :(
 
Physics news on Phys.org
It looks confusing because you aren't simplifying the integrating factor. exp(-ln(cos(x))) can be written in a much simpler form using rules of exponents and logs. What is it?
 
Nm, i know how to solve it now, thanks.

Although, I am stuck on this problem now:

dy/dx - y = 4e^x, with y(0) = 4.

How do I solve this when there isn't a P(x) function next to y...or is there...
 
There is. P(x)=(-1).
 
For dy/dx - y = 4e^x, with y(0) = 4.

I got answer: y = (4x + C)e^x

The answer in back says 4e^x (x + 1)

What am I doing wrong?
My Procedure:
P(x) = -1 Q(x) = 4e^x

I = e^-x

Integral both sides = > e^-x(dy/dx -y) = e^(-x) (4e^x)dx

= e^-x y = 4x + c

= y = (4x + c )e^x
 
ch2kb0x said:
For dy/dx - y = 4e^x, with y(0) = 4.

I got answer: y = (4x + C)e^x

The answer in back says 4e^x (x + 1)

What am I doing wrong?
My Procedure:
P(x) = -1 Q(x) = 4e^x

I = e^-x

Integral both sides = > e^-x(dy/dx -y) = e^(-x) (4e^x)dx

= e^-x y = 4x + c

= y = (4x + c )e^x

You didn't use the boundary condition y(0)=4 to find C.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 26 ·
Replies
26
Views
2K
Replies
5
Views
2K
Replies
7
Views
2K
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
5
Views
2K