Consider the implicit function y(x) defined by the equation

  • Thread starter Thread starter tuablink
  • Start date Start date
  • Tags Tags
    Function Implicit
Click For Summary

Homework Help Overview

The problem involves the implicit function y(x) defined by the equation cos(x-y) = xy for x > 0.5. Participants are tasked with finding specific values of x where y(x) = 0, determining the global minimum of y(x), and calculating the integral of y(x) between two identified points.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Some participants attempt to find values of x where y(x) = 0, suggesting that x = π/2 and 3π/2 are solutions.
  • Others question the validity of these solutions and the approach to finding the global minimum of y(x), suggesting implicit differentiation as a method.
  • There are discussions about the necessity of using calculus techniques, such as the chain rule and product rule, to differentiate the given equation.
  • Participants express uncertainty about their differentiation results and seek clarification on the correct application of implicit differentiation.
  • Some participants explore the use of MATLAB for solving parts of the problem, while others emphasize the importance of solving it without technology.
  • There are suggestions to use substitutions to simplify the differential equation for further analysis.

Discussion Status

The discussion is ongoing, with various approaches being explored. Some participants have provided guidance on implicit differentiation and the conditions for finding extrema. However, there is no explicit consensus on the correct methods or solutions, and multiple interpretations of the problem are being examined.

Contextual Notes

Participants are working under the constraints of a homework assignment, which may limit the use of technology and requires analytical methods for solving the problems presented.

tuablink
Messages
24
Reaction score
0

Homework Statement


Consider the implicit function y(x) defined by the equation
cos(x-y)=xy for x>0.5
a.find the smallest two positive values x>0.5 for which y(x)=0
b.find the global minimum of y(x) for x>0.5
c.call the numbers you found inpart(b) x1 and x2 find
integral of y(x)dx from x1 to x2


Homework Equations





The Attempt at a Solution


a.One of the two positive values is pi/2 and another one is 3*pi/2
b.I could not figure this out.
c.- 2*cos(y) – pi^2*y
 
Physics news on Phys.org
Are what you show in your attempts at a solution the answers in the back of the book? I don't see how you could get something for part c (which depends on part b), if you couldn't figure out part b.

For part b, a maximum or minimum will occur at a point where y'(x) = 0 or is undefined or at an endpoint of the domain. Have you tried differentiating your equation implicitly to find y'(x)?
 
I did part a. in matlab
Here is the code:
cos(x-y) = x*y
y(x) = 0, cos(x) = 0
solve('cos(x)=0')
ans = pi/2
Here is the code for part c.
int('cos(x-y)-x*y',pi/2,3*pi/2)
ans = - 2*cos(y) – pi^2*y
So, did I do part a. and c. correctly?
I still don't get how to do part b.
 
What are you going to do in a test situation where you don't have access to matlab? This problem can be done without technology more advanced than pencil and paper.

For part a, if y(x) = 0, substitute 0 for y in the equation cos(x - y) = xy, and find the two smallest x values that are larger than .5.

For part b, this is what I said earlier.
Mark44 said:
For part b, a maximum or minimum will occur at a point where y'(x) = 0 or is undefined or at an endpoint of the domain. Have you tried differentiating your equation implicitly to find y'(x)?

When you get y'(x), we can work on part c.
 
I differentiate the equation and I got:
y'(x)=sin(x-y)-x
Substituting y=0 into the equation:
y'(x)=sin(x)-x
I got 0 for the answer but I think it is wrong because it has to be greater than 0.5
 
tuablink said:
I differentiate the equation and I got:
y'(x)=sin(x-y)-x
This is not right. You are forgetting that you need to use the chain rule and the product rule.
tuablink said:
Substituting y=0 into the equation:
y'(x)=sin(x)-x
I got 0 for the answer but I think it is wrong because it has to be greater than 0.5
 
I redo the problem and I got
 
I redo the problem and I got
y'(x)=-y-sin(x-y)-sin(x-y)+x
y'(x)=-sin(x)-sin(x)+x
y'(x)=-2sin(x)+x
 
Am I on the right track?
 
  • #10
tuablink said:
I redo the problem and I got
y'(x)=-y-sin(x-y)-sin(x-y)+x
y'(x)=-sin(x)-sin(x)+x
y'(x)=-2sin(x)+x
Not even close. You should not be starting with y'(x) = <whatever>.

Starting with cos(x - y) = xy, your next equation should have on the left, the derivative with respec to x of cos(x - y). On the right, this equation should have the derivative with respect to x of xy.

To differentiate cos(x - y), you need to use the chain rule. To differentiate xy, you need the product rule.
 
  • #11
Also, you have posted the same problem in another thread. Don't do this.
 
  • #12
I think I did it right this time.
-sin(x-y)+cos(x-y)=x+y
 
  • #13
No, both sides are incorrect.
The derivative with respect to x of cos(x - y) is -sin(x - y) times the derivative with respect to x of x - y. (chain rule)

For the derivative with respect to x of xy, you need the product rule.
d/dx(xy) = x*d/dx(y) + y*d/dx(x). Can you finish this and the one above?
 
  • #14
The left hand side is -sin(x-y)*1
The right hand side is y
 
  • #15
How can I solve this?

Mod note: merging threads
--Redbelly98

Homework Statement


The derivative of cos(x-y)=xy is -sin(x-y)*(1+dy/dx)=y+x*dy/dx


Homework Equations





The Attempt at a Solution


I simplified a little and I got
-sin(x-y)-dy/dxsin(x-y) = y+x*dy/dx
I got stuck
 
Last edited by a moderator:
  • #16
tuablink said:
The left hand side is -sin(x-y)*1
The right hand side is y
No, both are wrong. Did you read what I wrote? Namely, d/dx(xy) = x*d/dx(y) + y*d/dx(x). That's not equal to y.

Go back in your calculus book and review the section on implicit differentiation.
 
  • #17
This should be the right derivative:
y'(x)=-y-sin(x-y)/sin(x-y)+x
What do I do next?
 
  • #18
It's not right, but it's close.

cos(x - y) = xy
d/dx(cos(x - y)) = d/dx(xy)
-sin(x - y)*(1 - y') = xy' + y
y'sin(x - y) - xy' = y + sin(x -y)
y'(sin(x - y) - x) = y + sin(x - y)
y' = [y + sin(x - y)]/[sin(x - y) - x]

tuablink said:
b.find the global minimum of y(x) for x>0.5
c.call the numbers you found inpart(b) x1 and x2 find
integral of y(x)dx from x1 to x2

A minimum or maximum can occur only at a number x at which the derivative is zero or undefined, or at an endpoint of the domain.

Find all numbers x > .5 at which the derivative y' is zero or undefined.
 
  • #19
What did I do wrong?
 
  • #20
I don't know. I showed you how to do it. Compare what you did with what I did and see where they are different.
 
  • #21
Once I finish part b. how can I do part c.
 
  • #22
It looks to me like you'll have to solve the differential equation dy/dx = [y + sin(x - y)]/[sin(x - y) - x] to get y(x), and then integrate it as described in your problem.
 
  • #23
I tried solving it by using MATLAB but it didn't work out. How can I solve it by hand?
 
  • #24
You might start with a substitution with the goal of making the differential equation separable. I would start with u = x - y and see if that helps.
 
  • #25
I used the substitution and i got:
u=x-y
du/dx=1-dy/dx
dy/dx=1-du/dx
1-du/dx=u
-du/dx=u-1
-du/u-1=dx
integral(-du/u-1)=integral(dx)
-ln(u-1)=x+c
e^ln(u-1)=e^-x-c
u=e^x-c+1
 
  • #26
The suggestion that jambaugh and I gave was to use this substitution in your differential equation y' = [y + sin(x - y)]/[sin(x - y) - x], with the goal of making it separable.

tuablink said:
I used the substitution and i got:
u=x-y
du/dx=1-dy/dx
dy/dx=1-du/dx
1-du/dx=u
-du/dx=u-1
-du/u-1=dx
integral(-du/u-1)=integral(dx)
-ln(u-1)=x+c
e^ln(u-1)=e^-x-c
u=e^x-c+1
You did not use the substitution in your differential equation, and besides, you have an error. How can you justify this equation in the fourth line? -- 1-du/dx=u

Several of the integrals in the problems you have posted are very difficult or even impossible to do by analytic means. Are you supposed to be using numerical means to solve the integrals, but haven't mentioned it?
 

Similar threads

Replies
3
Views
2K
Replies
10
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K