Differential Equation of Two Functions

Click For Summary

Homework Help Overview

The discussion revolves around a differential equation involving two functions, f(x) and g(x), where the original poster presents a specific form of the equation and attempts to manipulate it using integration techniques. The context includes the differentiation of an integral and the implications of constants within the equation.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to solve the differential equation by substituting f(x) into the equation and simplifying it. They express confusion regarding the integral involving g(r) and consider using integration by parts. Other participants question the correctness of certain terms and the differentiation of the integral, leading to discussions about the treatment of constants and initial conditions.

Discussion Status

The discussion is ongoing, with participants providing feedback on each other's reasoning and calculations. Some guidance has been offered regarding the differentiation of the integral and the treatment of constants, but there is no explicit consensus on the correct approach or solution yet.

Contextual Notes

Participants are navigating the complexities of differentiating an integral that depends on the variable x, and there are mentions of initial conditions that may affect the interpretation of the functions involved. The presence of an unknown function g(r) adds to the complexity of the problem.

Gallagher
Messages
8
Reaction score
0

Homework Statement



f '(x)-cf(x)+g(x)=0

Homework Equations



f(X)=1

f(x)=e-c(X-x) + ∫xX e-c(r-x) * g(r)dr

X is a constant.

The Attempt at a Solution



Ok, so the part of this problem that is confusing me is the integral within the function, f(x). It is an exponential function times an unknown function, g, which also is in the differential equation so my first thought was to use integration by parts. Before I get to that though, let me put down how far I've gotten into solving this quandary. Plugging f(x) into the DE I've got:

f '(x)= ce-c(X-x) + e-c(X-x)g(X)-g(x)

Therefore:

f '(x)-cf(x)+g(x)=0 ==>

ce-c(X-x) + e-c(X-x)g(X)-g(x)-c(e-c(X-x) + ∫xX e-c(r-x) * g(r)dr)+g(x)=0

The +-g(x) and +-ce-c(X-x) cancel to leave us with:

e-c(X-x)g(X) - c∫xX e-c(r-x) * g(r)dr=0

Or equivalently;

e-c(X-x)g(X) = c∫xX e-c(r-x) * g(r)dr

Now back to my idea of integrating by parts. Again, it's just an unknown function and an exponential so it seems easy but I'm getting lost. I set:

u=g(r) v'=e-c(r-x) such that

u=g(r) v=-(e-c(r-x))/c
u'=g'(r) v'=e-c(r-x)

Then my uv-∫u'v would mean

e-c(X-x)g(X) = c([-g(r)(e-c(r-x))/c]|xX + ∫xX g'(r)(e-c(r-x))/c dr

______________________________________________________________

Getting here at least means that I have g'(r) in my integral instead of g(r) but, from this point I don't know what to do. I'm not even sure my math is right up to this point. I feel like if I try to integrate by parts again then I will just get caught in an infinite loop. Was this even the correct method in the first place? Any help or guidance would be greatly appreciated.
 
Physics news on Phys.org
Hi Gallagher! :smile:
Gallagher said:
f(x)=e-c(X-x) + ∫xX e-c(r-x) * g(r)dr

X is a constant.


f '(x)= ce-c(X-x) + e-c(X-x)g(X)-g(x)

nooo :redface:

X' = 0, so that middle term shouldn't be there, should it? :wink:
 
Hi Tiny Tim!

I don't think I understand your advice. As X is a constant, not a function, I don't think you could take X'. What I think you're referring to is the initial condition of f(X)=1. As such you would think that f'(X) would = 0 but, as I will show, that is not the case and f'(X)=c as f(x) is an exponential function.

To clarify, I found f'(x) by first factoring the -c in the exponential:

f(x)=e-c(X-x) + ∫xX e-c(r-x) * g(r)dr
f(x)=e(-cX+cx) + ∫xX e-c(r-x) * g(r)dr

Differentiating brings the positive c down and leaves you to evaluatie the derivative of the integral which should just be the integrand over the interval (Right?).

f'(x)=ce(-cX+cx) + [e-c(r-x) * g(r)dr]xX

Leading to:

f'(x)=ce(-cX+cx) + e-c(X-x)g(X) - e-c(x-x)g(x)

And then as e-c(x-x)=e0=1

f'(x)=ce(-cX+cx) + e-c(X-x)g(X) - g(x)

Plugging in X in gives:

f'(X)=ce-c(X-X) + e-c(X-X)g(X) - g(X)
f'(X)=ce0+g(X)e0-g(X)=c

Im not really sure where I was going with that. It's all well and good but it doesn't get me any closer to solving the DE. This is where I am:

f(x)=e-c(X-x) + ∫xX e-c(r-x) * g(r)dr

f'(x)=ce(-cX+cx) + e-c(X-x)g(X) - g(x)

Solve: f'(x)-cf(x)+g(x)=0

Equivalently: (ce(-cX+cx) + e-c(X-x)g(X) - g(x)) - c(e-c(X-x) + ∫xX e-c(r-x) * g(r)dr) + g(x) = 0

I feel like I'm close to a solution here but may be completely off. If you Tiny Tim or anyone else could ponder this a bit and perhaps offer some guidance I would be forever grateful.
 
Hi Gallagher! :smile:
Gallagher said:
f'(x)=ce(-cX+cx) + [e-c(r-x) * g(r)dr]xX

no, that last term should be X'[e-c(r-x) * g(r) * g'(r)]X - x'[e-c(r-x) * g(r) * g'(r)]x

(and X' = 0 and x' = 1)

to put it more simply, you differentiate each limit, and ignore the ∫

I forgot to mention :redface: that in this case the integrand (as well as the limits) depends on x, so you also need to add an ∫ with the integrand differentiated …

see http://en.wikipedia.org/wiki/Differentiation_under_the_integral_sign :wink:
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
1K
Replies
5
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
6
Views
1K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
2
Views
2K