Solving for y'' at x=0 in the Equation $xy+e^y=e$

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

Homework Help Overview

The problem involves finding the second derivative \(y''\) at \(x=0\) for the equation \(xy + e^y = e\). The context is centered around implicit differentiation and the application of the chain rule in calculus.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss finding the first derivative \(y'\) and then the second derivative \(y''\) using implicit differentiation. There are attempts to simplify expressions by substituting \(e^y\) with \(e - xy\). Some participants express confusion about the implications of substituting \(x=0\) into the original equation.

Discussion Status

Participants are exploring various approaches to derive \(y''\). Some have noted the need to clarify the value of \(y\) when \(x=0\) and have identified that \(y(0) = 1\). There is ongoing discussion about the implications of this value on the derivatives.

Contextual Notes

There is a recognition that substituting \(x=0\) leads to an undefined expression in one approach, prompting further examination of the original equation to determine the value of \(y\) at that point.

physics604
Messages
92
Reaction score
2

Homework Statement



$$xy+e^y=e$$ Find the value of y'' at the point where x=0.

Homework Equations



Chain rule

The Attempt at a Solution



I find y' first.

$$x\frac{dy}{dx}+y+e^y\frac{dy}{dx}=0$$ $$(x+e^y)\frac{dy}{dx}=-y$$ $$\frac{dy}{dx}=\frac{-y}{x+e^y}$$

Then I find y''.

$$\frac{(x+e^y)(-\frac{dy}{dx})-(-y)(1+e^y\frac{dy}{dx})}{(x+e^y)^2}$$ $$\frac{(x+e^y)(\frac{y}{x+e^y})-(-y-ye^y(\frac{-y}{x+e^y}))}{(x+e^y)^2}$$ $$\frac{y-(-y+\frac{y^2e^y}{x+e^y})}{(x+e^y)^2}$$ $$\frac{y+y-\frac{y^2e^y}{x+e^y}}{(x+e^y)^2}$$ $$(2y-\frac{y^2e^y}{x+e^y})(\frac{1}{(x+e^y)^2})$$ $$\frac{2y(x+e^y)-y^2e^y}{(x+e^y)^3}$$ $$\frac{2xy+2ye^y-y^2e^y}{(x+e^y)^3}$$

x=0 so plugging that in I get

$$\frac{ye^y(2-y)}{e^{3y}}=\frac{y(2-y)}{e^{2y}}$$

The answer is $$\frac{1}{e^2}$$ What did I do wrong?

Any help is much appreciated.
 
Last edited by a moderator:
Physics news on Phys.org
physics604 said:

Homework Statement



$$xy+e^y=e$$ Find the value of y'' at the point where x=0.

Homework Equations



Chain rule

The Attempt at a Solution



I find y' first.

$$x\frac{dy}{dx}+y+e^y\frac{dy}{dx}=0$$ $$(x+e^y)\frac{dy}{dx}=-y$$ $$\frac{dy}{dx}=\frac{-y}{x+e^y}$$

Then I find y''.

$$\frac{(x+e^y)(-\frac{dy}{dx})-(-y)(1+e^y\frac{dy}{dx})}{(x+e^y)^2}$$ $$\frac{(x+e^y)(\frac{y}{x+e^y})-(-y-ye^y(\frac{-y}{x+e^y}))}{(x+e^y)^2}$$ $$\frac{y-(-y+\frac{y^2e^y}{x+e^y})}{(x+e^y)^2}$$ $$\frac{y+y-\frac{y^2e^y}{x+e^y}}{(x+e^y)^2}$$ $$(2y-\frac{y^2e^y}{x+e^y})(\frac{1}{(x+e^y)^2})$$ $$\frac{2y(x+e^y)-y^2e^y}{(x+e^y)^3}$$ $$\frac{2xy+2ye^y-y^2e^y}{(x+e^y)^3}$$

x=0 so plugging that in I get

$$\frac{ye^y(2-y)}{e^{3y}}=\frac{y(2-y)}{e^{2y}}$$

The answer is $$\frac{1}{e^2}$$ What did I do wrong?

Any help is much appreciated.

You aren't finished. Same issue as in the last problem. Did you try using your function definition to simplify that?
 
I've tried plugging in $$e^y=e-xy$$ but I don't get anywhere.

$$\frac{y(2-y)}{e^{2y}}=\frac{y(2-y)}{(e-xy)^2}$$

x=0 so

$$\frac{y(2-y)}{e^2}$$
 
physics604 said:
I've tried plugging in $$e^y=e-xy$$ but I don't get anywhere.

$$\frac{y(2-y)}{e^{2y}}=\frac{y(2-y)}{(e-xy)^2}$$

x=0 so

$$\frac{y(2-y)}{e^2}$$

Put x=0 into your original equation. Can you conclude anything about the value of y when x=0?
 
What do you mean?

If I plug x=0 into my original equation I get $$e^y=e-(0)y$$ so $$e^y=e$$ Or I can rearrange the equation to get $$y=\frac{e-e^y}{x}=\frac{e-e^y}{0}=undefined$$
 
physics604 said:
What do you mean?

If I plug x=0 into my original equation I get $$e^y=e-(0)y$$ so $$e^y=e$$ Or I can rearrange the equation to get $$y=\frac{e-e^y}{x}=\frac{e-e^y}{0}=undefined$$

You should be able to figure out what y is when x=0 from e^y=e. What is it?
 
y=1. Okay, thanks!
 
First note thFirst note that when x= 0, [itex]xy+ e^y= e^y= e[/itex] so y(0)= 1. From [itex]xy+ e^y= e[/itex], yes, [itex]xy'+ y+ e^yy'= 0[/itex]. When x= 0, [itex]xy'+ y+ e^yy'= 0[/itex] becomes [itex]y+ e^yy'= 1+ ey'= 0[/itex] so [itex]y'(0)= -e^{-1}[/itex].

Differentiate again: [itex]xy''+ 2y'+ e^yy'+ e^yy''= 0[/itex]. When x= 0, y(0)= 1 and [itex]y'(0)= -e^{-1}[/itex] so [itex]-2e^{-1}- 1+ ey''(0)= 0[/itex]. [itex]ey'(0)= 1+ 2e^{-1}[/itex] so [itex]y'(0)= e^{-1}+ 2e^{-2}[/itex].
 

Similar threads

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