MHB If dx/dt=kx, and if x=2 when t=0 and x=6 when t=1, then k=

  • Thread starter Thread starter karush
  • Start date Start date
Click For Summary
The differential equation given is dx/dt = kx, with initial conditions x=2 at t=0 and x=6 at t=1. By separating variables and integrating, the solution is expressed as ln|x| = kt + C. Using the initial condition, C is determined to be ln(2). Substituting the second condition leads to the conclusion that k equals ln(3).
karush
Gold Member
MHB
Messages
3,240
Reaction score
5
If $\frac{dx}{dt}=kx$, and if $x=2$ when $t=0$ and $x=6$ when $t=1$,
then $k=$

or rewriten as

$\frac{dx}{kx} = dt$

I saw this posted on another forum but didn't understand how this was integrated.. the ans appears to $$ln 3$$
 
Physics news on Phys.org
We have the separable ODE:

$$\frac{dx}{dt}=kx$$

$$\frac{1}{x}\,dx=k\,dt$$

$$\ln|x|=kt+C$$

Now, we know the point:

$$(t,x)=(0,2)$$

Hence:

$$C=\ln(2)$$

Thus:

$$\ln|x|=kt+\ln(2)$$

We also know the point:

$$(t,x)=(1,6)$$

Hence:

$$k=\ln(6)-\ln(2)=\ln(3)$$
 
There are probably loads of proofs of this online, but I do not want to cheat. Here is my attempt: Convexity says that $$f(\lambda a + (1-\lambda)b) \leq \lambda f(a) + (1-\lambda) f(b)$$ $$f(b + \lambda(a-b)) \leq f(b) + \lambda (f(a) - f(b))$$ We know from the intermediate value theorem that there exists a ##c \in (b,a)## such that $$\frac{f(a) - f(b)}{a-b} = f'(c).$$ Hence $$f(b + \lambda(a-b)) \leq f(b) + \lambda (a - b) f'(c))$$ $$\frac{f(b + \lambda(a-b)) - f(b)}{\lambda(a-b)}...

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K