Solving for y in a logarithmic equation involving |y|

  • Thread starter Thread starter schniefen
  • Start date Start date
  • Tags Tags
    Logarithmic
Click For Summary

Homework Help Overview

The discussion revolves around solving a logarithmic equation involving the absolute value of y, specifically in the context of a first-order linear differential equation. Participants are exploring the implications of integrating both sides of the equation and the subsequent steps to express y in terms of x.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants examine the integration of the equation and the transition from logarithmic to exponential forms. There are questions about the validity of certain steps in the manipulation of logarithmic expressions and the implications of absolute values. Some participants also discuss the conditions under which the solution passes through a specific point.

Discussion Status

The discussion includes various interpretations of the steps taken in the solution process, with some participants questioning the correctness of the transitions between forms. There is an ongoing exploration of the implications of the absolute value and the conditions for y based on the derived expressions.

Contextual Notes

Some participants note the importance of the condition that the solution passes through the point (1,1) and the implications of the absolute value in determining the sign of y. There are also references to potential mistakes in integration and the need for clarification on certain steps.

schniefen
Messages
177
Reaction score
4
Homework Statement
Solve for ##y## in the below equation and find the value of the constant of integration.
Relevant Equations
Find the equation of the curve ##y'(x)\frac{1}{y}=\frac{1}{2x^3}## in terms of ##y=y(x)## if it passes through the point ##(1,1)##.
Integrating both sides of the equation yields

##\ln{|y|}=-\frac{1}{4x^2}+C ##
##\iff \ln{|y|}=-\frac{1}{4x^2}+\ln{D} ##
##\iff |y|=De^{-\frac{1}{4x^2}}##
At ##(1,1)##, ##D=e^{\frac{1}{4}}##. So for ##y>0##, ##y=e^{ \frac{1}{4}-\frac{1}{4x^2}}##, and for ##y<0##, ##y=-e^{\frac{1}{4}-\frac{1}{4x^2}}##.

Apparently one can solve for ##y## so that ##y=e^{ \frac{1}{4}-\frac{1}{4x^2}}## for all ##y##. How?
 
Last edited:
Physics news on Phys.org
I don't see how you go from the 2nd line to the 3rd. Why are you grouping as a product. That holds when you use ln, but you're going in the opposite direction, taking exponentials: ##e^{a+b} \neq e^a+e^b ##
 
WWGD said:
I don't see how you go from the 2nd line to the 3rd. Why are you grouping as a product. That holds when you use ln, but you're going in the opposite direction, taking exponentials: ##e^{a+b} \neq e^a+e^b ##

## \ln{|y|}=-\frac{1}{4x^2}+\ln{D}##
##\iff \ln{|y|}-\ln{D}=-\frac{1}{4x^2}##
##\iff \ln{\frac{|y|}{D}}=-\frac{1}{4x^2}##
##\iff \frac{|y|}{D}=e^{-\frac{1}{4x^2}}##
##\iff |y|=De^{-\frac{1}{4x^2}}##
Is this incorrect?
 
schniefen said:
## \ln{|y|}=-\frac{1}{4x^2}+\ln{D}##
##\iff \ln{|y|}-\ln{D}=-\frac{1}{4x^2}##
##\iff \ln{\frac{|y|}{D}}=-\frac{1}{4x^2}##
##\iff \frac{|y|}{D}=e^{-\frac{1}{4x^2}}##
##\iff |y|=De^{-\frac{1}{4x^2}}##
Is this incorrect?
Looks fine. Now use the condition that the solution passes through (1,1) to find D and sub in the last equation.
 
At ##(1,1)##, ##D=e^{\frac{1}{4}}##, so ##|y|=e^{\frac{1}{4}-\frac{1}{4x^2}}##. How can one conclude from here that ##y=e^{\frac{1}{4}-\frac{1}{4x^2}}##?
 
schniefen said:
At ##(1,1)##, ##D=e^{\frac{1}{4}}##, so ##|y|=e^{\frac{1}{4}-\frac{1}{4x^2}}##. How can one conclude from here that ##y=e^{\frac{1}{4}-\frac{1}{4x^2}}##?
Notice that ##e^x>0 ## for all x.
 
  • Like
Likes   Reactions: schniefen
$$\int \frac {dy}{y}= \int \frac{1}{2}x^{-3}dx $$​
$$ log(y) = -\frac {1}{x^2} + C $$​
$$y= exp(-\frac{1} {x^2} + C) $$​
$$ log(1) = -1 +C $$​
$$0=C-1 $$​
$$C=1$$​
 
Fred Wright said:
$$\int \frac {dy}{y}= \int \frac{1}{2}x^{-3}dx $$​
$$ log(y) = -\frac {1}{x^2} + C $$​
$$y= exp(-\frac{1} {x^2} + C) $$​
$$ log(1) = -1 +C $$​
$$0=C-1 $$​
$$C=1$$​
Sorry, I don't see your point. How does this relate to the OP?
 
WWGD said:
Notice that ##e^x>0 ## for all x.
yes, but that says nothing about ##y## doesn't it? of course it'll be positive since ##|y|## is.
 
  • #10
archaic said:
yes, but that says nothing about ##y## doesn't it? of course it'll be positive since ##|y|## is.
But we know |y|=y and that is all we need, isn't it?
 
  • Like
Likes   Reactions: archaic
  • #11
This is a first order linear differential equation, the solution is ##y=a\exp{(\int\frac{1}{2x^3}dx)}##.
 
  • #12
archaic said:
This is a first order linear differential equation, the solution is ##y=a\exp{(\int\frac{1}{2x^3}dx)}##.
But the response given also checks out.Edit: The given expression may be equivalent to yours.
 
  • #13
Fred Wright said:
$$\int \frac {dy}{y}= \int \frac{1}{2}x^{-3}dx $$​
$$ log(y) = -\frac {1}{x^2} + C $$​
You have a mistake in the line above. Check your integration.
Fred Wright said:
$$y= exp(-\frac{1} {x^2} + C) $$​
$$ log(1) = -1 +C $$​
$$0=C-1 $$​
$$C=1$$​
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
2
Views
2K