Solving ∫f(x)dx+f'(x)+rg'(r)-g(r)=0 for f and g

  • Thread starter Thread starter Baashaas
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around determining the functions f(x) and g(r) from the equation ∫f(x)dx + f'(x) + rg'(r) - g(r) = 0, which arises in the context of an engineering problem related to strain and displacement integration.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore the challenge of separating the variables in the given equation, questioning how to isolate f(x) and g(r) effectively. There is mention of a hint suggesting the application of separation of variables, but participants express uncertainty about how to proceed with this method. Some participants also discuss the implications of treating x and r (or θ and r) as independent variables.

Discussion Status

The discussion is ongoing, with participants raising questions about the relationships between the variables and the structure of the equation. Some guidance has been offered regarding the separation of variables, but no consensus has been reached on the approach to take.

Contextual Notes

Participants note the potential confusion arising from the notation, particularly regarding the relationship between the variables in a polar coordinate system. There is also a suggestion that both sides of the equation could be treated as constants under certain conditions.

Baashaas
Messages
3
Reaction score
0

Homework Statement



This is a part of a much larger engineering problem I am working out, the functions f and g are integration functions appearing when a strain is integrated to determine a displacement.

I am stuck with the following problem:

determine f(x) and g(r) from the following equation:

[itex]∫f(x)dx+f'(x)+rg'(r)-g(r)=0[/itex]

A hint in the problem description says you have to apply separation of variables.

Homework Equations



none given.

The Attempt at a Solution



I am getting stuck at this equation because it doesn't seem to be writeable in the standard form for separating variables.

[itex]\frac{dy}{dx}=g(x)f(y)[/itex]

An example (without any elaboration) of a non homogeneous equation of the same form states that the solution of:

[itex]∫f(x)dx+f'(x)+rg'(r)-g(r)=A \cos{x}[/itex]

gives

[itex]f(x)=0.5Ax \cos{x}+K \cos{x} + L \cos{x}[/itex]

and

[itex]g(r)=Hr[/itex]

Now I can see that this is a valid solution, but I have no idea how you separate the 2 functions so that that f is only a function of x and g is only a function of r.
I can of course write

[itex]∫f(x)dx+f'(x)+rg'(r)-g(r)=0[/itex]

to

[itex]∫f(x)dx+f'(x)=-rg'(r)+g(r)[/itex]

and than find a homogeneous solution of the form [itex]f(x)=K \cos{x} + L \cos{x}[/itex]But where does g(r) go when finding the particular solution for f(x)?
Can you perhaps state that both [itex]∫f(x)dx+f'(x)[/itex] and [itex]rg'(r)-g(r)[/itex] are constant?

I am seriously getting the feeling that I am missing something extremely obvious.
 
Last edited:
Physics news on Phys.org
Is there some relationship between r and x?
 
ohw wait, I mistyped, theta=x, ill fix it. There is no relation between r and x, it is a polar coordinate system.
 
Baashaas said:
ohw wait, I mistyped, theta=x, ill fix it. There is no relation between r and x, it is a polar coordinate system.

So, I guess you don't count ##r^2 = x^2 + y^2## as a relationship? Or, is x something other than the x-coordinate?
 
PeroK said:
So, I guess you don't count ##r^2 = x^2 + y^2## as a relationship? Or, is x something other than the x-coordinate?

Yeah, I am sorry, x should be theta in all equations. That would make things a lot clearer.
 
Baashaas said:
But where does g(r) go when finding the particular solution for f(x)?
Can you perhaps state that both [itex]∫f(x)dx+f'(x)[/itex] and [itex]rg'(r)-g(r)[/itex] are constant?

I am seriously getting the feeling that I am missing something extremely obvious.

If x and r (or θ and r) are independent variables, then this implies that both the above are constant.
 
Baashaas said:

Homework Statement



This is a part of a much larger engineering problem I am working out, the functions f and g are integration functions appearing when a strain is integrated to determine a displacement.

I am stuck with the following problem:

determine f(x) and g(r) from the following equation:

[itex]∫f(x)dx+f'(x)+rg'(r)-g(r)=0[/itex]

A hint in the problem description says you have to apply separation of variables.

Homework Equations



none given.


The Attempt at a Solution



I am getting stuck at this equation because it doesn't seem to be writeable in the standard form for separating variables.

[itex]\frac{dy}{dx}=g(x)f(y)[/itex]

An example (without any elaboration) of a non homogeneous equation of the same form states that the solution of:

[itex]∫f(x)dx+f'(x)+rg'(r)-g(r)=A \cos{x}[/itex]

gives

[itex]f(x)=0.5Ax \cos{x}+K \cos{x} + L \cos{x}[/itex]

and

[itex]g(r)=Hr[/itex]

Now I can see that this is a valid solution, but I have no idea how you separate the 2 functions so that that f is only a function of x and g is only a function of r.
I can of course write

[itex]∫f(x)dx+f'(x)+rg'(r)-g(r)=0[/itex]

to

[itex]∫f(x)dx+f'(x)=-rg'(r)+g(r)[/itex]

and than find a homogeneous solution of the form [itex]f(x)=K \cos{x} + L \cos{x}[/itex]


But where does g(r) go when finding the particular solution for f(x)?
Can you perhaps state that both [itex]∫f(x)dx+f'(x)[/itex] and [itex]rg'(r)-g(r)[/itex] are constant?

I am seriously getting the feeling that I am missing something extremely obvious.

You are missing the whole point about "separation of variables" Write your equation as
[tex]L(x) = R(r),\\<br /> L(x) = \int f(x) \, dx + f'(x) \\<br /> R(r) = g(r) - r g'(r)[/tex]
If you fix ##r## but vary ##x##, the equation ##L(x) = R(r)## requires that ##L(x)## remain unchanged; that is, ##L(x) = c## for some constant ##c##. Of course, that also requires that ##R(r) = c##, so you have enough to determine both ##x## and ##r## up to some"boundary coonditions".
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K