Solving for y in a logarithmic equation involving |y|

  • Thread starter schniefen
  • Start date
  • Tags
    Logarithmic
In summary, the two equations yield:-The solution to the first equation is y=a\exp{(\int\frac{1}{2x^3}dx)}-The solution to the second equation is y=exp(-\frac{1} {x^2} + C)
  • #1
schniefen
178
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
  • #2
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 ##
 
  • #3
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?
 
  • #4
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.
 
  • #5
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}}##?
 
  • #6
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 schniefen
  • #7
$$\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$$​
 
  • #8
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?
 
  • #9
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 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$$​
 

1. What is a logarithmic equation involving |y|?

A logarithmic equation involving |y| is an equation in which the variable y appears inside an absolute value sign and also in a logarithmic function.

2. How do I solve for y in a logarithmic equation involving |y|?

To solve for y in a logarithmic equation involving |y|, you will need to use properties of logarithms and algebraic techniques to isolate the variable y on one side of the equation.

3. Can I have more than one solution when solving for y in a logarithmic equation involving |y|?

Yes, it is possible to have more than one solution when solving for y in a logarithmic equation involving |y|. This is because the absolute value sign can result in two possible values for y.

4. What should I do if my solution for y includes a negative number?

If your solution for y includes a negative number, you will need to check your answer by plugging it back into the original equation. If it results in a negative number inside the absolute value sign, then the solution is valid. If it results in a positive number, then you will need to consider the other possible value for y.

5. Are there any restrictions on the values of y in a logarithmic equation involving |y|?

Yes, there are restrictions on the values of y in a logarithmic equation involving |y|. The argument of a logarithmic function cannot be 0 or a negative number, so any values of y that make this true will not be solutions to the equation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
608
  • Calculus and Beyond Homework Help
Replies
7
Views
690
  • Calculus and Beyond Homework Help
Replies
5
Views
290
  • Calculus and Beyond Homework Help
Replies
6
Views
549
  • Calculus and Beyond Homework Help
Replies
5
Views
620
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
512
  • Calculus and Beyond Homework Help
Replies
6
Views
854
  • Calculus and Beyond Homework Help
Replies
4
Views
694
  • Calculus and Beyond Homework Help
Replies
2
Views
544
Back
Top