What is the Solution for x'(t) - x^2 = 1 given x(0) = 1?

  • Thread starter Thread starter brollysan
  • Start date Start date
  • Tags Tags
    Differential
Click For Summary

Homework Help Overview

The problem involves solving the differential equation x' - x^2 = 1 with the initial condition x(0) = 1. The subject area pertains to differential equations, specifically separable equations.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the separation of variables in the context of the equation, with some expressing confusion about the absence of a second variable. There are attempts to manipulate the equation into a form suitable for integration, and questions arise regarding the correct interpretation of the integration results.

Discussion Status

The discussion is ongoing, with various interpretations of the integration process being explored. Some participants offer guidance on how to approach the problem, while others question the validity of the derived expressions. There is no explicit consensus on the final form of the solution.

Contextual Notes

Participants note the challenge of applying standard methods from calculus to this problem, particularly regarding the roles of the variables involved. The initial condition is emphasized as a critical factor in determining the solution.

brollysan
Messages
26
Reaction score
0

Homework Statement


x' - x^2 = 1, x(0) = 1
find x(t)


Homework Equations





The Attempt at a Solution



This was for an assignment due today, I kept trying but had to give up after 2 hours. I don't get the idea of seperable equations when there is just freaking x involved, what is it that I separate? And all the examples in my calculus made sure they did have a y and x, geez must be hard to separate those..

I just took a wild shot and arrived at: arctan x + 1
 
Physics news on Phys.org
You separate x and t. x' must mean d(x(t))/dt. There certainly is an arctan in the problem. Take the examples in your calculus book and replace y and x by x and t.
 
ok so I end up with

dx/dt = 1+ x^2

and then I invert it and get dt/dx = 1/(1+x^2)
and then I get dt = 1/(1+x^2) dx
and take the integral and get x(t) = arctanx + C
and then 1 = arctan 0 + C

So I end up with x(t) = arctanx + 1 ?

I tried drawing it in python using eulers, and apparently what I have arrived at here is wrong
 
If you integrate dt=1/(1+x^2) dx you get t+C=arctan(x). You don't get an x on both sides. Integral dt=t+C. Not x+C.
 
Meaning that t+ C = arctan(x)

tan(t + C) = tan(arctan(x))
x(t) = tan(t + C) ?

So the solution is x(t) = tan(t + 0.25pi) ?

edit: It would have to be tan(t - 0.25pi) right?
 
Last edited:
Yes, x(t)=tan(t+pi/4). Just because the calculus book always uses y as the dependent variable and x as the independent variable doesn't mean they aren't allowed to throw a problem at you where t is the independent variable and x is the dependent. Just switch the letters around.
 
brollysan said:
Meaning that t+ C = arctan(x)

tan(t + C) = tan(arctan(x))
x(t) = tan(t + C) ?

So the solution is x(t) = tan(t + 0.25pi) ?

edit: It would have to be tan(t - 0.25pi) right?

No, tan(0-pi/4)=(-1). Your initial condition said x(0)=+1, not -1.
 

Similar threads

Replies
5
Views
2K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
7
Views
2K
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
7
Views
2K