Simple Linear DiffEq, not understanding the book

Click For Summary
SUMMARY

The discussion centers on solving a separable linear differential equation, specifically the equation leading to the expression t = (-1/2) ln(20-2x) + C. The user initially derives x(t) = 10 - (1/2)e^(-2t) but finds a discrepancy with the book's solution, which integrates the x-side from 3 to x(t) to yield x(t) = 10 - 7e^(-2t). The resolution involves recognizing the proper handling of the constant C, leading to the conclusion that e^(2C) can be treated as a new constant in the solution process.

PREREQUISITES
  • Understanding of separable linear differential equations
  • Familiarity with logarithmic and exponential functions
  • Basic knowledge of integration techniques
  • Concept of constants in differential equations
NEXT STEPS
  • Review the properties of logarithms and exponentials in differential equations
  • Study the method of integrating factors for linear differential equations
  • Learn about the application of constants in differential equations
  • Explore PID controller design and its mathematical foundations
USEFUL FOR

Students and professionals in mathematics, engineering, and physics, particularly those involved in control systems and differential equations.

Feodalherren
Messages
604
Reaction score
6
Homework Statement
Use separation of variables to solve the following problem for t ≥ 0
Relevant Equations
dx/dt + 2x = 20
x(0) = 3
The way I want to solve it is the way that I always want to solve separable linear diffEqs:

after some trivial algebra and an easy integral I end up with

t = (-1/2) ln (20-2x) +C

Easy enough, solve for x(t) yields

x(t) = 10 - (1/2)e^(-2t) + C

Solve for C when x(0) = 3 yields

C = -13/2

But the book does something really weird and integrates the x-side from 3 to x(t) giving them the result

ln(20-2x(t)) - ln(20-2*3) = -2t

finally yielding

x(t) = 10 - 7e^(-2t)

I've never seen it done like this. What am I doing wrong? I feel like my method ought to work and I ought to end up with the same answer.
 
Physics news on Phys.org
Your solution for x(t) is wrong. If <br /> t = -\tfrac12 \ln(20 - 2x) + C then <br /> \ln(20 - 2x) = 2(C - t) and exponentiating gives <br /> 20 - 2x = e^{2C}e^{-2t}. Try again from here.
 
  • Like
Likes   Reactions: Feodalherren
Ah, of course! Thank you very much.

I vaguely remembered from my DiffEq class that you can 'play around' with C because it's just some constant. But of course you can't just ignore the algebraic rules for it, duh! Once I saw what you did with e^2C I remembered what 'play around with C' means i.e in this case it's still just some constant so call e^2C = C1 and forget about the exponents and other clutter.
I haven't seen a differential equation in quite some time but I got a new job as a Control Systems Engineer so I'm going through my textbook to try to refresh my memory on PID controllers.

Thank you!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K