All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math > Calculus
Given the Expression, Find the Function (Posted on 2024-05-24) Difficulty: 3 of 5
Determine f(x), given that:

f'(x) = 2 - f(x)/x

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 1 of 3
This is so close to being a separable equation, just remove that constant of 2 on the right side.  
But I did notice that both differentiation and division by x both reduce a linear term to a constant term.  That motivates a substitution of f(x)=g(x)+x.  

Then the given equation becomes g'(x)+1 = 2-(g(x)+x)/x
Which reduces to g'(x) = -g(x)/x.
Expressed in differential form dg/dx = -g/x
Separate into dg/g = -dx/x
Integrate each side ln(g) = ln(-x)+c
Exponentiate each side and simplify into g(x) = -k/x.
Then f(x) = x-k/x is the solution.

Verify the solution:
f'(x) = 1+k/x^2 and 2-f(x)/x = 2-(1-k/x)/x = 1+k/x^2.

  Posted by Brian Smith on 2024-05-24 11:37:46
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information