Differentiating an integral and finding f(x)

supermiedos
Messages
62
Reaction score
0

Homework Statement


Find all f(x) satisfying:
∫f dx ∫1/f dx = -1

Homework Equations

The Attempt at a Solution



I solved for ∫1/f dx and differentiated both sides (using the quotient rule for the right side):
∫1/f dx = -1 / ∫f dx
1/f = f / (∫f dx)2
(∫f dx)2 = f2
∫fdx = ±f

f = ±f'

Solving the differential equation for f = f ' I get f = cex

But when I try to prove if my solution is correct, I got:

∫cex dx ∫ 1/(cex) dx = -1
(ex + k1)(-e-x + k2) = -1
And I don't know what to do to get -1 on the left side.

Could you give me a hint please?
 
Physics news on Phys.org
supermiedos said:

Homework Statement


Find all f(x) satisfying:
∫f dx ∫1/f dx = -1

Homework Equations

The Attempt at a Solution



I solved for ∫1/f dx and differentiated both sides (using the quotient rule for the right side):
∫1/f dx = -1 / ∫f dx
1/f = f / (∫f dx)2
(∫f dx)2 = f2
∫fdx = ±f

f = ±f '
Wow! It's hard to see the ' on ƒ '
Solving the differential equation for f = f ' I get f = cex

But when I try to prove if my solution is correct, I got:

∫cex dx ∫ 1/(cex) dx = -1
(ex + k1)(-e-x + k2) = -1
And I don't know what to do to get -1 on the left side.

Could you give me a hint please?
It's been edited. (Sorry for messing up that quote originally.)
It works if k1 = k2 = 0 .

Also, where did the constant, c, go in your last line?
 
SammyS said:
Wow! It's hard to see the ' on ƒ '
Solving the differential equation for f = f ' I get f = cex

But when I try to prove if my solution is correct, I got:

∫cex dx ∫ 1/(cex) dx = -1
(ex + k1)(-e-x + k2) = -1
And I don't know what to do to get -1 on the left side.

Could you give me a hint please?[/QUOTE]
It works is k1 = k2 = 0 .

But is it legal to do that? Giving values to fit the desired result?

Also, where did the constant, c, go in your last line?[/QUOTE]
"c" canceled with the another "c" in the denominator of the second integral.
 
supermiedos said:
"c" canceled with the another "c" in the denominator of the second integral.
c does not cancel if k1, k2 ≠ 0 .

You're right.

I was missing the fact that you can factor c out of the integrals or equivalently, you can have the integration constants "absorb" c.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top