Check My Work for solving this Differential Equation? :)

Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation dy/dt=1+y² with the initial condition y(π/4)=-1. Participants are examining the steps taken to arrive at a solution and questioning the validity of those steps.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the integration steps and the implications of the constant of integration. There is a focus on whether the proposed solution y(t)=tan(t)-2 satisfies the original differential equation, leading to further exploration of the relationship between the constant and the tangent function.

Discussion Status

There is an ongoing examination of the steps involved in solving the differential equation. Some participants have suggested alternative forms for the solution and are working through the implications of the initial condition. Guidance has been offered regarding the next steps, but no consensus has been reached on the final solution.

Contextual Notes

Participants are navigating potential errors in the integration process and the application of the initial condition, indicating a need for clarity on the relationship between the solution and the differential equation.

Dusty912
Messages
149
Reaction score
1

Homework Statement


Question: Solve this differential equation
dy/dt=1+y2 and y(π/4)=-1

Homework Equations



The Attempt at a Solution


dy/dt=1+y2 and y(π/4)=-1

dy/dt=1+y2
dy=(1+y2)dt
dy/(1+y2)=dt
∫dy(1+y2)=∫dt
tan-1(y)=t+c
y(t)=tan(t)+c
y(π/4)=tan(π/4)+c
-1=1+c
-2=c

answer: y(t)=tan(t)-2
 
Physics news on Phys.org
Dusty912 said:

Homework Statement


Question: Solve this differential equation
dy/dt=1+y2 and y(π/4)=-1

Homework Equations



The Attempt at a Solution


dy/dt=1+y2 and y(π/4)=-1

dy/dt=1+y2
dy=(1+y2)dt
dy/(1+y2)=dt
∫dy(1+y2)=∫dt
tan-1(y)=t+c
y(t)=tan(t)+c
y(π/4)=tan(π/4)+c
-1=1+c
-2=c

answer: y(t)=tan(t)-2
Did you check if dy/dt=1+y2 for your solution?

I think there is an error in this step:
tan-1(y)=t+c
y(t)=tan(t)+c
 
Samy_A said:
Did you check if dy/dt=1+y2 for your solution?

I think there is an error in this step:
tan-1(y)=t+c
y(t)=tan(t)+c

hmm I'm not sure that I am seeing the error, does it involve the constant being effected by the tan?
 
Dusty912 said:
hmm I'm not sure that I am seeing the error, does it involve the constant being effected by the tan?
Yes.

There must be an error somewhere, as inspection would show that y(t)=tan(t)-2 doesn't satisfy the differential equation.
 
so would it look something like this: y=tan(t+c) ----not my answer but the next step
 
Dusty912 said:
so would it look something like this: y=tan(t+c) ----not my answer but the next step
Yes.
 
ok so then then from there using y(π/4)=-1
the next step would be: -1=tan(π/4+c)
and then I am guessing the step would be: tan-1(-1)=π/4+c
 
Dusty912 said:
ok so then then from there using y(π/4)=-1
the next step would be: -1=tan(π/4+c)
and then I am guessing the step would be: tan-1(-1)=π/4+c
Yes (no need for guessing, though).
 
adding on to the previous steps: -π/4=π/4+c
-π/2=c

so the the solution would be:
y(t)=tan(t-π/2)
 
  • #10
Dusty912 said:
adding on to the previous steps: -π/4=π/4+c
-π/2=c

so the the solution would be:
y(t)=tan(t-π/2)
Yes.
 
  • #11
Okay thank you very much. You've been very helpful.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
2K
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K